AppViewX 2020.3.0 FP10 (CentOS) to v2024.3.0.0 (Ubuntu/RHEL)

Overview
  1. Take the mongodb and vault backup from the old CentOS environment.
  2. Install AppViewX v2024.3.0.0 in the new environment with Ubuntu/RHEL.
  3. Restore mongodb in the new environment.
  4. Restore the vault in the new environment.
  5. Trigger the plugins install.
  1. In the CentOS environment, take mongodb and vault backup as follows
    1. Navigate to installer node’s scripts directory - <appviewx_installer_location>/appviewx_kubernetes/scripts/
    2. Initiate a backup of the AppViewX Database using the following command
      ./mongo_backup.sh
      After the backup is taken successfully, the database's backup file and its location are displayed on the screen. Copy this backup file to a safe location for future reference.
    3. Initiate a backup of the Secrets Vault using the command
      ./vault_backup.sh
      After the backup is taken successfully, the vault's backup file and its location are displayed on the screen. Copy this backup file to a safe location for future reference.
  2. If you have completed the backup process, proceed to install the new server with the chosen version on the supported operating system.
    1. Choose the preferred OS or OVA from the supported list.
      1. RHEL (8.7, 8.8, 8.10, 9.2, 9.3 or 9.4)
      2. Ubuntu 20.04 LTS, 22.04
      3. Ubuntu OVA (with Ubuntu 20.04 LTS)
    2. Once you have decided on the OS or OVA, install the AppViewX server by following the steps below:
      1. Install 2024.3.0.0 with OVA - Click here or
      2. Install 2024.3.0.0 with installer - Click here
  3. To restore mongodb in the new environment,
    1. Copy the backed up file(s) to the new environment’s installer node.
    2. Navigate to the installer location’s scripts directory - <appviewx_installer_location>/appviewx_kubernetes/scripts/
    3. Restore the database by triggering database restoration script. Execute the following command:
      ./mongo_restore.sh <location of mongo backup file>

      Example:

      ./mongo_restore.sh /home/appviewx/mongo_backup/mongo_backup_Fri_Jul_7_10_14_12_IST_2023.tar.gz
    4. Wait for the successful completion message.
  4. Restore the Secrets Vault by triggering the vault restoration script by using the following command:
    ./vault_restore.sh -p <location of vault backup file> --removedek

    Example:

    ./vault_restore.sh -p /home/appviewx/vault_backup/vault_backup_Wed_Jul_28_05_50_40_UTC_2021 –removedek
  5. To install plugins,
    1. Navigate to the appviewx_kubernetes/scripts folder.
    2. Execute the following command
      ./plugins_install.sh