Configuring SAN and iSCSI Initiator.

 

1.      Configuring SAN and iSCSI Initiator

              A. Prepare iSCSI Target on iSCSIServer (installing Microsoft iSCSI target)

 

1.      In Server Manager, choose Manage  Add Roles And Features.

2.      On the Before You Begin page, verify the Destination Server and then click Next.

3.      On the Installation Type page, select Role-Based Or Feature-Based Installation and then click Next.

4.      On the Server Selection page, select the server from the Server Pool and then click Next.

5.      Now you can select iSCSI Target Server and ISCSI Target Storage Provider (VDS and VSS Hardware Providers) when required from the Server Roles page File and storage service and click Next.

 

6.      The File Server role is automatically selected as it’s a requirement for the iSCSI target server. Click Next to proceed.

 

7.      No features have to be selected for the stand-alone deployment. Click Next.

8.      On the Confirmation page, click Install. No reboot is required.

 

 

B. Configuring Microsoft iSCSI target Server.

 

1.      Open Server Manager on iSCSIServer and select the iSCSI page on the File And Storage Services

2.      Select the iSCSI page of the File and Storage Services canvas in Server Manager.

3.      Start by selecting ‘New iSCSI Virtual Disk’ from the Tasks menu of the iSCSI Virtual Disk tile on the iSCSI page of the File and Storage Services of Server Manager.

4.      Select the NTFS volume (here D: drive) on which we want to create the new iSCSI virtual disk.

5.      Type a name and optional description for the new iSCSI virtual disk. (eg: SharedDisk extension .vhd will be added automatically)

 

6.      Next configure size for vhd file, I have total 40 GB of D drive space and 39.30 GB is free.

7.      Since this is the first iSCSI virtual disk we're creating on our target server, there are no existing iSCSI targets on the server so we need to create a new target.

8.      Enter the name for iSCSI target, description is optional. (My target name: iSCSITarget)

9.      Next we need to specify which iSCSI initiators can access the iSCSI virtual disk associated with our new target. We can do this by clicking “Add” on the Access Servers page of the wizard and select the ‘IP Address’ from the drop down menu and  type the iSCSI adaptor IP address (listed in the above table) of our two HyperV host servers and click ok. To add multiple IP address click ‘Add’again.

 

10.  The next wizard page is to enable CHAP and/or Reverse CHAP for authenticating initiator connections. If you enable one or both of these protocols, you must specify a username and password for them. (I just clicked next without providing anything).

 

11.  Click Create on the confirmation page to create the disk.

12.  Create another disk in the same way (iSCSI Target should be same do not select new).

13.  Create a witness disk (Quorum) with 5GB in the same way (iSCSI Target should be same do not select new).

 

C. Configuring iSCSI Initiator and shared disks on Host1.

1.      Open the iSCSI Initiator Properties on Host 1 dialog by selecting iSCSI Initiator from the Tools menu of Server Manager:

Next enter iSCSI target Server IP and press quick connect. (It will connect to port 3260 on iSCSI server

No comments: