AWS Storage Gateway User Guide
Connecting iSCSI Initiators
function Get-ActivationKey {
[CmdletBinding()]
Param(
[parameter(Mandatory=$true)][string]$IpAddress,
[parameter(Mandatory=$true)][string]$ActivationRegion
)
PROCESS {
$request = Invoke-WebRequest -UseBasicParsing -Uri "http://$IpAddress/?
activationRegion=$ActivationRegion" -MaximumRedirection 0 -ErrorAction SilentlyContinue
if ($request) {
$activationKeyParam = $request.Headers.Location | Select-String -Pattern
"activationKey=([A-Z0-9-]+)"
$activationKeyParam.Matches.Value.Split("=")[1]
}
}
}
Connecting iSCSI Initiators
When managing your gateway, you work with volumes or virtual tape library (VTL) devices that are
exposed as Internet Small Computer System Interface (iSCSI) targets. For volume gateways, the iSCSI
targets are volumes. For tape gateways, the targets are VTL devices. As part of this work, you do such
tasks as connecting to those targets, customizing iSCSI settings, connecting from a Red Hat Linux client,
and configuring Challenge-Handshake Authentication Protocol (CHAP).
Topics
•
Connecting to Your Volumes to a Windows Client (p. 365)
•
Connecting Your VTL Devices to a Windows client (p. 368)
•
Connecting Your Volumes or VTL Devices to a Linux Client (p. 372)
•
Customizing iSCSI Settings (p. 374)
•
Configuring CHAP Authentication for Your iSCSI Targets (p. 377)
The iSCSI standard is an Internet Protocol (IP)–based storage networking standard for initiating and
managing connections between IP-based storage devices and clients. The following list defines some of
the terms that are used to describe the iSCSI connection and the components involved.
iSCSI initiator
The client component of an iSCSI network. The initiator sends requests to the iSCSI target. Initiators
can be implemented in software or hardware. AWS Storage Gateway only supports software
initiators.
iSCSI target
The server component of the iSCSI network that receives and responds to requests from initiators.
Each of your volumes is exposed as an iSCSI target. Connect only one iSCSI initiator to each iSCSI
target.
Microsoft iSCSI initiator
The software program on Microsoft Windows computers that enables you to connect a client
computer (that is, the computer running the application whose data you want to write to the
gateway) to an external iSCSI-based array (that is, the gateway). The connection is made using the
host computer's Ethernet network adapter card. The Microsoft iSCSI initiator is already installed
on Windows Server 2008 R2, Windows 7, Windows Server 2008, and Windows Vista. On these
operating systems, you don't need to install the initiator.
API Version 2013-06-30
364