Previous Topic: Setting Grid or Controller ParametersNext Topic: Skip fsck of dom0 on Bootup


Simple Utility for Installing or Uninstalling MegaCli, and Basic NCQ Operations for LSI/Megaraid Based Disk Controllers

This simple utility is used for installing/removing the LSI MegaCli utility that works with a majority of the LSI MegaRaid based adapters. It is also intended to allow you to save time enabling/disabling NCQ(Native Command Queueing) by server, or entire grid(as well as installing/removing from an entire grid). This script is to be considered alpha-beta-alpha and contains no warranty and should not be left in customer hands.

I have thoroughly tested this with most all PERC controllers(PERC 5, 6/i, H700, etc). Feel free to update this document to reflect a list of compatible adapters.

Installation and usage is simple.

Install:

Copy/decompress the archive megancq-0.02.tar.gz on the BFC that contains the grids with the adapters you would like to install the utility for, eg:

scp megancq-0.02.tar.gz <bfc-ip>:/root
tar -zxvf megancq-0.02.tar.gz
Usage:

Switch to the CWD of the archive, in this case /root/megancq-0.02:

cd /root/megancq-0.02

The only parameter required to be passed to the script, is the backend IP of the grid controller in question, eg:

./megancq.sh 192.168.1.254

After a few seconds you should be presented with the following options, the rest is self explanatory:

Grid ID: 1, Nodes: 4
Nodes numbers detected(srvX): 1 2 3 5

MegaCli NCQ enable/disable/check utility

Check NCQ Status of all nodes.

Enable NCQ on all nodes.

Disable NCQ on all nodes.

Enable NCQ on specific node.

Disable NCQ on specific node.

Install/Upgrade MegaCli on this Grid(Only for H700/Other Dell PERC RAID Controllers)

Install/Upgrade MegaCli on specific node.

Remove MegaCli on this Grid

Remove MegaCli from a specific node.

Exit

Option:

Remember this is provided as-is to save time, if you encounter any issues let me know, nelje05@ca.com

Download here:

megancq-0.02.tar.gz