Web Services Interface Guide

Dellâ„¢ Lifecycle Controller 2 Web Services Interface Guide for Linux Version: 2.1.0
128
Enable=1, Disable=2
EXAMPLE:
wsman invoke -a VFlashStateChange http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/root/dcim/DCIM_PersistentStorageService
?SystemCreationClassName=DCIM_ComputerSystem,CreationClassName=DCIM_PersistentStorageServic
e,SystemName=DCIM:ComputerSystem,Name=DCIM:PersistentStorageService -h $IPADDRESS -V -v -c
dummy.cert -P 443
-u $USERNAME -p $PASSWORD -J VFlashStateChange.xml -j utf-8 -y basic
The input file VFlashStateChange.xml is shown below:
<p:VFlashStateChange_INPUT xmlns:p="http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/root/dcim/DCIM_PersistentStorageService">
<p:RequestedState>1</p:RequestedState>
</p:VFlashStateChange_INPUT>
OUTPUT:
<n1:VFlashStateChange_OUTPUT>
<n1:ReturnValue>0</n1:ReturnValue>
</n1:VFlashStateChange_OUTPUT>
13.4 Create Partition
This method is used for creating a new partition on a storage device. When this method is successfully
executed, an instance of DCIM_OpaqueManagementData representing the desired partition will be
created (Section 13.1) and a reference to this instance is captured in the output parameter Job.
Invoke CreatePartition() with the following parameters and syntax:
PartitionIndex: The PartitionIndex property of the DCIM_OpaqueManagementData instance
that represents the partition to be formatted
1 to 16
Size: The size of the partition to be created
SizeUnit: The unit of the size
MB=1, GB=2
PartitionType: The partition type
floppy=1, hard disk=2
OSVolumeLabel: The label seen in the OS after attaching the partition
EXAMPLE:
wsman invoke -a CreatePartition http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/root/dcim/DCIM_PersistentStorageService
?SystemCreationClassName=DCIM_ComputerSystem,
CreationClassName=DCIM_PersistentStorageService,