Figure 1: OpenFiler administrator login interface
Get the IP address of the OpenFiler iSCSI server, and you are now ready to access from Windows Server 2008 or Windows Vista systems.
How to connect Windows Vista to iSCSI SAN
To connect Windows Vista to the iSCSI target, you need to go to Control Panel, double-click the iSCSI Initiator initializer.
Figure 2: Vista's iSCSI Initiator - Control Panel initializer
When you see the dialog box below, answer Yes to start the iSCSI service each time the system boots up later.
Figure 3: Vista - start the iSCSI auto initializer
When you see the dialog box below, answer Yes to unlock the iSCSI service for the Windows firewall.
Figure 4: Vista - allows iSCSI to pass through the firewall
When the iSCSI Initiator Properties appears, click the Discovery tab. Click Add Portal .
Figure 5: Vista - Add the iSCSI Portal
Enter the IP address or DNS name of the iSCSI server when the Add Target Portal window appears as follows:
Figure 6: Vista - iSCSI is adding Target Portal
(port number 3260 is already here since this is the default iSCSI port number)
Click OK .
Go to the Targets tab and click Refresh . You will see the name of iSCSI Target in the list.
Select your target server and click Log on .
Click the Automatically check the option to connect this connection when the computer starts and click OK .
Figure 7: Log in to iSCSI Target
At this point you will see your status is Connected
Click OK and close the iSCSI Initiator Properties.
Click Administrative Tools , open Computer Management and click Storage -> Disk Management .
You will have to initialize the disk if not previously used.
Figure 8: Vista's Disk Manager 1
You should now see the new drive in Disk Manager. In our case, you will see Disk 1 / Basic / 32MB / Online as shown in the image above.
(We created a disk size of 32MB for demonstration purposes only)
Right-click the disk and click New Simple Volume.
Take turns through the steps to format and assign drive letters.
When you're done, your disk manager will look like the following:
Figure 9: Vista's Disk Manager 2
You can access the shared iSCSI disk in My Computer as a regular drive letter, like this:
Figure 10: Observe the new iSCSI partition in My Computer
To test, we tried a file on the new iSCSI E drive.
When our Vista iSCSI connection is complete, switch to Windows Server 2008.
Connect Windows 2008 Server with iSCSI Target
Next and like Windows Vista, to connect to Windows Server 2008 with the iSCSI target, you must go to the Control Panel and double-click the iSCSI Initiator initializer.
Figure 11: Windows Server 2008 - Launch iSCSI Initiator in Control Panel
Next you will be prompted to see if you want the iSCSI Service to start automatically. We have selected Yes in this case.
Figure 12: Windows Server 2008 - Launch iSCSI Initiator whenever Win 2008 starts
After clicking Yes, iSCSI is also enabled through the Windows Server 2008 firewall
Figure 13: Windows Server 2008 - Allow iSCSI via Firewall
(The steps below are where you configure the iSCSI Initiator just like in Windows Vista).
Because in our case, this iSCSI partition was initialized on a Windows Vista computer, we don't need to go into Disk Manager. However, if this is a new partition that has not yet been connected to another Windows computer, you need to use Windows Server 2008's Disk Manager to initialize the partition, format and assign the drive letter to it. .
When all these procedures are done, go to My computer and you can see this new disk partition.
Figure 14: Windows Server 2008 - view the shared iSCSI partition
In fact, if you open this drive, you will see the file name we copied to the iSCSI shared partition from your Windows Vista computer (below).
Figure 15: Windows Server 2008 - view shared iSCSI partitions and shared files
Conclude
ISCSI SAN technology is becoming more and more popular today. The ability to connect Windows Vista and Windows Server 2008 to iSCSI SAN is an extremely important skill for system administrators. Knowing how to set up iSCSI host will give you a lot of flexibility!