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:
  1. You cannot move the existing airgap server to an Internet accessible network.
  2. You have set up the existing airgap server with VMware Telco Cloud Automation version 1.9.5.

Procedure

  1. Deploy a new Photon OS OVA. For more information, see Prerequisites for Setting up the Airgap Repository.
  2. To set up the airgap server, follow the steps 1 to 3 listed in Set up the Airgap Server and perform the following modifications:
    1. 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
    2. 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/
    3. 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
    4. Complete the remaining steps listed in Set up the Airgap Server.
  3. Export the airgap server virtual appliance. For more information, see the VMware vSphere Product Documentation here.
  4. To replace the existing airgap server with the new one, perform the following steps:
    1. Move the existing airgap server to the offline mode.
    2. 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.