Posted on

Infrastructure Adventures

I recently had to configure iSCSI with multipathing on RHEL 6. It wasn’t too hard and these instructions will presumably work with other Redhat based versions & distros

It involves installing/configuring the iSCSI utilities and then installing/configuring Device-Mapper. Device-Mapper will automatically discover devices with multiple paths and creates a mpath device that can be used to load balance/failover between all the paths.

1.) Install iSCSI and Device-Mapper

# yum install iscsi-initiator-utils
# yum install device-mapper-multipath

2.) Start iSCSI

# chkconfig iscsi on
# chkconfig iscsid on
# service iscsi start
# service iscsid start

3.) Find your hosts IQN and Update your iSCSI Array

Each iSCSi device will have a iSCSI Qualified Name (IQN). This name is used to manage LUN masking on the iSCSI arrays.

# cat /etc/iscsi/initiatorname.iscsi

Once you have your IQN you then need to go to your iSCSI array and carve out the LUNs you plan…

View original post 637 more words

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s