To upgrade to a later version of VMware Telco Cloud Automation, build a brand new airgap server for hosting the images and packages of the existing version and the target version.
Prerequisites
Build a new airgap server when:
- You cannot move the existing airgap server to an Internet accessible network.
- You have set up the existing airgap server with VMware Telco Cloud Automation version 1.9.5.
Procedure
- Deploy a new Photon OS OVA. For more information, see Prerequisites for Setting up the Airgap Repository.
- To set up the airgap server, follow the steps 1 to 3 listed in Set up the Airgap Server and perform the following modifications:
- Download the existing VMware Telco Cloud Automation file bundle from the VMware Customer Connect site. The following table lists the file name according to the version of VMware Telco Cloud Automation.
Version File Name 1.9.5 VMware-Telco-Cloud-Automation-airgap-files-1.9.5<.x>-.tar.gz 2.0 VMware-Telco-Cloud-Automation-airgap-files-2.0.0-.tar.gz - Copy the downloaded airgap server bundle to the new airgap server, and extract its local BOMs to the airgap BOM folder.
For VMware Telco Cloud Automation 1.9.5:
[~]$ scp VMware-Telco-Cloud-Automation-airgap-files-1.9.5.x-<build-number>.tar.gz root@<airgap-server-ip>:/root/
On the airgap server:root@photon-machine [ ~ ]# tar vxf VMware-Telco-Cloud-Automation-airgap-files-1.9.5.x-<build-number>.tar.gz root@photon-machine [ ~ ]# ls bom/ airgap-extra-1.9.5.x-<build-number>.yaml tkg-bom-v1.3.1-patch1.yaml k8sbootstrapper-airgap-1.9.5.x-<build-number>.yaml tkr-bom-v1.20.5+vmware.2-tkg.1.yaml root@photon-machine [ ~ ]# cp bom/k8sbootstrapper-airgap-1.9.5.x-<build-number>.yaml airgap/bom/ root@photon-machine [ ~ ]# cp bom/airgap-extra-1.9.5.x-<build-number>.yaml airgap/bom
For VMware Telco Cloud Automation 2.0:[~]# scp VMware-Telco-Cloud-Automation-airgap-files-2.0.0-<build-number>.tar.gz root@<airgap-server-ip>:/root/
on the airgap server:root@photon-machine [ ~ ]# tar vxfz VMware-Telco-Cloud-Automation-airgap-files-2.0.0-<build-number>.tar.gz airgap/bom/
- Perform step 4 as listed in Set up the Airgap Server. When defining the user input, specify multiple upgrade versions of VMware Telco Cloud Automation in the
tca_versions
field.root@photon-machine [ ~ ]# cd airgap/scripts/vars root@photon-machine [ ~/airgap/scripts/vars ]# ls deploy-user-inputs.yml setup-user-inputs.yml root@photon-machine [ ~/airgap/scripts/vars ]# cp setup-user-inputs.yml user-inputs.yml root@photon-machine [ ~/airgap/scripts/vars ]# vi user-inputs.yml # 1. General Configurations # tca_versions: TCA versions this airgap server to serve for, values "1.9.5", # "2.0.0", "2.0.1" or "1.9.5+2.0.0+2.0.1" # server_fqdn: airgap server domain name # root: root folder for the ansible runtime output files tca_versions: 1.9.5+2.0.0+2.0.1
- Complete the remaining steps listed in Set up the Airgap Server.
- Download the existing VMware Telco Cloud Automation file bundle from the VMware Customer Connect site. The following table lists the file name according to the version of VMware Telco Cloud Automation.
- Export the airgap server virtual appliance. For more information, see the VMware vSphere Product Documentation here.
- To replace the existing airgap server with the new one, perform the following steps:
- Move the existing airgap server to the offline mode.
- Deploy the new airgap server using steps listed in Deploy Airgap Servers from the Airgap OVA. Use the same IP address, FQDN, and connect it to the same network as the previous airgap server.