How to setup DSS V6 iSCSI          Failover with XenServer                   using MultipathSoftware Version: DSS ver. 6.0...
Synchronous Volume Replication with Failover with Multipath  TO SET UP VOLUME REPLICATION WITH FAILOVER WITH MULTIPATH,  P...
Synchronous Volume Replication with Failover with Multipath Storage Client IP Address : 192.168.10.251 IP Address : 192.16...
Synchronous Volume Replication with Failover with Multipath                           Data Server (DSS2)                  ...
Synchronous Volume Replication with Failover with Multipath                             Data Server (DSS2)                ...
Synchronous Volume Replication with Failover with Multipath                            Data Server (DSS2)                 ...
Synchronous Volume Replication with Failover with Multipath                           Data Server (DSS1)                  ...
Synchronous Volume Replication with Failover with Multipath                             Data Server (DSS1)                ...
Synchronous Volume Replication with Failover with Multipath                            Data Server (DSS1)                 ...
Synchronous Volume Replication with Failover with Multipath                               Data Server (DSS2)              ...
Synchronous Volume Replication with Failover with Multipath                             Data Server (DSS2)                ...
Synchronous Volume Replication with Failover with Multipath                                Data Server (DSS2)             ...
Synchronous Volume Replication with Failover with Multipath                                    Data Server (DSS2)         ...
Synchronous Volume Replication with Failover with Multipath                                 Data Server (DSS1)            ...
Synchronous Volume Replication with Failover with Multipath                                Data Server (DSS1)             ...
Synchronous Volume Replication with Failover with Multipath                               Data Server (DSS1)              ...
Synchronous Volume Replication with Failover with Multipath                             Data Server (DSS1)                ...
Synchronous Volume Replication with Failover with Multipath                               Data Server (DSS1)              ...
Synchronous Volume Replication with Failover with Multipath                            Data Server (DSS1)                 ...
Synchronous Volume Replication with Failover with Multipath                            Data Server (DSS1)                 ...
Synchronous Volume Replication with Failover with Multipath                                     Data Server (DSS1)        ...
Synchronous Volume Replication with Failover with Multipath                                Data Server (DSS2)             ...
Synchronous Volume Replication with Failover with Multipath                                      Data Server (DSS2)       ...
Synchronous Volume Replication with Failover with Multipath                                Data Server (DSS1)             ...
Synchronous Volume Replication with Failover with Multipath                                   Data Server (DSS1)          ...
Synchronous Volume Replication with Failover with Multipath                             Data Server (DSS1)                ...
Synchronous Volume Replication with Failover with Multipath                             Data Server (DSS2)                ...
Synchronous Volume Replication with Failover with Multipath                           Data Server (DSS1)                  ...
Synchronous Volume Replication with Failover with Multipath                                           Data Server (DSS1)  ...
Synchronous Volume Replication with Failover with Multipath                            Data Server (DSS1)                 ...
Synchronous Volume Replication with Failover with Multipath                           Data Server (DSS1)                  ...
Synchronous Volume Replication with Failover with Multipath                           Data Server (DSS2)                  ...
Synchronous Volume Replication with Failover with Multipath                            Data Server (DSS2)                 ...
Synchronous Volume Replication with Failover with Multipath                            Data Server (DSS2)                 ...
Synchronous Volume Replication with Failover with Multipath                           Data Server (DSS2)                  ...
Synchronous Volume Replication with Failover with Multipath                              Data Server (DSS1)               ...
Synchronous Volume Replication with Failover with Multipath                               Data Server (DSS1)              ...
Synchronous Volume Replication with Failover with Multipath                                      Data Server (DSS1)       ...
Synchronous Volume Replication with Failover with Multipath                                Data Server (DSS1)             ...
Synchronous Volume Replication with Failover with Multipath                               Data Server (DSS1)              ...
Synchronous Volume Replication with Failover with Multipath                            Data Server (DSS1)                 ...
Synchronous Volume Replication with Failover with Multipath                            Data Server (DSS1)                 ...
Synchronous Volume Replication with Failover with Multipath                           Data Server (DSS2)                  ...
Synchronous Volume Replication with Failover with Multipath                           Data Server (DSS2)                  ...
Synchronous Volume Replication with Failover with Multipath                             Data Server (DSS2)                ...
Synchronous Volume Replication with Failover with Multipath                                Data Server (DSS2)             ...
Synchronous Volume Replication with Failover with Multipath                              Data Server (DSS1)               ...
Synchronous Volume Replication with Failover with Multipath                                Data Server (DSS1)             ...
Configure MPIO on XenServerNavigate in the XenCenter and clickon „Add New Server”.                  Step 1                ...
Configure MPIO on XenServerEnter Maintenance Mode             Step 2                                       www.open-e.com ...
Configure MPIO on XenServerIn the Maintenance Mode inGeneral tab please click on the     Step 3„Properties” button.       ...
Configure MPIO on XenServerIn the Multipathing section click on   Step 4the „Enable multipathing on thisserver” and the „O...
Configure MPIO on XenServerExit Maintenance Mode             Step 5                                      www.open-e.com   53
Configure MPIO on XenServerNavigate to the Network tab andclick on „Configure …” button.    Step 6                        ...
Configure MPIO on XenServer                                Step 7In „Management Interfaces”menu, please click on „NewInter...
Configure MPIO on XenServer                                    Step 8Next, please enter IP address andSubnet mask of the f...
Configure MPIO on XenServer                                    Step 9Next, please enter IP address andSubnet mask of the s...
Configure MPIO on XenServer                                   Step 10In the „Management Interfaces”section there are two i...
Using XenServer CLIEdit the multipath configuration file:     /etc/multipath.confand add blue lines into “devices” section...
Using XenServer CLI – edit /etc/multipath.conf                      www.open-e.com             60
Using XenServer CLIIn order to disable the phisiclal IP network subnet please edit rc.local file:nano /etc/rc.localAnd add...
Using XenServer CLI – edit /etc/rc.local                   www.open-e.com          62
Using XenServer CLIIn order to check thesettings, please run thelist command:Miltipath –v3Miltipath -llNow:pgpolicy = mult...
Configure MPIO on XenServerNext, in the „Storage” tab click   Step 11on „New SR ...” button.                              ...
Configure MPIO on XenServerNow, select the „Software iSCSI ”and click on the „Next >” button.   Step 12                   ...
Configure MPIO on XenServerIn the Target Hosts field pleaseenter IP address of the first NIC of   Step 13iSCSI targets and...
Configure MPIO on XenServerNow, please select the targetshowing on the first NIC            Step 14iqn.2011-02:xen.demo(19...
Configure MPIO on XenServerNext, please click „Discover       Step 15LUNs” button and select the LUN.                     ...
Configure MPIO on XenServerNext, please click „Finish” button .   Step 16                                          www.ope...
Configure MPIO on XenServerNext, please format the disk.      Step 17Please read the warring message.                     ...
Configure MPIO on XenServerIn the „Storage” tab, new “iSCSI   Step 18virtual disk storage” appear.                        ...
Configure MPIO on XenServerIn order to check Multipath settings,please select the “iSCSI virtual disk   Step 19storage” an...
Configure MPIO on XenServerNow install the Windows 2008 virtual machine on the newadded iSCSI Virtual disk storage and run...
Multipath I/O on DSS V6 with XenServer                                        Step 20Verify the performance with„Iometer” ...
Thank you!Follow Open-E:                 www.open-e.com   75
Upcoming SlideShare
Loading in …5
×

Open-E DSS V6 How to Setup iSCSI Failover with XenServer

1,241 views
1,051 views

Published on

Open-E DSS V6 How to Setup iSCSI Failover with XenServer. For more info go to: http://www.open-e.com

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,241
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
9
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Open-E DSS V6 How to Setup iSCSI Failover with XenServer

  1. 1. How to setup DSS V6 iSCSI Failover with XenServer using MultipathSoftware Version: DSS ver. 6.00 up55Presentation updated: February 2011
  2. 2. Synchronous Volume Replication with Failover with Multipath TO SET UP VOLUME REPLICATION WITH FAILOVER WITH MULTIPATH, PERFORM THE FOLLOWING STEPS: 1. Hardware configuration: • Settings server names, ethernet ports on both nodes. 2. Configure the Secondary node: • Create a Volume Group, iSCSI Volume • Configure Volume Replication mode (destination mode) – settings mirror IP address 3. Configure the Primary node • Create a Volume Group, iSCSI Volume • Configure Volume Replication mode (source mode) – settings mirror IP address, creating Volume Replication task and start replication task. 3. Create new target on Secondary node 4. Create new target on Primary node 5. Configure iSCSI Failover (primary and secondary node, unicast) 6. Configure virtual IP and Auxiliary connection 7. Start Failover Service 8. Test Failover Function 9. Run Failback Function 10. Configure MPIO on XenServer (49÷74 slides) www.open-e.com 2
  3. 3. Synchronous Volume Replication with Failover with Multipath Storage Client IP Address : 192.168.10.251 IP Address : 192.168.20.251 PING NODEs (Multipath - Round Robin) IP Address : 192.168.1.106; 192.168.1.107 IP Address : 192.168.2.106; 192.168.2.107Data Server (DSS1) Data Server (DSS2)Primary node Secondary nodeIP Address:192.168.0.230 IP Address:192.168.0.240 Switch 1 Switch 2 Port used for WEB GUI management Port used for WEB GUI management Auxiliary connection (Heartbeat) Auxiliary connection (Heartbeat) IP:192.168.0.230 eth0 eth0 IP:192.168.0.240 Storage Client Access, Multipath Multipath, Storage Client Access, Auxiliary connection (Heartbeat) Auxiliary connection (Heartbeat) IP:192.168.1.230 eth1 eth1 IP:192.168.1.240 Virtual IP Address: Storage Client Access, Multipath 192.168.10.250 (iSCSI Target) Multipath, Storage Client Access, Auxiliary connection (Heartbeat) Auxiliary connection (Heartbeat) IP:192.168.2.230 eth2 eth2 IP:192.168.2.240 Virtual IP Address: 192.168.20.250 (iSCSI Target) Volume Replication , Volume Replication , Auxiliary connection (Heartbeat) Auxiliary connection (Heartbeat) iSCSI Failover/Volume Replication eth3 IP:192.168.3.240 IP:192.168.3.230 eth3 Note: Direct point-to-point connection is recommended for the volume replication. www.open-e.com 3
  4. 4. Synchronous Volume Replication with Failover with Multipath Data Server (DSS2) Secondary node 1. Hardware Configuration IP Address:192.168.0.240After logging on the DSS V6please go to „SETUP” tab,„network” and „Interfaces”. In„Server name” function enterServer name, in this example„dss2” and click apply button.(All connections will berestarted) www.open-e.com 4
  5. 5. Synchronous Volume Replication with Failover with Multipath Data Server (DSS2) Secondary node 1. Hardware Configuration IP Address:192.168.0.240Next select eth0 interface andchange IP Address from192.168.0.220 in field IP addressto 192.168.0.240, and click applybutton. (This will restart networkconfiguration). www.open-e.com 5
  6. 6. Synchronous Volume Replication with Failover with Multipath Data Server (DSS2) Secondary node 1. Hardware Configuration IP Address:192.168.0.240Now select eth1 interface andchange IP address from192.168.1.220 in field IP addressto 192.168 .1.240 and click applybutton.Next change IP address for eth2and eth3 from 192.168.2.220 and192.168.3.220 to 192.168 .2.240and 192.168 .3.240 accordingly. www.open-e.com 6
  7. 7. Synchronous Volume Replication with Failover with Multipath Data Server (DSS1) Primary node 1. Hardware Configuration IP Address:192.168.0.230After logging on the primarynode please go to „SETUP”tab, „network” and„Interfaces”. In „Server name”function enter Server name. Inthis example enter dss1 andclick apply button. (Allconnection will be restarted). www.open-e.com 7
  8. 8. Synchronous Volume Replication with Failover with Multipath Data Server (DSS1) Primary node 1. Hardware Configuration IP Address:192.168.0.230Next select eth0 interface andchange IP Address from192.168.0.220 in field IP addressto 192.168.0.230, and click applybutton. (This will restart networkconfiguration). www.open-e.com 8
  9. 9. Synchronous Volume Replication with Failover with Multipath Data Server (DSS1) Primary node 1. Hardware Configuration IP Address:192.168.0.230Now select eth1 interface andchange IP address from192.168.1.220 in field IP addressto 192.168 .1.230 and click applybutton.Next change IP address for eth2and eth3 from 192.168.2.220 and192.168.3.220 to 192.168 .2.230and 192.168 .3.230 accordingly. www.open-e.com 9
  10. 10. Synchronous Volume Replication with Failover with Multipath Data Server (DSS2) Secondary node 2. Configure the Secondary node IP Address:192.168.0.240Under the„CONFIGURATION” tab,select „volume manager” andnext Vol. Groups. Volume Groups (vg00)In Unit manager function addthe selected physical units(Unit MD0 or other) to create anew volume group (in this case,vg00) and click apply button. www.open-e.com 10
  11. 11. Synchronous Volume Replication with Failover with Multipath Data Server (DSS2) Secondary node 2. Configure the Secondary node IP Address:192.168.0.240Select the appropriate volumegroup (vg00) from the list on theleft and create a new iSCSIvolume of the required size.This logical volume will be thedestination of the replicationprocess.Next check the box with Usevolume replicationAfter assigning an appropriateamount of space for the iSCSIvolume, click the apply button www.open-e.com 11
  12. 12. Synchronous Volume Replication with Failover with Multipath Data Server (DSS2) Secondary node 2. Configure the Secondary node IP Address:192.168.0.240The destination iSCSI VolumeBlock I/O is now configured. iSCSI volume (lv0000) www.open-e.com 12
  13. 13. Synchronous Volume Replication with Failover with Multipath Data Server (DSS2) Secondary node 2. Configure the Secondary node IP Address:192.168.0.240 Now, select the Vol. replication and check the box under Destination and click the apply button Next, under Mirror Server IP function, enter the IP address of the Primary node (in our example, this would be 192.168.3.230) and click the apply buttonNOTE:The Mirror server IP Address must be on the samesubnet in order for the replication to communicate.VPN connections can work providing you are notusing a NAT. Please follow example:•Source: 192.168.3.230•Destination: 192.168.3.240 www.open-e.com 13
  14. 14. Synchronous Volume Replication with Failover with Multipath Data Server (DSS1) Primary node 3. Configure the Primary node IP Address:192.168.0.230Under the „CONFIGURATION”tab, select „volume manager”and next „Vol. Groups”Add the selected physical units(Unit S001 or other) to create anew volume group (in this case,vg00) and click apply button Volume Groups (vg00) www.open-e.com 14
  15. 15. Synchronous Volume Replication with Failover with Multipath Data Server (DSS1) Primary node 3. Configure the Primary node IP Address:192.168.0.230Select the appropriate volumegroup (vg00) from the list on theleft and create a new iSCSIvolume of the required size.This logical volume will be thedestination of the replicationprocessNext , check box Use volumereplicationAfter assigning an appropriateamount of space for the iSCSIvolume, click the apply buttonNOTE:The source and destination volumes must be ofidentical size. www.open-e.com 15
  16. 16. Synchronous Volume Replication with Failover with Multipath Data Server (DSS1) Primary node 3. Configure the Primary node IP Address:192.168.0.230The source iSCSI Volume BlockI/O is now configured. iSCSI volume (lv0000) www.open-e.com 16
  17. 17. Synchronous Volume Replication with Failover with Multipath Data Server (DSS1) Primary node 3. Configure the Primary node IP Address:192.168.0.230Now, select Vol. replication,and check the box underSource and click the applybuttonNext , under Mirror Server IPfunction, enter the IP address ofthe Secondary node (in ourexample this would be192.168.3.240) and click theapply button www.open-e.com 17
  18. 18. Synchronous Volume Replication with Failover with Multipath Data Server (DSS1) Primary node 3. Configure the Primary node IP Address:192.168.0.230Enter the task name in fieldTask name next click on the buttonIn the Destination volumefield select the appropriatevolume (in this example,lv0000) and click create toconfirm. www.open-e.com 18
  19. 19. Synchronous Volume Replication with Failover with Multipath Data Server (DSS1) Primary node 3. Configure the Primary node IP Address:192.168.0.230Now, in the Replication taskmanager function, click on button under to start theReplication task on the Primarynode www.open-e.com 19
  20. 20. Synchronous Volume Replication with Failover with Multipath Data Server (DSS1) Primary node 3. Configure the Primary node IP Address:192.168.0.230In the Replication tasksmanager function informationis available about the currentrunning replication task. www.open-e.com 20
  21. 21. Synchronous Volume Replication with Failover with Multipath Data Server (DSS1) Primary node 3. Configure the Primary node IP Address:192.168.0.230 Under the „STATUS” tab, select „tasks” and Volume Replication Click on the button with task name (in this case MirrorTask) to display detailed information on the current replication taskNOTE:Please allow the replication task to completesimilar to above with status being “Consistent”before writing to the iSCSI Logical Volume. www.open-e.com 21
  22. 22. Synchronous Volume Replication with Failover with Multipath Data Server (DSS2) Secondary node 4. Create new target on the Secondary node IP Address:192.168.0.240 Choose „CONFIGURATION”, „iSCSI target manager” and „Targets” from the menu In the Create new target function, uncheck the box Target Default Name, and enter a name for the new target in the Name field and click apply to confirm. iSCSI targetsNOTE:Both systems must have the same Target name. www.open-e.com 22
  23. 23. Synchronous Volume Replication with Failover with Multipath Data Server (DSS2) Secondary node 4. Create new target on the Secondary node IP Address:192.168.0.240 Select target0 within the Targets field. To assign a volume to the target, click the button located under ActionNOTE:Both systems must have the same SCSI ID and LUN#WARNING:Please do not switch on the write back (WB) cache ! www.open-e.com 23
  24. 24. Synchronous Volume Replication with Failover with Multipath Data Server (DSS1) Primary node 5. Create new target on the Primary node IP Address:192.168.0.230 Choose „CONFIGURATION” and „iSCSI target manager” and „Targets” from the menu In the Create new target function, uncheck the box Target Default Name, and enter a name for the new target in the Name field and click apply to confirm iSCSI targetsNOTE:Both systems must have the same Target name. www.open-e.com 24
  25. 25. Synchronous Volume Replication with Failover with Multipath Data Server (DSS1) Primary node 5. Create new target on the Primary node IP Address:192.168.0.230 Select the target0 within the Targets field To assign a volume to the target, click the button located under ActionWARNING:Please do not switch on the write back cache (WB) ! www.open-e.com 25
  26. 26. Synchronous Volume Replication with Failover with Multipath Data Server (DSS1) Primary node 6. Configure iSCSI Failover IP Address:192.168.0.230Now, select iSCSI FailoverIn the Failover configurationfunction, check the box EnableiSCSI failover functionality.Select Network connectionmode (in this example Unicast)and select Network interfacefor unicast (192.168.0.230).Next enter the Secondary nodeIP and the Ping Node IP (mustbe on the same subnet) andclick the apply button. www.open-e.com 26
  27. 27. Synchronous Volume Replication with Failover with Multipath Data Server (DSS2) Secondary node 6. Configure iSCSI Failover IP Address:192.168.0.240Now, select iSCSI FailoverNow, in Failoverconfiguration function , checkthe box Enable iSCSI failoverfunctionality. Select Networkconnection mode (in thisexample Unicast) and selectNetwork interface for unicast(bond0). After chooseSecondary node on localhostenter Primary node IP addressand click the apply button www.open-e.com 27
  28. 28. Synchronous Volume Replication with Failover with Multipath Data Server (DSS1) Primary node 7. Configure Virtual IP and Auxillary connection IP Address:192.168.0.230Now, select the eth0 withiniSCSI Failover.In the Auxiliary connectionfunction check box Use thisnetwork interface tocommunicate between thenodes next enter IP address forUnicast remote IP and click theapply button. www.open-e.com 28
  29. 29. Synchronous Volume Replication with Failover with Multipath Data Server (DSS1) Primary node 7. Configure Virtual IP and Auxillary connection IP Address:192.168.0.230 Now, select the eth1 within iSCSI Failover. In the Virtual IP Settings function check box Enable virtual IP and enter IP address, Netmask, Broadcast, and click the apply button. By setting the address of the secondary node in a Failover configuration, automatic detection of the interface for communication. This step is necessary to complement the destination IP address used in unicast.NOTE:There need to be at least two auxiliary connections. Theinterface with the virtual IP can also serve as one of theauxiliary connections. Please set the Virtual IP Address in adifferent network subnet then the physical IP Address. To haveadditional iSCSI Failover systems, please set this pair in adifferent network subnet from the other iSCSI Failoversystems. This limitation will be removed in the future. www.open-e.com 29
  30. 30. Synchronous Volume Replication with Failover with Multipath Data Server (DSS1) Primary node 7. Configure Virtual IP and Auxillary connection IP Address:192.168.0.230Now, select the eth2 withiniSCSI Failover. In the VirtualIP Settings function check boxEnable virtual IP and enter IPaddress, Netmask, Broadcast,and click the apply button.By setting the address of thesecondary node in a Failoverconfiguration, automaticdetection of the interface forcommunication. This step isnecessary to complement thedestination IP address used inunicast. www.open-e.com 30
  31. 31. Synchronous Volume Replication with Failover with Multipath Data Server (DSS1) Primary node 7. Configure Virtual IP and Auxillary connection IP Address:192.168.0.230Now, select the eth3 withiniSCSI Failover.In the Auxiliary connectionfunction check box Use thisnetwork interface tocommunicate between thenodes next enter IP address forUnicast remote IP and click theapply button. www.open-e.com 31
  32. 32. Synchronous Volume Replication with Failover with Multipath Data Server (DSS2) Secondary node 7. Configure Virtual IP and Auxillary connection IP Address:192.168.0.240Now, select the eth0 withiniSCSI Failover.In the Auxiliary connectionfunction enter IP address forUnicast remote IP and click theapply button. www.open-e.com 32
  33. 33. Synchronous Volume Replication with Failover with Multipath Data Server (DSS2) Secondary node 7. Configure Virtual IP and Auxillary connection IP Address:192.168.0.240Now, select the eth1 withiniSCSI Failover.In the Virtual IP Settingsfunction check the box Enablevirtual IP and enter IPaddress, Netmask, Broadcast,and click the apply button.By setting the address of theprimary node in a Failoverconfiguration, automaticdetection of the interface forcommunication. This step isnecessary to complement thedestination IP address used inunicast. www.open-e.com 33
  34. 34. Synchronous Volume Replication with Failover with Multipath Data Server (DSS2) Secondary node 7. Configure Virtual IP and Auxillary connection IP Address:192.168.0.240Next, select the eth2 withiniSCSI Failover.In the Virtual IP Settingsfunction check the box Enablevirtual IP and enter IPaddress, Netmask, Broadcast,and click the apply button.By setting the address of theprimary node in a Failoverconfiguration, automaticdetection of the interface forcommunication. This step isnecessary to complement thedestination IP address used inunicast. www.open-e.com 34
  35. 35. Synchronous Volume Replication with Failover with Multipath Data Server (DSS2) Secondary node 7. Configure Virtual IP and Auxillary connection IP Address:192.168.0.240Now, select the eth3 withiniSCSI Failover.In the Auxiliary connectionfunction check box Use thisnetwork interface tocommunicate between thenodes next enter IP address forUnicast remote IP and click theapply button. www.open-e.com 35
  36. 36. Synchronous Volume Replication with Failover with Multipath Data Server (DSS1) Primary node 8. Start Failover Service IP Address:192.168.0.230Next, select iSCSI FailoverMove the iSCSI Tasks to beused for the failover service tothe Failover Tasks area byclicking buttonand click apply www.open-e.com 36
  37. 37. Synchronous Volume Replication with Failover with Multipath Data Server (DSS1) Primary node 8. Start Failover Service IP Address:192.168.0.230At this point both nodes areready to start the Failoverservice www.open-e.com 37
  38. 38. Synchronous Volume Replication with Failover with Multipath Data Server (DSS1) Primary node 8. Start Failover Service IP Address:192.168.0.230 After clicking the start button configuration of both nodes will be completeNOTE:You can now connect via your iSCSI initiator and useyour targets via the Virtual IP address e.g.192.168.10.250 (For example, in a Microsoft Windowsenvironment, download Microsoft iSCSI Initiator ver 2.0or later). www.open-e.com 38
  39. 39. Synchronous Volume Replication with Failover with Multipath Data Server (DSS1) Primary node 8. Start Failover Service IP Address:192.168.0.230After start Failover, check thestatus in Failover statusfunction. All must read OK. Inthe task status, the destinationvolume must be consistent iSCSI Failover/Volume Replication www.open-e.com 39
  40. 40. Synchronous Volume Replication with Failover with Multipath Data Server (DSS1) Primary node 9. Test Failover Function IP Address:192.168.0.230In order to test Failover inManual Failover, function,click on the Manual failoverbutton. www.open-e.com 40
  41. 41. Synchronous Volume Replication with Failover with Multipath Data Server (DSS1) Primary node 9. Test Failover Function IP Address:192.168.0.230After clicking on the Manualfailover button, primary nodeenters suspend mode www.open-e.com 41
  42. 42. Synchronous Volume Replication with Failover with Multipath Data Server (DSS1) Primary node 9. Test Failover Function IP Address:192.168.0.230The Failover status functionshows the Global status of theprimary node. Status service isin suspend mode and the nodeis inactive. www.open-e.com 42
  43. 43. Synchronous Volume Replication with Failover with Multipath Data Server (DSS2) Secondary node 9. Test Failover Function IP Address:192.168.0.240In Failover status functionGlobal status shows the statusof the secondary node. Theservice status is degraded andNode status is active. www.open-e.com 43
  44. 44. Synchronous Volume Replication with Failover with Multipath Data Server (DSS2) Secondary node 10. Run Failback Function IP Address:192.168.0.240In order to run Failback inFailover manager function clickon the Sync volumes buttonfirst. www.open-e.com 44
  45. 45. Synchronous Volume Replication with Failover with Multipath Data Server (DSS2) Secondary node 10. Run Failback Function IP Address:192.168.0.240After synchronization the taskstatus of the destination volumemust be Consistent www.open-e.com 45
  46. 46. Synchronous Volume Replication with Failover with Multipath Data Server (DSS2) Secondary node 10. Run Failback Function IP Address:192.168.0.240In order to return the activeserver state to the Primaryserver click on the Failbackbutton www.open-e.com 46
  47. 47. Synchronous Volume Replication with Failover with Multipath Data Server (DSS1) Primary node 10. Run Failback Function IP Address:192.168.0.230After clicking on Failbackbutton (in Failover managerfunction on Secondary node)Primary node is now active. www.open-e.com 47
  48. 48. Synchronous Volume Replication with Failover with Multipath Data Server (DSS1) Primary node 10. Run Failback Function IP Address:192.168.0.230Primary node is active againand ready for Failover.iSCSI Failover/Volume ReplicationThe configuration and testing ofiSCSI Failover/Failback is now finished. www.open-e.com 48
  49. 49. Configure MPIO on XenServerNavigate in the XenCenter and clickon „Add New Server”. Step 1 www.open-e.com 49
  50. 50. Configure MPIO on XenServerEnter Maintenance Mode Step 2 www.open-e.com 50
  51. 51. Configure MPIO on XenServerIn the Maintenance Mode inGeneral tab please click on the Step 3„Properties” button. www.open-e.com 51
  52. 52. Configure MPIO on XenServerIn the Multipathing section click on Step 4the „Enable multipathing on thisserver” and the „OK” to www.open-e.com 52
  53. 53. Configure MPIO on XenServerExit Maintenance Mode Step 5 www.open-e.com 53
  54. 54. Configure MPIO on XenServerNavigate to the Network tab andclick on „Configure …” button. Step 6 www.open-e.com 54
  55. 55. Configure MPIO on XenServer Step 7In „Management Interfaces”menu, please click on „NewInterface” button. www.open-e.com 55
  56. 56. Configure MPIO on XenServer Step 8Next, please enter IP address andSubnet mask of the first path andclick on the „OK” button. www.open-e.com 56
  57. 57. Configure MPIO on XenServer Step 9Next, please enter IP address andSubnet mask of the second pathand click on the „OK” button. www.open-e.com 57
  58. 58. Configure MPIO on XenServer Step 10In the „Management Interfaces”section there are two interfacesconfigured. In this example:192.168.10.251192.168.20.251 www.open-e.com 58
  59. 59. Using XenServer CLIEdit the multipath configuration file: /etc/multipath.confand add blue lines into “devices” section.nano /etc/multipath.conf…## some vendor specific modificationsdevices { device { vendor "SCST_FIO|SCST_BIO" product "*" path_selector "round-robin 0" path_grouping_policy multibus rr_min_io 100 }…Exit the nano editor with save: ctrl-x -> Y -> enter to confirm www.open-e.com 59
  60. 60. Using XenServer CLI – edit /etc/multipath.conf www.open-e.com 60
  61. 61. Using XenServer CLIIn order to disable the phisiclal IP network subnet please edit rc.local file:nano /etc/rc.localAnd add the line:iptables -I INPUT -s 192.168.0.230 -j DROPExit the Nano with save: ctrl-x -> Y -> enter to confirmRun the rc.local script with:/etc/rc.localNOTE: it is not nessesary to disable the secondary NIC: 192.168.0.240 becouse it is not exported while XenServer connecting to the SR.In order to test the settings please run:iptables -LIn order to add or remove directly from command line please use followinng commands:Enter “DROP” action for 192.168.0.230iptables -I INPUT -s 192.168.0.230 -j DROPRemove the “DROP” action for 192.168.0.230iptables -D INPUT -s 192.168.0.230 -j DROP www.open-e.com 61
  62. 62. Using XenServer CLI – edit /etc/rc.local www.open-e.com 62
  63. 63. Using XenServer CLIIn order to check thesettings, please run thelist command:Miltipath –v3Miltipath -llNow:pgpolicy = multibusminio =100And both paths are[ active] [ ready ] www.open-e.com 63
  64. 64. Configure MPIO on XenServerNext, in the „Storage” tab click Step 11on „New SR ...” button. www.open-e.com 64
  65. 65. Configure MPIO on XenServerNow, select the „Software iSCSI ”and click on the „Next >” button. Step 12 www.open-e.com 65
  66. 66. Configure MPIO on XenServerIn the Target Hosts field pleaseenter IP address of the first NIC of Step 13iSCSI targets and click on the„Discover IQNs” button. www.open-e.com 66
  67. 67. Configure MPIO on XenServerNow, please select the targetshowing on the first NIC Step 14iqn.2011-02:xen.demo(192.168.10.250). www.open-e.com 67
  68. 68. Configure MPIO on XenServerNext, please click „Discover Step 15LUNs” button and select the LUN. www.open-e.com 68
  69. 69. Configure MPIO on XenServerNext, please click „Finish” button . Step 16 www.open-e.com 69
  70. 70. Configure MPIO on XenServerNext, please format the disk. Step 17Please read the warring message. www.open-e.com 70
  71. 71. Configure MPIO on XenServerIn the „Storage” tab, new “iSCSI Step 18virtual disk storage” appear. www.open-e.com 71
  72. 72. Configure MPIO on XenServerIn order to check Multipath settings,please select the “iSCSI virtual disk Step 19storage” and in the “General” tabMultipathing section must show “2of 2 paths active”. www.open-e.com 72
  73. 73. Configure MPIO on XenServerNow install the Windows 2008 virtual machine on the newadded iSCSI Virtual disk storage and run Iometer in order to check the performance. www.open-e.com 73
  74. 74. Multipath I/O on DSS V6 with XenServer Step 20Verify 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 74
  75. 75. Thank you!Follow Open-E: www.open-e.com 75

×