Documentation Index
Fetch the complete documentation index at: https://mintlify.com/HewlettPackard/POSH-HPEOneView/llms.txt
Use this file to discover all available pages before exploring further.
Synopsis
Create a new enclosure group on the HPE OneView appliance.Syntax
DefaultDescription
New-OVEnclosureGroup creates an enclosure group, which is the configuration template that governs how enclosures and their interconnect bays are managed by HPE OneView.
The most important input is -LogicalInterconnectGroupMapping, which defines which Logical Interconnect Group (LIG) governs each interconnect bay. For HPE Synergy, a single LIG object covers multiple frames and bays. For HPE BladeSystem c-Class, you typically provide a hashtable mapping bay numbers to LIG objects.
HPE Synergy enclosure groups can span multiple frames (up to 5) using -EnclosureCount. The -IPv4AddressType and related parameters control how the management network addresses are assigned to interconnect modules.
HPE BladeSystem c-Class enclosure groups span a single frame (EnclosureCount = 1) and require you to specify a LIG or a bay-to-LIG hashtable.
Before creating an enclosure group, create the Logical Interconnect Group(s) using
New-OVLogicalInterconnectGroup. The LIG must exist before it can be referenced here.Parameters
The display name for the new enclosure group.
Specifies the mapping of interconnect bays to Logical Interconnect Groups. Accepts:
- A single LIG object (applies to all bays in the group).
- A hashtable mapping bay numbers (c-Class) or frame/bay keys (Synergy) to LIG objects.
-logicalInterconnectGroup and -logicalInterconnectGroupUri. Also accepts pipeline input.The number of enclosures (frames) to include in the group. Valid range: 1–5. Default is
1.Applies to HPE Synergy multi-frame groups. Leave at 1 for c-Class enclosures.The power redundancy mode for the enclosure group. Valid values:
RedundantPowerFeed(default) — Each blade has redundant power feeds.RedundantPowerSupply— Redundant power supplies within the enclosure.
How IPv4 addresses are assigned to interconnect modules. Valid values:
DHCP(default)AddressPool— Use an address range defined in HPE OneView.External— Addresses are managed outside of HPE OneView.
An address pool range object from HPE OneView, used when
-IPv4AddressType is AddressPool. Aliased as -AddressPool.How IPv6 addresses are assigned. Valid values:
DHCP (default), AddressPool, External.An IPv6 address pool range object, used when
-IPv6AddressType is AddressPool.Controls OS deployment network integration. Valid values:
None (default), Internal, External.The network object used for OS deployment, when
-DeploymentNetworkType is Internal or External.One or more scope objects to assign to the new enclosure group. Use
Get-OVScope to retrieve scope objects.The HPE OneView appliance connection. Defaults to the current default session.
Path to a JSON file containing a previously exported enclosure group definition. The parent directory must exist.
Examples
Example 1: Create an enclosure group for HPE BladeSystem c-Class
This example is taken fromCreateEnclosureGroup_Sample.ps1. It creates a LIG, adds uplink sets, then creates the enclosure group.
Example 2: Create a multi-frame HPE Synergy enclosure group
This example creates a three-frame Synergy enclosure group with DHCP-assigned interconnect addresses, based onComposerApplianceConfig_Sample.ps1.
Example 3: Import an enclosure group from a JSON file
Create an enclosure group from a previously exported JSON definition.Output
Returns anHPEOneView.EnclosureGroup object representing the newly created enclosure group. Key properties include name, enclosureCount, interconnectBayMappings, and uri.
Related cmdlets
Get-OVEnclosureGroup— Retrieve existing enclosure groups.Set-OVEnclosureGroup— Modify an existing enclosure group.Remove-OVEnclosureGroup— Delete an enclosure group.New-OVLogicalInterconnectGroup— Create the LIG referenced by the enclosure group.Add-OVEnclosure— Add a c-Class enclosure using the new group.