Reference Guide

201 Lifecycle Controller Web Services Interface Guide for Linux
[PASSPHRASE]: This can be used to password protect NFS and CIFS images.
For NFS and CIFS shares, the entire “Passphrase="[PASSPHRASE]";” argument is only required
when the backup image uses a passphrase.
The following examples restore the server profile and execute it immediately, using the TIME_NOW
parameter.
18.3.1 Importing Server Profile from iDRAC vFlash Card-RestoreImage()
iDRAC vFlash Card:
ShareType is “4”.
wsman invoke -a RestoreImage
http://schemas.dmtf.org/wbem/wscim/1/cimschema/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="4" -k Username="[SHARE_USERNAME]"
-k Password="[SHARE_PASSWORD]" k Passphrase="[PASSPHRASE]"
k ImageName="[IMAGENAME]" k ScheduledStartTime="TIME_NOW"
18.3.2 Importing Server Profile from NFS share
-RestoreImage()
NFS Share: ShareType is “0”.
EXAMPLE:
wsman invoke -a RestoreImage
http://schemas.dmtf.org/wbem/wscim/1/cimschema/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 available 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 or create the backup file.
Correct EXAMPLE: ShareName=”/folder1”;ImageName=”subfolder/image_name”
Incorrect EXAMPLE: ShareName=”/folder1/subfolder”;ImageName=”image_name”
18.3.3 Importing Server Profile from CIFS share-RestoreImage()
CIFS Share: ShareType is “2”.
wsman invoke -a RestoreImage
http://schemas.dmtf.org/wbem/wscim/1/cimschema/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