RESTful API를 사용하는 경우,
GET https://<%_iLO_IP_Address%>/redfish/v1/chassis/1/power
e.g.) GET https://192.168.0.10/redfish/v1/chassis/1/power

 

Note. RESTful client의 credential 설정 필요.

 

RESTful Interface Tool을 사용하는 경우,
RESTful Interface Tool
https://buy.hpe.com/kr/ko/software/infrastructure-management-software/system-server-management-software/hpe-system-server-software-management-software/restful-interface-tool/p/7630408

  1. ilorest를 통해 iLO 접속
    ilorest login <%_iLO_IP_Address%> --user <%Administrative_Account%> --password <%Password%> --selector=Power.
  2. 정보 열람
    ilorest list
       or
    ilorest -d serverinfo --power
# ilorest login 192.168.0.10 --user admin --password password --selector=Power.
iLOrest : RESTful Interface Tool version 3.2.1
Copyright (c) 2014-2021 Hewlett Packard Enterprise Development LP
--------------------------------------------------------------------------------
Discovering data...Done

# ilorest list
iLOrest : RESTful Interface Tool version 3.2.1
Copyright (c) 2014-2021 Hewlett Packard Enterprise Development LP
--------------------------------------------------------------------------------
<snip>
PowerControl=
              @odata.id=/redfish/v1/Chassis/1/Power/#PowerControl/0
              MemberId=0
              PowerCapacityWatts=4400
              PowerConsumedWatts=203
              PowerMetrics=
                            AverageConsumedWatts=204
                            IntervalInMin=20
                            MaxConsumedWatts=239
                            MinConsumedWatts=197
PowerSupplies=
               @odata.id=/redfish/v1/Chassis/1/Power/#PowerSupplies/0
               FirmwareVersion=0.22
               LastPowerOutputWatts=80
               LineInputVoltage=231
               LineInputVoltageType=ACHighLine
               Manufacturer=None
               MemberId=0
               Model=MC2200B4-3-3R1-02
               Name=HpeServerPowerSupply
               Oem=
                    Hpe=
                         @odata.context=/redfish/v1/$metadata#HpeServerPowerSupply.HpeServerPowerSupply
                         @odata.type=#HpeServerPowerSupply.v2_0_0.HpeServerPowerSupply
                         AveragePowerOutputWatts=80
                         BayNumber=1
                         HotplugCapable=True
                         MaxPowerOutputWatts=80
                         Mismatched=False
                         PowerSupplyStatus=
                                            State=Ok
                         iPDUCapable=False
               PowerCapacityWatts=2200
               PowerSupplyType=Unknown
               SerialNumber=M6630G00G5ALZ
               SparePartNumber=MC2200B4-3
               Status=
                       Health=OK
                       State=Enabled

               @odata.id=/redfish/v1/Chassis/1/Power/#PowerSupplies/1
               FirmwareVersion=0.22
               LastPowerOutputWatts=123
               LineInputVoltage=231
               LineInputVoltageType=ACHighLine
               Manufacturer=None
               MemberId=1
               Model=MC2200B4-3-3R1-02
               Name=HpeServerPowerSupply
               Oem=
                    Hpe=
                         @odata.context=/redfish/v1/$metadata#HpeServerPowerSupply.HpeServerPowerSupply
                         @odata.type=#HpeServerPowerSupply.v2_0_0.HpeServerPowerSupply
                         AveragePowerOutputWatts=123
                         BayNumber=2
                         HotplugCapable=True
                         MaxPowerOutputWatts=123
                         Mismatched=False
                         PowerSupplyStatus=
                                            State=Ok
                         iPDUCapable=False
               PowerCapacityWatts=2200
               PowerSupplyType=Unknown
               SerialNumber=M6630G00CPALZ
               SparePartNumber=MC2200B4-3
               Status=
                       Health=OK
                       State=Enabled

               @odata.id=/redfish/v1/Chassis/1/Power/#PowerSupplies/2
               MemberId=2
               Oem=
                    Hpe=
                         @odata.context=/redfish/v1/$metadata#HpeServerPowerSupply.HpeServerPowerSupply
                         @odata.type=#HpeServerPowerSupply.v2_0_0.HpeServerPowerSupply
                         BayNumber=3
               Status=
                       Health=Warning
                       State=Absent

               @odata.id=/redfish/v1/Chassis/1/Power/#PowerSupplies/3
               MemberId=3
               Oem=
                    Hpe=
                         @odata.context=/redfish/v1/$metadata#HpeServerPowerSupply.HpeServerPowerSupply
                         @odata.type=#HpeServerPowerSupply.v2_0_0.HpeServerPowerSupply
                         BayNumber=4
               Status=
                       Health=Warning
                       State=Absent
