My favorite example: This can be run from the shell or within the tool. Hpacucli ctrl all show config (use hpacucli.exe for Windows) Or hpacucli ctrl all show config detail But, if you have the HP Management Agents installed anyway, you should have realtime monitoring of RAID status pushing back to email alerts or an external monitoring system. Either way, this can generate a point-in-time output/status. [root@Bootylicious ~]# hpacucli ctrl all show config Smart Array P410i in Slot 0 (Embedded) (sn: 9ABCDE) array A (SAS, Unused Space: 0 MB) logicaldrive 1 (1.6 TB, RAID 1+0, OK) physicaldrive 1I:1:1 (port 1I:box 1:bay 1, SAS, 600.1 GB, OK) physicaldrive 1I:1:2 (port 1I:box 1:bay 2, SAS, 600.1 GB, OK) physicaldrive 1I:1:3 (port 1I:box 1:bay 3, SAS, 600.1 GB, OK) physicaldrive 1I:1:4 (port 1I:box 1:bay 4, SAS, 600.1 GB, OK) physicaldrive 2I:1:5 (port 2I:box 1:bay 5, SAS, 600.1 GB, OK) physicaldrive 2I:1:6 (port 2I:box 1:bay 6, SAS, 600.1 GB, OK). There are already existing monitoring scripts that do this (for Nagios for example). Here is how it would work (adjust controller ID accordingly): hpacucli.exe ctrl all show Smart Array XXX in Slot 2 (sn: XXXXXXXXXXXX) hpacucli.exe controller slot=2 physicaldrive all show status physicaldrive 1:0 (port 1:id 0, X GB): OK physicaldrive 1:1 (port 1:id 1, X GB): OK physicaldrive 1:2 (port 1:id 2, X GB): OK physicaldrive 1:3 (port 1:id 3, X GB): OK physicaldrive 1:4 (port 1:id 4, X GB): OK physicaldrive 1:5 (port 1:id 5, X GB): OK hpacucli.exe controller slot=2 logicaldrive all show status logicaldrive 1 (X GB, RAID 5): OK logicaldrive 2 (X GB, RAID 5): OK. HPACUCLI stands for HP Array Configuration Utility CLI. Hpacucli is used to create, delete and repair the logical and physical drives on the smart array controllers in HP servers. To use hpacucli, download and install the latest version of hpacucli rpm from the HP website on your Linux server. Again, the advice of someone who doesn’t know what he talks about. With that command, you activate the write cache ON THE DISKS, which isn’t protected by anything. It’s stupid to do so. What you want is active the write cache on the CONTROLLER, then configure the cache ratio if necessary. Manage an HP Smart Array directly from VMware ESXi. And there was some promising download. Run on the raid controller by running /opt/hp/hpacucli/bin. In order to install the HP Array Controller CLI on Debian Wheezy you must connect with PuTTy or login to the terminal on the desired Debian Server. Next you will run the commands below to add the Debian HP/Proliant repository to your system and install hpacucli. In order to install the HP Array Controller CLI on Debian Wheezy you must connect with PuTTy or login to the terminal on the desired Debian Server. Next you will run the commands below to add the Debian HP/Proliant repository to your system and install hpacucli. As of this writing version 9. It’s sickening how many people give this bad and dangerous advice. The command you need is hpacucli ctrl slot=0 modify nbwc=enable to enable the write cache even if the battery is faulty or not present. It’s dangerous so don’t do it in a production environment unless absolutely necessary. Get a new battery ASAP. And stay away from the drive write cache (dwc).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
November 2018
Categories |