Table of Contents

ISCSI

Linux (Target)

Target just means that this machine will house the physical hard drives and will share them as ISCSI drives.

http://www.howtoforge.com/using-iscsi-on-debian-squeeze-initiator-and-target

HP System Management Homepage needed to run ACU CLI in the web browser.

For HP Homepage, add –nopre option to the rpm install command.

getting softRaid status:

cat /proc/mdstat
watch cat /proc/mdstat

adding hp array config to linux:

for openfiler:
 conary update rpm
 rpm -ivh --nodeps <package-name>

for debian:
 apt-get install alien
 alien -k <package-name>
 dpkg -i <package-name>

Install hpacucli

#!/bin/bash
# download the GPG key of the repository:
wget http://downloads.linux.hpe.com/SDR/repo/mcp/GPG-KEY-mcp -O /usr/share/keyrings/proliant.gpg
# add keys
curl http://downloads.linux.hpe.com/SDR/hpPublicKey1024.pub | apt-key add -
curl http://downloads.linux.hpe.com/SDR/hpPublicKey2048.pub | apt-key add -
curl http://downloads.linux.hpe.com/SDR/hpPublicKey2048_key1.pub | apt-key add -
curl http://downloads.linux.hpe.com/SDR/hpePublicKey2048_key1.pub | apt-key add -
# create apt sources file for HP/Proliant repo
echo -e "deb http://downloads.linux.hpe.com/SDR/repo/mcp/ wheezy/current non-free" > /etc/apt/sources.list.d/proliant.sources.list
# update apt & install hpacucli package
apt-get update && apt-get install hpacucli

HP ACU CLI Commands:

/opt/compaq/hpacucli/bld/hpacucli
hpacucli ctrl all show config
controller slot=9 logicaldrive all show detail
controller all show config detail
ctrl slot=9 modify nbwc=disable
controller slot=9 show detail
controller slot=9 logicaldrive 1 modify caching=enable

Reference

Openfiler works pretty well. (for disks that are smaller than 2TB)

3ware RAID Controller

Windows (Initiator)

Initiator just means that this box will connect to the targets and create disk that can be shared over the network.

http://technet.microsoft.com/en-us/library/ee338477%28v=ws.10%29.aspx