New HPOVEnclosureGroup - HewlettPackard/POSH-HPEOneView GitHub Wiki

HPE OneView 4.10 Library

New-HPOVEnclosureGroup

Create an Enclosure Group.

SYNTAX

New-HPOVEnclosureGroup [-Name] <String> [-LogicalInterconnectGroupMapping] <Object>[ [-PowerRedundantMode] <String>][ [-ConfigurationScript] <String>][ [-Scope] <HPOneView.Appliance.ScopeCollection>][ [-ApplianceConnection] <Object>] [<CommonParameters>]
New-HPOVEnclosureGroup [-Name] <String>[ [-DiscoverFromEnclosure] <SwitchParameter>] [-OAAddress] <String> [-Username] <String> [-Password] <String>[ [-PowerRedundantMode] <String>][ [-ConfigurationScript] <String>] [-LigPrefix] <String>[ [-Scope] <HPOneView.Appliance.ScopeCollection>][ [-ApplianceConnection] <Object>] [<CommonParameters>]
New-HPOVEnclosureGroup [-Name] <String> [-LogicalInterconnectGroupMapping] <Object> [-EnclosureCount] <Int32>[ [-PowerRedundantMode] <String>][ [-IPv4AddressType] <String>] [-AddressPool] <Object>[ [-DeploymentNetworkType] <String>][ [-DeploymentNetwork] <Object>][ [-Scope] <HPOneView.Appliance.ScopeCollection>][ [-ApplianceConnection] <Object>] [<CommonParameters>]
New-HPOVEnclosureGroup [-ImportFile] <String>[ [-Scope] <HPOneView.Appliance.ScopeCollection>][ [-ApplianceConnection] <Object>] [<CommonParameters>]

Detailed Description

An enclosure group is a logical resource that defines a standard configuration for member logical enclosures. The network connectivity for an enclosure group is defined by the logical interconnect groups associated with the enclosure group. When configuring an HPE Synergy enclosure group, it may contain up to five enclosures. When configuring an HPE BladeSystem C-Class enclosure group, it will only contain a single enclosure.

Enclosure groups and logical interconnect groups

* A logical interconnect group that is assigned to a bay within an enclosure group must have that bay populated within the logical interconnect group.
* All populated bays in a logical interconnect group must be assigned to the enclosure group. For example, a logical interconnect group that has bays 1 and 2 populated must be assigned to bays 1 and 2 of the enclosure group in order for the enclosure group to be created.
* An enclosure group can contain logical interconnect groups that are highly available, redundant, A-side only, or A-side and B-side. See About interconnect bay sets.
* Synergy multiple-enclosure logical interconnect groups must have the proper bays populated in all enclosures in the interconnect link topology.
* Synergy single-enclosure logical interconnect groups, such as a Serial Attached SCSI (SAS) logical interconnect group, can be applied to individual bays in individual enclosures in the interconnect link topology.

Parameters

-AddressPool <Object>

The IPv4 Address Pool object from Get-HPOVAddressPoolRange.

Aliases None
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters?    False

-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

-ConfigurationScript <String>

An Onboard Administrator CLI Script. Only applicable for HPE BladeSystem C-Class.

Aliases None
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters?    False

-DeploymentNetwork <Object>

The Ethernet Network with the purpose property set to Management. Must also include DeploymentNetworkType parameter, value must be "External", with the Ethernet Network associated with a non-ImageStreamer Uplink Set.

Aliases None
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters?    False

-DeploymentNetworkType <String>

Specify the Synergy Image Stream deployment network type. Allowed values:

* Internal - Deployment network is an internal, managed by the Frame links, which Logical Intercoonect Group must have an ImageStreamer Uplink Set.
* External - Deployment network is connected to an External management switch.
* None - No deployment network will be configured.

Default: None

Aliases None
Required? false
Position? named
Default value None
Accept pipeline input? false
Accept wildcard characters?    False

-DiscoverFromEnclosure <SwitchParameter>

Use this parameter for the appliance to create an Enclosure Group and associated Logical Interconnect Group by "discovering" the Enclosure and support interconnects. The target Enclosure must not already be claimed by another external manager (i.e. HPE OneView), as the API will reject the request.

