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.
Launch the iSCSI Initiator.
Open a command prompt console with administrator privileges. Select
> > , right-click , then select .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
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.Close the command prompt console.
In the iSCSI Initiator Properties window, click the
tab.Select the IQN of the target device, then click
.Select the check box next to
to enable the automatic restart.Click
.On the Step 4, which is the Elastic IP address for the iSCSI Target server in the cloud.
tab of the Advanced Settings page, from the drop-down list, select the IP address you entered inClick
to apply the changes.Click
to connect to the target device.Click
again to exit the iSCSI Initiator Properties page.Continue with Section A.12, Formatting the iSCSI Device as NTFS on the Windows Server.