White Papers

Dell™ Lifecycle Controller 2 Web Services Interface Guide for Windows Version: 2.1.0
197
18.2 Importing Server Profile
To restore host system server profile, invoke the RestoreImage() method in the class DCIM_LCService.
Restore process restores the system information, firmware images, hardware configuration, Lifecycle
Controller, iDRAC firmware, and configuration from the backup image file located on either iDRAC
vFlash SD card or network share.
[IP ADDRESS]: This is the IP address of the file server.
[DRIVESHARE]: This is the directory path for the image.
[USERNAME]: This is the username to the file share.
[PASSWORD]: This is the password to the file share.
[IMAGENAME]: This is the desired name of the image.
[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 used a passphrase.
The following examples restore the server profile and execute it immediately, using the TIME_NOW
parameter.
18.2.1 Importing Server Profile from iDRAC vFlash Card-RestoreImage()
iDRAC vFlash Card:
ShareType is “4”.
winrm i RestoreImage 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
-u:[USER] -p:[PASSWORD]
-r:https://[IPADDRESS]/wsman -SkipCNCheck -SkipCACheck
-encoding:utf-8 -a:basic @
{IPAddress="[IP ADDRESS]";ShareType="4";ScheduledStartTime="TIME_NOW"}
18.2.2 Importing Server Profile from NFS share-RestoreImage()
NFS Share:
ShareType is “0”.
EXAMPLE: