e-fuse Reset of Synergy

Reset HPOVEnclosureDevice
https://github.com/HewlettPackard/POSH-HPOneView/wiki/Reset-HPOVEnclosureDevice

To do.
1. HPE Oneview Powershell library 설치
a. Powershell 6.x 설치
https://github.com/PowerShell/PowerShell/releases
https://github.com/PowerShell/PowerShell/releases/download/v6.2.4/PowerShell-6.2.4-win-x64.msi

b. POSH 모듈 설치
Note: 5.0 설치를 위해서는 Intenet이 가능해야 함
PS> Install-Module HPOneView.500 -verbose

c. POSH 모듈 로드
PS> Import-Module HPOneView.500 -verbose

cf.
https://github.com/HewlettPackard/POSH-HPOneView/releases/download/v4.20.2290.1501/HPE.OneView.4.20.PowerShell.Library.exe

2. Connect/Login to Oneview
PS 420> Connect-HPOVMgmt -Hostname <%Oneview_IP_Address or Hostname%> -UserName Administrator -Password <% Password %> -verbose
PS 420> Connect-HPOVMgmt -Hostname 192.168.0.1 -UserName 'Administrator' -Password 'Password' -verbose
PS 500> Connect-HPOVMgmt -appliance CO1-SY12K.lab.net -UserName Administrator -Password Password

cf. Check Proxy
PS> Get-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings' | Select-Object ProxyServer, ProxyEnable

cf. IE Proxy set import for POSH
CMD> netsh winhttp import proxy source=ie
CMD> netsh winhttp set proxy "192.168.0.1:8080"


3. 장치 정보 확인
PS> Get-HPOVServer
PS> Get-HPOVEnclosure
PS> Get-HPOVInterconnect
PS> Get-HPOVInterconnect -Name "Frame 1, Interconnect 3"

4. Frame 변수지정 (e-fuse reset 대상 모듈이 장착된 Frame 정보)
PS> $Enclosure = Get-HPOVEnclosure -Name "Frame_Name" -ErrorAction Stop

5. efuse Reset
PS> Reset-HPOVEnclosureDevice -Enclosure $Enclosure -Component Device -DeviceID 1 -Efuse

cf.
Device bay 초기화
PS> Reset-HPOVEnclosureDevice -Enclosure $Enclosure -Component Device -DeviceID 9 -Efuse

ICM 초기화
PS> Reset-HPOVEnclosureDevice -Enclosure $Enclosure -Component ICM -DeviceID 3 -Efuse

-Component
-- Device : Compute
-- FLM : FLM
-- ICM : Interconnect Module
-- Appliance : Composer or ImageStreamer


==============================================================
PowerShell 6.2.4
Copyright (c) Microsoft Corporation. All rights reserved.

https://aka.ms/pscore6-docs
Type 'help' to get help.

PS > Install-Module HPOneView.500

Untrusted repository
You are installing the modules from an untrusted repository. If you trust this repository, change its InstallationPolicy value by running
the Set-PSRepository cmdlet. Are you sure you want to install the modules from 'PSGallery'?
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "N"): Y

PS > Import-Module HPOneView.500

PS > Connect-HPOVMgmt -appliance CO1-SY12K.lab.net -UserName Administrator -Password Password@123
WARNING: Parameter 'UserName' is obsolete.
WARNING: Parameter 'Password' is obsolete.

ConnectionID Name UserName AuthLoginDomain Default
------------ ---- -------- --------------- -------
1 CO1-SY12K.lab.net Administrator LOCAL True

PS > Get-HPOVEnclosure

Name Model State Serial Number Rack Enclosure Group Populated Bays
---- ----- ----- ------------- ---- --------------- --------------
FrameName SY12000 Configured FrameName EG_Test 4/12

PS > Get-HPOVServer

Name ServerName Status Power Serial Number Model ROM iLO Server Profile
---- ---------- ------ ----- ------------- ----- --- --- -------
FrameName, bay 1 localhost.lab.net OK Off CN_SN1 SY 480 Gen10 I42 v2.14 (09/05/2019) iLO5 1.46 sp_lossBootVol_Legacy
FrameName, bay 2 localhost.lab.net OK On CN_SN2 SY 480 Gen10 I42 v2.14 (09/05/2019) iLO5 1.46 Profile_Bay2
FrameName, bay 3 localhost.lab.net OK On CN_SN3 SY 480 Gen10 I42 v2.14 (09/05/2019) iLO5 1.46 Profile_Bay3
FrameName, bay 5 localhost.lab.net OK On SG_SN4 SY 480 Gen10 I42 v2.14 (09/05/2019) iLO5 1.46 Profile_Bay5

