Data ONTAP® PowerShell Toolkit

Switch to Data ONTAP Cluster-mode documentation.

Cmdlet: Set-NaFcpAdapterPartner


NAME
Set-NaFcpAdapterPartner

SYNOPSIS
Sets the name of the partner adapter which the local adapter should takeover
.

SYNTAX
Set-NaFcpAdapterPartner [-Adapter] <String> [-PartnerAdapter] <String> [-Con
troller <NaController>] [-WhatIf] [-Confirm] [<CommonParameters>]


DESCRIPTION
Sets the name of the partner adapter which the local adapter should takeover
.


PARAMETERS
-Adapter <String>
Local FC adapter.

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

-PartnerAdapter <String>
Partner FC adapter to takeover. Leave blank to clear partner adapter.

Required? true
Position? 2
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
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
NetApp.Ontapi.Filer.Fcp.FcpConfigAdapterInfo


NOTES


Category: fcp
API: fcp-adapter-set-partner, fcp-adapter-clear-partner

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

C:\PS>Set-NaFcpAdapterPartner 0c 0c


Set local FC adapter to failover to partner's 0c adapter.






RELATED LINKS
Get-NaFcpAdapter







 Data ONTAP® PowerShell Toolkit