White Papers

Dell™ Lifecycle Controller 2 Web Services Interface Guide for Linux Version: 2.1.0
129
SystemName=DCIM:ComputerSystem,Name=DCIM:PersistentStorageService
-h $IPADDRESS -V -v -c dummy.cert -P 443
-u $USERNAME -p $PASSWORD -J CreatePartition.xml -j utf-8 y basic
The input file CreatePartition.xml is shown below:
<p:CreatePartition_INPUT xmlns:p="http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/root/dcim/DCIM_PersistentStorageService">
<p:PartitionIndex>1</p:PartitionIndex>
<p:Size>50</p:Size>
<p:SizeUnit>1</p:SizeUnit>
<p:PartitionType>2</p:PartitionType>
<p:OSVolumeLabel>label1</p:OSVolumeLabel>
</p:CreatePartition_INPUT>
OUTPUT:
When this method is executed, a jobid or an error message is returned.
<n1:CreatePartition_OUTPUT>
<n1:Job>
<wsa:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:Address>
<wsa:ReferenceParameters>
<wsman:ResourceURI>http://schemas.dell.com/wbem/wscim/1/cim-
schema/2/DCIM_LifecycleJob</wsman:ResourceURI>
<wsman:SelectorSet>
<wsman:Selector Name="InstanceID">JID_001300793055</wsman:Selector>
<wsman:Selector Name="__cimnamespace">root/dcim</wsman:Selector>
</wsman:SelectorSet>
</wsa:ReferenceParameters>
</n1:Job>
<n1:ReturnValue>4096</n1:ReturnValue>
</n1:CreatePartition_OUTPUT>
If this method returns the following message, the VFlash must be enabled using the
VFlashStateChange() (Section 13.3) method.
CreatePartition_OUTPUT
Message = VFlash not enabled
MessageID = VF015
ReturnValue = 2
13.5 Create Partition using Image
This method creates a partition on the storage device using the image provided by the user. The partition
size will be the same as the size of the image. The maximum size of the image is 4GB.