SpectroCloud/VertexUpgrade: Difference between revisions

From DER's LLC
Jump to navigation Jump to search
 
(11 intermediate revisions by the same user not shown)
Line 4: Line 4:
====1. Needed Downloads====
====1. Needed Downloads====
* Binaries: airgap-fips (ex. airgap-vertex-v4.5.15.bin)
* Binaries: airgap-fips (ex. airgap-vertex-v4.5.15.bin)
** RETOOL Location: Palette-Release -> Vertex Info -> Binaries -> "Airgap Binaries"
RETOOL Location: Palette-Release -> Vertex Info -> Binaries -> Type: Airgap Binaries
* Binaries: airgap-fips-scar-zip (ex. scar-airgap-vertex-v4.5.15.zip)
* Binaries: airgap-fips-scar-zip (ex. scar-airgap-vertex-v4.5.15.zip)
** RETOOL Location: Palette-Release -> Vertex Info -> Binaries -> "Scar Zip"
RETOOL Location: Palette-Release -> Vertex Info -> Binaries -> Type: Scar Zip
* Binaries: airgap-thirdparty (ex. airgap-thirdparty-4.5.bin)
* 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 -> Binaries -> Type: Third Party Binary
* Capi OS Image: k8s_fips (ex. u-2004-0-k-1311-fips.ova) (find supported version via https://docs.spectrocloud.com/release-notes/)
* Capi OS Image: k8s_fips (ex. u-2004-0-k-1311-fips.ova) (find supported version via https://docs.spectrocloud.com/release-notes/)
** RETOOL Location: Palette-Release -> Vertex Info -> Capi OS Images
RETOOL Location: Palette-Release -> Vertex Info -> Capi OS Images
* Airgap Binaries: kubernetes-<version> (ex. airgap-vertex-pack-kubernetes-1.30.5.bin)
* 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"
RETOOL Location: Palette-Release -> Vertex Info -> Airgap Binaries -> Search: "airgap-vertex-pack-kubernetes"
* Airgap Binaries: kubernetes-<version> (ex. airgap-vertex-pack-kubernetes-1.29.9.bin)
* 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"
RETOOL Location: Palette-Release -> Vertex Info -> Airgap Binaries -> Search: "airgap-vertex-pack-kubernetes"


====2. Upload the Updates====
====2. Upload the Updates====
Line 25: Line 25:
  export OCI_PACK_REGISTRY=harbor.dersllc.com
  export OCI_PACK_REGISTRY=harbor.dersllc.com
  export OCI_IMAGE_BASE=spectro-images
  export OCI_IMAGE_BASE=spectro-images
  export SC_VERSION='v4.5.15'
  export SC_VERSION='4.6.7'
 
  ###################
  ###################
  # Log-in via ORAS #
  # Log-in via ORAS #
Line 36: Line 36:
  #################################
  #################################
  chmod +x /nfs/Download/airgap-vertex-*
  chmod +x /nfs/Download/airgap-vertex-*
  /nfs/Download/airgap-vertex-$SC_VERSION.bin --nodiskspace --target /nfs/Download/airgap-vertex-$SC_VERSION/
chmod +x /nfs/Download/airgap-thirdparty-*
  # If Setting up CLI is not present in the output run the following:
  /nfs/Download/airgap-vertex-v$SC_VERSION.bin --nodiskspace --target /nfs/Download/airgap-vertex-v$SC_VERSION/
source /nfs/Download/airgap-vertex-$SC_VERSION/bin/functions.sh; cli_copy
  /nfs/Download/airgap-thirdparty-*
  /nfs/Download/airgap-vertex-pack-kubernetes-*
  /nfs/Download/airgap-vertex-pack-kubernetes-*
 
####################################################################
====3. Import OVAs ====
# UNZIP Manifest in /var/www/html/manifests/<Version> on ders-plex #
# Import the k8s_fips OVA (ex. u-2004-0-k-1311-fips.ova)
####################################################################
# Rename Image to "r_u-2004-0-k-<version>-fips" (ex. r_u-2004-0-k-1311-fips)
# ssh to ders-plex (Web service for SCAR)
# Convert VM to Template.
export SC_VERSION='v4.5.15'
 
mkdir -p /var/www/html/manifests/${SC_VERSION}
# Import the k8s_fips OVA (ex. u-2004-0-k-1306-fips.ova)
mv /nfs/Download/scar-airgap-vertex-${SC_VERSION}.zip /var/www/html/manifests/${SC_VERSION}
# Rename Image to "r_u-2004-0-k-<version>-fips" (ex. r_u-2004-0-k-1306-fips)
cd /var/www/html/manifests/${SC_VERSION}
# Convert VM to Template.
unzip scar-airgap-vertex-${SC_VERSION}.zip
 
cd ..
=== Vertex Upgrade Steps ===
rm -f latest
 
ln -s ${SC_VERSION}/ latest
# Log in to the Palette VerteX system console. (https://vertex.dersllc.com/system)
systemctl restart httpd
# From the left Main Menu, select Enterprise Cluster and then select the Profile tab.
# Copy the configurations for your CSI, CNI, and Kubernetes layers to an external location for backup.
# Test the new latest URL
# From the left Main Menu, select Administration > Pack Registries. Then, next to your spectro-packs registry, select the three-dot Menu > Sync.
curl http://172.16.84.22:8710/manifests/latest/roar/nickfury/versions.yaml
## Palette VerteX initiates a registry sync, which can take up to 30 minutes to complete.
# From the left Main Menu, select Update Management. Once the registry sync is done, Palette VerteX will prompt you to update to the new version. Click Update.

Latest revision as of 17:16, 20 February 2025

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 -> Type: Airgap Binaries
  • Binaries: airgap-fips-scar-zip (ex. scar-airgap-vertex-v4.5.15.zip)
RETOOL Location: Palette-Release -> Vertex Info -> Binaries -> Type: Scar Zip
  • Binaries: airgap-thirdparty (ex. airgap-thirdparty-4.5.bin)
RETOOL Location: Palette-Release -> Vertex Info -> Binaries -> Type: 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='4.6.7'

###################
# Log-in via ORAS #
###################
oras login harbor.dersllc.com --username 'admin' --password '<Password>'

#################################
# Import Containers into Harbor #
#################################
chmod +x /nfs/Download/airgap-vertex-*
chmod +x /nfs/Download/airgap-thirdparty-*
/nfs/Download/airgap-vertex-v$SC_VERSION.bin --nodiskspace --target /nfs/Download/airgap-vertex-v$SC_VERSION/
/nfs/Download/airgap-thirdparty-*
/nfs/Download/airgap-vertex-pack-kubernetes-*

3. Import OVAs

  1. Import the k8s_fips OVA (ex. u-2004-0-k-1311-fips.ova)
  2. Rename Image to "r_u-2004-0-k-<version>-fips" (ex. r_u-2004-0-k-1311-fips)
  3. Convert VM to Template.
  1. Import the k8s_fips OVA (ex. u-2004-0-k-1306-fips.ova)
  2. Rename Image to "r_u-2004-0-k-<version>-fips" (ex. r_u-2004-0-k-1306-fips)
  3. Convert VM to Template.

Vertex Upgrade Steps

  1. Log in to the Palette VerteX system console. (https://vertex.dersllc.com/system)
  2. From the left Main Menu, select Enterprise Cluster and then select the Profile tab.
  3. Copy the configurations for your CSI, CNI, and Kubernetes layers to an external location for backup.
  4. From the left Main Menu, select Administration > Pack Registries. Then, next to your spectro-packs registry, select the three-dot Menu > Sync.
    1. Palette VerteX initiates a registry sync, which can take up to 30 minutes to complete.
  5. From the left Main Menu, select Update Management. Once the registry sync is done, Palette VerteX will prompt you to update to the new version. Click Update.