This page describes the actions to take after the upgrade is completed and all relevant validation tests have passed.
On each host which was upgraded, log into the REM web application (or refresh the page if already logged in), and connect to one or more of your Rhino clusters within REM.
You should be able to access the Rhino cluster using the original connection configured in the previous version of REM.
Note that when refreshing the REM web application, do a "hard refresh" (
Ctrl+F5 in most browsers) so that
the browser retrieves up-to-date information from the REM server rather than reloading from its cache.
On each REM host,
orca will have generated a backup of the Rhino Element Manager installation at the downlevel version
prior to starting the upgrade. This backup can be found in an auto-generated subdirectory within the backups directory.
Unless otherwise specified using
--backup-dir option, the backups directory is the
under the HOME directory. Each backup is named with:
For example, assuming that the user account is
sentinel, this is the second backup in the directory, and the backup
was created on May 3rd 2018, at 1:44pm, then the backup would be created as
You can view a list of backups and their contents using the
> ./orca --hosts remhost1 status ... REM: general = Server version: Apache Tomcat/8.5.29 ... backups = (#2) 20180503-134400 contains REM:126.96.36.199 Plugins:sentinel-gaa-em-188.8.131.52,sentinel-volte-element-manager-184.108.40.206 ...
Copy (for example using
rsync) the new backup directory with all its contents to your backup storage, if you have one.
orca creates a backup on every REM host upgraded, but normally they would all contain the same software, and hence it
is only necessary to archive one of these backups.
In the directory from which
orca was run, there will be a directory
logs containing many subdirectories with log
files. Copy (for example using
logs directory with all its contents to your backup storage, if you have
one. These logs can be useful for Metaswitch Customer Care in the event of a problem with the upgrade.
Once the upgrade is confirmed to be working, you may wish to clean up older downlevel Tomcat backups to save disk space.
Retain one old backup
Keep the most recent downlevel backup in place as a fallback.
Be sure you have an external backup of any export directories you plan to delete, unless you are absolutely sure that you will not need them in the future.
Repeat the following steps on each host (each host has to be cleaned up individually). In the following commands
remhost1 example hostname with the hostname of each REM node in turn.
First, use the
status command to obtain a list of backups.
> ./orca --hosts remhost1 status ... REM: general = Server version: Apache Tomcat/8.5.29 ... backups = (#1) 20180117-123500 contains REM:220.127.116.11 Plugins:sentinel-gaa-em-18.104.22.168,sentinel-volte-element-manager-22.214.171.124 (#2) 20180503-134400 contains REM:126.96.36.199 Plugins:sentinel-gaa-em-188.8.131.52,sentinel-volte-element-manager-184.108.40.206 (#3) 20180926-093700 contains REM:220.127.116.11 Plugins:sentinel-gaa-em-18.104.22.168,sentinel-volte-element-manager-22.214.171.124 ...
For example, given the above output, you may decide to delete backups #1 and #2, leaving #3 in place. The number
#1) before each backup is called that backup’s ID.
Next, use the
cleanup-rem command to remove any unwanted backups.
./orca --hosts remhost1 cleanup-rem --backups 1,2
The backups are specified using the
--backups parameter, as a comma-separated list of backup IDs (without the # symbol
or any spaces). Be sure to pay attention to the ID numbering of each host’s backups, which may differ from one host to the next.