# Location VMware ESXi 6.5/6.7
/opt/smartstorageadmin/ssacli/bin/ssacli

Get Slot Information - Slot x
# ./ssacli ctrl all show status

Check Rebuild progress
./ssacli ctrl [all|slot=x] show config detail | grep -i recov -A10
./ssacli ctrl [all|slot=x] show config | grep -i recov -A10

./ssacli ctrl [all|slot=x] ld [all|n] show
./ssacli ctrl [all|slot=x] ld [all|n] show status

x is specific slot number
n is specific logical drive

e.g.) command outcome
--------------------------------------------------------------
[root@localhost:~] /opt/smartstorageadmin/ssacli/bin/ssacli version

SSACLI Version: 3.40.3.0 2018-12-06
SOULAPI Version: 3.40.3.0 2018-12-06

[root@localhost:~] /opt/smartstorageadmin/ssacli/bin/ssacli ctrl all show config detail | grep -i recov -A10

Status: Recovering, 52.15% complete
Unrecoverable Media Errors: None
MultiDomain Status: OK
Caching: Enabled
Unique Identifier: 600508B1001C8B23FDC6C5AC266B92D9
Logical Drive Label: 010F50FBPEYHB0ARH7503L 420D
Mirror Group 1:
physicaldrive 1I:3:1 (port 1I:box 3:bay 1, SAS HDD, 1 TB, OK)
Mirror Group 2:
physicaldrive 2I:2:1 (port 2I:box 2:bay 1, SAS HDD, 1 TB, Rebuilding)
Drive Type: Data
LD Acceleration Method: Controller Cache

[root@localhost:~] /opt/smartstorageadmin/ssacli/bin/ssacli ctrl slot=0 ld all show

HPE Smart Array P408i-a SR Gen10 in Slot 0 (Embedded)

Array A

logicaldrive 1 (931.48 GB, RAID 1, Recovering, 52.28% complete)

Array B

logicaldrive 2 (447.10 GB, RAID 1, OK)

[root@localhost:~] /opt/smartstorageadmin/ssacli/bin/ssacli ctrl slot=0 ld 1 show

HPE Smart Array P408i-a SR Gen10 in Slot 0 (Embedded)

Array A

Logical Drive: 1
Size: 931.48 GB
Fault Tolerance: 1
Heads: 255
Sectors Per Track: 32
Cylinders: 65535
Strip Size: 256 KB
Full Stripe Size: 256 KB
Status: Recovering, 52.76% complete
Unrecoverable Media Errors: None
MultiDomain Status: OK
Caching: Enabled
Unique Identifier: 600508B1001C8B23FDC6C5AC266B92D9
Logical Drive Label: 010F50FBPEYHB0ARH7503L 420D
Mirror Group 1:
physicaldrive 1I:3:1 (port 1I:box 3:bay 1, SAS HDD, 1 TB, OK)
Mirror Group 2:
physicaldrive 2I:2:1 (port 2I:box 2:bay 1, SAS HDD, 1 TB, Rebuilding)
Drive Type: Data
LD Acceleration Method: Controller Cache
--------------------------------------------------------------

Also can observed via iLO.

 

Posted by 스쳐가는인연

---------------------------------------
# Location VMware ESXi 4.0/4.1/5.0
/opt/hp/hpacucli/bin/hpacucli

# Location VMware ESXi 5.1/5.5/6.0
/opt/hp/hpssacli/bin/hpssacli

# Location VMware ESXi 6.5/6.7
/opt/smartstorageadmin/ssacli/bin/ssacli
---------------------------------------

Get Slot Information - Slot x
# ./ssacli ctrl all show status

Check Rebuild progress
# ./ssacli ctrl slot=XX ld all show

or
# ./ssacli ctrl slot=XX show config

출처:
HOWTO: Monitor the rebuild status of a HPE SmartArray in ESXi 5.5
http://blog.jbgeek.net/2016/04/14/howto-monitor-the-rebuild-status-of-a-hpe-smartarray-in-esxi-5-5/

HPE Storage Controller Management (ssacli)
https://be-virtual.net/hpe-storage-controller-management-ssacli/

Posted by 스쳐가는인연

/opt/lsi/MegaCLI # ./MegaCli -PDRbld -ShowProg -PhysDrv [:1] -a0

