Administrator Guide

5
ServerCloningwithServerConfigurationProfiles
ThisRACADMcommandcanbeusedtoexporta“Normal”modeSCPtoanNFSshare:
racadm get -f file -t xml -l 192.168.100.50:/myshare
Andfinally,thisremoteRACADMcommandcanbeusedtoexporta“Normal”modeSCPtoalocalfile:
racadm–r<iDRACIPaddress>‐u<adminusername>‐p<password>get–ffile–txml
TheRACADMandWinrmSCPexportcommandswillreturnajobID.JobStatuscommandscanbeusedtocheckthe
statusofjobcompletion.Oncethejobiscomplete,theSCPfileisavailableonthespecif iedshareorlocalfile.
Cloneprofileexport
Iftheuserintendstoduplicatesettingsfroma“golden”sourceservertoa targetserverwithanidenticalhardware
setup,Cloneexportmodecanbeused.ClonemodeprofilesaredistinguishedfromNormalmodebyenabling
configurationsettingstobereplicatedonthetargetserver.Forthisreason,Cloneprofiles
–
suchasthosecontaining
RAIDstorageconfiguration
‐
arepotentially“datadestructive”andshouldbeusedwithawarenessofthepotential
impactstothetargetserver.
I/OidentityattributesarecommentedoutinanSCPgeneratedvia“Clone”mode,butauthenticationattributesarenot.
Bydefault,passwordsforconfigurediDRACusersareexportedas“calvin”(thedefaultcleartextpassword).IniDRAC
version4.40.00.00andlaterversions,thedefau ltexporte dpasswordwasupdatedto"Calvin#SCP#CloneReplace1"to
align
withthenewminimumpasswordscorefeature.Iftheactualpasswordsaretoberetained,the
includeph
option
canbeusedduringexporttooutputtheactualpasswordsinhashedformat.IntheClonemodeofexport,sincetheuser
intentistoduplicatesettingsincludingthoseforstoragesubsystems,VirtualDiskcreationactionissetto
CreateAuto
,
and
ResetConfig
issetto
True
inthegeneratedSCPfile.
The
--clone
optioncanbeusedwithRACADMcommandstogenerateanSCPthatisreadyforcloning:
racadm get -f file -t xml -u myuser -p mypass -l //192.168.100.50/share –clone
The
ExportUse
parameterwithoption“1”canbeusedwithWinrmWS‐MancommandstogenerateSCPfilesuitable
forcloning:
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="file.xml";ShareName="workshare";ShareType="2";User
name="user";Password="pwd";ExportUse="1"}
Replaceprofileexport
Iftheuserintendstoretireaserverfromthedatacenterandreplaceitwithanotherorrestoreaserver’ssettingstoa
knownbaseline,theReplacemodeofexportcanbeused.Inadditiontoauthenticationattributesthatare
uncommentedandstorageactionsthatwillcausechangestothestorage
configuration,theI/Oidentitypropertiesfor
NICsandFiberChannelcardsarealsouncommentedandexported.