A.11 Configuring the iSCSI Initiator Software on a Windows Server

  1. On a Windows Server 2008 server, open a Web browser and go to the Microsoft Downloads Center, then download and install the Microsoft iSCSI Software Initiator Version 2.08.

  2. Launch the iSCSI Initiator.

  3. Open a command prompt console with administrator privileges. Select Start > All Programs > Accessories, right-click Command Prompt, then select Run as Administrator.

  4. At the command prompt, use the iSCSICLI command to add a target device by entering:

    iscsicli QAddTarget iqn_target_device elastic_ip_address
    

    Parameter

    Description

    iqn_target_device

    Use the IQN of the iSCSI target device that you set up in Section A.10, Configuring the iSCSI Target Device.

    elastic_ip_address

    Use the public Elastic IP address that you set up for the openSUSE Linux VM in Section A.5, Setting Up an Elastic IP Address.

    You must use the command line method to set up the cloud-based iSCSI target device rather than the iSCSI Initiator GUI. This step is required because of the address translation that occurs between the public Elastic IP address and private IP address on the openSUSE Linux VM behind the Amazon AWS firewall. The Discovery option in the iSCSI Initiator GUI finds the Amazon AWS private IP address for the openSUSE Linux VM, and not the public IP address that you set up for it. If the private IP address is associated with the target device, you are unable to connect to the device across the public Internet.

  5. Close the command prompt console.

  6. In the iSCSI Initiator Properties window, click the Targets tab.

  7. Select the IQN of the target device, then click Connect.

  8. Select the check box next to Add this connection to the Favorites List to enable the automatic restart.

  9. Click Advanced.

  10. On the General tab of the Advanced Settings page, from the Target portal IP drop-down list, select the IP address you entered in Step 4, which is the Elastic IP address for the iSCSI Target server in the cloud.

  11. Click OK to apply the changes.

  12. Click OK to connect to the target device.

  13. Click OK again to exit the iSCSI Initiator Properties page.

  14. Continue with Section A.12, Formatting the iSCSI Device as NTFS on the Windows Server.