-
Notifications
You must be signed in to change notification settings - Fork 52
Add HPOVStorageSystem
Import a supported Storage System
Add-HPOVStorageSystem [-Hostname] <String>[ [-Credential] <PSCredential PSCredential>][ [-Username] <String>][ [-Password] <Object>][ [-Family] <String>][ [-Domain] <String>][ [-Ports] <Object>][ [-PortGroups] <Hashtable>][ [-ShowSystemDetails] <SwitchParameter>][ [-ApplianceConnection] <Array>] [<CommonParameters>]
Add-HPOVStorageSystem [-Hostname] <String> [-VIPS] <Hashtable>[ [-Credential] <PSCredential PSCredential>][ [-Username] <String>][ [-Password] <Object>][ [-Family] <String>][ [-ShowSystemDetails] <SwitchParameter>][ [-ApplianceConnection] <Array>] [<CommonParameters>]
This cmdlet will assist with importing a supported Storage System. In order for the Storage Ports to be mapped to Expected Networks, either a Supported SAN Manager will need to be configured, or 3PAR Direct Attach networks will have to exist.
When adding supported HP 3PAR storage systems, please make sure "startwsapi" has been executed from the HP 3PAR CLI, which enables the HP 3PAR REST API that is required by HPE OneView.
-ApplianceConnection <Array>
Aliases [-Appliance]
Specify one or more HPOneView.Appliance.Connection object(s) or Name property value(s).
Default Value: ${Global:ConnectedSessions} | ? Default
Aliases | Appliance |
Required? | false |
Position? | named |
Default value | (${Global:ConnectedSessions} | ? Default) |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-Credential <PSCredential PSCredential>
Use this parameter if you want to provide a PSCredential object instead. Use this parameter if you want to provide a PSCredential object instead.
Aliases | None |
Required? | false |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-Domain <String>
Specify the HP 3PAR Virtual Domain name. Default is "NO DOMAIN". The value provided is CAsesEnSItive.
Aliases | None |
Required? | false |
Position? | named |
Default value | NO DOMAIN |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-Family <String>
Aliases [-Type]
Specify the type of Storage System to add: StorageVirtual or StoreServ.
Aliases | None |
Required? | false |
Position? | named |
Default value | StoreServ |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-Hostname <String>
IP Address of FQDN of the storage systems.
Aliases | None |
Required? | true |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-Password <Object>
Password of administrator account password. Can either be String or System.Security.SecureString.
Aliases | None |
Required? | false |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-PortGroups <Hashtable>
Specify the Host Ports to group together.
Example: @{"1:1:1" = "PG1"; "2:2:2" = "PG2"}
Aliases | None |
Required? | false |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-Ports <Object>
Specify the Host Ports and Expected Network in an Array of PSCustomObject entries.
Example: @{"1:1:1"="Fabric A";"2:2:2"="Fabric B"}
Aliases | None |
Required? | false |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-ShowSystemDetails <SwitchParameter>
By default, the Cmdlet will no longer display the details about the Storage System. Use this parameter to display information about the storage system when adding to the appliance.
Aliases | None |
Required? | False |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-Username <String>
Administrator account of the target storage system.
Aliases | None |
Required? | false |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-VIPS <Hashtable>
Specify the StoreVirtual VIP(s) and associated Ethernet Network.
Example:
@{"10.158.11.42" = $EthernetNetwork}
or
@{"10.158.11.42" = $EthernetNetwork1; "10.158.12.42" = $EthernetNetwork2;}
Aliases | None |
Required? | true |
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, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216)
None. You cannot pipe objects to this cmdlet.
HPOneView.Appliance.TaskResource [System.Management.Automation.PSCustomObject]
Add Storage System Async Task.
-------------------------- EXAMPLE 1 --------------------------$task = Add-HPOVStorageSystem -hostname "3par-array.consoto.com" -username 3paradm -password 3pardata -Async Wait-HPOVTaskComplete $task
Add the Storage System using default settings, and let the appliance detect the connected Storage System Ports. (A supported SAN Manager must first be added, and Managed SANs mapped to the specific FC Network resources.)
-------------------------- EXAMPLE 2 --------------------------$StorageSystemPorts = @{"1:1:1" = "Fabric A"; "2:1:1" = "Fabric A"; "1:1:2" = "Fabric B"; "2:1:2" = "Fabric B"} $StoragePortGroups = @{"1:1:1"= "PG1"; "2:1:1" = "PG1"; "1:1:2" = "PG2"; "2:1:2" = "PG2"} Add-HPOVStorageSystem -hostname "3par-array.consoto.com" -username 3paradm -password 3pardata -Domain VirtaulDomain1 -Ports $StorageSystemPorts -PortGroups $StoragePortGroups | Wait-HPOVTaskComplete
Add the Storage System using default settings, and specify the Storage System Ports that will be assigned to the Expected Networks.
-------------------------- EXAMPLE 3 --------------------------$IscsiNetwork = Get-HPOVNetwork -Name "IscsiNetwork" -ErrorAction Stop $StoreVirtualAddress = "storevirtual1.domain.com" $StorageSystemPSCredential = Get-Credential -Username administrator Add-HPOVStorageSystem -Family StoreVirtual -Hostname $StoreVirtualAddress -Credential $StorageSystemPSCredential -VIPS @{ "192.168.191.22" = $IscsiNetwork }
Add a StoreVirtual storage system with PSCredential object.
Import a supported Storage System
Add-HPOVStorageSystem [-Hostname] <String> [-Credential] <PSCredential PSCredential>[ [-Username] <String>][ [-Password] <Object>][ [-Family] <String>][ [-Domain] <String>][ [-Ports] <PSObject>][ [-PortGroups] <Hashtable>][ [-ShowSystemDetails] <SwitchParameter>][ [-ApplianceConnection] <Array>] [<CommonParameters>]
Add-HPOVStorageSystem [-Hostname] <String> [-VIPS] <Hashtable> [-Credential] <PSCredential PSCredential>[ [-Username] <String>][ [-Password] <Object>][ [-Family] <String>][ [-ShowSystemDetails] <SwitchParameter>][ [-ApplianceConnection] <Array>] [<CommonParameters>]
This cmdlet will assist with importing a supported Storage System. In order for the Storage Ports to be mapped to Expected Networks, either a Supported SAN Manager will need to be configured, or 3PAR Direct Attach networks will have to exist.
When adding supported HP 3PAR storage systems, please make sure "startwsapi" has been executed from the HP 3PAR CLI, which enables the HP 3PAR REST API that is required by HPE OneView.
-ApplianceConnection <Array>
Aliases [-Appliance]
Specify one or more HPOneView.Appliance.Connection object(s) or Name property value(s).
Default Value: ${Global:ConnectedSessions} | ? Default
Aliases | Appliance |
Required? | false |
Position? | named |
Default value | (${Global:ConnectedSessions} | ? Default) |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-Credential <PSCredential PSCredential>
Use this parameter if you want to provide a PSCredential object instead. Use this parameter if you want to provide a PSCredential object instead.
Aliases | None |
Required? | false False |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-Domain <String>
Specify the HP 3PAR Virtual Domain name. Default is 'NO DOMAIN'. The value provided is CAsesEnSItive.
Aliases | None |
Required? | false |
Position? | named |
Default value | NO DOMAIN |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-Family <String>
Aliases [-Type]
Specify the type of Storage System to add: StorageVirtual or StoreServ.
Aliases | None |
Required? | false |
Position? | named |
Default value | StoreServ |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-Hostname <String>
IP Address of FQDN of the storage systems.
Aliases | None |
Required? | true |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-Password <Object>
Password of administrator account password. Can either be String or System.Security.SecureString.
Aliases | None |
Required? | false |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-PortGroups <Hashtable>
Specify the Host Ports to group together.
Example: @{"1:1:1" = "PG1"; "2:2:2" = "PG2"}
Aliases | None |
Required? | false |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-Ports <PSObject>
Specify the Host Ports and Expected Network in an Array of PSCustomObject entries.
Example: @{"1:1:1"="Fabric A";"2:2:2"="Fabric B"}
Aliases | None |
Required? | false |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-ShowSystemDetails <SwitchParameter>
By default, the Cmdlet will no longer display the details about the Storage System. Use this parameter to display information about the storage system when adding to the appliance.
Aliases | None |
Required? | False |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-Username <String>
Administrator account of the target storage system.
Aliases | None |
Required? | false |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-VIPS <Hashtable>
Specify the StoreVirtual VIP(s) and associated Ethernet Network.
Example:
@{"10.158.11.42" = $EthernetNetwork}
or
@{"10.158.11.42" = $EthernetNetwork1; "10.158.12.42" = $EthernetNetwork2;}
Aliases | None |
Required? | true |
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, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216)
None. You cannot pipe objects to this cmdlet.
HPOneView.Appliance.TaskResource [System.Management.Automation.PSCustomObject]
Add Storage System Async Task.
-------------------------- EXAMPLE 1 --------------------------$task = Add-HPOVStorageSystem -hostname "3par-array.consoto.com" -username 3paradm -password 3pardata -Async Wait-HPOVTaskComplete $task
Add the Storage System using default settings, and let the appliance detect the connected Storage System Ports. (A supported SAN Manager must first be added, and Managed SANs mapped to the specific FC Network resources.)
-------------------------- EXAMPLE 2 --------------------------$StorageSystemPorts = @{"1:1:1" = "Fabric A"; "2:1:1" = "Fabric A"; "1:1:2" = "Fabric B"; "2:1:2" = "Fabric B"} $StoragePortGroups = @{"1:1:1"= 'PG1'; "2:1:1" = "PG1"; "1:1:2" = "PG2"; "2:1:2" = "PG2"} Add-HPOVStorageSystem -hostname "3par-array.consoto.com" -username 3paradm -password 3pardata -Domain VirtaulDomain1 -Ports $StorageSystemPorts -PortGroups $StoragePortGroups | Wait-HPOVTaskComplete
Add the Storage System using default settings, and specify the Storage System Ports that will be assigned to the Expected Networks.
-------------------------- EXAMPLE 3 --------------------------$IscsiNetwork = Get-HPOVNetwork -Name "IscsiNetwork" -ErrorAction Stop $StoreVirtualAddress = "storevirtual1.domain.com" $StorageSystemPSCredential = Get-Credential -Username administrator Add-HPOVStorageSystem -Family StoreVirtual -Hostname $StoreVirtualAddress -Credential $StorageSystemPSCredential -VIPS @{ "192.168.191.22" = $IscsiNetwork }
Add a StoreVirtual storage system with PSCredential object.