4
ServerCloningwithServerConfigurationProfiles
Introduction
TheheartofembeddedmanagementineveryDellPowerEdgeserver,theiDRACwithLifecycleControllerprovidesthe
abilitytogeneratea human‐readablesnapshotofserverconfigurationviaaServerConfigurationProfile.Thissinglefile
containsallBIOS,iDRAC,LifecycleController,Network,andStoragesettings.Aftercapturingthisfilecanbe
modified,as
needed,andthenappliedtootherservers,evendifferentservermodels.However,thisoperationrequiresattentionto
detailssuchasI/Oidentity,storageconfiguration,and othersettingsthatcouldcauseissuesifmisconfigured.
AmongtheoperationalfeaturesoftheServerConfigurationProfileare“Clone”and“Replace”modesofProfileExport
anda“Preview”modeforProfileImport.Asthesenamessuggest,thesemethodscansavesignificanttimeinhighly
automatedITenvironmentswheremultipleserversaretobeconfigured,cloned,and,inthefuture,
re‐configuredfor
differentworkloads.Thiswh itepaperillustratesthepracticaluseofthesefeatures–showinghowtocloneorreplace
settingsfromadesignatedsourceor“golden”server,previewapplyingthesesettings,andfinally,importingthe
settingstoatargetserver.
Normalprofileexport
ServerConfigurationProfile (SCP) operationsareprovidedviatheRACADMcommandlineinterfaceandtheiDRAC’s
WS‐Manapplicationprogramminginterface(API);SCPexportsandimportscanbedirectedtoorfromlocalfilesystems
andnetworkshares (NFS/CIFS).TheSCP‐generatedprofileincludesallaspectsofthesystem,
suchasBIOS,NIC,RAID,
FC,iDRAC,andLifecycleControllersettings.Bydefault,an“ExportConfiguration”invocationresultsinaNormal
Export.Inatypicaluse‐caseforaNormalExportoperation,anadministratorwillexporttheSCP,creatinga
“snapshot”ofallthecurrentsystemconfigurationsettingswithouthavingtoinvokemultiplecommands.Forexample,
theRAIDconfigurationonasourcesystemcouldincludemultipleVirtualDisksthathavebeensetup.Unlessitwasthe
expressintenttoreconfigurestorageonthetargetsystem,userswouldnotwantSCPsnapshots
takenonthesource
systemtodisruptthetargetsystemonanImportoperationbywipingouttheVirtualDisksonthetargetsystem.The
“NormalMode”forExportkeepsthisinmind,andtheSCPgeneratedhas
non-destructive settings
andactionsthat
willnotcausedisruptiontoatargetsystemifthe“Nor malMode”SCPisimported.
ThefollowingWinrmcommand,usingtheWS‐ManAPI,canbeusedtoexportanSCPinthe“Normal”mode:
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";ShareName="/nfs";ShareType="0";FileName="Export.xml"}
TheSCPcanbeexportedtoNFS(0)orCIFS(2)shares,asspecifiedbythe
ShareType
parameter.
ShareName
identifies
thenetworksharewheretheexportedfilespecifiedby
FileName
shouldreside.InthecaseofCIFSshares,credentials
toaccesstheshareshouldalsobespecifiedbythe
UserName
and
Password
parameters.
ThefollowingRACADMcommandexportsa“Normal”modeSCPtoaCIFSshare:
racadm get -f file -t xml -u myuser -p mypass -l //192.168.100.50/share