XenServer Mulipath setup

What you need:

XenCenter Console open the following file using your favorite CLI editor

/etc/iscsi/iscsid.conf

Add a comment code out the line node.startup = manual
Remove the comment code to the line node.start = automatic
Save this file

Run the following commands to set the services (daemon) to start on startup
chkconfig open-iscsi on
chkconfig multipathd on

Next you will need to edit the following file:

/etc/multipath.conf
Add line under defaults {
path_checker readsector0
rr_min_io 100
Save this file

Run the service start commands
service open-iscsi start
service multipathd start

Run the following ISCSI discovery commands
Iscsiadm –m discovery –t st –p ipaddress of ISCSI device
Iscsiadm –m node –L all
multipath -l

*Noted the results for your wwid fields, yes it is a really long number

Open the following file
/etc/multipath.conf
Add iscsi device(s)
multipaths {
multipath{
wwid %multipath -l%
alias %friendlyname%
}
multipath{
wwid %multipath -l%
alias %friendlyname%
}

Save this file
Run the following command to confirm success
ls /dev/mapper

Advertisements

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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s