PS > Get-HPOVInterconnect -Name "FrameName, Interconnect 2"

Type: Interconnect

Name Status LogicalInterconnect State Power SerialNumber Firmware Model
---- ------ ------------------- ----- ----- ------------ -------- -----
FrameName, interconnect 2 OK N/A (Unmanaged) Monitored On IC_SN1 8.0.2c Brocade 16Gb/24 FC Switch Module Pwr Pk for Sy.

PS > Get-HPOVInterconnect -Name "FrameName, Interconnect 3"

Type: Interconnect

Name Status LogicalInterconnect State Power SerialNumber Firmware Model
---- ------ ------------------- ----- ----- ------------ -------- -----
FrameName, interconnect 3 OK LE_TEST-LIG_TEST_1 Configured On IC_SN3 1.5.0.1004 Virtual Connect SE 40Gb F8 Module for Syner.

PS > Get-HPOVInterconnect -Name "FrameName, Interconnect 6"

Type: Interconnect

Name Status LogicalInterconnect State Power SerialNumber Firmware Model
---- ------ ------------------- ----- ----- ------------ -------- -----
FrameName, interconnect 6 OK LE_TEST-LIG_TEST_1 Configured On IC_SN6 1.5.0.1004 Virtual Connect SE 40Gb F8 Module for Syner.

PS > $Enclosure = Get-HPOVEnclosure -Name "FrameName" -ErrorAction Stop

PS > Reset-HPOVEnclosureDevice -Enclosure $Enclosure -Component ICM -DeviceID 6 -Efuse

Confirm
Are you sure you want to perform this action?
Performing the operation "Reset power for device" on target "ICM 6 within SGH913YCJB".
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): Y

Appliance Name Owner Created Duration TaskState PercentComplet
e
--------- ---- ----- ------- -------- --------- --------------
CO1-SY12K.lab.net E-fuse interconnect bay 6 Administrator 2/8/2020 8:12:38 AM 00:00:01 Completed 100

PS > Get-HPOVInterconnect -Name "FrameName, Interconnect 6"

Type: Interconnect

Name Status LogicalInterconnect State Power SerialNumber Firmware Model
---- ------ ------------------- ----- ----- ------------ -------- -----
FrameName, interconnect 6 Warning LE_TEST-LIG_TEST_1 Maintenance Off IC_SN6 1.5.0.1004 Virtual Connect SE 40Gb F8 Module for Syn.

PS > Reset-HPOVEnclosureDevice -Enclosure $Enclosure -Component ICM -DeviceID 6 -Efuse

if occur below error
-----------------------------------------------------------------------------------
Confirm
Are you sure you want to perform this action?
Performing the operation "Reset power for device" on target "ICM 6 within FrameName".
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): Y
Reset-HPOVEnclosureDevice : [Send-HPOVRequest]: The requested action cannot be performed because the resource has changed which indicates th
at it was recently modified by another operation. Restart this operation to ensure the current version of the resource is being used.
At line:1 char:1
+ Reset-HPOVEnclosureDevice -Enclosure $Enclosure -Component ICM -Devic ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (Send-HPOVRequest:String) [Reset-HPOVEnclosureDevice], InvalidOperationException
+ FullyQualifiedErrorId : PRECONDITION_FAILED,Reset-HPOVEnclosureDevice

>> Restart PS console and reconnect to Oneview session
-----------------------------------------------------------------------------------

Posted by 스쳐가는인연

댓글을 달아 주세요

-------------------------------------------------------------------
Windows PowerShell
v5.1: https://docs.microsoft.com/ko-kr/powershell/scripting/install/installing-windows-powershell?view=powershell-7

v6.2.4 : https://github.com/PowerShell/PowerShell/releases/download/v6.2.4/PowerShell-6.2.4-win-x64.msi

if PSOH install failed:
Windows C Runtime: https://www.microsoft.com/en-us/download/details.aspx?id=50410
https://aka.ms/pscore6-prereq

.net framework 4.6.2: https://dotnet.microsoft.com/download/dotnet-framework/net462
.net framework 4.7.2: https://dotnet.microsoft.com/download/dotnet-framework/net472
.net framework 4.8: https://dotnet.microsoft.com/download/dotnet-framework/net48

if .net install failed with 0x800713ec:
[1130:104C][2020-02-08T12:11:19]e000: Error 0x800713ec: Process returned error: 0x13ec
[1130:104C][2020-02-08T12:11:19]e000: Error 0x800713ec: Failed to execute EXE package.
[1290:13BC][2020-02-08T12:11:19]e000: Error 0x800713ec: Failed to configure per-machine EXE package.

