2011年5月5日星期四

Configuring iSCSI MPIO on Windows Server 2008 R2 Step by Step

Microsoft released the free version of iSCSI Target 3.3 recently. In this guide, I will show you the Step by Step to configure iSCSI MPIO on Windows Server 2008 R2.
First of all, I will show you my lab.
Computer 1: iSCSI Target computer, two network adapters with IP address 192.168.10.10 and 192.168.11.11 
Computer 2: client computer, two network adapters with IP address 192.168.10.20 and 192.168.11.21
Note: This is just a demo environment. In the production environment, you should have more NICs dedicate to iSCSI connection.
Step1. Download iSCSI Target and install it on your Windows Server 2008 R2 computer.
Step2. Enable MPIO
Proceed to Add Features Wizard to add the “Multipath I/O” feature.
Step3. Configure the iSCSI Target
1. Create a target for the client computers and then add a virtual disk to the target.

Step4. Configure the iSCSI Initiator on the client
When you start the iSCSI Initiator for the first time, you will get a prompt, just click the Yes button.

Now you will get iSCSI Initiator window.


Click the Discover Portal button; create the first path for the iSCSI MPIO.


Click the Advanced… button and configure the information in the General tab. Please adjust the Initiator IP address as necessary.









Now proceed to Targets tab, you will find the target status is Inactive.


Click on the Connect button and you will get the following window. Check the box “Enable multi-path” and then click the Advance… button.













In the Advanced Settings, configure the information in the General tab. Please adjust the Initiator IP address as necessary. Click OK to finish.











Step5. Configure the MPIO.
Proceed to Administrative Tools to start  MPIO. Check the box “Add support for iSCSI devices”.
Click Add button to restart the computer.

Note: The “Add support for iSCSI devices” box is uncheck by default. You have to add a virtual disk to the iSCSI Target and then make at least one iscsi connection before you have the option to enable MPIO for iSCSI.
After the reboot, you will find the MSFT2005iSCSIBusType_0x9 appear in the MPIO devices.


 














Step6. Add the second path for the MPIO.
Repeat Step 4 to add the second path for the MPIO under Discovery tab. Ignore the steps to connect the target under Target tab.













Now you will get two entries in Discover.














However, there is still one entries in Favorite Targets.
















Now proceed to Targets tab, select the current connection and then click Connect….

 





















You will get the following window.














Click on the Advanced... button, configure the Initiator IP the same as the second path. Click OK to finish.











Now proceed to Targets tab, click Devices… button.































You will get the following window.

























Click the MPIO button to configure the Load balance policy.


 





















If you click the Details button, you can verify the local and remote IPs the current connection is using.




没有评论:

发表评论