No Uplink Sets will be created. They will need to be added using the New-HPOVUplinkSet Cmdlet once the Logical Interconnect Group resource has been created.

Aliases None
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters?    False

-EnclosureCount <Int32>

Specify the number of Synergy Frames will participate within the Enclosure Group.

Aliases None
Required? true
Position? named
Default value 1
Accept pipeline input? false
Accept wildcard characters?    False

-IPv4AddressType <String>

Use to specify how the IPv4 Addresses will be assigned to Synergy resources management interface(s). Allowed values:

* External -  The IPv4 address is managed externally, static assignment.
* DHCP -  The IPv4 address is assigned using DHCP.
* AddressPool - The IPv4 address is assigned from a pool of IP addresses specified by the AddressPool parameter, similar to HPE BladeSystem C-Class "Enclosure Bay IP Addressing" (aka EBIPA).

Default: DHCP

Aliases None
Required? false
Position? named
Default value DHCP
Accept pipeline input? false
Accept wildcard characters?    False

-ImportFile <String>

Provide the full path and file name of the JSON file.

Aliases i, import
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters?    False

-LigPrefix <String>

If specified, the Logical Interconnect Group that is created will be used in the "{LigPrefix} Logical Interconnect Group".

Aliases None
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters?    False

-LogicalInterconnectGroupMapping <Object>

Aliases [-logicalInterconnectGroupUri, -logicalInterConnectGroup]

An Enclosure Group can reference multiple Logical Interconnect Groups, once per Interconnect Bay. If a Single Logical Interconnect Group object is provided (either via parameter variable or via Pipeline), the Logical Interconnect Group objects Logical Interconnect Bay configuration will be used.

To specify a specific C-Class Logical Interconnect Group(s) for one or more Interconnect Bays, use a Hashtable, with the Bay ID as the Key, and Logical Interconnect Group Name, URI or Object as the Value. Example:

$LogicalInterConnectGroupMapping = @{ 1 = "MyLIg1"; 2 = "MyLig1"; 5 = "OtherLIG"; 6 = "OtherLIG"}

