Reference Guide
125 Lifecycle Controller Web Services Interface Guide for Linux
PartitionIndex: The PartitionIndex property of the DCIM_OpaqueManagementData instance that
represents the partition to be modified. 1 to 16
AccessType: The type of access level. Read-Only=1, Read-Write=3
The OUT parameter Job will refer to the instance of CIM_ConcreteJob using which you can query the
status of the modification of the partition.
EXAMPLE:
wsman invoke -a ModifyPartition
http://schemas.dmtf.org/wbem/wscim/1/cimschema/2/root/dcim/DCIM_PersistentStor
ageService?SystemCreationClassName=DCIM_ComputerSystem,
CreationClassName=DCIM_PersistentStorageService,
SystemName=DCIM:ComputerSystem,Name=DCIM:PersistentStorageService
-h $IPADDRESS -V -v -c dummy.cert -P 443
-u $USERNAME -p $PASSWORD
-J ModifyPartition.xml -j utf-8 –y basic
The input file ModifyPartition.xml is shown below:
<p:ModifyPartition_INPUT
xmlns:p=“http://schemas.dell.com/wbem/wscim/1/cimschema/2/DCIM_PersistentStora
geService">
<p:PartitionIndex>6</p:PartitionIndex>
<p:AccessType>3</p:AccessType>
</p:ModifyPartition_INPUT>
OUTPUT:
<n1:ModifyPartition_OUTPUT>
<n1:ReturnValue>2</n1:ReturnValue>
</n1:ModifyPartition_OUTPUT>
13.9 Attach Partition
This method defines the set of partitions to be exposed as Floppy/CD/HDD endpoints to the managed
System and BIOS.
Invoke AttachPartition() with the following parameters and syntax:
PartitionIndex: The PartitionIndex property of the DCIM_OpaqueManagementData instance that
represents the partition to be attached. 1 to 16
EXAMPLE:
wsman invoke -a AttachPartition
http://schemas.dmtf.org/wbem/wscim/1/cimschema/2/root/dcim/DCIM_PersistentStor
ageService?SystemCreationClassName=DCIM_ComputerSystem,
CreationClassName=DCIM_PersistentStorageService,
SystemName=DCIM:ComputerSystem,Name=DCIM:PersistentStorageService
-h $IPADDRESS -V -v -c dummy.cert -P 443
-u $USERNAME -p $PASSWORD
-J AttachPartition.xml -j utf-8 –y basic
The input file AttachPartition.xml is shown below:
<p:AttachPartition_INPUT
xmlns:p=“http://schemas.dell.com/wbem/wscim/1/cimschema/2/DCIM_PersistentStora
geService">
<p:PartitionIndex>12</p:PartitionIndex>
</p:AttachPartition_INPUT>