After uploading the airgap server OVA to the local file server, deploy the airgap server in the VMware Telco Cloud Automation environment.
Prerequisites
To use the airgap server in the VMware Telco Cloud Automation system, you must configure a DNS server for resolving the airgap server domain name. This DNS server is useful when deploying VMware Tanzu Kubernetes clusters.
Procedure
- Use the OVA that you imported into the local file system and deploy the airgap server virtual machine on the target Internet-restricted environment.
- Power on the virtual machine and log into it.
- To prepare the system for the target environment, define the environment-related parameters in the user-input.yml file and run the Ansible Playbook. In the deploy phase, use the deploy-user-inputs.yml as a template for storing customization parameters. The customization parameters include:
root@photon-machine [ ~/airgap/scripts/vars ]# ls
deploy-user-inputs.yml setup-user-inputs.yml
root@photon-machine [ ~/airgap/scripts/vars ]# cp deploy-user-inputs.yml user-inputs.yml
root@photon-machine [ ~/airgap/scripts/vars ]# vi user-inputs.yml
The
deploy-user-inputs.yml file at
scripts/vars provides an example of the required inputs in the deployment phase. You can copy it to your
user-inputs.yml file and modify according to your environment requirement.
- To customize the airgap server, run the deploy.yml file.
root@photon-machine [ ~/airgap ]# scripts/bin/run.sh deploy
Results
You can lose connection if Ansible Playbook changes the IP address on eth0. If you lose connection, log back in and verify the ansible.log file for changes. During deployment, the airgap server does not synchronize its repository from the Internet. Hence, it takes only a few minutes for completing the customizations.