Redundancy=
            @odata.id=/redfish/v1/Chassis/1/Power/#Redundancy/0
            MaxNumSupported=4
            MemberId=0
            MinNumNeeded=4
            Mode=Failover
            Name=PowerSupply Redundancy Group 1
            RedundancySet=
                           @odata.id=/redfish/v1/Chassis/1/Power/#PowerSupplies/0

                           @odata.id=/redfish/v1/Chassis/1/Power/#PowerSupplies/1

                           @odata.id=/redfish/v1/Chassis/1/Power/#PowerSupplies/2

                           @odata.id=/redfish/v1/Chassis/1/Power/#PowerSupplies/3
            Status=
                    Health=OK
                    State=Disabled
#

 

# ilorest -d serverinfo --power
iLOrest : RESTful Interface Tool version 3.2.1
Copyright (c) 2014-2021 Hewlett Packard Enterprise Development LP
----------------------------------------------------------------------------------------------------------------
<snip>
,"SerialNumber":"M6630G00G5ALZ",
<snip>
,"SerialNumber":"M6630G00CPALZ",
------------------------------------------------
Power Information:
------------------------------------------------
Total Power Capacity: 4400 W
Total Power Consumed: 204 W

Power Metrics on 20 min. Intervals:
        Average Power: 205 W
        Max Consumed Power: 246 W
        Minimum Consumed Power: 197 W
------------------------------------------------
Power Supply 1:
------------------------------------------------
Power Capacity: 2200 W
Last Power Output: 80 W
Input Voltage: 231 V
Input Voltage Type: ACHighLine
Hotplug Capable: True
iPDU Capable: False
Health: OK
State: Enabled
------------------------------------------------
Power Supply 2:
------------------------------------------------
Power Capacity: 2200 W
Last Power Output: 124 W
Input Voltage: 231 V
Input Voltage Type: ACHighLine
Hotplug Capable: True
iPDU Capable: False
Health: OK
State: Enabled
------------------------------------------------
PowerSupply Redundancy Group 1
------------------------------------------------
Redundancy Mode: Failover
Redundancy Health: OK
Redundancy State: Disabled
#

 

 

 

 

반응형
Posted by 스쳐가는인연

댓글을 달아 주세요

iLO SNTP

iLO의 Web UI를 통해서 변경하는 것도 가능하지만, 수량이 많거나 하는 경우, 작업이 번거로울 수 있음에...

iLO의 SNTP의 Timezone을 변경 및 저장하지 않고, 아래 방법으로 진행해볼 수 있다.

 

1. RESTful Interface Tool 설치

RESTful Interface Tool for Windows

1.1.0(17 Nov 2020)

https://support.hpe.com/hpesc/public/swd/detail?swItemId=MTX_b0ed9438eb1248fb919f39e084

 

RESTful Interface Tool for Linux
3.2.1(16 Apr 2021)
https://support.hpe.com/hpesc/public/swd/detail?swItemId=MTX_db4070dcd8e4468fb67d5aefbc

 

2. 첨부 “ilotz.zip” 파일을 다운로드

ilotz.zip
0.00MB


/ilotz/

  • Change_iloTZ.bat
  • Change_iloTZ.sh

-------------------------------------------------------------

ilorest login --nologo %1 --user %2 --password %3 --selector=HPeiLODateTime.v2_0_0

ilorest --nologo rawpatch .\ilodatetime.json

ilorest --nologo iloreset --url=%1 -u %2 -p %3

