Kamis, 06 Maret 2014

Tips check RAID hdd di server HP DL380

Bagi rekan-rekan yang ingin mengetahui RAID dari hdd server HP Proliant DL380G5 yang di gunakan dengan syarat anda menggunakan system operasi Ubuntu, hanya butuh mengetikan 1 perintah seperti di bawah ini:

~$ cat /proc/driver/cciss/cciss0 
cciss0: HP Smart Array P400 Controller
Board ID: 0x3234103c
Firmware Version: 5.20
IRQ: 42
Logical drives: 1
Current Q depth: 0
Current # commands on controller: 0
Max Q depth since init: 159
Max # commands on controller since init: 199
Max SG entries since init: 128
Sequential access devices: 0

cciss/c0d0:  293.56GB RAID 5
Sayangnya perintah di atas hanya bekerja pada server HP Proliant DL380G5. Tapi jangan khawatir bagi anda yang saat ini menggunakan server HP Proliant DL380G6 , G7 atau G8. kita bisa menginstall packages hpacucli untuk mengetahui type RAID yang di gunakan server kita. Silahkan ikuti langkah-langkah di bawah ini :

1. Install HP Linux Repository
 
sudo echo "deb http://downloads.linux.hp.com/SDR/downloads/MCP/ubuntu precise/current non-free" >> /etc/apt/sources.list.d/hp.list
2. Tambahkan HP Linux Repository PGP Key
 
wget -qO - http://downloads.linux.hp.com/SDR/downloads/MCP/GPG-KEY-mcp | sudo apt-key add -
3. Update repository
 
Sudo apt-get update
4. Install packages hpacucli
Sudo apt-get install hpacucli
 
5. Check RAID hdd anda dengan perintah berikut:
:~$ sudo hpacucli ctrl all show config

Smart Array P410i in Slot 0 (Embedded)    (sn: 5001438016904FF0)

   array A (SAS, Unused Space: 0  MB)

      logicaldrive 1 (136.7 GB, RAID 1, OK)

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

   SEP (Vendor ID PMCSIERA, Model  SRC 8x6G) 250 (WWID: 5001438016904FFF)
 
Semoga bermanfaat ...

Tidak ada komentar:

Posting Komentar