Administrator Guide

13
ServerCloningwithServerConfigurationProfiles
-p:calvin -r:https://192.168.100.40/wsman -encoding:utf-8 -a:basic -SkipCNcheck -
SkipCAcheck
6)
Execute
GetConfigResults
ontheR430usingthe
Preview
JobIDandsavetheLifecycleControllerlog
ConfigResultsin‘04_R430_Preview_LCLog_Clone_of_R730.xml’.Makesuretherearenofailuresidentified.
winrm i GetConfigResults "http://schemas.dell.com/wbem/wscim/1/cim-
schema/2/DCIM_LCRecordLog?InstanceID=DCIM:LifecycleLog+ cimnamespace=root/dcim” -u:root
-p:calvin -r:https://192.168.100.40/wsman -encoding:utf-8 -a:basic -SkipCNcheck -
SkipCAcheck @{JobID="JID_18640978165"}
7)
ExecuteImport operationon the R430 using corrected
‘03_R730_Export_Template_Clone_Modified_for_R430.xml’
winrm i ImportSystemConfigurationPreview http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/root/dcim/DCIM_LCService?SystemCreationClassName=DCIM_ComputerSystem+CreationCla
ssName=DCIM_LCService+SystemName=DCIM:ComputerSystem+Name=DCIM:LCService -u:root -
p:calvin -r:https://192.168.100.40/wsman -SkipCNCheck -SkipCACheck -encoding:utf-8 -
a:basic @{IPAddress="192.168.100.50";ShareName="/nfs";ShareType="0";
FileName="03_R730_Export_Template_Clone_Modified_for_R430.xml";
ShutdownType="1";EndHostPowerState="1"}
AssumingJID_18640947816istheJIDreturned,tocheckforjobstatus
winrm g "http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/DCIM_LifecycleJob?InstanceID=JID_186409478166+ cimnamespace=root/dcim" -u:root
-p:calvin -r:https://192.168.100.40/wsman -encoding:utf-8 -a:basic -SkipCNcheck –
SkipCAcheck
8)
Oncethejobiscompleted,execute
GetConfigResults
commandontheR430usingImportJobIDandsavethe
LifecycleControllerlogConfigResultsin‘05_R430_Import_LCLog_Clone_of_R730.xml’’.VerifythatLifecycle
Controllerlogdoesn’tshowanyfailures.
winrm i GetConfigResults "http://schemas.dell.com/wbem/wscim/1/cim-
schema/2/DCIM_LCRecordLog?InstanceID=DCIM:LifecycleLog+ cimnamespace=root/dcim” -u:root
-p:calvin -r:https://192.168.100.40/wsman -encoding:utf-8 -a:basic -SkipCNcheck -
SkipCAcheck @{JobID="JID_18640978166"}
9)
ExportTemplateCloneontheR430to‘06_R430_Export_Template_Clone.xml’andcompareitwith
‘03_R730_Export_Template_Clone_Modified_for_R430.xml’.Makesurethereareno errors.
winrm i ExportSystemConfiguration http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/root/dcim/DCIM_LCService?SystemCreationClassName=DCIM_ComputerSystem+CreationCla
ssName=DCIM_LCService+SystemName=DCIM:ComputerSystem+Name=DCIM:LCService -u:root -
p:calvin -r:https://192.168.0.40/wsman -SkipCNCheck -SkipCACheck -encoding:utf-8 -a:basic
@{IPAddress="192.168.100.50";FileName="06_R430_Export_Template_Clone.xml";ShareName="work
share";ShareType="2";Username="user";Password="pwd";ExportUse="1"}