|
Instruction notes: Replace the "ISCSI_USER" token with one of the values in the "username" column above. Replace the "ISCSI_PASS" token with the corresponding value in the "password" column above. Replace the "ISCSI_TARGET_HOST" token with the corresponding value in the "IP Address" column above.
Setup Instructions: Install the open-iscsi package for your OS: CentOS 4 yum install iscsi-initiator-utils
Redhat ES 4 up2date iscsi-initiator-utils
Edit /etc/iscsi.conf with your favorite text editor and replace the contents with the following:
DiscoveryAddress=ISCSI_TARGET_HOST UserName=ISCSI_USER Password=ISCSI_PASS LoginTimeout=15
Important: The whitespace characters in the configuration above are required. If they are not provided the configuration will fail.
Start the iscsi service: /etc/init.d/iscsi start
You should now see an additional drive on the system. You can print out the drive device with the following command: find /sys/devices/platform/host* -name block\* -exec ls -la '{}' \; | sed s#^.*../block/#/dev/#g
|
Add to Favourites
Print this Article
|