Data ONTAP® PowerShell Toolkit

Switch to Data ONTAP 7-mode documentation.

Cmdlet: Set-NcFcAdapterType


NAME
Set-NcFcAdapterType

SYNOPSIS
Set the adapter driver and/or configuration state.

SYNTAX
Set-NcFcAdapterType [[-Node] <String>] [[-Adapter] <String>] [[-Type] <Strin
g>] [-Controller <NcController[]>] [-WhatIf] [-Confirm] [<CommonParameters>]


DESCRIPTION
Sets the adapter driver and/or configuration state. Each configurable adapt
er has an adapter type and adapter state. The adapter type indicates which
driver is attached to the adapter, the adapter state indicates what the conf
iguration state of the adapter is. The fc type is used to modify both the ad
apter type and the adapter state. After setting the adapter fc type a filer
reboot is sometimes needed to make the change effective. Use Get-NcFcAdapte
r to determine if a filer reboot is needed.


PARAMETERS
-Node <String>
The storage system name the command will be executed on.

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

-Adapter <String>
FC adapter name.

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

-Type <String>
Sets the type and state of the adapter. Possible inputs:
"unconfigured" - set adapter type to "initiator" and adapter state to UN
CONFIGURED
"initiator" - set adapter type to "initiator" and adapter state to CO
NFIGURED
"target" - set adapter type to "target" and adapter state to CONFI
GURED
"vi" - set adapter type to "vi" and adapter state to CONFIGURE
D

Required? false
Position? 3
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.Fc810.FcConfig


NOTES


Category: fc
API: fc-config-set-adapter-fc-type
Family: cluster

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

C:\PS>Set-NcFcAdapterType VxeRubble-02 0d target


Setting the adapter 0d on node VxeRubble-02 to type target.


NodeName AdapterName AdapterType A
dapterState AdapterStatus
-------- ----------- ----------- -
----------- -------------
VxeRubble-02 0d target C
ONFIGURED. offline



RELATED LINKS
Get-NcFcAdapter







 Data ONTAP® PowerShell Toolkit