Reference Guide

122 Lifecycle Controller Web Services Interface Guide for Linux
URI: The URI location of firmware to update a component.
Supported protocols are FTP and HTTP.
IPAddress: IP address of TFTP or NFS share
ShareType: Type of share. NFS=0, TFTP=1, CIFS=2, FTP=3, HTTP=4
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 on the basis of the HashType parameter.
EXAMPLE:
wsman invoke -a CreatePartitionUsingImage
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
The input file CreatePartitionUsingImage.xml is shown below:
<p:CreatePartitionUsingImage_INPUT
xmlns:p="http://schemas.dell.com/wbem/wscim/1/cimschema/2/DCIM_PersistentStora
geService">
<p:PartitionIndex>1</p:PartitionIndex>
<p:PartitionType>2</p:PartitionType>
<p:OSVolumeLabel>label</p:OSVolumeLabel>
<p:URI>ftp://123.456.7.89/dir/filename.exe</p:URI>
<p:IPAddress>123.456.7.8</p:IPAddress>
<p:ShareType>3</p:ShareType>
<p:SharePath></p:SharePath>
<p:ImageName>imagename.iso</p:ImageName>
<p:Workgroup>workgroup</p:Workgroup>
<p:Username>Administrator</p:Username>
<p:Password>password</p:Password>
<p:Port></p:Port>
<p:HashType>1</p:HashType>
<p:HashValue>123</p:HashValue>
</p:CreatePartitionUsingImage_INPUT>
OUTPUT:
After running this method, a jobid or a message is displayed indicating an error.
<n1:CreatePartitionUsingImage_OUTPUT>
<n1:Job>
<wsa:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/an
onymous<
/wsa:Address>
<wsa:ReferenceParameters>
<wsman:ResourceURI>http://schemas.dell.com/wbem/wscim/1/cimsche
ma/2/DCIM_LifecycleJob</wsman:ResourceURI>
<wsman:SelectorSet>