-
Notifications
You must be signed in to change notification settings - Fork 52
New HPOVServerProfileLogicalDiskController
Create Server Profile disk controller policy object.
New-HPOVServerProfileLogicalDiskController [-ControllerID] <Object> [-Mode] <String>[ [-Initialize] <SwitchParameter>][ [-WriteCache] <String>] [-LogicalDisk] <Object> [<CommonParameters>]
New-HPOVServerProfileLogicalDiskController [-ControllerID] <Object> [-Mode] <String>[ [-Initialize] <SwitchParameter>][ [-WriteCache] <String>][ [-ImportExistingConfiguration] <SwitchParameter>] [<CommonParameters>]
This helper CMDLET will create a Logical Disk controller object to then be assigned to a Server Profile Template or Server Profile using the -LogicalDisk parameter.
-ControllerID <Object>
Specify the Controller ID location. Supported options for this parameter are * Embedded * Mezz 1 * Mezz 2 * Mezz 3 Please note that Mezz 1, Mezz 2 and Mezz 3 are only supported with HPE Synergy Compute nodes connected to the HPE Synergy D3940 disk shelf.
Aliases | None |
Required? | true |
Position? | named |
Default value | Embedded |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-ImportExistingConfiguration <SwitchParameter>
Specify to import any found Logical Disk configuration and add to the Server Profile as the Logical Disk policy. This option is not available for Server Profile Templates. Not supported when ControllerID is "Mezz 1", "Mezz 2", or "Mezz 3".
Aliases | None |
Required? | false |
Position? | named |
Default value | False |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-Initialize <SwitchParameter>
Use this parameter to re-initialize the controller. This will wipe any existing logical disk configured for the controller and deploy the new policy defined. Not supported when ControllerID is "Mezz 1", "Mezz 2", or "Mezz 3".
Aliases | None |
Required? | false |
Position? | named |
Default value | False |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-LogicalDisk <Object>
A collection of Logical Disk objects from the New-HPOVServerProfileLogicalDisk Cmdlet.
Aliases | None |
Required? | true |
Position? | named |
Default value | |
Accept pipeline input? | true (ByValue) |
Accept wildcard characters? | False |
-Mode <String>
The mode to configure the Smart Array Controller as. Accepted values are:
* HBA
* RAID
When specifying HBA, you cannot attach a RAID Logical Disk to this policy.
Aliases | None |
Required? | true |
Position? | named |
Default value | RAID |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-WriteCache <String>
For Gen10 controllers, to enable, disable or unmanage controller write cache policy. Allowed values:
* Enabled
* Disabled
* Unmanaged
Default value: Unmanaged
Aliases | None |
Required? | false |
Position? | named |
Default value | Unmanaged |
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.ServerProfile.LogicalDisk [System.Management.Automation.PSCustomObject]
Logical Disk configuration policy from New-HPOVServerProfileLogicalDisk
System.Collections.ArrayList <HPOneView.ServerProfile.LogicalDisk>
Collection of Logical Disk configuration policy from New-HPOVServerProfileLogicalDisk
HPOneView.ServerProfile.Controller [System.Management.Automation.PSCustomObject]
Server Profile Controller configuration object
System.Collections.ArrayList <HPOneView.ServerProfile.Controller>
Collection of Server Profile Controller configuration objects
-------------------------- EXAMPLE 1 --------------------------$LogicalDisk = New-HPOVServerProfileLogicalDisk -Name "MyDisk" | New-HPOVServerProfileLogicalDiskController -Initialize
Create a default Logical Disk and Controller configuration object policy.
-------------------------- EXAMPLE 2 --------------------------New-HPOVServerProfileLogicalDiskController -Mode HBA
Create an HBA controller policy, which will then set the controller to JBOD mode.
-------------------------- EXAMPLE 3 --------------------------$LogicalDisk1 = New-HPOVServerProfileLogicalDisk -Name "MyDisk" $LogicalDisk2 = New-HPOVServerProfileLogicalDisk -Name "MyDisk2" $Controller = New-HPOVServerProfileLogicalDiskController -Initialize -LogicalDisk $LogicalDisk1,$LogicalDisk2
Create a default Logical Disk and Controller configuration object policy.
-------------------------- EXAMPLE 4 --------------------------$LogicalDisk1 = New-HPOVServerProfileLogicalDisk -Name Boot -RAID RAID1 -MinDriveSize 300 -MaxDriveSize 300 -DriveType SAS -Bootable $True $LogicalDisk2 = New-HPOVServerProfileLogicalDisk -Name Data -RAID RAID5 -NumberofDrives 5 -MinDriveSize 300 -MaxDriveSize 300 -DriveType SAS $Controller = New-HPOVServerProfileLogicalDiskController -ControllerID "Mezz 1" -Mode RAID -LogicalDisk $LogicalDisk1,$LogicalDisk2
Create a HPE Synergy D3940 RAID disk policy, with a bootable volume.
-------------------------- EXAMPLE 5 --------------------------$AvailableDriveType = Get-HPOVSasLogicalInterconnect -Name "LE1-Default SAS Synergy LIG-3" -ErrorAction Stop | Get-HPOVAvailableDriveType | ? { $_.Type -eq "SASHDD" -and $_.capacity -eq 900 } $NewLogicalDisk = New-HPOVServerProfileLogicalDisk -Name "LD1_RAID5_900GB_SASHDD" -DriveSelectionBy DriveType -NumberofDrives 6 -RAID RAID5 -AvailableDriveType $AvailableDriveType C:\> $Controller = New-HPOVServerProfileLogicalDiskController -ControllerID "Mezz 1" -Mode RAID -LogicalDisk $NewLogicalDisk
Create a RAID5 Logical Disk for a Server Profile using D3940 storage, and a specific available drive type, 900GB capacity and SASHDD type, and assign it to a new Controller.
Create Server Profile disk controller policy object.
New-HPOVServerProfileLogicalDiskController [-ControllerID] <Object> [-Mode] <String>[ [-Initialize] <SwitchParameter>] [-LogicalDisk] <Object> [<CommonParameters>]
New-HPOVServerProfileLogicalDiskController [-ControllerID] <Object> [-Mode] <String>[ [-Initialize] <SwitchParameter>][ [-ImportExistingConfiguration] <SwitchParameter>] [<CommonParameters>]
This helper CMDLET will create a Logical Disk controller object to then be assigned to a Server Profile Template or Server Profile using the -LogicalDisk parameter.
-ControllerID <Object>
Specify the Controller ID location. Supported options for this parameter are * Embedded * Mezz 1 * Mezz 2 * Mezz 3 Please note that Mezz 1, Mezz 2 and Mezz 3 are only supported with HPE Synergy Compute nodes connected to the HPE Synergy D3940 disk shelf.
Aliases | None |
Required? | true |
Position? | named |
Default value | Embedded |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-ImportExistingConfiguration <SwitchParameter>
Specify to import any found Logical Disk configuration and add to the Server Profile as the Logical Disk policy. This option is not available for Server Profile Templates. Not supported when ControllerID is 'Mezz 1', 'Mezz 2', or 'Mezz 3'.
Aliases | None |
Required? | false |
Position? | named |
Default value | False |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-Initialize <SwitchParameter>
Use this parameter to re-initialize the controller. This will wipe any existing logical disk configured for the controller and deploy the new policy defined. Not supported when ControllerID is 'Mezz 1', 'Mezz 2', or 'Mezz 3'.
Aliases | None |
Required? | false |
Position? | named |
Default value | False |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-LogicalDisk <Object>
A collection of Logical Disk objects from the New-HPOVServerProfileLogicalDisk Cmdlet.
Aliases | None |
Required? | true |
Position? | named |
Default value | |
Accept pipeline input? | true (ByValue) |
Accept wildcard characters? | False |
-Mode <String>
The mode to configure the Smart Array Controller as. Accepted values are:
* HBA
* RAID
When specifying HBA, you cannot attach a RAID Logical Disk to this policy.
Aliases | None |
Required? | true |
Position? | named |
Default value | RAID |
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.ServerProfile.LogicalDisk [System.Management.Automation.PSCustomObject]
Logical Disk configuration policy from New-HPOVServerProfileLogicalDisk
System.Collections.ArrayList <HPOneView.ServerProfile.LogicalDisk>
Collection of Logical Disk configuration policy from New-HPOVServerProfileLogicalDisk
HPOneView.ServerProfile.Controller [System.Management.Automation.PSCustomObject]
Server Profile Controller configuration object
System.Collections.ArrayList <HPOneView.ServerProfile.Controller>
Collection of Server Profile Controller configuration objects
-------------------------- EXAMPLE 1 --------------------------$LogicalDisk = New-HPOVServerProfileLogicalDisk -Name 'MyDisk' | New-HPOVServerProfileLogicalDiskController -Initialize
Create a default Logical Disk and Controller configuration object policy.
-------------------------- EXAMPLE 2 --------------------------New-HPOVServerProfileLogicalDiskController -Mode HBA
Create an HBA controller policy, which will then set the controller to JBOD mode.
-------------------------- EXAMPLE 3 --------------------------$LogicalDisk1 = New-HPOVServerProfileLogicalDisk -Name 'MyDisk' $LogicalDisk2 = New-HPOVServerProfileLogicalDisk -Name 'MyDisk2' $Controller = New-HPOVServerProfileLogicalDiskController -Initialize -LogicalDisk $LogicalDisk1,$LogicalDisk2
Create a default Logical Disk and Controller configuration object policy.
-------------------------- EXAMPLE 4 --------------------------$LogicalDisk1 = New-HPOVServerProfileLogicalDisk -Name Boot -RAID RAID1 -MinDriveSize 300 -MaxDriveSize 300 -DriveType SAS -Bootable $True $LogicalDisk2 = New-HPOVServerProfileLogicalDisk -Name Data -RAID RAID5 -NumberofDrives 5 -MinDriveSize 300 -MaxDriveSize 300 -DriveType SAS $Controller = New-HPOVServerProfileLogicalDiskController -ControllerID 'Mezz 1' -Mode RAID -LogicalDisk $LogicalDisk1,$LogicalDisk2
Create a HPE Synergy D3940 RAID disk policy, with a bootable volume.
-------------------------- EXAMPLE 5 --------------------------$AvailableDriveType = Get-HPOVSasLogicalInterconnect -Name 'LE1-Default SAS Synergy LIG-3' -ErrorAction Stop | Get-HPOVAvailableDriveType | ? { $_.Type -eq 'SASHDD' -and $_.capacity -eq 900 } $NewLogicalDisk = New-HPOVServerProfileLogicalDisk -Name 'LD1_RAID5_900GB_SASHDD' -DriveSelectionBy DriveType -NumberofDrives 6 -RAID RAID5 -AvailableDriveType $AvailableDriveType C:\> $Controller = New-HPOVServerProfileLogicalDiskController -ControllerID 'Mezz 1' -Mode RAID -LogicalDisk $NewLogicalDisk
Create a RAID5 Logical Disk for a Server Profile using D3940 storage, and a specific available drive type, 900GB capacity and SASHDD type, and assign it to a new Controller.