ilorest --nologo logout

echo %1

-------------------------------------------------------------

  • ilodatetime.json

-------------------------------------------------------------

{
         "/redfish/v1/Managers/1/DateTime/":{
                       "TimeZone": {
            "Index": 31
                       }
         }
}
-------------------------------------------------------------

 

Windows 기준:
3. RESTful Interface Tool console 실행 > 다운로드 받은 “ilotz” 디렉토리로 이동

ilorest console

4. 아래 문구의 명령 수행
C:> Change_iloTZ.bat <%iLO_IPAddress%> <%Administrative_Account%> <%Password%>

e.g.)

C:\Temp\ilotz> Change_iloTZ.bat 192.168.0.10 Admin password
Discovering data...Done
The operation completed successfully.
Discovering data...Done

Warning:
After iLO resets, the session will be terminated.
Please wait for iLO to initialize completely before logging in again.
This process may take up to 3 minutes to complete.

A management processor reset is in progress.
Logging session out.
192.168.0.10
# ./Change_iloTZ.sh 192.168.0.10 Admin issadmin
Discovering data...Done
The operation completed successfully.
Discovering data...Done

Warning:
After iLO resets, the session will be terminated.
Please wait for iLO to initialize completely before logging in again.
This process may take up to 3 minutes to complete.

A management processor reset is in progress.
Logging session out.
192.168.0.10

 

Note. Script에서 수행되는 명령:
-------------------------------------------------------------
<snip>
iLO에 로그인:
ilorest login --nologo %1 --user %2 --password %3 --selector=HPeiLODateTime.v2_0_0

Timezone 변환:
ilorest --nologo rawpatch .\ilodatetime.json

Reset iLO:
ilorest --nologo iloreset --url=%1 -u %2 -p %3

접속 종료:
ilorest --nologo logout

대상 서버 IP Address 출력:
echo %1
<snip>
-------------------------------------------------------------
{
    "TimeZone": {
        "Index": 31,
        "Name": "Osaka, Sapporo, Tokyo, Seoul, Yakutsk",
        "UtcOffset": "+09:00",
        "Value": "JST-9:00"
    }
}
-------------------------------------------------------------

 

연관문서:
Advisory: (Revision) HPE Integrated Lights-Out 4 (iLO 4) and iLO 5 - The BIOS Time Zone May be Incorrect on Servers Set with Propagate Network Time Protocol (NTP) to Host or Propagate NTP or Onboard Administrator (OA) Time to Host
https://support.hpe.com/hpesc/public/docDisplay?docId=emr_na-a00062543en_us

.

 

 

 

 

 

반응형
Posted by 스쳐가는인연

댓글을 달아 주세요

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:

---------------------------------------------------

  1. 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 : Enabled

  2. Execute Get-HPEBIOSSetting and store it in a variable
    PS C:> $biosSettings = $baseServer | Get-HPEBIOSSetting

  3. Establish 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 : Disabled

  4. Clone 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

 

참고문서:
https://community.hpe.com/t5/BladeSystem-General/How-to-clone-BIOS-settings-using-Get-HPEBIOSSetting/td-p/7015009#.X_W9Ktj7SUk

---------------------------------------------------

 

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

---------------------------------------------------

 

 

반응형
Posted by 스쳐가는인연

댓글을 달아 주세요

HPE ProLiant Gen10/HPE Flexible Slot Power Supplies firmware

 

증상
HPE ProLiant Gen10 시스템에 장착하여 사용되는 Flex Slot Power supply 관련하여, 일부 환경에서, 시스템 장애를 유발할 수 있는 이슈가 확인되었고, FW 패치를 통해 해소할 수 있음. (관련 상세 내용은 하단 Advisory 참조)

 

