Upgrading the Portal Image Via the Command Line
- 31 Mar 2022
- 1 Minute to read
- Print
- DarkLight
- PDF
Upgrading the Portal Image Via the Command Line
- Updated on 31 Mar 2022
- 1 Minute to read
- Print
- DarkLight
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
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:
- 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.- Using SSH, log in as root to your CTERA Portal server.
- Run the following command:
portal-manage.sh stop
Once services are stopped, theDone
message is displayed on the screen.
- When all servers are in a stop state, upgrade the portal image.
- Using SSH, log in as root to your CTERA Portal server.
- Copy the upgrade installer into the machine.
- Navigate to the location of the installer and run the following command:
tar xvf portal-installer-linux-6.x.xxx.tar.bz2
- Navigate to the cd portal-installer-linux-6.x.xxx subdirectory and run the following command:
./install.sh –u
- Restart the servers.
First start the main database server. Next start the replication database server, if available. Finally start the application and preview servers.- Using SSH, log in as root to your CTERA Portal server.
- 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.- Stop the portal:
portal-manage.sh stop
- Start the portal:
portal-manage.sh start
- Stop the portal:
Note
The additional stop and start commands above are mandatory in order to complete the kernel upgrade.
Was this article helpful?