$MyLig1 = Get-HPOVLogicalInterconnectGroup -Name MyLig1 $OtherLIG = Get-HPOVLogicalInterconnectGroup OtherLIG $LogicalInterConnectGroupMapping = @{ 1 = $MyLig1; 2 = $MyLig1; 5 = $OtherLIG; 6 = $OtherLIG"

When attempting to define a Syenrgy-based Enclosure Group, either an Array or Hashtable is allowed. If an Array of Logical Interconnect Groups are provided, the Cmdlet will determine the Interconnect placement automatically. Example:

$MySynergyLig1 = Get-HPOVLogicalInterconnectGroup -Name MySynergyLig1 $LogicalInterConnectGroupMapping = $MySynergyLig1 #or $MySynergyLig1 = Get-HPOVLogicalInterconnectGroup -Name MySynergyLig1 $MySynergyLig2 = Get-HPOVLogicalInterconnectGroup -Name MySynergyLig2 $LogicalInterConnectGroupMapping = $MySynergyLig1,$MySynergyLig2

Do know that SAS and VC FC LIGs are bound to a single frame, and will not reference other Frames if FrameCount is greater than 1.

Use a Hashtable to bind specific LIGs to specific Frames. The Interconnect placement will be determined automatically based on either the Hashtable Key name "Frame#" (where # is the numerical value of the Frame) or Enclosure Index value (depending if a SAS or Synergy VC FC LIG). Example:

$3FrameVCLIG = Get-HPOVLogicalInterconnectGroup -Name "My MultiFrame Synergy LIG 1" $SasLIG = Get-HPOVLogicalInterconnectGroup -Name "My Synergy Sas LIG 1" $LogicalInterconnectGroupMapping = @{Frame1 = $3FrameVCLIG,$SasLIG; Frame2 = $3FrameVCLIG,$SasLIG; Frame3 = $3FrameVCLIG }

Aliases logicalInterconnectGroupUri, logicalInterconnectGroup
Required? true
Position? named
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters?    False

-Name <String>

A name for the new enclosure group.

Aliases None
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters?    False

-OAAddress <String>

Provide the Onboard Administrator IP Address or FQDN.

Aliases None
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters?    False

-Password <String>

Provide an Onboard Administrator administrator password.

Aliases None
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters?    False

-PowerRedundantMode <String>

The Power Redundancy Mode to set when an Enclosure is added to the appliance.

Allowed Values:

* RedundantPowerFeed - Provides N+N Power Redundancy Configuration
* RedundantPowerSupply - Provided N+1 Power Redundancy Configuration
Aliases None
Required? false
Position? named
Default value RedundantPowerFeed
Accept pipeline input? false
Accept wildcard characters?    False

-Scope <HPOneView.Appliance.ScopeCollection>

Provide an HPOneView.Appliance.ScopeCollection resource object to initially associate with. Resource can also be added to scope using the Add-HPOVResourceToScope Cmdlet.

Aliases None
Required? False
Position? named
Default value False
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters?    False

-Username <String>

Provide an Onboard Administrator administrator account.

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)

Input Types

HPOneView.Networking.LogicalInterconnectGroup [System.Management.Automation.PSCustomObject]

Single Logical Interconnect Group resource object

Return Values

HPOneView.EnclosureGroup [System.Management.Automation.PSCustomObject]

The newly created enclosure group resource

Examples

 -------------------------- EXAMPLE 1 --------------------------

$mylig = Get-HPOVLogicalInterconnectGroup -name "myLogicalInterconnectGroup" New-HPOVEnclosureGroup -name "MyGroup" -logicalInterConnectGroup $mylig

Get the "myLogicalInterconnectGroup" object and pass it to create the "MyGroup" Enclosure Group.

 -------------------------- EXAMPLE 2 --------------------------

$Prodlig = Get-HPOVLogicalInterconnectGroup -name "Production LIG" $DMZlig = Get-HPOVLogicalInterconnectGroup -name "DMZ LIG" $ConfigurationScript = "#Configure Insight Remote Support CentralConnect >> ENABLE REMOTE_SUPPORT IRS 80.80.1.14 7906" New-HPOVEnclosureGroup -name "Production Enclosure Group 1" -LogicalInterconnectGroupMapping @{1 = $Prodlig; 2 = $Prodlig; 5 = $DMZlig; 6 = $DMZlig} -ConfigurationScript $ConfigurationScript

Get two different Logical Interconnect Groups, define an OA Configuration Script, then assign the LIGs to the specific Interconnect Bays for appliance "MyAppliance1.domain.com".

 -------------------------- EXAMPLE 3 --------------------------

New-HPOVEnclosureGroup -name "MyGroup" -DiscoverFromEnclosure -OAAddress MyOAIP.domain.com -Username Administrator -Password MyPassword

Connect to the provided Onboard Administrator, detect the Interconnect Bay population to then create both a Logical Interconnect Group and associate it with the Enclosure Group being requested.

 -------------------------- EXAMPLE 4 --------------------------

New-HPOVEnclosureGroup -name "MyGroup" -DiscoverFromEnclosure -OAAddress MyOAIP.domain.com -Username Administrator -Password MyPassword -LigPrefix "My LIG Policy"

Connect to the provided Onboard Administrator, detect the Interconnect Bay population to then create both a Logical Interconnect Group ("My LIG Policy") and associate it with the Enclosure Group being requested.

 -------------------------- EXAMPLE 5 --------------------------

$MySynergyLig1 = Get-HPOVLogicalInterconnectGroup -Name MySynergyLig1 New-HPOVEnclosureGroup -name "My Synergy Enclosure Group 1" -LogicalInterconnectGroupMapping $MySynergyLig1 -EnclosureCount 3 -IPv4AddressType DHCP

Create a 3-Frame Synergy Enclosure Group using a single Logical Interconnect Group.

 -------------------------- EXAMPLE 6 --------------------------

$MySynergyLig1 = Get-HPOVLogicalInterconnectGroup -Name MySynergyLig1 New-HPOVEnclosureGroup -name "My Synergy Enclosure Group 1" -LogicalInterconnectGroupMapping @{Frame1 = $3FrameVCLIG,$SasLIG; Frame2 = $3FrameVCLIG,$SasLIG; Frame3 = $3FrameVCLIG } -EnclosureCount 3 -IPv4AddressType DHCP

Create a 3-Frame Synergy Enclosure Group using multiple Logical Interconnect Groups specific to each Frame.

 -------------------------- EXAMPLE 7 --------------------------

$AddressPool = Get-HPOVAddressPoolSubnet -NetworkId "10.140.51.0" -ErrorAction Stop | Get-HPOVAddressPoolRange $MySynergyLig1 = Get-HPOVLogicalInterconnectGroup -Name MySynergyLig1 New-HPOVEnclosureGroup -name "My Synergy Enclosure Group 1" -LogicalInterconnectGroupMapping @{Frame1 = $3FrameVCLIG,$SasLIG; Frame2 = $3FrameVCLIG,$SasLIG; Frame3 = $3FrameVCLIG } -EnclosureCount 3 -IPv4AddressType AddressPool -AddressPool $AddressPool -DeploymentNetworkType Internal

Create a 3-Frame Synergy Enclosure Group using multiple Logical Interconnect Groups specific to each Frame, with ImageStreamer support using a LIG with an ImageStreamer Uplink Set (aka Internal)..

 -------------------------- EXAMPLE 8 --------------------------

$AddressPool = Get-HPOVAddressPoolSubnet -NetworkId "10.140.51.0" -ErrorAction Stop | Get-HPOVAddressPoolRange $DeploymentNetwork = Get-HPOVNetwork -Name "Deployment Network" -ErrorAction Stop $MySynergyLig1 = Get-HPOVLogicalInterconnectGroup -Name MySynergyLig1 New-HPOVEnclosureGroup -name "My Synergy Enclosure Group 1" -LogicalInterconnectGroupMapping @{Frame1 = $3FrameVCLIG,$SasLIG; Frame2 = $3FrameVCLIG,$SasLIG; Frame3 = $3FrameVCLIG } -EnclosureCount 3 -IPv4AddressType AddressPool -AddressPool $AddressPool -DeploymentNetworkType External -DeploymentNetwork $DeploymentNetwork

Create a 3-Frame Synergy Enclosure Group using multiple Logical Interconnect Groups specific to each Frame, with ImageStreamer support using a LIG without an ImageStreamer Uplink Set and specifying which Ethernet Network object is the deployment network (aka External).

Related Links


Top

HPE OneView 4.00 Library

New-HPOVEnclosureGroup

Create an Enclosure Group.

SYNTAX

New-HPOVEnclosureGroup [-Name] <String> [-LogicalInterconnectGroupMapping] <Object>[ [-PowerRedundantMode] <String>][ [-ConfigurationScript] <String>][ [-Scope] <HPOneView.Appliance.ScopeCollection>][ [-ApplianceConnection] <Object>] [<CommonParameters>]
New-HPOVEnclosureGroup [-Name] <String>[ [-DiscoverFromEnclosure] <SwitchParameter>] [-OAAddress] <String> [-Username] <String> [-Password] <String>[ [-PowerRedundantMode] <String>][ [-ConfigurationScript] <String>] [-LigPrefix] <String>[ [-Scope] <HPOneView.Appliance.ScopeCollection>][ [-ApplianceConnection] <Object>] [<CommonParameters>]
New-HPOVEnclosureGroup [-Name] <String> [-LogicalInterconnectGroupMapping] <Object> [-EnclosureCount] <Int32>[ [-PowerRedundantMode] <String>][ [-IPv4AddressType] <String>] [-AddressPool] <Object>[ [-DeploymentNetworkType] <String>][ [-DeploymentNetwork] <Object>][ [-Scope] <HPOneView.Appliance.ScopeCollection>][ [-ApplianceConnection] <Object>] [<CommonParameters>]
New-HPOVEnclosureGroup [-ImportFile] <String>[ [-Scope] <HPOneView.Appliance.ScopeCollection>][ [-ApplianceConnection] <Object>] [<CommonParameters>]

Detailed Description

An enclosure group is a logical resource that defines a standard configuration for member logical enclosures. The network connectivity for an enclosure group is defined by the logical interconnect groups associated with the enclosure group. When configuring an HPE Synergy enclosure group, it may contain up to five enclosures. When configuring an HPE BladeSystem C-Class enclosure group, it will only contain a single enclosure.

Enclosure groups and logical interconnect groups

* A logical interconnect group that is assigned to a bay within an enclosure group must have that bay populated within the logical interconnect group.
* All populated bays in a logical interconnect group must be assigned to the enclosure group. For example, a logical interconnect group that has bays 1 and 2 populated must be assigned to bays 1 and 2 of the enclosure group in order for the enclosure group to be created.
* An enclosure group can contain logical interconnect groups that are highly available, redundant, A-side only, or A-side and B-side. See About interconnect bay sets.
* Synergy multiple-enclosure logical interconnect groups must have the proper bays populated in all enclosures in the interconnect link topology.
* Synergy single-enclosure logical interconnect groups, such as a Serial Attached SCSI (SAS) logical interconnect group, can be applied to individual bays in individual enclosures in the interconnect link topology.

Parameters

-AddressPool <Object>

The IPv4 Address Pool object from Get-HPOVAddressPoolRange.

Aliases None
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters?    False

-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

-ConfigurationScript <String>

An Onboard Administrator CLI Script. Only applicable for HPE BladeSystem C-Class.

Aliases None
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters?    False

-DeploymentNetwork <Object>

The Ethernet Network with the purpose property set to Management. Must also include DeploymentNetworkType parameter, value must be 'External', with the Ethernet Network associated with a non-ImageStreamer Uplink Set.

Aliases None
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters?    False

-DeploymentNetworkType <String>

Specify the Synergy Image Stream deployment network type. Allowed values:

* Internal - Deployment network is an internal, managed by the Frame links, which Logical Intercoonect Group must have an ImageStreamer Uplink Set.
* External - Deployment network is connected to an External management switch.
* None - No deployment network will be configured.

Default: None

Aliases None
Required? false
Position? named
Default value None
Accept pipeline input? false
Accept wildcard characters?    False

-DiscoverFromEnclosure <SwitchParameter>

Use this parameter for the appliance to create an Enclosure Group and associated Logical Interconnect Group by 'discovering' the Enclosure and support interconnects. The target Enclosure must not already be claimed by another external manager (i.e. HPE OneView), as the API will reject the request.

No Uplink Sets will be created. They will need to be added using the New-HPOVUplinkSet Cmdlet once the Logical Interconnect Group resource has been created.

Aliases None
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters?    False

-EnclosureCount <Int32>

Specify the number of Synergy Frames will participate within the Enclosure Group.

Aliases None
Required? true
Position? named
Default value 1
Accept pipeline input? false
Accept wildcard characters?    False

-IPv4AddressType <String>

Use to specify how the IPv4 Addresses will be assigned to Synergy resources management interface(s). Allowed values:

* External -  The IPv4 address is managed externally, static assignment. 
* DHCP -  The IPv4 address is assigned using DHCP. 
* AddressPool - The IPv4 address is assigned from a pool of IP addresses specified by the AddressPool parameter, similar to HPE BladeSystem C-Class 'Enclosure Bay IP Addressing' (aka EBIPA). 

Default: DHCP

Aliases None
Required? false
Position? named
Default value DHCP
Accept pipeline input? false
Accept wildcard characters?    False

-ImportFile <String>

Provide the full path and file name of the JSON file.

Aliases i, import
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters?    False

-LigPrefix <String>

If specified, the Logical Interconnect Group that is created will be used in the '{LigPrefix} Logical Interconnect Group'.

Aliases None
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters?    False

-LogicalInterconnectGroupMapping <Object>

Aliases [-logicalInterconnectGroupUri, -logicalInterConnectGroup]

An Enclosure Group can reference multiple Logical Interconnect Groups, once per Interconnect Bay. If a Single Logical Interconnect Group object is provided (either via parameter variable or via Pipeline), the Logical Interconnect Group objects Logical Interconnect Bay configuration will be used.

To specify a specific C-Class Logical Interconnect Group(s) for one or more Interconnect Bays, use a Hashtable, with the Bay ID as the Key, and Logical Interconnect Group Name, URI or Object as the Value. Example:

$LogicalInterConnectGroupMapping = @{ 1 = "MyLIg1"; 2 = "MyLig1"; 5 = "OtherLIG"; 6 = "OtherLIG"}

$MyLig1 = Get-HPOVLogicalInterconnectGroup -Name MyLig1 $OtherLIG = Get-HPOVLogicalInterconnectGroup OtherLIG $LogicalInterConnectGroupMapping = @{ 1 = $MyLig1; 2 = $MyLig1; 5 = $OtherLIG; 6 = $OtherLIG"

When attempting to define a Syenrgy-based Enclosure Group, either an Array or Hashtable is allowed. If an Array of Logical Interconnect Groups are provided, the Cmdlet will determine the Interconnect placement automatically. Example:

$MySynergyLig1 = Get-HPOVLogicalInterconnectGroup -Name MySynergyLig1 $LogicalInterConnectGroupMapping = $MySynergyLig1 #or $MySynergyLig1 = Get-HPOVLogicalInterconnectGroup -Name MySynergyLig1 $MySynergyLig2 = Get-HPOVLogicalInterconnectGroup -Name MySynergyLig2 $LogicalInterConnectGroupMapping = $MySynergyLig1,$MySynergyLig2

Do know that SAS and VC FC LIGs are bound to a single frame, and will not reference other Frames if FrameCount is greater than 1.

Use a Hashtable to bind specific LIGs to specific Frames. The Interconnect placement will be determined automatically based on either the Hashtable Key name "Frame#" (where # is the numerical value of the Frame) or Enclosure Index value (depending if a SAS or Synergy VC FC LIG). Example:

$3FrameVCLIG = Get-HPOVLogicalInterconnectGroup -Name "My MultiFrame Synergy LIG 1" $SasLIG = Get-HPOVLogicalInterconnectGroup -Name "My Synergy Sas LIG 1" $LogicalInterconnectGroupMapping = @{Frame1 = $3FrameVCLIG,$SasLIG; Frame2 = $3FrameVCLIG,$SasLIG; Frame3 = $3FrameVCLIG }

Aliases logicalInterconnectGroupUri, logicalInterconnectGroup
Required? true
Position? named
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters?    False

-Name <String>

A name for the new enclosure group.

Aliases None
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters?    False

-OAAddress <String>

Provide the Onboard Administrator IP Address or FQDN.

Aliases None
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters?    False

-Password <String>

Provide an Onboard Administrator administrator password.

Aliases None
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters?    False

-PowerRedundantMode <String>

The Power Redundancy Mode to set when an Enclosure is added to the appliance.

Allowed Values:

* RedundantPowerFeed - Provides N+N Power Redundancy Configuration
* RedundantPowerSupply - Provided N+1 Power Redundancy Configuration
Aliases None
Required? false
Position? named
Default value RedundantPowerFeed
Accept pipeline input? false
Accept wildcard characters?    False

-Scope <HPOneView.Appliance.ScopeCollection>

Provide an HPOneView.Appliance.ScopeCollection resource object to initially associate with. Resource can also be added to scope using the Add-HPOVResourceToScope Cmdlet.

Aliases None
Required? False
Position? named
Default value False
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters?    False

-Username <String>

Provide an Onboard Administrator administrator account.

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)

Input Types

HPOneView.Networking.LogicalInterconnectGroup [System.Management.Automation.PSCustomObject]

Single Logical Interconnect Group resource object

Return Values

HPOneView.EnclosureGroup [System.Management.Automation.PSCustomObject]

The newly created enclosure group resource

Examples

 -------------------------- EXAMPLE 1 --------------------------

$mylig = Get-HPOVLogicalInterconnectGroup -name "myLogicalInterconnectGroup" New-HPOVEnclosureGroup -name "MyGroup" -logicalInterConnectGroup $mylig

Get the "myLogicalInterconnectGroup" object and pass it to create the "MyGroup" Enclosure Group.

 -------------------------- EXAMPLE 2 --------------------------

$Prodlig = Get-HPOVLogicalInterconnectGroup -name "Production LIG" $DMZlig = Get-HPOVLogicalInterconnectGroup -name "DMZ LIG" $ConfigurationScript = '#Configure Insight Remote Support CentralConnect >> ENABLE REMOTE_SUPPORT IRS 80.80.1.14 7906' New-HPOVEnclosureGroup -name "Production Enclosure Group 1" -LogicalInterconnectGroupMapping @{1 = $Prodlig; 2 = $Prodlig; 5 = $DMZlig; 6 = $DMZlig} -ConfigurationScript $ConfigurationScript

Get two different Logical Interconnect Groups, define an OA Configuration Script, then assign the LIGs to the specific Interconnect Bays for appliance 'MyAppliance1.domain.com'.

 -------------------------- EXAMPLE 3 --------------------------

New-HPOVEnclosureGroup -name "MyGroup" -DiscoverFromEnclosure -OAAddress MyOAIP.domain.com -Username Administrator -Password MyPassword

Connect to the provided Onboard Administrator, detect the Interconnect Bay population to then create both a Logical Interconnect Group and associate it with the Enclosure Group being requested.

 -------------------------- EXAMPLE 4 --------------------------

New-HPOVEnclosureGroup -name "MyGroup" -DiscoverFromEnclosure -OAAddress MyOAIP.domain.com -Username Administrator -Password MyPassword -LigPrefix 'My LIG Policy'

Connect to the provided Onboard Administrator, detect the Interconnect Bay population to then create both a Logical Interconnect Group ('My LIG Policy') and associate it with the Enclosure Group being requested.

 -------------------------- EXAMPLE 5 --------------------------

$MySynergyLig1 = Get-HPOVLogicalInterconnectGroup -Name MySynergyLig1 New-HPOVEnclosureGroup -name "My Synergy Enclosure Group 1" -LogicalInterconnectGroupMapping $MySynergyLig1 -EnclosureCount 3 -IPv4AddressType DHCP

Create a 3-Frame Synergy Enclosure Group using a single Logical Interconnect Group.

 -------------------------- EXAMPLE 6 --------------------------

$MySynergyLig1 = Get-HPOVLogicalInterconnectGroup -Name MySynergyLig1 New-HPOVEnclosureGroup -name "My Synergy Enclosure Group 1" -LogicalInterconnectGroupMapping @{Frame1 = $3FrameVCLIG,$SasLIG; Frame2 = $3FrameVCLIG,$SasLIG; Frame3 = $3FrameVCLIG } -EnclosureCount 3 -IPv4AddressType DHCP

Create a 3-Frame Synergy Enclosure Group using multiple Logical Interconnect Groups specific to each Frame.

 -------------------------- EXAMPLE 7 --------------------------

$AddressPool = Get-HPOVAddressPoolSubnet -NetworkId '10.140.51.0' -ErrorAction Stop | Get-HPOVAddressPoolRange $MySynergyLig1 = Get-HPOVLogicalInterconnectGroup -Name MySynergyLig1 New-HPOVEnclosureGroup -name "My Synergy Enclosure Group 1" -LogicalInterconnectGroupMapping @{Frame1 = $3FrameVCLIG,$SasLIG; Frame2 = $3FrameVCLIG,$SasLIG; Frame3 = $3FrameVCLIG } -EnclosureCount 3 -IPv4AddressType AddressPool -AddressPool $AddressPool -DeploymentNetworkType Internal

Create a 3-Frame Synergy Enclosure Group using multiple Logical Interconnect Groups specific to each Frame, with ImageStreamer support using a LIG with an ImageStreamer Uplink Set (aka Internal)..

 -------------------------- EXAMPLE 8 --------------------------

$AddressPool = Get-HPOVAddressPoolSubnet -NetworkId '10.140.51.0' -ErrorAction Stop | Get-HPOVAddressPoolRange $DeploymentNetwork = Get-HPOVNetwork -Name 'Deployment Network' -ErrorAction Stop $MySynergyLig1 = Get-HPOVLogicalInterconnectGroup -Name MySynergyLig1 New-HPOVEnclosureGroup -name "My Synergy Enclosure Group 1" -LogicalInterconnectGroupMapping @{Frame1 = $3FrameVCLIG,$SasLIG; Frame2 = $3FrameVCLIG,$SasLIG; Frame3 = $3FrameVCLIG } -EnclosureCount 3 -IPv4AddressType AddressPool -AddressPool $AddressPool -DeploymentNetworkType External -DeploymentNetwork $DeploymentNetwork

Create a 3-Frame Synergy Enclosure Group using multiple Logical Interconnect Groups specific to each Frame, with ImageStreamer support using a LIG without an ImageStreamer Uplink Set and specifying which Ethernet Network object is the deployment network (aka External).

Related Links


Top
⚠️ **GitHub.com Fallback** ⚠️