====== ISCSI ====== * linux iscsi heartbeat * link aggregation * [[http://zackreed.me/articles/48-adding-an-extra-disk-to-an-mdadm-array|Add disk to raid 5]] ===== 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]] [[http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareDescription.jsp?swItem=MTX-d7bcce2dc82d43daaec308eb40|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 [[http://www.ganesh.me/337-install-hpacucli-on-ubuntu-debian.html|hp array config]] to linux: for openfiler: conary update rpm rpm -ivh --nodeps for debian: apt-get install alien alien -k dpkg -i [[https://oitibs.com/install-hp-acu-cli-on-debian/|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 [[http://www.datadisk.co.uk/html_docs/redhat/hpacucli.htm|Reference]] [[http://www.openfiler.com/learn/how-to/graphical-installation|Openfiler]] works pretty well. (for disks that are smaller than 2TB) ===== 3ware RAID Controller ===== * [[http://www.rpmfind.net/linux/rpm2html/search.php?query=tw_cli|tw_cli]] * similar to the hp cli install ===== 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]]