White Papers

Dell™ Lifecycle Controller 2 Web Services Interface Guide for Windows Version: 2.1.0
117
13.8 Modify Partition
This method is used for modifying the changeable attributes of a partition.
Use the following algorithm to successfully modify an existing partition.
Enumerate the DCIM_PersistentStorageService class
Invoke ModifyPartition() method on the instance above with the following parameters:
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 the user can
query the status of the modification of the partition.
EXAMPLE:
winrm i ModifyPartition http://schemas.dell.com/wbem/wscim/1/cim-
schema/2/DCIM_PersistentStorageService
?SystemCreationClassName=DCIM_ComputerSystem
+CreationClassName=DCIM_PersistentStorageService
+SystemName=DCIM:ComputerSystem
+Name=DCIM:PersistentStorageService
-u:[USER] -p:[PASSWORD]
-r:https://[IPADDRESS]/wsman -SkipCNcheck -SkipCAcheck
-encoding:utf-8 -a:basic -file:ModifyPartition.xml
The input file ModifyPartition.xml is shown below:
<p:ModifyPartition_INPUT xmlns:p=" http://schemas.dell.com/wbem/wscim/1/cim-
schema/2/DCIM_PersistentStorageService">
<p:PartitionIndex>6</p:PartitionIndex>
<p:AccessType>3</p:AccessType>
</p:ModifyPartition_INPUT>
OUTPUT:
ModifyPartition_OUTPUT
ReturnValue = 0
13.9 Attach Partition
This method is for defining the set of partitions to be exposed as Floppy/CD/HDD endpoints to the
managed system and BIOS.