- 아래 패턴의 오류와 함께, 예기치 않은 시스템 종료 (800W/500W 공통)
   Server Critical Fault (Service Information: RuntimeFault System Board AUX/Main EFUSE (10h))
   Server Critical Fault (Service Information: RuntimeFault, System Board, P12V Main/AUX Regulators
   Server Critical Fault (Service Information: RuntimeFault, Power Supply, Power Supply 1

 

- Power Supply FAN 장애 오감지 (800W)
   System Power Supply: Fan Warning (Power Supply X) 

 

- Power Supply 장애 (800W)
   General Failure (Power Supply X)

 

 

Advisory 문서를 주의 깊게 검토하는 경우, 특정 패턴의 CT# - 8J – 만 해당함을 인지할 수 있으나, 관련하여, 공식 웹에 게시된 SW의 정보상에 대상 PSU의 부품 정보 및 제조사가 명시되어 있지 않아 사용자에게 혼란을 줄 수 있음.

 

Online Power Supply Flash Component for Linux - HPE Flexible Slot Power Supplies
2020.08.03(4 Sep 2020)
https://support.hpe.com/hpsc/swd/public/detail?swItemId=MTX_93f43eff1f55458d9875d0b693#tab-history

  • 대상 부품 상세 정보 부족

Online Power Supply Flash Component for Windows - HPE Flexible Slot Power Supplies
2020.08.03(4 Sep 2020)
https://support.hpe.com/hpsc/swd/public/detail?swItemId=MTX-2c41322891774fbf98c29df31b

  • 대상 부품 상세 정보 부족

 

1. 내부 전원 오류에 따른 예기치 않은 시스템 종료(a00050474en_us) 이슈는 특정 제조사에서 생산된 PS에만 해당되며, 1.02로 업그레이드 필요함

 

  • 1.02 fw는 "8J" PS의 1.01 이하 fw만 인식되어 적용됨 (fw 1.02 이상의 500W PS는 인식하지 않음)
  • "8J"가 포함되지 않은 PS는 인식하지 않음.

   설치 시도 시, Smart component log에 아래 형태의 오류와 함께 중단됨
   The software will not be installed on this system because the required hardware is not present in the system or the software/firmware doesn't apply to this system.

 

2. PSU 장애(a00102266en_us) 및 PS FAN 오감지(a00106918en_us) 이슈는 800W PS에만 해당되며, 1.05로 업그레이드 필요함

 

환경
• HPE ProLiant Gen10 System
• 865408-B21 HPE 500W FLEX SLOT PLATINUM HOT PLUG LOW HALOGEN POWER SUPPLY KIT
• 865414-B21 HPE 800W FLEX SLOT PLATINUM HOT PLUG LOW HALOGEN POWER SUPPLY KIT

 

솔루션
Action Item 1.
What: 사용 중인 PS의 CT #를 확인하여, 8/9번째 자리에 “8J”가 존재하는 경우, 맞는 버전의 fw 적용
When: HPE Gen10 시스템에서 500W/800W PS를 사용하는 경우,
Why: 향상/개선된 fw를 통해 기 수정된 이슈 해소/예방을 위해
To do.

1) 865408-B21 / 500W이고, fw가 1.02 미만인 경우, fw 1.02 적용
2) 865414-B21 / 800W이고, fw가 1.05 미만인 경우, fw 1.05 적용

 

 

관련 Advisory 문서:

Advisory: (Revision) HPE ProLiant Gen 10 Servers- Single Power Supply Configurations of HPE Platinum 500W or 800W Supplies May Cause System Shutdown on HPE ProLiant Gen 10 Servers Under Heavy Work Load
https://support.hpe.com/hpesc/public/docDisplay?docId=a00050474en_us

 

RESOLUTION
Upgrade any 500W or 800W Platinum power supply CT#:XXXXXXX8JXXXXX to firmware version 1.02 or later

-------------------------------------------------------------------------------------------

Advisory: HPE ProLiant DL560 Gen10 or HPE ProLiant DL580 Gen10 Servers - "General Failure (Power Supply X)" Message May Be Displayed When Configured With 200 or 205 Watt Processors
https://support.hpe.com/hpesc/public/docDisplay?docId=a00102266en_us

 

RESOLUTION
Update any CT#: xxxxxxx8Jxxxxx 800 Watt power supply firmware to version 1.05 or later

-------------------------------------------------------------------------------------------

