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

6 minute read
0

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.

Resolution

From the Storage Gateway console, download the VMware ESXi image

  1. Open the Storage Gateway console.
  2. Choose Create gateway.
  3. Under Gateway settings, enter a name for the gateway, and select the gateway time zone.
  4. For Gateway type, select Amazon FSx File gateway.
  5. For Host platform, select VMware ESXi. Then, choose Download OVF template.
  6. 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

  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. In 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. In 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 Hardware and 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 as the minimum.
  6. Choose the VM Options tab.
  7. 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.
  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 vSphere Web Client, complete the network configuration steps for your VM

  1. Go back to the vSphere Web Client to 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, Ex: 10.1.1.212.
  8. For Enter network mask, enter Ex: 255.255.255.0.
  9. For Enter default gateway, enter Ex: 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 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.
  21. Confirm that all connectivity tests return [ PASSED ].

From the Storage Gateway console, complete the steps to create the file gateway

  1. Open the Storage Gateway console tab or window. Be sure that you are on the Connect to AWS page.
  2. For Service endpoint, choose Publicly accessible.
  3. For Connection options, select IP address.
  4. 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.
  5. Choose Next.
  6. Complete the steps to activate the gateway and configure your Amazon Simple Storage Service (Amazon S3) File Gateway.

Note: You can use the steps for both Amazon S3 File Gateway and Amazon FSx File Gateway deploying on vSphere HA-enabled cluster.


AWS OFFICIAL
AWS OFFICIALUpdated 2 years ago