Monday, May 23, 2011

Redhat: Check mirror running on HP proliant with hpacucli

[root]# hpacucli ctrl all show
No lpfc hosts found

Smart Array P400 in Slot 3 (sn: PAFGL0P9SWY1S8)

[root]#

[root]# hpacucli ctrl slot=3 pd all show status
No lpfc hosts found

physicaldrive 2I:1:1 (port 2I:box 1:bay 1, 146 GB): OK
physicaldrive 2I:1:2 (port 2I:box 1:bay 2, 146 GB): OK

[root]# hpacucli ctrl slot=3 ld all show status
No lpfc hosts found

logicaldrive 1 (136.7 GB, RAID 1): OK

[root]#

No comments:

UNIX: How to print column nicely using printf

[user@hostfwnms1-oam tmp]# cat b.sh printf "%-26s %-19s %-8s %-8s %-s %-s\n" HOSTNAME IP PING SNMPWALK 0-ok 1-fail for i in `cat n...