Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

How many minutes would you take to configure ISCSI server and client?

user-image
Question added by Deleted user
Date Posted: 2016/01/12
Deleted user
by Deleted user

@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!

Ashik Anish
by Ashik Anish , IT Engineer , SK Engineering and Construction

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.

More Questions Like This