Register now or log in to join your professional community.
@target
# date
Thu Feb:: AST
# time yum install -y scsi-target-utils
# iptables -I INPUT -p tcp --dport -j ACCEPT
# iptables -I INPUT -p udp --dport -j ACCEPT
# service iptables save
# vim /etc/tgt/targets.conf
<target iqn..lab.home:server2.target1>
backing-store /dev/sdb2
incominguser user1 passwordhere
</target>
# service tgtd start
# chkconfig tgtd on
@Initiator
# time yum -y install iscsi-initiator-utils
# vim /etc/iscsi/iscsid.conf
node.session.auth.authmethod = CHAP
node.session.auth.username = user1
node.session.auth.password = passwordhere
# vim /etc/iscsi/initiatorname.iscsi
# service iscsid start
# chkconfig iscsid on
# iscsiadm --mode discoverydb --type sendtargets --portal... --discover
# iscsiadm --mode node --targetname iqn..lab.home:server2.target1 --portal...: -l
@target
# date
Thu Feb:: AST
About Minutes (including2 minutes installing required packages). Long time!
iSCSI is an important industry protocol. A high-level perspective is that iSCSI allows a client to mount a drive, located on a server, over a network and use it as though it is a native disk. It is generally a very high performance protocol. One major advantage is that you can keep a drive layer in servers built with redundancy and connect to the drive from many types of network clients. This guide will allow you to setup the Windows8 iSCSI initiator so you can access an iSCSI share. This will not install the iSCSI target on Windows8.