Upgrading the Portal Image Via the Command Line
  • 31 Mar 2022
  • 1 Minute to read
  • Dark
    Light
  • PDF

Upgrading the Portal Image Via the Command Line

  • Dark
    Light
  • PDF

Article Summary

When using CLI to upgrade the portal, you have to stop all the portal servers before upgrading the image.

To upgrade the CTERA Portal Image:

  1. Stop the portal servers.
    First stop all application and preview servers. Next stop the main database server and finally stop the replication database server, if available.
    1. Using SSH, log in as root to your CTERA Portal server.
    2. Run the following command: portal-manage.sh stop
      Once services are stopped, the Done message is displayed on the screen.
  2. When all servers are in a stop state, upgrade the portal image.
    1. Using SSH, log in as root to your CTERA Portal server.
    2. Copy the upgrade installer into the machine.
    3. Navigate to the location of the installer and run the following command: tar xvf portal-installer-linux-6.x.xxx.tar.bz2
    4. Navigate to the cd portal-installer-linux-6.x.xxx subdirectory and run the following command: ./install.sh –u
  3. Restart the servers.
    First start the main database server. Next start the replication database server, if available. Finally start the application and preview servers.
    1. Using SSH, log in as root to your CTERA Portal server.
    2. Start the CTERA Portal: portal-manage.sh start
      When the image kernel was also upgraded, an additional restart is also required to complete the kernel upgrade.
      1. Stop the portal: portal-manage.sh stop
      2. Start the portal: portal-manage.sh start
Note

The additional stop and start commands above are mandatory in order to complete the kernel upgrade.


Was this article helpful?