http://fedoraproject.org/wiki/Scsi-target-utils_Quickstart_Guide
RedHat have included an iSCSI daemon which is also installable using yum:
yum install iscsi-initiator-utils
To connect to the target, edit /etc/iscsi/initiatorname.iscsi and change InitiatorName to something you prefer (Remember! it must be in the IQN format, iqn.yyyy-mm.{reversed domain name}:an_easy_to_remember_lablel. I usually use iqn.2009-02.com.hamzahkhan:hostname_of_box). Next start up iSCSId:
/etc/init.d/iscsid start
and use iSCSI target descovery to find the targets on the server:
iscsiadm -m discovery -t st -p $SERVERS_IP
If all is well, it should output the names of all the targets that the initiator is allowed to connect to!
Next, we need to create the disk nodes. To do this, RedHat have provided a nice start up script. This script will login to all the targets that the iSCSI daemon knows about. We have already used the iscsiadm command to tell the iSCSI daemon which targets exist on the server, so using the script is all that is left:
/etc/init.d/iscsi start
On Windows 7 use this note ,
http://www.windowsnetworking.com/articles_tutorials/Connecting-Windows-7-iSCSI-SAN.html
No comments:
Post a Comment