Advisory: (Revision) HPE ProLiant Gen10 Servers - Certain Systems Running Under Heavy Workload May Generate "Caution" IML Entries for Power Supply Fan Failure Warning Messages
https://support.hpe.com/hpesc/public/docDisplay?docId=emr_na-a00106918en_us

 

If the 8th and 9th digits from the serial number are "8J" respectively and the power supply firmware version is 1.04 (or earlier), update the power supply firmware to version 1.05 (or later) to resolve this issue.

-------------------------------------------------------------------------------------------

 

 

반응형
Posted by 스쳐가는인연

댓글을 달아 주세요

Qlogic HBA, MPI Heartbeat stop

SN1100Q와 같은 Qlogic HBA의 fw가 "01.73.08"인 상황에서, 아래 패턴의 로그와 함께 운영 중 예기치 않은 포트 다운 또는 리부팅이 발생되는 경우 HBA fw의 오류일 수 있음

Linux
kernel: qla2xxx [0000:11:00.0]-ffff:0: MPI Heartbeat stop. Chip reset needed. MB0[8200h] MB1[100h] MB2[0h] MB3[0h]
kernel: qla2xxx [0000:11:00.0]-d013:0: MPI Heartbeat stop. FW dump needed
kernel: qla2xxx [0000:11:00.0]-d011:0: -> fwdt0 running...
kernel: qla2xxx [0000:11:00.1]-ffff:2: MPI Heartbeat stop. Chip reset needed. MB0[8200h] MB1[0h] MB2[0h] MB3[0h]
kernel: qla2xxx [0000:11:00.1]-00af:2: Performing ISP error recovery - ha=ffff92febd43c000.
kernel: qla2xxx [0000:11:00.0]-d011:0: -> fwdt1 running...
kernel: qla2xxx [0000:11:00.0]-d015:0: -> Firmware dump saved to buffer (0/ffffafa3b3ff1000) <7>
kernel: qla2xxx [0000:11:00.0]-00af:0: Performing ISP error recovery - ha=ffff92feb53e4000.
kernel: qla2xxx [0000:11:00.1]-0075:2: ZIO mode 6 enabled; timer delay (200 us).
kernel: qla2xxx [0000:11:00.1]-ffff:2: FC4 priority set to NVMe
kernel: qla2xxx [0000:11:00.0]-0075:0: ZIO mode 6 enabled; timer delay (200 us).
kernel: qla2xxx [0000:11:00.0]-ffff:0: FC4 priority set to NVMe

VMware
cpu0:2955620)WARNING: qlnativefc: vmhba1(12:0.0): MPI Heartbeat stop. Chip reset needed. MB0[8200h] MB1[100h] MB2[0h] MB3[0h]
cpu0:2955620)WARNING: qlnativefc: vmhba1(12:0.0): MPI Heartbeat stop. FW dump needed
cpu0:2955620)qlnativefc: vmhba1(12:0.0): Attempting to take firmware dump
cpu16:2955621)WARNING: qlnativefc: vmhba2(12:0.1): MPI Heartbeat stop. Chip reset needed. MB0[8200h] MB1[0h] MB2[0h] MB3[0h]
cpu78:66253)qlnativefc: vmhba2(12:0.1): Inside qlnativefcAbortIsp
cpu78:66253)qlnativefc: vmhba2(12:0.1): Performing ISP error recovery - ha= 0x430811132010.
cpu8:66252)qlnativefc: vmhba2(12:0.1): qlnativefcUnregSess sess 0x43081113c7d0 for deletion 50:06:0e:80:12:3c:fd:02

Action Plan
What: 1) HBA fw를 1.74.07로 업그레이드
         2) 운영 중인 OS에 맞춰 HBA driver 업그레이드 (VMW 환경에서 필수)

             - VMw 6.5 drv 2.1.101.0 or higher
             - VMw 6.7 drv 3.1.36.0 or higher

 

Workaround: Cold reboot 후 포트가 다시 활성화 되나, 패치 전까지 증상은 잠재된 상태일 수 있음

반응형
Posted by 스쳐가는인연

댓글을 달아 주세요