install Windows hotfix
KB2919355 : https://www.microsoft.com/ko-KR/download/details.aspx?id=42334
Install order: clearcompressionflag.exe, KB2919355, KB2932046, KB2959977, KB2937592, KB2938439, KB2934018.
-------------------------------------------------------------------

1. Check Powershell version
PS> Get-Host | Select-Object Version
PS> $PSversiontable
PSVersion 6.2.4

2. Install / uninstall
PS> Install-Module HPOneView.500
PS> Install-Module -Name HPOneView.500 -RequiredVersion 5.0.2226.2609 <<< Install Specific Version
PS> Uninstall-Module HPOneView.500

cf. parameter:
-Force << execute by force
-verbose << observe detail progress

계속하려면 NuGet 공급자가 필요합니다.
'Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force'
지금 PowerShellGet에서 NuGet 공급자를 설치하고 가져오시겠습니까?
[Y] 예(Y) [N] 아니요(N) [S] 일시 중단(S) [?] 도움말 (기본값은 "Y"): Y

신뢰할 수 없는 리포지토리
신뢰할 수 없는 리포지토리에서 모듈을 설치하는 중입니다. 이 리포지토리를 신뢰하는 경우 Set-PSRepository cmdlet을
실행하여 InstallationPolicy 값을 변경하십시오. 'PSGallery'에서 모듈을 설치하시겠습니까?
[Y] 예(Y) [A] 모두 예(A) [N] 아니요(N) [L] 모두 아니요(L) [S] 일시 중단(S) [?] 도움말 (기본값은 "N"): Y

자세한 정보 표시: 'HPOneView.500' 모듈의 'HPOneView.500.psd1' 파일에서 유효한 Authenticode 서명을 찾았습니다.
자세한 정보 표시: 'HPOneView.500' 모듈이 'C:\Program Files\WindowsPowerShell\Modules\HPOneView.500\5.0.2226.2609'
경로에 설치되었습니다.

3. loading module
PS> Import-Module HPOneView.500
PS> Import-Module "C:\Program Files\WindowsPowerShell\Modules\HPOneView.500\5.0.2295.3359\HPOneView.500.psd1"

if occur
-----------------------------------------------------
+ Import-Module HPOneView.500
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : 보안 오류: (:) [Import-Module], PSSecurityException
+ FullyQualifiedErrorId : UnauthorizedAccess,Microsoft.PowerShell.Commands.ImportModuleCommand

PS> Set-ExecutionPolicy RemoteSigned -Scope process
-----------------------------------------------------

if occur below error:
-----------------------------------------------------
Import-Module : The version of the Common Language Runtime (CLR) on this computer is '4.0.30319.34209'. The module
'C:\Program Files\WindowsPowerShell\Modules\HPOneView.500\5.0.2295.3359\HPOneView.500.psd1' requires a minimum CLR
version of '4.0.30319.42000' to run. Verify that you are running the minimum required version of CLR, and then try

+ Import-Module HPOneView.500
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ResourceUnavailable: (Import-Module HPOneView.500:String) [Import-Module], InvalidOperat
ionException
+ FullyQualifiedErrorId : UnableToLoadModuleMissingDependancy,Microsoft.PowerShell.Commands.ImportModuleCommand

>> CLR version 4.0.30319.42000 supports .NET Framework versions starting with .NET Framework 4.6.

check .net framework version.
CMD> dir %WINDIR%\Microsoft.Net\Framework\v* /O:-N /B

Checking the .Net Framework version using PowerShell
(Get-ItemProperty ‘HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full’ -Name Release).Release
-----------------------------------------------------

Posted by 스쳐가는인연

댓글을 달아 주세요

증상
Apollo 4510 Gen10 Chassis의 사용자 가이드를 참조할 경우, FANNumbering#1-#5 입니다.

Apollo 4510 Gen10 Chassis in Rear View

 

그런데, 장애 시, IML 상에 다른 FAN 번호가 명시될 수 있습니다.
e.g.) Fan Failure (Fan 7, Location System)

원인
Apollo 4510 Gen10 Chassis에 사용되는 FANDual rotor로 인해 발생됨

환경
· Apollo 4510 Gen10 Chassis
- XL450 Gen10

솔루션
아래 FAN Numbering 참조

1 2 3 4 5
6 7 8 9 10

 

Apollo 4510 Gen10 FAN numbering

Posted by 스쳐가는인연

댓글을 달아 주세요

증상
Apollo a6000 Chassis의 사용자 가이드를 참조할 경우, FANNumbering#1-#5 임.

Apollo a6000 chassis rear view - fan numbering

장애 시, IML 상에 다른 FAN 번호가 표시 될 수 있음.
e.g.) Fan Failure (Fan 8, Location System)

