Administrator Guide

4
ServerCloningwithServerConfigurationProfiles
Introduction
TheheartofembeddedmanagementineveryDellPowerEdgeserver,theiDRACwithLifecycleControllerprovidesthe
abilitytogeneratea humanreadablesnapshotofserverconfigurationviaaServerConfigurationProfile.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,
reconfiguredfor
differentworkloads.Thiswh itepaperillustratesthepracticaluseofthesefeaturesshowinghowtocloneorreplace
settingsfromadesignatedsourceor“golden”server,previewapplyingthesesettings,andfinally,importingthe
settingstoatargetserver.
Normalprofileexport
ServerConfigurationProfile (SCP) operationsareprovidedviatheRACADMcommandlineinterfaceandtheiDRAC’s
WSManapplicationprogramminginterface(API);SCPexportsandimportscanbedirectedtoorfromlocalfilesystems
andnetworkshares (NFS/CIFS).TheSCPgeneratedprofileincludesallaspectsofthesystem,
suchasBIOS,NIC,RAID,
FC,iDRAC,andLifecycleControllersettings.Bydefault,an“ExportConfiguration”invocationresultsinaNormal
Export.InatypicalusecaseforaNormalExportoperation,anadministratorwillexporttheSCP,creatinga
“snapshot”ofallthecurrentsystemconfigurationsettingswithouthavingtoinvokemultiplecommands.Forexample,
theRAIDconfigurationonasourcesystemcouldincludemultipleVirtualDisksthathavebeensetup.Unlessitwasthe
expressintenttoreconfigurestorageonthetargetsystem,userswouldnotwantSCPsnapshots
takenonthesource
systemtodisruptthetargetsystemonanImportoperationbywipingouttheVirtualDisksonthetargetsystem.The
“NormalMode”forExportkeepsthisinmind,andtheSCPgeneratedhas
non-destructive settings
andactionsthat
willnotcausedisruptiontoatargetsystemifthe“Nor malMode”SCPisimported.
ThefollowingWinrmcommand,usingtheWSManAPI,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