-
Notifications
You must be signed in to change notification settings - Fork 52
Set HPOVManagedSan
Enable or Disable Automated SAN Zoning.
Set-HPOVManagedSan [-InputObject] <Object>[ [-EnableAutomatedZoning] <SwitchParameter>] [-ZoningPolicy] <String>[ [-EnableAliasing] <SwitchParameter>][ [-InitiatorNameFormat] <String>][ [-TargetGroupNameFormat] <String>][ [-TargetNameFormat] <String>][ [-ZoneNameFormat] <String>][ [-UpdateZoneNames] <Boolean>][ [-UpdateInitiatorAliases] <Boolean>][ [-UpdateTargetAliases] <Boolean>][ [-ApplianceConnection] <Object>] [<CommonParameters>]
Set-HPOVManagedSan [-InputObject] <Object>[ [-EnableAutomatedZoning] <SwitchParameter>] [-ZoningPolicy] <String>[ [-DisableAliasing] <SwitchParameter>][ [-ApplianceConnection] <Object>] [<CommonParameters>]
Set-HPOVManagedSan [-InputObject] <Object> [-DisableAutomatedZoning] <SwitchParameter> [-ZoningPolicy] <String>[ [-ApplianceConnection] <Object>] [<CommonParameters>]
This cmdlet is used to Enable or Disable a Managed SAN resource on the appliance. Disabling a Managed SAN will prevent the appliance from configuring FC Zones.
-ApplianceConnection <Object>
Aliases [-Appliance]
Specify one HPOneView.Appliance.Connection object or Name property value. If Resource object is provided via Pipeline, the ApplianceConnection property of the object will be used.
Default Value: ${Global:ConnectSessions} | ? Default
Aliases | Appliance |
Required? | false |
Position? | named |
Default value | (${Global:ConnectedSessions} | ? Default) |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | False |
-DisableAliasing <SwitchParameter>
Disable aliases to be created for initiators, targets and target groups based on the specified name formats
Aliases | None |
Required? | false |
Position? | named |
Default value | false |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-DisableAutomatedZoning <SwitchParameter>
(DEPRICATED - Please use -ZoningPolicy parameter.) Disable Automated Zoning for the specified Managed SAN.
Aliases | ZoningDisable, Disable |
Required? | true |
Position? | named |
Default value | False |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-EnableAliasing <SwitchParameter>
Enable aliases to be created for initiators, targets and target groups based on the specified name formats
Aliases | None |
Required? | false |
Position? | named |
Default value | False |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-EnableAutomatedZoning <SwitchParameter>
(DEPRICATED - Please use -ZoningPolicy parameter.) Enable Automated Zoning for the specified Managed SAN. When used, the default Zone Policy "SingleInitiatorAllTargets" is set.
Aliases | ZoningEnable, Enable |
Required? | false |
Position? | named |
Default value | False |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-InitiatorNameFormat <String>
Format to use for initiator alias names. The following built-in variables can be used: {hostName}, {initiatorName}, {initiatorWwn}.
Example: "initiator_{hostname}_{initiatorName}"
Aliases | None |
Required? | false |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-InputObject <Object>
Aliases [-Fabric, -Name, -ManagedSan]
Managed SAN Name or Object.
Aliases | Fabric, Name, ManagedSan, Resource |
Required? | true |
Position? | named |
Default value | |
Accept pipeline input? | true (ByValue) |
Accept wildcard characters? | False |
-TargetGroupNameFormat <String>
Format to use for target group (ex. storage system port group) alias names. The following built-in variables can be used: {storageSystemName}, {targetGroupName}.
Example: "TargetGroup_{storageSystemName}_{targetGroupName}"
Aliases | None |
Required? | false |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-TargetNameFormat <String>
Format to use for target (ex. storage system port) alias names. The following built-in variables can be used: {storageSystemName}, {targetName}.
Example: "Target_{storageSystemName}_{targetName}"
Aliases | None |
Required? | false |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-UpdateInitiatorAliases <Boolean>
Format to use when naming new and updated zones. The following built-in variables can be used: {hostName}, {initiatorName}, {initiatorWwn}, {storageSystemName}, {targetName}, {targetGroupName}
Example: "{initiatorWwn}_{initiatorName}"
Aliases | None |
Required? | false |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-UpdateTargetAliases <Boolean>
Format to use when naming new and updated zones. The following built-in variables can be used: {hostName}, {initiatorName}, {initiatorWwn}, {storageSystemName}, {targetName}, {targetGroupName}
Example: "{initiatorWwn}_{initiatorName}"
Aliases | None |
Required? | false |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-UpdateZoneNames <Boolean>
Format to use when naming new and updated zones. The following built-in variables can be used: {hostName}, {initiatorName}, {initiatorWwn}, {storageSystemName}, {targetName}, {targetGroupName}
Example: "{initiatorWwn}_{initiatorName}"
Aliases | None |
Required? | false |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-ZoneNameFormat <String>
Format to use when naming new and updated zones. The following built-in variables can be used: {hostName}, {initiatorName}, {initiatorWwn}, {storageSystemName}, {targetName}, {targetGroupName}
Example: "{initiatorWwn}_{initiatorName}"
Aliases | None |
Required? | false |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-ZoningPolicy <String>
Policy setting that affects the way that zones are created. Allowed values:
* NoZoning - Disable all automated zoning on the SAN and ignore policy settings related to zoning.
* SingleInitiatorAllTargets - Create one zone per initiator containing all targets connected to that initiator.
* SingleInitiatorSingleStorageSystem - Similar to SingleInitiatorAllTargets except that separate zones are created for targets that reside on different storage systems.
Aliases | None |
Required? | true |
Position? | named |
Default value | SingleInitiatorAllTargets |
Accept pipeline input? | false |
Accept wildcard characters? | False |
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216)
HPOneView.Storage.ManagedSan [System.Management.Automation.PSCustomObject]
Single Resource
System.Collection.ArrayList <HPOneView.Storage.ManagedSan>
Multiple Resources
System.Management.Automation.PSCustomObject
Single Resource
System.Collections.ArrayList
Multiple Resources
-------------------------- EXAMPLE 1 --------------------------Set-HPOVManagedSan Fabric_A -ZoningPolicy SingleInitiatorAllTargets
Enable Automated SAN Zoning for "Fabric_A"
-------------------------- EXAMPLE 2 --------------------------Set-HPOVManagedSan Fabric_A -ZoningPolicy NoZoning
Disable Automated SAN Zoning for "Fabric_A"
-------------------------- EXAMPLE 3 --------------------------Get-HPOVManagedSan | Set-HPOVManagedSan -ZoningPolicy SingleInitiatorAllTargets
Enable Automated SAN Zoning for all managed SAN Fabrics
Enable or Disable Automated SAN Zoning.
Set-HPOVManagedSan [-InputObject] <Object>[ [-EnableAutomatedZoning] <SwitchParameter>] [-ZoningPolicy] <String>[ [-EnableAliasing] <SwitchParameter>][ [-InitiatorNameFormat] <String>][ [-TargetGroupNameFormat] <String>][ [-TargetNameFormat] <String>][ [-ZoneNameFormat] <String>][ [-UpdateZoneNames] <Boolean>][ [-UpdateInitiatorAliases] <Boolean>][ [-UpdateTargetAliases] <Boolean>][ [-ApplianceConnection] <Object>] [<CommonParameters>]
Set-HPOVManagedSan [-InputObject] <Object>[ [-EnableAutomatedZoning] <SwitchParameter>] [-ZoningPolicy] <String>[ [-DisableAliasing] <SwitchParameter>][ [-ApplianceConnection] <Object>] [<CommonParameters>]
Set-HPOVManagedSan [-InputObject] <Object> [-DisableAutomatedZoning] <SwitchParameter> [-ZoningPolicy] <String>[ [-ApplianceConnection] <Object>] [<CommonParameters>]
This cmdlet is used to Enable or Disable a Managed SAN resource on the appliance. Disabling a Managed SAN will prevent the appliance from configuring FC Zones.
-ApplianceConnection <Object>
Aliases [-Appliance]
Specify one HPOneView.Appliance.Connection object or Name property value. If Resource object is provided via Pipeline, the ApplianceConnection property of the object will be used.
Default Value: ${Global:ConnectSessions} | ? Default
Aliases | Appliance |
Required? | false |
Position? | named |
Default value | (${Global:ConnectedSessions} | ? Default) |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | False |
-DisableAliasing <SwitchParameter>
Disable aliases to be created for initiators, targets and target groups based on the specified name formats
Aliases | None |
Required? | false |
Position? | named |
Default value | false |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-DisableAutomatedZoning <SwitchParameter>
(DEPRICATED - Please use -ZoningPolicy parameter.) Disable Automated Zoning for the specified Managed SAN.
Aliases | ZoningDisable, Disable |
Required? | true |
Position? | named |
Default value | False |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-EnableAliasing <SwitchParameter>
Enable aliases to be created for initiators, targets and target groups based on the specified name formats
Aliases | None |
Required? | false |
Position? | named |
Default value | False |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-EnableAutomatedZoning <SwitchParameter>
(DEPRICATED - Please use -ZoningPolicy parameter.) Enable Automated Zoning for the specified Managed SAN. When used, the default Zone Policy 'SingleInitiatorAllTargets' is set.
Aliases | ZoningEnable, Enable |
Required? | false |
Position? | named |
Default value | False |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-InitiatorNameFormat <String>
Format to use for initiator alias names. The following built-in variables can be used: {hostName}, {initiatorName}, {initiatorWwn}.
Example: "initiator_{hostname}_{initiatorName}"
Aliases | None |
Required? | false |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-InputObject <Object>
Aliases [-Fabric, -Name, -ManagedSan]
Managed SAN Name or Object.
Aliases | Fabric, Name, ManagedSan, Resource |
Required? | true |
Position? | named |
Default value | |
Accept pipeline input? | true (ByValue) |
Accept wildcard characters? | False |
-TargetGroupNameFormat <String>
Format to use for target group (ex. storage system port group) alias names. The following built-in variables can be used: {storageSystemName}, {targetGroupName}.
Example: "TargetGroup_{storageSystemName}_{targetGroupName}"
Aliases | None |
Required? | false |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-TargetNameFormat <String>
Format to use for target (ex. storage system port) alias names. The following built-in variables can be used: {storageSystemName}, {targetName}.
Example: "Target_{storageSystemName}_{targetName}"
Aliases | None |
Required? | false |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-UpdateInitiatorAliases <Boolean>
Format to use when naming new and updated zones. The following built-in variables can be used: {hostName}, {initiatorName}, {initiatorWwn}, {storageSystemName}, {targetName}, {targetGroupName}
Example: "{initiatorWwn}_{initiatorName}"
Aliases | None |
Required? | false |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-UpdateTargetAliases <Boolean>
Format to use when naming new and updated zones. The following built-in variables can be used: {hostName}, {initiatorName}, {initiatorWwn}, {storageSystemName}, {targetName}, {targetGroupName}
Example: "{initiatorWwn}_{initiatorName}"
Aliases | None |
Required? | false |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-UpdateZoneNames <Boolean>
Format to use when naming new and updated zones. The following built-in variables can be used: {hostName}, {initiatorName}, {initiatorWwn}, {storageSystemName}, {targetName}, {targetGroupName}
Example: "{initiatorWwn}_{initiatorName}"
Aliases | None |
Required? | false |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-ZoneNameFormat <String>
Format to use when naming new and updated zones. The following built-in variables can be used: {hostName}, {initiatorName}, {initiatorWwn}, {storageSystemName}, {targetName}, {targetGroupName}
Example: "{initiatorWwn}_{initiatorName}"
Aliases | None |
Required? | false |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-ZoningPolicy <String>
Policy setting that affects the way that zones are created. Allowed values:
* NoZoning - Disable all automated zoning on the SAN and ignore policy settings related to zoning.
* SingleInitiatorAllTargets - Create one zone per initiator containing all targets connected to that initiator.
* SingleInitiatorSingleStorageSystem - Similar to SingleInitiatorAllTargets except that separate zones are created for targets that reside on different storage systems.
Aliases | None |
Required? | true |
Position? | named |
Default value | SingleInitiatorAllTargets |
Accept pipeline input? | false |
Accept wildcard characters? | False |
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216)
HPOneView.Storage.ManagedSan [System.Management.Automation.PSCustomObject]
Single Resource
System.Collection.ArrayList <HPOneView.Storage.ManagedSan>
Multiple Resources
System.Management.Automation.PSCustomObject
Single Resource
System.Collections.ArrayList
Multiple Resources
-------------------------- EXAMPLE 1 --------------------------Set-HPOVManagedSan Fabric_A -ZoningPolicy SingleInitiatorAllTargets
Enable Automated SAN Zoning for 'Fabric_A'
-------------------------- EXAMPLE 2 --------------------------Set-HPOVManagedSan Fabric_A -ZoningPolicy NoZoning
Disable Automated SAN Zoning for 'Fabric_A'
-------------------------- EXAMPLE 3 --------------------------Get-HPOVManagedSan | Set-HPOVManagedSan -ZoningPolicy SingleInitiatorAllTargets
Enable Automated SAN Zoning for all managed SAN Fabrics