AWS Storage Gateway User Guide
Managing Gateway Updates
.NOTES
PREREQUISITES:
1) AWS Tools for PowerShell from http://aws.amazon.com/powershell/
2) Credentials and region stored in session using Initialize-AWSDefault.
For more info see, http://docs.amazonaws.cn/powershell/latest/userguide/specifying-
your-aws-credentials.html
.EXAMPLE
powershell.exe .\SG_UpdateBandwidth.ps1
#>
$UploadBandwidthRate = 51200
$DownloadBandwidthRate = 102400
$gatewayARN = "*** provide gateway ARN ***"
#Update Bandwidth Rate Limits
Update-SGBandwidthRateLimit -GatewayARN $gatewayARN `
-AverageUploadRateLimitInBitsPerSec $UploadBandwidthRate `
-AverageDownloadRateLimitInBitsPerSec $DownloadBandwidthRate
$limits = Get-SGBandwidthRateLimit -GatewayARN $gatewayARN
Write-Output("`nGateway: " + $gatewayARN);
Write-Output("`nNew Upload Rate: " + $limits.AverageUploadRateLimitInBitsPerSec)
Write-Output("`nNew Download Rate: " + $limits.AverageDownloadRateLimitInBitsPerSec)
Managing Gateway Updates Using the AWS
Storage Gateway Console
AWS Storage Gateway periodically releases important software updates for your gateway. Either you
can manually apply updates on the AWS Storage Gateway Management Console, or the updates are
automatically applied during the configured maintenance schedule. Although Storage Gateway checks
for updates every week or every month, it only goes through maintenance and restart if there are
updates.
Before any update is applied to your gateway, AWS notifies you with a message on the Storage Gateway
console and your AWS Personal Health Dashboard. For more information, see
. The VM doesn't reboot, but the gateway is unavailable for a short period while it's being
updated and restarted.
When you deploy and activate your gateway, a default weekly maintenance schedule is set. You can
modify the maintenance schedule at any time. When updates are available, the
Details
tab displays a
maintenance message. You can see the date and time that the last successful update was applied to your
gateway on the
Details
tab.
Important
You can minimize the chance of any disruption to your applications due to the gateway
restart by increasing the timeouts of your iSCSI initiator. For more information about
increasing iSCSI initiator timeouts for Windows and Linux, see
Customizing Your Windows iSCSI
and
Customizing Your Linux iSCSI Settings (p. 376)
To modify the maintenance schedule
1. Open the AWS Storage Gateway console at
https://console.amazonaws.cn/storagegateway/home
.
2. On the navigation pane, choose
Gateways
, and choose the gateway that you want to modify the
update schedule for.
3. On the
Actions
menu, choose
Edit maintenance window
.
API Version 2013-06-30
228