|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: New-NcIgroup
NAME
New-NcIgroup
SYNOPSIS
Creates a new initiator group.
SYNTAX
New-NcIgroup [-Name] <String> [-Protocol] <String> [[-Type] <String>] [[-Por
tset] <String>] [-VserverContext <String>] [-Controller <NcController[]>] [-
WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
Creates a new initiator group. The ALUA attribute is enabled by default on
all initiator groups.
PARAMETERS
-Name <String>
The name of the new igroup.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Protocol <String>
The protocol for the new igroup: iscsi, fcp, or mixed.
Required? true
Position? 2
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Type <String>
OS type of the initiators within the group. The default value if not sp
ecified is "windows". The OS type applies to all initiators within the
group and governs the finer details of SCSI protocol interaction with th
ese initiators. It is strongly recommended for the caller of this API t
o specify an OS type that is not "default". Some host OS's require this
type field be set correctly in order to function properly.
Required? false
Position? 3
Default value windows
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Portset <String>
Name of a current portset to bind to the newly created igroup.
Required? false
Position? 4
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-VserverContext <String>
Vserver to which to direct this command. If the currently connected con
troller (as embodied by an NcController object) represents a cluster, th
ere are multiple means to address commands to one of its vservers. Eith
er set the Vserver field on the NcController object to direct all subseq
uent commands to that vserver, or supply the VserverContext parameter to
an individual cmdlet. Only cmdlets which may be invoked on vservers of
fer the VserverContext parameter.
Required? false
Position? named
Default value
Accept pipeline input? false
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
-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.C.Types.Igroup.InitiatorGroupInfo
NOTES
Category: igroup
API: igroup-create
Family: vserver
-------------- Example 1 --------------
C:\PS>New-NcIgroup exchangeCluster -Protocol iscsi -Type hyper_v
Create a new igroup 'exchangeCluster' of type 'hyper_v' for use with iSCSI i
nitiators.
Name : exchangeCluster
Type : hyper_v
Protocol : iscsi
Portset :
ALUA : True
ThrottleBorrow : False
ThrottleReserve : 0
Partner : True
VSA : False
Initiators :
Vserver : costea01
RELATED LINKS
Get-NcIgroup
Remove-NcIgroup
| Copyright © 2012 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|