How can I deploy a file gateway on a VMware 6.5 HA cluster using the vSphere Web Client?

Last updated: 2020-06-25

I want to deploy an AWS Storage Gateway file gateway. I want to deploy my gateway on a VMware 6.5 High Availability (HA) cluster. How can I use the vSphere Web Client to deploy the gateway?

Resolution

From the Storage Gateway console, download the VMware ESXi image

  1. Open the Storage Gateway console.
  2. Choose Create gateway.
  3. For Select gateway type, select File gateway.
  4. For Select host platform, select VMware ESXi. Then, choose Download image.

Note: Don't close the window or tab with the Storage Gateway console. You'll go back to the console in a later step.

From the vSphere Web Client, deploy the Open Virtualization Format (OVF) template

  1. 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.
  2. On the left navigation pane, right-click on Datacenter, and then choose Deploy OVF Template.
  3. 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.
  4. Choose Next.
  5. For Virtual machine name, enter a name for your virtual machine (VM). Then, choose Next.
  6. For Select a compute resource, select the VMware cluster node where you want to deploy your gateway. Then, choose Next.
  7. Review the details of your template, and then choose Next.
  8. For Select storage, select the VMware shared datastore where you want to store the VM. Then, choose Next.
  9. For Select networks, select the network that you want to assign to the gateway. Then, choose Next.
  10. Review the details of your configuration, and then choose Finish.
  11. 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

  1. On the left navigation pane, right-click on the VM that you created. Then, choose Edit Settings.
  2. 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 Storage requirements.
  3. Confirm that the VM is using SCSI controller 0 and that Change Type is VMware Paravirtual.
  4. 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.
  5. For New Hard disk, enter 150 GB at minimum.
  6. Choose the VM Options tab.
  7. Expand VMware Tools. Then, for Time, select the check box for Synchronize guest time with host.
  8. Choose OK.
  9. On the main details page of your VM, choose the play button next to the name of your VM.
  10. 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 Storage Gateway console, complete the steps to create the file gateway

  1. Go back to the Storage Gateway console. You should be on the Select host platform page.
  2. Confirm that VMware ESXi is selected. Then, choose Next.
  3. For Endpoint type, choose Public. Then, choose Next.
  4. For Connect to gateway, enter the IP address that you noted in step 10 of From the vSphere Web Client, prepare the file gateway VM for activation.
  5. Choose Connect to gateway.
  6. Complete the steps to activate the gateway, configure local disks, and configure logging.

From the vSphere Web Client, complete the network configuration steps for your VM

  1. Go back to the vSphere Web Client. You should be on the page with the details of your VM.
  2. Choose Launch Remote Console.
  3. 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.
  4. For Enter command, enter 2 to go to the AWS Storage Gateway - Network Configuration menu.
  5. For Enter command, enter 3 to configure the static IP address.
  6. For Enter network adapter, enter the name of the available adapter.
  7. For Enter IP Address, enter 10.1.1.212.
  8. For Enter network mask, enter 255.255.255.0.
  9. For Enter default gateway, enter 10.1.1.1.
  10. For Apply config, enter y.
  11. 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.
  12. For Enter command, enter 6 to edit the DNS configuration.
  13. For Enter network adapter, enter the available adapter.
  14. For Enter primary DNS, enter the primary DNS for your server.
  15. For Apply config, enter y.
  16. After the changes are applied, for Enter command, enter 7 to view the DNS configuration so that you can confirm the changes.
  17. After you confirm the settings, for Enter command, enter x to complete your configuration and exit.
  18. For Restart gateway now, enter y.
  19. On the AWS Storage Gateway - Configuration menu, synchronize your gateway VM time.
  20. On the AWS Storage Gateway - Configuration menu, for Enter command, enter 3 to test the connection between the gateway to the gateway service endpoints in your AWS Region.
  21. Confirm that all connectivity tests return [ PASSED ].

Did this article help?


Do you need billing or technical support?