Reference Guide
127 Lifecycle Controller Web Services Interface Guide for Linux
<wsman:Selector Name="InstanceID">JID_001300787520<
/wsman:Selector>
<wsman:Selector Name="__cimnamespace">root/dcim</ws
man:Selector>
</wsman:SelectorSet>
</wsa:ReferenceParameters>
</n1:Job>
<n1:ReturnValue>4096</n1:ReturnValue>
</n1:DetachPartition_OUTPUT>
If the partition is already detached, the following message may be displayed:
<n1:DetachPartition_OUTPUT>
<n1:Message>Partition already detached</n1:Message>
<n1:MessageID>VF028</n1:MessageID>
<n1:ReturnValue>2</n1:ReturnValue>
</n1:DetachPartition_OUTPUT>
13.11 Export Data from Partition
This method is for exporting the contents of a partition to a location specified by you.
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
ShareType: Type of share. NFS=0, TFTP=1, CIFS=2
SharePath: NFS sharepoint address
ImageName: Name of the ISO or IMG image
Workgroup: Name of the workgroup, if applicable
Username: The username to be used to access the file
Password: The password to be used to access the file
Port: The port number to be used
HashType: The hash type. MD5=1, SHA1=2
HashValue: The hash value string based on the HashType parameter
EXAMPLE:
wsman invoke -a ExportDataFromPartition
“http://schemas.dell.com/wbem/wscim/1/cimschema/2/root/dcim/DCIM_PersistentSto
rageService?Name="DCIM:PersistentStorageService”,CreationClassName="DCIM_Persi
stentStorageService",SystemName="DCIM:ComputerSystem",SystemCreationClassName=
"DCIM_ComputerSystem?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 ExportDataFromPartition.xml -j utf-8 -y basic