White Papers

Dellâ„¢ Lifecycle Controller 2 Web Services Interface Guide for Windows Version: 2.1.0
168
RAID 10 = 2048
RAID 50 = 8192
RAID 60 = 16384
16.18.2 Getting the Available Disks-GetAvailableDisks()
The GetAvailableDisks() method is used to determine possible choices of drives to create virtual disks.
Invoke GetAvailableDisks() with the following parameters and syntax:
TARGET: This parameter is the FQDD of the DCIM_ControllerView (Section 16.7)
DiskType: Corresponds to MediaType attribute in PhysicalDiskView (Section 16.9)
Include all types=0, Include Magnetic Only=1, Include SSD only=2
Diskprotocol: Types of protocol to include
Include all protocols=0, Include SATA=1, Include SAStypes=2
DiskEncrypt: Types of encryption to include
0 = Include FDE capable and non encryption capable disks
1 = Include FDE disks only
2 = Include only non FDE disks
EXAMPLE:
winrm i GetAvailableDisks cimv2/root/dcim/DCIM_RAIDService
?SystemCreationClassName=DCIM_ComputerSystem
+SystemName=DCIM:ComputerSystem
+CreationClassName=DCIM_RAIDService
+Name=DCIM:RAIDService
-u:[USER] -p:[PASSWORD]
-r:https://[IPADDRESS]/wsman -SkipCNcheck -SkipCAcheck
-encoding:utf-8 -a:basic -file:GetAvailableDisks.xml
The input file GetAvailableDisks.xml is shown below:
<p:GetAvailableDisks_INPUT xmlns:p="http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/root/dcim/DCIM_RAIDService">
<p:Target>RAID.Integrated.1-1</p:Target>
<p:DiskType>0</p:DiskType>
<p:Diskprotocol>0</p:Diskprotocol>
<p:DiskEncrypt>0</p:DiskEncrypt>
<p:Raidlevel>2</p:Raidlevel>
</p:GetAvailableDisks_INPUT>