Use the command-line installer to script or automate your vCenter Cloud Gateway Appliance installation.
Prerequisites
Verify that the host on which you intend to the install the
vCenter Cloud Gateway Appliance meets the following hardware requirements.
Procedure
- Download the VMware vCenter Cloud Gateway Appliance from https://my.vmware.com/en/web/vmware/details?downloadGroup=VMC_GA&productId=664.
You are directed to My VMware, where you can complete the download of the appliance installer ISO image.
- Prepare a JSON template for the installation.
- In the installer ISO image, browse to the cli-installer/templates directory.
This directory contains sample JSON templates for installing
vCenter Cloud Gateway Appliance either directly on an
ESXi host or through a
vCenter Server system.
- Copy a template to a working directory and edit it to include the necessary parameters.
For more information about available template parameters, invoke the installer with the option
--template-help. For example, on Windows, enter
vcgw-deploy.exe install --template-help.
- From the command line, change directory to the cli-installer directory and run the installation prechecks.
- For Windows OS, enter vcgw-deploy.exe install path-to-template --precheck-only.
- For Linux OS, enter vcgw-deploy install path-to-template --precheck-only.
- For Mac OS, enter vcgw-deploy install path-to-template --precheck-only.
The prechecks identify problems with the template and parameters provided, so that you can fix any errors before launching the installation.
- Launch the installer.
- For Windows OS, enter vcgw-deploy.exe install path-to-template --accept-eula.
- For Linux OS, enter vcgw-deploy install path-to-template --accept-eula.
- For Mac OS, enter vcgw-deploy install path-to-template --accept-eula.