원인
Apollo a6000 Chassis에 사용되는 FANDual rotor로 인해 발생됨

환경
· Apollo a6000 Chassis

솔루션
아래 FAN Numbering 참조

5 4 3 2 1
10 9 8 7 6

 

Apollo a6000 Rear View - fan numbering

Posted by 스쳐가는인연

댓글을 달아 주세요

증상
Linux OS를 설치한 Embedded SmartArray B140i Controller를 RAID mode로 사용하는 DL20 Gen9 시스템에서 FAN #3이 빠르게 동작하고, 04-HD-max 센서가 인식되지 않음

DL20 Gen9 FAN #3 rush

원인
OS inbox Driver로 인해 AHCI controller로 인식된 SmartArray B140i controller가 HPE Array Controller로 인식되지 않고일반 AHCI controller로 인식되어 발생

Inbox driver로 설치된 경우,
# dmesg |egrep ahci
[ 1.998337] ahci 0000:00:17.0: version 3.0
[ 1.998346] ahci 0000:00:17.0: enabling device (0406 -> 0407)
[ 1.998572] ahci 0000:00:17.0: irq 28 for MSI/MSI-X
[ 2.009134] ahci 0000:00:17.0: AHCI 0001.0301 32 slots 6 ports 6 Gbps 0x3f impl RAID mode
[ 2.009139] ahci 0000:00:17.0: flags: 64bit ncq sntf pm led clo only pio slum part deso sadm sds apst
[ 2.011261] scsi host1: ahci
[ 2.011346] scsi host2: ahci
[ 2.011412] scsi host3: ahci
[ 2.013162] scsi host4: ahci
[ 2.013836] scsi host5: ahci
[ 2.016348] scsi host6: ahci

SA B140i(hpdsa) driver로 설치된 경우,
# dmesg| grep ahci
[ 1.980262] hpdsa_ahci_request_irq: Setting msi interrupts
[ 1.980273] hpdsa_ahci_request_irq: h:ffff945231dcd000 Got msi irq 28 for board id 0xc01590 name=hpdsa0
[ 1.980275] hpdsa_ahci_pci_init: Using 64bit DMA for hpdsa0
[ 1.980276] hpdsa_ahci_init_one: Initialized ahci 8 port adapter
[ 1.980277] hpdsa_ahci_init_one: B140I found, allowing it to control ahci devices.

환경
• Embedded Smart Array B140i를 RAID mode로 사용하는 DL20 Gen9 시스템

솔루션
Action Item.
What: OS 설치 시 Driver Update Disk(DUD) 기능을 통해, SA B140i driver를 주 Controller Driver로 인식시켜 줌
When: 초기 설치 시,
NOTE: 참고로, CentOS도 같은 방식으로 설치 가능하나, HPE에서 드라이버를 공식 지원하는 OS가 아님
본 방식으로 설치는 선택 사항이며, HPE에서 추가 지원을 하지 않음.
To do. (e.g.) CentOS 7.x 설치)
1. CentOS 7.6 미디어로 부팅 후, 부팅 초기, 설치 메뉴(Install CentOS 7)에서 'e' Key를 눌러 편집
2. "linuxefi" line 끝에 "modprobe.blacklist=ahci inst.dd" 추가

boot paramenter set

3. +로 부팅 시작
4. 부팅 중 driver disk 추가 메뉴가 출력되면, 'r' 키로 장치 목록 확인
5. 인식된 장치 중 driver disk 선택 'n' (n=1~)
6. driver가 인식된 후 'c'키를 눌러 진행 선택.
(다시한 번 다른 driver disk 인식 여부에 대한 질의가 나오며, 'c'키를 한 번 더 누르면 설치 시작)

Add driver during installation

7. 이 후 진행은 일반 OS 설치와 동일.

HPE Dynamic Smart Array B140i SATA RAID Controller Driver for Red Hat Enterprise Linux 7 (64-bit)
1.2.10-139(A)(27 Sep 2018)
https://support.hpe.com/hpsc/swd/public/detail?swItemId=MTX_439cda7afa7e41bd8124a7a5df&swEnvOid=4176#tab2
DUD의 경우, 설치 절차를 참조하여 USB Key를 생성하거나, .img(image 파일을 생성하여)을 iLO Virtual Media로 mount하여 이용할 수 있음.

참고 문서
Advisory: HPE ProLiant DL20 Gen9 Server - Fan May Frequently Run at a High Speed on Certain HPE ProLiant DL20 Gen9 Servers
https://support.hpe.com/hpsc/doc/public/display?docId=emr_na-a00003578en_us

 

OS 설치 후 FAN 동작:

DL20 Gen9 FAN state as expected

Posted by 스쳐가는인연

댓글을 달아 주세요