Skip to main content
Version: 0.4.X

Upgrade

important

The upgrade script starts to take effect from version 0.4.4. That is, you can use it if your current TNLCM version is 0.4.4 or higher. If you have a version lower than 0.4.4, please starts from the beginning.

Access to TNLCM virtual machine​

Access via SSH to OpenNebula frontend.

Access via SSH to the TNLCM virtual machine that is running in OpenNebula frontend. You can use the following command:

onevm ssh <VM_ID-OR-VM_NAME>

Download upgrade scripts​

Backend​

Download the backend upgrade script using one of the following command.

  • Using curl:
curl -O https://raw.githubusercontent.com/6G-SANDBOX/TNLCM/v0.4.5/scripts/upgrade.sh
  • Using wget:
wget https://raw.githubusercontent.com/6G-SANDBOX/TNLCM/v0.4.5/scripts/upgrade.sh

Frontend​

Download the frontend upgrade script using one of the following command.

  • Using curl:
curl -O https://raw.githubusercontent.com/6G-SANDBOX/TNLCM_FRONTEND/v0.4.5/scripts/upgrade.sh
  • Using wget:
wget https://raw.githubusercontent.com/6G-SANDBOX/TNLCM_FRONTEND/v0.4.5/scripts/upgrade.sh

Execute upgrade script​

Start with the backend upgrade script.

Give execution permissions to backend upgrade script:

chmod +x upgrade.sh

Run the script:

./upgrade.sh

Select the version you want to upgrade.

After the backend upgrade, proceed with the frontend upgrade script.

Give execution permissions to backend upgrade script:

chmod +x upgrade.sh

Run the script:

./upgrade.sh

Select the version you want to upgrade.