Upgrading a CTERA Portal
  • 4 Minutes to read
  • Dark
    Light
  • PDF

Upgrading a CTERA Portal

  • Dark
    Light
  • PDF

Article Summary

Note

Folder groups with a block size greater than 4MB are not supported from CTERA Portal version 6.0.x. If you have an existing portal with folder groups greater than 4MB, the upgrade will fail. Before starting the upgrade, move files from a folder group with a block size greater than 4MB to a different folder group with a block size less than 4MB. The folder group size is configured in the settings for the portal.
image.png

CTERA recommends installing a new image and new software with the help of CTERA Support.

The procedure to upgrade an existing CTERA Portal installation is dependent on whether the upgrade involves upgrading the portal software or both the portal image and the software.

As a general rule, new releases include both image and software upgrades and CTERA strongly recommends that you upgrade both. The release notes for each release specifies whether a portal image upgrade is required in addition to a portal software upgrade.

When a performing a portal upgrade that includes upgrading the portal image the image must be upgraded before the software.

You can upgrade both the image (Upgrading the Portal Image) and the software via CLI (Upgrading the Portal Software).

CTERA strongly recommends upgrading the portal image and software with the help of CTERA Support.

Upgrading the Portal Image

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

Note

Customers without Internet access and upgrading the Portal image from version 6.0.x, require manually installing packages for syslog functionality for offline servers:

  1. Upgrade the portal image with the latest image file, but do not run the setup wizard.
  2. Copy the archive file, exported_images.tar.gz, from the Download Center, to a local folder on the portal machine.
  3. Run the following CLI command on all servers (including main, Replica, DB, and Preview servers): ‘portal-syslog-client load_images images_archive_path‘
    where images_archive_path is the path to the local folder where you copied the archive file.
  4. Run the setup wizard.
    If the setup wizard was run prior to loading the new packages, you must rerun the CLI portal-syslog-client load_images images_archive_path and then restart all servers.
    If you do not run the CLI command, the syslog functionality will not work and an error message is generated. However, if you do not run the CLI command, apart from the error message, there is no impact on portals where syslog functionality is not used.

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 the 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 the CTERA Portal server.
    2. Copy the upgrade installer into the machine.
    3. Navigate to the location of the installer and run the following command to extract the portal image file: tar xvf portal-installer-linux-x.x.x.tar.bz2 where x.x.x is the version number.
    4. Navigate to the portal-installer-linux-x.x.x subdirectory, where x.x.x is the version number, 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 the 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.

Upgrading the Portal Software

You can upgrade the portal software in the CTERA Portal user interface, or via the command line.

To upgrade the CTERA Portal software:

  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 the 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 primary database portal software.
    1. Using SSH, log in as root to the CTERA Portal server.
    2. Upgrade the portal software: portal-manage.sh upgrade upgrade_file
      where upgrade_file is the software file provided by CTERA.
  3. Restart the primary database server: portal-manage.sh start
  4. After the primary database server is running, using SSH, log in as root to the secondary CTERA Portal servers.
  5. Upgrade the portal software on each secondary CTERA Portal server: portal-manage.sh upgrade upgrade_file
    where upgrade_file is the software file provided by CTERA.
  6. Restart the secondary CTERA Portal servers.
    First start the replication database server, if available. Next, start the application and preview servers.
    1. Using SSH, log in as root to the CTERA Portal server.
    2. Start the CTERA Portal: portal-manage.sh start

To upgrade the CTERA Portal software via the portal user interface:

Warning

You must contact CTERA Support before using the UI to upgrade the portal software.


Was this article helpful?