Data ONTAP® PowerShell Toolkit

Switch to Data ONTAP 7-mode documentation.

Cmdlet: Set-NcClusterPeer


NAME
Set-NcClusterPeer

SYNOPSIS
Modifies a cluster peer relationship.

SYNTAX
Set-NcClusterPeer [-Name] <String> [-Address <String[]>] [-Timeout <Int32>]
[-Controller <NcController[]>] [<CommonParameters>]


DESCRIPTION
Modifies a cluster peer relationship.


PARAMETERS
-Name <String>
The name of the peer cluster to modify.

Required? true
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-Address <String[]>
The remote intercluster addresses and hostnames of the peer cluster.

Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-Timeout <Int32>
The timeout for operations in the peer cluster in seconds.

Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-Controller <NcController[]>
A clustered Data ONTAP controller to receive this cmdlet, as embodied by
an NcController object. This parameter is returned by the Connect-NcCo
ntroller cmdlet. If not specified, the value in the global variable Cur
rentNcController is used. In the latter case, if CurrentNcController co
ntains a collection of NcController objects, this cmdlet is invoked on e
ach controller in succession.

Required? false
Position? named
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
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.C.Types.ClusterPeer.ClusterPeerInfo


NOTES


Category: cluster peer
API: cluster-peer-modify
Family: cluster

-------------- Example 1 --------------

C:\PS>Set-NcClusterPeer stlfas3170-7-8-cluster -Timeout 60


Set the timeout for peer cluster 'stlfas3170-7-8-cluster' to 60 seconds.


ClusterName Availability ActiveAddresses
----------- ------------ ---------------
stlfas3170-7-8-cluster available {10.61.178.64, 10.61.178.63}



RELATED LINKS
Get-NcClusterPeer
Add-NcClusterPeer
Remove-NcClusterPeer







 Data ONTAP® PowerShell Toolkit