|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: New-NaVfilerDr
NAME
New-NaVfilerDr
SYNOPSIS
Create a new vfiler disaster recovery relationship. The inputs specify the
information for the remote vfiler/filer to connect to and configuration info
rmation for the vfiler to use upon activation.
SYNTAX
New-NaVfilerDr [-RemoteVfiler] <String> [-RemoteFiler] <String> [-NisServer
<String[]>] [-DnsServer <String[]>] -IpAddressInfo <IpaddrInfo[]> [-Credenti
al <PSCredential>] [-Synchronous] [-Secure] [-Controller <NaController>] [-W
hatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
Create a new vfiler disaster recovery relationship. The inputs specify the
information for the remote vfiler/filer to connect to and configuration info
rmation for the vfiler to use upon activation.
PARAMETERS
-RemoteVfiler <String>
Name of the remote vfiler.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-RemoteFiler <String>
Name of the remote filer.
Required? true
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-NisServer <String[]>
Ip addresses of the NIS servers the vfiler should use.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-DnsServer <String[]>
Ip addresses of the DNS servers the vfiler should use.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-IpAddressInfo <IpaddrInfo[]>
A list of all the IP addresses and associated information which should b
e bound to the vfiler at the destination.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Credential <PSCredential>
Login name and password to use on the remote filer. If not specified, t
he credential cache will be consulted. If credentials and not specified
and not found in the credentials cache, the cmdlet will fail.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Synchronous
When specified, synchronous snapmirror is used.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Secure
When specified, a secure command channel is used while communicating wit
h the remote filer.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Controller <NaController>
The Data ONTAP controller object, embodied by an NaController object. T
his parameter is returned by the Connect-NaController cmdlet. If not sp
ecified, the value in the global variable CurrentNaController is used.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-WhatIf
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Confirm
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".
INPUTS
OUTPUTS
DataONTAP.Types.Vfiler.VfilerInfo
NOTES
Category: vfiler
API: vfiler-dr-configure
-------------- Example 1 --------------
C:\PS>$ips = @()
$ips += New-Object DataONTAP.Types.Vfiler.IpaddrInfo
$ips[0].Interface = "e0a"
$ips[0].IpAddress = "10.61.167.9"
$ips[0].Netmask = "255.255.255.0"
New-NaVfilerDr -RemoteVfiler vfiler3 -RemoteFiler dunn -IpAddressInfo $ips -
Credential root
Create a new vfiler disaster recovery relationship with vfiler3 on dunn. A
new IpaddrInfo object is first created and filled out to be used with New-Na
VfilerDr.
Name Status Ipspace VfnetCount Vfs
toreCount AdminHost
---- ------ ------- ---------- ---
--------- ---------
vfiler3 DR backup default-ipspace 1
1
RELATED LINKS
Get-NaVfilerDr
Invoke-NaVfilerDr
Remove-NaVfilerDr
| Copyright © 2012 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|