White Papers

Dell™ Lifecycle Controller 2 Web Services Interface Guide for Windows Version: 2.1.0
119
winrm i DetachPartition 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:DetachPartition.xml
The input file DetachPartition.xml is shown below:
<p:DetachPartition_INPUT xmlns:p=" http://schemas.dell.com/wbem/wscim/1/cim-
schema/2/DCIM_PersistentStorageService">
<p:PartitionIndex>12</p:PartitionIndex>
</p:DetachPartition_INPUT>
OUTPUT:
When this method is executed, a jobid or an error message is returned.
DetachPartition_OUTPUT
Job
Address = http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous
ReferenceParameters
ResourceURI = http://schemas.dell.com/wbem/wscim/1/cim-schema/2/DCIM_LifecycleJob
SelectorSet
Selector: InstanceID = JID_001270737364, __cimnamespace = root/dcim
ReturnValue = 0
If the partition is already detached, the following message may be displayed:
DetachPartition_OUTPUT
Message = Partition already detached
MessageID = VF028
ReturnValue = 2
13.11 Export Data from Partition
This method is for exporting the contents of a partition to a location specified by the user.
Use the following algorithm to successfully export data from an existing partition.
Enumerate the DCIM_PersistentStorageService class
Invoke the ExportDataFromPartition() method on the instance above with the following parameters:
PartitionIndex: The PartitionIndex property of the DCIM_OpaqueManagementData instance
that represents the partition to be formatted
1 to 16
IPAddress: IP address of TFTP or NFS share