Rebuild Progress on Device at Enclosure N/A, Slot 1 Completed 7% in 170 Minutes.

Exit Code: 0x00
/opt/lsi/MegaCLI #

 

server:~# megacli -PDRbld -ShowProg -PhysDrv [32:1] -aALL

Rebuild Progress on Device at Enclosure 32, Slot 1 Completed 51% in 10 Minutes.

출처:
https://hwraid.le-vert.net/wiki/LSIMegaRAIDSAS
https://communities.vmware.com/thread/530391

Posted by 스쳐가는인연

1. Download Powershell Library what current used OneView
https://github.com/HewlettPackard/POSH-HPOneView/releases

 

2. Connect Oneview and type credentials (Administrative permission)
C:\> Connect-HPOVMgmt

 

3. List Alert
C:\> Get-HPOVAlert
C:\> Get-HPOVAlert -AlertState Locked

 

4. Remove Alert
Get-HPOVAlert -AlertState Locked | Remove-HPOVAlert -force

 

참조
https://hewlettpackard.github.io/POSH-HPOneView/

Posted by 스쳐가는인연

iLO5 의 경우, Java 8 이상이 권장됨. (JRE의 경Java Security Warning우, Java IRC 사용을 위한 사전 준비 항목임)

This version of iLO was tested with JRE version 8 update 121.

 

Note: Java 7 최신 업데이트를 통해, iLO 5 Remote Console에 접근 가능하나, 일부 동작에서 오류가 확인됨
권장 버전 이상의 Java 8 버전 사용 시에는 문제가 확인 되지 않음.

 

Test 정보

1. Install RHEL 6.6 (Select Desktop + Compatible Libraries) to DL360 Gen9

이 Client에서 iLO 5(Gen10)에 접근함

 

2. Download Java SE Runtime Environment 8 (or 7) packages
https://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html
https://www.oracle.com/technetwork/java/javase/downloads/java-archive-downloads-javase7-521261.html

 

3. Install Java Runtime Environment 1.7.0_65 for javaws
# rpm -ivh jre-7u65-linux-x64.rpm

 

4. launch FireFox and access iLO 5 after accept securtiy exception

 

5. Remote Console & Media > Java IRC > WebStart 선택 >> iLO-jirc.jnlp (Java Web Start(jnlp) file 저장 /tmp)

 

6. CLI 명령 창에서, Java Web Start(javaws) 실행
# javaws /tmp/iLO-jirc.jnlp

>> Error
(:31552): Gtk-CRITICAL **: IA__gtk_message_dialog_set_markup: assertion `GTK_IS_MESSAGE_DIALOG (message_dialog)' failed
Segmentation fault (core dumped)

 

Note: OS 기본 포함된 버전을 기준으로 설치 해보니 iRC 수행 중 오류가 발생됨

 

7. Install Java Runtime Environment 1.7.0_80 for javaws
# rpm -e jre
# rpm -ivh jre-7u80-linux-x64.rpm

 

8. CLI 명령 창에서, Java Web Start(javaws) 실행
# javaws /tmp/iLO-jirc.jnlp

 

9. Java Update를 찾을 지 질의하는 대화창

Java Update check

10. Java 보안 경고

Java Security Warning
Java Security Warning


11. Java iRC 접속

Java iRC

This version of iLO was tested with JRE version 8 update 121.

 

12. Install Java Runtime Environment 1.8.0_211 for javaws
# rpm -e jre
# rpm -ivh jre-8u211-linux-x64.rpm

 

13. CLI 명령 창에서, Java Web Start(javaws) 실행
# javaws /tmp/iLO-jirc.jnlp
# javaws /tmp/iLO-jirc-n.jnlp n=1...

 

다중 창 수행 시에도 정상 동작됨

 

추가.

iLO Remote Console을 사용함에, .NET 또는 Java와의 호환 이슈를 해소하기 위해 HPE는 HTML5 기반의 Console을 제공

HPE Integrated Lights Out (iLO 5) for Gen10 Servers
https://support.hpe.com/hpsc/doc/public/display?docId=emr_na-a00019259en_us
HTML5 remote console : No dependency on JAVA or .NET

 

HTML5 iRC

Posted by 스쳐가는인연