White Papers

Dell™ Lifecycle Controller 2 Web Services Interface Guide for Windows Version: 2.1.0
198
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]";ShareName="/[DRIVESHARE]"; ShareType="2";
Username="[USERNAME]";Password="[PASSWORD]";ImageName="[IMAGENAME]";
Passphrase="[PASSPHRASE]";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”
18.2.3 Importing Server Profile from CIFS share-RestoreImage()
CIFS Share:
ShareType is “2”.
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]";ShareName="/[DRIVESHARE]"; ShareType="2";
Username="[USERNAME]";Password="[PASSWORD]";ImageName="[IMAGENAME]";
Passphrase="[PASSPHRASE]";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”