SpectroCloud/VertexUpgrade

From DER's LLC
Jump to navigation Jump to search

Vertex Upgrade Process

Vertex Upgrade

Pre Requisites

1. Needed Downloads

  • Binaries: airgap-fips (ex. airgap-vertex-v4.5.15.bin)
RETOOL Location: Palette-Release -> Vertex Info -> Binaries -> "Airgap Binaries"
  • Binaries: airgap-fips-scar-zip (ex. scar-airgap-vertex-v4.5.15.zip)
RETOOL Location: Palette-Release -> Vertex Info -> Binaries -> "Scar Zip"
  • Binaries: airgap-thirdparty (ex. airgap-thirdparty-4.5.bin)
RETOOL Location: Palette-Release -> Vertex Info -> Binaries -> "Third Party Binary"
RETOOL Location: Palette-Release -> Vertex Info -> Capi OS Images
  • Airgap Binaries: kubernetes-<version> (ex. airgap-vertex-pack-kubernetes-1.31.1.bin)
RETOOL Location: Palette-Release -> Vertex Info -> Airgap Binaries -> Search: "airgap-vertex-pack-kubernetes"
  • Airgap Binaries: kubernetes-<version> (ex. airgap-vertex-pack-kubernetes-1.30.6.bin)
RETOOL Location: Palette-Release -> Vertex Info -> Airgap Binaries -> Search: "airgap-vertex-pack-kubernetes"

2. Upload the Updates

  • Run the BIN Files
#################
# SET VARIABLES #
#################
export OCI_IMAGE_REGISTRY=harbor.dersllc.com
export OCI_PACK_BASE=spectro-images
export OCI_PACK_REGISTRY=harbor.dersllc.com
export OCI_IMAGE_BASE=spectro-images
export SC_VERSION='v4.5.15'
###################
# Log-in via ORAS #
###################
oras login harbor.dersllc.com --username 'admin' --password '<Password>'

#################################
# Import Containers into Harbor #
#################################
chmod +x /nfs/Download/airgap-vertex-*
/nfs/Download/airgap-vertex-$SC_VERSION.bin --nodiskspace --target /nfs/Download/airgap-vertex-$SC_VERSION/
# If Setting up CLI is not present in the output run the following:
source /nfs/Download/airgap-vertex-$SC_VERSION/bin/functions.sh; cli_copy
/nfs/Download/airgap-vertex-pack-kubernetes-*

####################################################################
# UNZIP Manifest in /var/www/html/manifests/<Version> on ders-plex #
####################################################################
# ssh to ders-plex (Web service for SCAR)
export SC_VERSION='v4.5.15'
mkdir -p /var/www/html/manifests/${SC_VERSION}
mv /nfs/Download/scar-airgap-vertex-${SC_VERSION}.zip /var/www/html/manifests/${SC_VERSION}
cd /var/www/html/manifests/${SC_VERSION}
unzip scar-airgap-vertex-${SC_VERSION}.zip
cd ..
rm -f latest
ln -s ${SC_VERSION}/ latest
systemctl restart httpd

# Test the new latest URL
curl http://172.16.84.22:8710/manifests/latest/roar/nickfury/versions.yaml