Configure MPIO on XenServer

Download Report

Transcript Configure MPIO on XenServer

Open-E DSS V6 MPIO with
XenServer 5.6
Software Version: DSS ver. 6.00 up55
Presentation updated: December 2010
Multipath I/O on DSS V6 with XenServer
Example configuration of Multipath I/O on DSS V6 with Citrix XenServer and VM-Windows 2008
Hardware Requirements:
To run the Multipath I/O on DSS V6 with Citrix XenServer and Windows 2008 server running as virtual machine, a minimum of two
network cards in both systems are required.
LAN
Citrix XenServer with
Windows 2008 Server as
virtual machine.
Virtual-IP: 192.168.0.70
Switch
DSS V6 ; iSCSI Targets:
iqn.2010-12:dss230.xen
iqn.2010-11:dss230.win2008
IP:192.168.0.230 eth0 (used for the MPIO)
IP:192.168.0.7 (MPIO)
IP:192.168.1.230 eth1 (used for the MPIO)
IP:192.168.1.7 (MPIO)
www.open-e.com
2
Configure the DSS V6
In order to verify proper NICs settings,
go to menu: „STATUS” tab, „network”
and Interfaces.
Two NICs to be used for MPIO has IP
address:
192.168.2.220
192.168.3.220
www.open-e.com
3
Configure the DSS V6
Next, please go to menu:
„CONFIGURATION” tab, „volume
manager” and Vol. groups.
Select eth0 interface and in Volume
manager, create two Block-IO or FileIO iSCSI volumes.
www.open-e.com
4
Configure the DSS V6
In menu: „CONFIGURATION” tab,
„iSCSI target manager”, Targets,
please uncheck the Target Default
Name and enter target name:
iqn.2010-12:dss.xen
Then the second one:
iqn.2010-12:dss.win2008
www.open-e.com
5
Configure the DSS V6
In menu „CONFIGURATION” tab,
„iSCSI target manager”, Targets,
select first alias: target0 and click on
the
button.
Then select the second alias: target1
and click on the
button.
Now, configuring DSS V6 is finished.
www.open-e.com
6
Configure XenServer
Navigate in the XenCenter and
click on „Add New Server”.
Step 1
www.open-e.com
7
Configure MPIO on XenServer
Enter Maintenance Mode
Step 2
www.open-e.com
8
Configure MPIO on XenServer
In the Maintenance Mode in
General tab please click on the
„Properties” button.
Step 3
www.open-e.com
9
Configure MPIO on XenServer
In the Multipathing section click on
the „Enable multipathing on this
server” and the „OK” to
Step 4
www.open-e.com
10
Configure MPIO on XenServer
Exit Maintenance Mode
Step 5
www.open-e.com
11
Configure MPIO on XenServer
Navigate to the Network tab and
click on „Configure …” button.
Step 6
www.open-e.com
12
Configure MPIO on XenServer
Step 7
In „Management Interfaces”
menu, please click on „New
Interface” button.
www.open-e.com
13
Configure MPIO on XenServer
Step 8
Next, please enter IP address and
Subnet mask and click on the „OK”
button.
www.open-e.com
14
Configure MPIO on XenServer
Step 9
In the „Management Interfaces”
section there are two interfaces
configured.
In this example:
192.168.0.7
192.168.1.7
www.open-e.com
15
Configure MPIO on XenServer
Next, in the „Storage” tab click
on „New SR ...” button.
Step 10
www.open-e.com
16
Configure MPIO on XenServer
Now, select the „Software iSCSI ”
and click on the „Next >” button.
Step 11
www.open-e.com
17
Configure MPIO on XenServer
In the Target Hosts field please
enter IP addresses of both iSCSI
targets and click on the „Discover
IQNs” button.
Step 12
www.open-e.com
18
Configure MPIO on XenServer
Now, please select the target
showing on the first NIC
iqn.2010-12:dss.xen
(192.168.0.230).
Step 13
www.open-e.com
19
Configure MPIO on XenServer
Next, please click „Discover
LUNs” button and select the LUN.
Step 14
www.open-e.com
20
Configure MPIO on XenServer
In the „Storage” tab, new “iSCSI
virtual disk storage” appear.
Step 15
www.open-e.com
21
Configure MPIO on XenServer
In order to check Multipath settings,
please select the “iSCSI virtual disk
storage” and in the “General” tab
Multipathing section must show “2
of 2 paths active”.
Step 16
www.open-e.com
22
Using XenServer CLI
[root@xenserver-demo /]# nano /etc/multipath.conf
...
defaults {
#
udev_dir
/dev
#
polling_interval
10
selector
"round-robin 0"
path_grouping_policy
multibus
#
getuid_callout
"/sbin/scsi_id -g -u -s /block/%n"
#
prio_callout
/bin/true
#
path_checker
readsector0
rr_min_io
6
#
max_fds
8192
#
rr_weight
priorities
#
failback
immediate
#
no_path_retry
fail
#
user_friendly_names
yes
}
In the green lines please remove the leading # and enter In order to save and exit use ctrl-x -> y -> enter to confirm
[root@xenserver-demo /]# multipath –v5
[root@xenserver-demo /]# multipath –ll
www.open-e.com
23
Using XenServer CLI – edit /etc/multipath.conf
www.open-e.com
24
Using XenServer CLI
In order to check
the settings, please
run the list
command:
Miltipath -ll
Now, the minio
parameter is
changed to 6 and
pgpolicy = multibus
www.open-e.com
25
Configure MPIO on XenServer
Now install the Windows 2008 virtual machine on the new
added iSCSI Virtual disk storage and run Iometer in
order to check the performance.
www.open-e.com
26
Multipath I/O on DSS V6 with XenServer
Step 17
Verify the performance with
„Iometer” running on
Now you have completed the configuration of Multipath I/O on DSS V6 with XenServer.
www.open-e.com
27
Thank you!
Follow Open-E:
www.open-e.com
28