How can I deploy a file gateway on a VMware 6.5 HA cluster using the vSphere Web Client?
Last updated: 2022-05-11
I want to deploy an AWS Storage Gateway file gateway on a VMware 6.5 High Availability (HA) cluster. I want to use the vSphere Web Client to deploy the gateway.
From the Storage Gateway console, download the VMware ESXi image
- Open the Storage Gateway console.
- Choose Create gateway.
- Under Gateway settings, enter a name for the gateway, and select the gateway time zone.
- For Gateway type, select Amazon FSx File gateway.
- For Host platform, select VMware ESXi. Then, choose Download OVF template.
- Select I downloaded the OVF template and completed the deployment and then followed all the steps above, and then choose Next.
Note: Don't close the window or tab with the Storage Gateway console. You'll return to the console in a later step.
From the vSphere Web Client, deploy the Open Virtualization Format (OVF) template
- In a new browser window or tab, log in to the vSphere Web Client. For more information, see Log in to vCenter Server using the vSphere Web Client on the VMware vSphere Documentation Center.
- In the left navigation pane, right-click on Datacenter, and then choose Deploy OVF Template.
- For Select an OVF template, select Local file. Choose Browse, and then select the file that you downloaded in step 4 of From the Storage Gateway console, download the VMware ESXi image.
- Choose Next.
- For Virtual machine name, enter a name for your virtual machine (VM). Then, choose Next.
- For Select a compute resource, select the VMware cluster node where you want to deploy your gateway. Then, choose Next.
- Review the details of your template, and then choose Next.
- For Select storage, select the VMware shared datastore where you want to store the VM. Then, choose Next.
- For Select networks, select the network that you want to assign to the gateway. Then, choose Next.
- Review the details of your configuration, and then choose Finish.
- Wait for the Status of the Deploy OVF template and Import OVF package tasks to change to Completed.
From the vSphere Web Client, prepare the file gateway VM for activation
- In the left navigation pane, right-click on the VM that you created. Then, choose Edit Settings.
- In the Edit Settings dialog box, expand Memory. Then, for Reservation, enter 16 GB at minimum. Select the check box for Reserve all guest memory (All locked). Note: For more information on the minimum memory requirements, see Hardware and storage requirements.
- Confirm that the VM is using SCSI controller 0 and that Change Type is VMware Paravirtual.
- From the Edit Settings dialog box, choose ADD NEW DEVICE, and then choose Hard Disk. This adds a new hard drive for your file gateway cache.
- For New Hard disk, enter 150 GB as the minimum.
- Choose the VM Options tab.
- Expand VMware Tools. Then, for Time, select the check box for Synchronize guest time with host. For more information, see Synchronizing VM time with host time.
- Choose OK.
- On the main details page of your VM, choose the play button next to the name of your VM.
- After your VM starts, note the IP Addresses listed on the VM details page.
Note: Don't close the window or tab with the vSphere Web Client. You'll go back to the web client in a later step.
From the vSphere Web Client, complete the network configuration steps for your VM
- Go back to the vSphere Web Client to the page with the details of your VM.
- Choose Launch Remote Console.
- After the VMware Remote Console launches, log in with localhost login as admin, and Password as password. This takes you to the AWS Storage Gateway - Configuration menu.
- For Enter command, enter 2 to go to the AWS Storage Gateway - Network Configuration menu.
- For Enter command, enter 3 to configure the static IP address.
- For Enter network adapter, enter the name of the available adapter.
- For Enter IP Address, Ex: 10.1.1.212.
- For Enter network mask, enter Ex: 255.255.255.0.
- For Enter default gateway, enter Ex: 10.1.1.1.
- For Apply config, enter y.
- After the changes are applied, for Enter command, enter 1 to describe the adapter so that you can confirm the changes. Then, press return to continue.
- For Enter command, enter 6 to edit the DNS configuration.
- For Enter network adapter, enter the available adapter.
- For Enter primary DNS, enter the primary DNS for your server.
- For Apply config, enter y.
- After the changes are applied, for Enter command, enter 7 to view the DNS configuration so that you can confirm the changes.
- After you confirm the settings, for Enter command, enter x to complete your configuration and exit.
- For Restart gateway now, enter y.
- On the AWS Storage Gateway - Configuration menu, synchronize your gateway VM time.
- On the AWS Storage Gateway - Configuration menu, for Enter command, enter 3 to test the connection between the gateway appliance and AWS Storage Gateway service endpoints (client-cp, dp-1,anon-cp, and proxy-app) in your AWS Region. For more information, see Testing your gateway's network connectivity.
- Confirm that all connectivity tests return [ PASSED ].
From the Storage Gateway console, complete the steps to create the file gateway
- Open the Storage Gateway console tab or window. Be sure that you are on the Connect to AWS page.
- For Service endpoint, choose Publicly accessible.
- For Connection options, select IP address.
- For IP address, enter the IP address that you noted in step 10 of From the vSphere Web Client, prepare the file gateway VM for activation.
- Choose Next.
- Complete the steps to activate the gateway and configure your Amazon Simple Storage Service (Amazon S3) File Gateway.