Web Services Interface Guide

Dell™ Lifecycle Controller 2 Web Services Interface Guide for Linux Version: 2.1.0
216
18.1.1 Exporting Server Profile to iDRAC vFlash Card-BackupImage()
iDRAC vFlash Card:
ShareType is “4”.
EXAMPLE:
wsman invoke -a BackupImage http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/root/dcim/DCIM_LCService
?SystemCreationClassName=DCIM_ComputerSystem,
CreationClassName=DCIM_LCService,SystemName=DCIM:ComputerSystem,
Name=DCIM:LCService -h $IPADDRESS -V -v -c dummy.cert -P 443
-u $USERNAME p $PASSWORD -j utf-8 -y basic
k IPAddress=$SHARE_IPADDRESS -k ShareName="/FOLDER"
-k ShareType="4" -k Username=$SHARE_USERNAME
-k Password=$SHARE_PASSWORD -k ImageName="IMAGENAME"
k ScheduledStartTime="TIME_NOW"
18.1.2 Exporting Server Profile to NFS Share-BackupImage()
NFS Share:
ShareType is “0”. The entire “Passphrase="passphrase";” argument is optional.
EXAMPLE:
wsman invoke -a BackupImage http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/root/dcim/DCIM_LCService
?SystemCreationClassName=DCIM_ComputerSystem,
CreationClassName=DCIM_LCService,SystemName=DCIM:ComputerSystem,
Name=DCIM:LCService -h $IPADDRESS -V -v -c dummy.cert -P 443
-u $USERNAME -p $PASSWORD -j utf-8 -y basic
-k IPAddress="[SHARE_IPADDRESS]" -k ShareName="/[DRIVESHARE]"
-k ShareType="0" -k Username="[SHARE_USERNAME]"
-k Password="[SHARE_PASSWORD]" k Passphrase="[PASSPHRASE]"
-k ImageName="[IMAGENAME]" k ScheduledStartTime="TIME_NOW"
NOTE: The ShareName field should only be the folder exposed by the system to the network. Any sub
folder information should be attached to the ImageName field. Otherwise, there can be connection
issues when trying to locate/create the backup file.
Correct Example: ShareName=”/folder1”;ImageName=”subfolder/image_name”
In-Correct Example: ShareName=”/folder1/subfolder”;ImageName=”image_name”