Virtalis Reach Help

Upgrading Virtalis Reach from Version 2021.3.1 to 2021.4.0

Introduction

This document is designed to help a systems administrator upgrade Virtalis Reach from version 2021.3.1 to 2021.4.0.

Pre-installation

Before continuing to the next section, please refer to Virtalis Reach Automated Backup System and perform a full backup of the system.

Set Up Variables

Substitute and export the following variables:

export REACH_NAMESPACE=<name of kubernetes namespace Virtalis Reach is deployed in>

Export the following variables:

export REACH_VERSION=2021.4.0
export SKIP_MIGRATIONS=0
export ACR_REGISTRY_NAME=$(kubectl get secret reach-install-config -n $REACH_NAMESPACE  -o json | jq ".data.ACR_REGISTRY_NAME" -r | base64 -d)
export ACR_USERNAME=$(kubectl get secret reach-install-config -n $REACH_NAMESPACE  -o json | jq ".data.ACR_USERNAME" -r | base64 -d)
export ACR_PASSWORD=$(kubectl get secret reach-install-config -n $REACH_NAMESPACE  -o json | jq ".data.ACR_PASSWORD" -r | base64 -d)

Download Installation Files

Log in with Oras:

oras login "${ACR_REGISTRY_NAME}".azurecr.io \
--username "${ACR_USERNAME}" \
-p "${ACR_PASSWORD}"

Make a backup of the old installation files:

mv /home/root/Reach /home/root/.Reach

Make a directory to store installation files:

mkdir /home/root/Reach && cd /home/root/Reach

Pull the Kubernetes deployment file archive from the Virtalis registry and unzip it:

oras pull "${ACR_REGISTRY_NAME}".azurecr.io/misc/k8s:$REACH_VERSION &&
tar -zxvf k8s.tar.gz

Make the installation scripts executable:

cd k8s && sudo chmod +x *.sh

Installation

Load Previous Configuration

. ./load-install-config.sh

Create Secrets

./create-secrets.sh

Deploy Reach

./deploy.sh
Print page
2021.4
December 9, 2021 8:06

Need more?