Administrator Guide

9
ServerCloningwithServerConfigurationProfiles
SampleWorkflow UseCase:Cloningconfigurationsettingsfrom
aPowerEdgeR730toaPowerEdgeR430
Thissampleusecaseillustratespropagatingtheconfigurationsettingsfromasourcesystem
‐
anR730withanH730P
storagecontrollerandanIntelx540networkcard
‐
toa targetsystem
‐
anR430,withanH330storagecontrollerand
aBroadcom5720networkcard.Thetablebelowliststhedifferencesbetweenthetwosystems:
Server_A Server_B
Platform PowerEdgeR730 PowerEdgeR430
Storage
RAIDLevel RAID0 RAID50
StorageController PERCH730PMini PERCH330Mini
Networking
NetworkInterfaces Intel®GigabitX540/I350rNDC BroadcomGigabitEthernetBCM5720
1)
ExportTemplateClonefromtheR730,calltheresultingSCPfile01_R730_Export_Template_Clone.xml
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.10/wsman -SkipCNCheck -SkipCACheck -encoding:utf-8 -a:basic
@{IPAddress="192.168.100.50";FileName="01_R730_Export_Template_Clone.xml";ShareName="work
share";ShareType="2";Username="user";Password="pwd";ExportUse="1"}
2)
Execute
Preview
operationontheR430using‘01_R730_Export_Template_Clone.xml’.Waitforthejobtocomplete
usingtheGetJobStatuscommand.Jobcompleteswithmessage‘PreviewofsystemconfigurationXMLfile
completed.Someconfigurationchangesmaynotbe successful.’
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="01_R730_Export_Template_Clone.xml"}
AssumingJID_18640978164istheJIDreturned:
winrm g "http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/DCIM_LifecycleJob?InstanceID=JID_186409478164+ cimnamespace=root/dcim" -u:root
-p:calvin -r:https://192.168.100.40/wsman -encoding:utf-8 -a:basic -SkipCNcheck -
SkipCAcheck