Gen10/BIOS 구성 열람/저장/복원 관련
열람 시,
RESTful Interface Tool:
---------------------------------------------------
ilorest> ilorest --nologo login -u username -p password --selector=Bios.
ilorest> ilorest list
---------------------------------------------------
POSH Cmdlets:
---------------------------------------------------
PS C:> $baseServer = Connect-HPEBIOS -IP 10.20.30.1 -Username abcuser -Password abc123 -DisableCertificateAuthentication
PS C:> $biosSettings = $baseServer | Get-HPEBIOSSetting
PS C:> $BIOSSettings.CurrentBIOSSettings
---------------------------------------------------
백업 및 복원 시,
RESTful Interface Tool:
---------------------------------------------------
ilorest> ilorest
ilorest> login -u username -p password
ilorest> serverclone save -f <clone_file.json>
ilorest> serverclone load -f <clone_file.json>
default filename: ilorest_clone.json stored my documents (Windows)
Creates a JSON formated clone file of a system's iLO, BIOS, and SSA configuration which can be duplicated onto other systems.
RESTful Interface Tool
3.1.1.0(17 Nov 2020)
https://support.hpe.com/hpsc/swd/public/detail?swItemId=MTX_884eff1ee0974dfdb463a5b630
Note. iLO에 등록된 관리자/사용자 계정 정보 사전 확인 필요
---------------------------------------------------
POSH Cmdlets:
---------------------------------------------------
Establish a connection to base server
PS C:> $baseServer = Connect-HPEBIOS -IP 10.20.30.1 -Username abcuser -Password abc123 -DisableCertificateAuthentication
PS C:> $baseServer | Get-HPEBIOSACPI_SLIT | fl
SystemLocalityInformationTable : EnabledExecute Get-HPEBIOSSetting and store it in a variable
PS C:> $biosSettings = $baseServer | Get-HPEBIOSSettingEstablish a connection to target servers (one or more)
PS C:> $targetServers = Connect-HPEBIOS -IP 10.20.30.2-3 -Username abcuser -Password abc123 -DisableCertificateAuthentication
PS C:> $targetServers | Get-HPEBIOSACPI_SLIT | fl
SystemLocalityInformationTable : DisabledClone a SystemLocalityInformationTable settings from source to target servers.
PS C:> $biosSettings.CurrentBIOSSettings | Set-HPEBIOSACPI_SLIT -Connection $targetServers
PS C:> $targetServers | Get-HPEBIOSACPI_SLIT | fl
Note. 백업은 한번에 되나, 복원은 각 항목별로 개별적으로 수행되어야(또는 Script 화 되어야) 함
각 항목을 Script화 해두면, 추 후 배포/활용에 도움될 수 있을 것으로 기대되나, 최초 작성 시에는 수고가 필요함
Scripting Tools for Windows PowerShell User GuideBIOS Cmdlets v3.0.0.0
https://support.hpe.com/hpesc/public/docDisplay?docLocale=en_US&docId=a00020913en_us
P. 10, Descriptions of the BIOS cmdlets
Scripting Tools for Windows PowerShell: BIOS cmdlets
3.0.0.0(28 May 2020)
https://support.hpe.com/hpsc/swd/public/detail?swItemId=MTX_fc9d11211a1148f8a3330dcc42#tab-history
---------------------------------------------------
conrep
---------------------------------------------------
Save
conrep -s -x conrep_gen10.xml -f DL380Gen10.dat
Load
conrep -l -x conrep_gen10.xml -f DL380Gen10.dat
HPE Scripting Tools Linux RPM Packaging
11.40(20 Dec 2019)
https://support.hpe.com/hpsc/swd/public/detail?swItemId=MTX_7e34b6ec64ee42b3814b1f967d#tab-history
Scripting Toolkit for Linux - Using CONREP
https://support.hpe.com/hpesc/public/docDisplay?docId=emr_na-a00007607en_us
---------------------------------------------------