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[]>] [-WhatIf] [-Confirm] [<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 Data ONTAP cluster-mode controller to receive this cmdlet, as embodied
by an NcController object. This parameter is returned by the Connect-N
cController cmdlet. If not specified, the value in the global variable
CurrentNcController is used. In the latter case, if CurrentNcController
contains a collection of NcController objects, this cmdlet is invoked o
n each controller in succession.

Required? false
Position? named
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
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
NetApp.Ontapi.Filer.C.ClusterPeer810.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