Amazon FSx File Gateway documentation has been moved to What is Amazon FSx File Gateway?
Volume Gateway documentation has been moved to What is Volume Gateway?
Tape Gateway documentation has been moved to What is Tape Gateway?
Configuring VMware for Storage Gateway
When configuring VMware for Storage Gateway, make sure to synchronize your VM time with your host time, configure VM to use paravirtualized disk controllers when provisioning storage and provide protection from failures in the infrastructure layer supporting a gateway VM.
Synchronizing VM Time with Host Time
To successfully activate your gateway, you must ensure that your VM time is synchronized to the host time, and that the host time is correctly set. In this section, you first synchronize the time on the VM to the host time. Then you check the host time and, if needed, set the host time and configure the host to synchronize its time automatically to a Network Time Protocol (NTP) server.
Synchronizing the VM time with the host time is required for successful gateway activation.
To synchronize VM time with host time
-
Configure your VM time.
-
In the vSphere client, open the context (right-click) menu for your gateway VM, and choose Edit Settings.
The Virtual Machine Properties dialog box opens.
-
Choose the Options tab, and choose VMware Tools in the options list.
-
Check the Synchronize guest time with host option, and then choose OK.
The VM synchronizes its time with the host.
-
-
Configure the host time.
It is important to make sure that your host clock is set to the correct time. If you have not configured your host clock, perform the following steps to set and synchronize it with an NTP server.
-
In the VMware vSphere client, select the vSphere host node in the left pane, and then choose the Configuration tab.
-
Select Time Configuration in the Software panel, and then choose the Properties link.
The Time Configuration dialog box appears.
-
In the Date and Time panel, set the date and time.
-
Configure the host to synchronize its time automatically to an NTP server.
-
Choose Options in the Time Configuration dialog box, and then in the NTP Daemon (ntpd) Options dialog box, choose NTP Settings in the left pane.
-
Choose Add to add a new NTP server.
-
In the Add NTP Server dialog box, type the IP address or the fully qualified domain name of an NTP server, and then choose OK.
You can use
pool.ntp.org
as shown in the following example. -
In the NTP Daemon (ntpd) Options dialog box, choose General in the left pane.
-
In the Service Commands pane, choose Start to start the service.
Note that if you change this NTP server reference or add another later, you will need to restart the service to use the new server.
-
-
Choose OK to close the NTP Daemon (ntpd) Options dialog box.
-
Choose OK to close the Time Configuration dialog box.
-
Using Storage Gateway with VMware High Availability
VMware High Availability (HA) is a component of vSphere that can provide protection from
failures in the infrastructure layer supporting a gateway VM. VMware HA does this by
using multiple hosts configured as a cluster so that if a host running a gateway VM
fails, the gateway VM can be restarted automatically on another host within the cluster.
For more information about VMware HA, see VMware HA: Concepts and Best
Practices
To use Storage Gateway with VMware HA, we recommend doing the following things:
-
Deploy the VMware ESX
.ova
downloadable package that contains the Storage Gateway VM on only one host in a cluster. -
When deploying the
.ova
package, select a data store that is not local to one host. Instead, use a data store that is accessible to all hosts in the cluster. If you select a data store that is local to a host and the host fails, then the data source might not be accessible to other hosts in the cluster and failover to another host might not succeed. -
With clustering, if you deploy the
.ova
package to the cluster, select a host when you are prompted to do so. Alternately, you can deploy directly to a host in a cluster.