Web Services Interface Guide

168 Dell Lifecycle Controller Web Services Interface Guide for Windows
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
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:
winrm i ExportDataFromPartition " http://schemas.dell.com/wbem/wscim/1/cim-
schema/2/root/dcim/DCIM_PersistentStorageService ?
Name="DCIM:PersistentStorageService",
CreationClassName="DCIM_PersistentStorageService",
SystemName="DCIM:ComputerSystem", SystemCreationClassName="DCIM_ComputerSystem"