Upgrading from Assure1 to Unified Assurance
Learn about upgrading your Assure1 version 5 installation to Oracle Communications Unified Assurance version 6.
About Upgrading from Assure1 to Unified Assurance
Upgrading Assure1 v5 to Unified Assurance v6 allows an existing installation to gain the benefits of the latest functionality and enhancements available. Upgrades should be taken seriously and planned ahead of time. If you have access to a development instance, upgrades should be performed on there before planning your production upgrade.
The major changes provided from upgrading to Unified Assurance are:
-
Rebranded from Assure1 to Oracle Communications Unified Assurance. This includes logos, product name, etc.
-
Replaced competitor products with Oracle products:
-
MySQL EE replaced MariaDB.
-
Oracle Java SE replaced OpenJDK.
-
-
Removed licensing built into the product.
-
Update 20+ third party vendor packages.
Data will be migrated from the old database to the new database by a database dump during the upgrade. Depending on the sizes, it may take some time. Plan for reporting if needed.
The upgrade process updates every single package installed on each server. While this is happening, functionality will be disrupted.
The upgrade happens in place.
About Upgrading to v6 on Linux 8
Unified Assurance version 6.0.4 and later is installed on Linux 8. To upgrade to a Linux 8 version of Unified Assurance, you must first upgrade from Assure1 version 5 to Unified Assurance version 6.0.3 on your Linux 7 system. Then you can perform a forklift or in-place upgrade to version 6.0.4 on Linux 8. See About Upgrading Unified Assurance for information about the different upgrade types.
Upgrade Prerequisites
-
Your Assure1 v5 installation must be updated to at least Update 5.5.9.
-
Migrate all data from OrientDB to Neo4j before the upgrade; Neo4j needs to be the active Graph database and not OrientDB.
-
Disable and stop the Database Watchdog on all servers. If the Database Watchdog is running, the UI becomes inaccessible during the upgrade.
-
If you are upgrading a redundant presentation server pair, ensure the assure1 database on the redundant server is stopped while the primary server gets upgraded and running when the redundant server gets upgraded. Run the following as root to stop start the assure1 database:
systemctl stop / start assure1-db
-
If your Assure1 v5 installation contains any custom (non Assure1 default) MySQL tables or databases, ensure that they are compatible with MySQL EE prior to starting the upgrade; otherwise the upgrade may fail.
Caution:
If you do not follow the prerequisites, your upgrade may fail completely.
Preparing for the Upgrade
To prepare for the upgrade:
-
If you have a development environment, Oracle recommends upgrading this environment first to get a feel for the process.
-
Back up all systems before upgrading. See Backup and Restore in Unified Assurance System Administrator's Guide.
-
Create a backup plan that includes this document, the prior upgrade experience notes, and rollback steps from backups if needed.
-
Plan a maintenance window for the upgrade.
Upgrading
Starting with your primary presentation server, to upgrade to Unified Assurance v6:
-
Download the latest Unified Assurance release package from Oracle Software Delivery Cloud to the /opt/install/ directory, or the directory where the collection file was placed during the initial installation:
The package contains the Oracle-Communications-Unified-Assurance-6.X.X.X.X.zip collection file for installation.
-
Extract the contents of the collection to the /opt/install/ directory, or the directory where the packages were placed during the initial installation:
unzip -d /opt/install/ Oracle-Communications-Unified-Assurance-6.X.X.X.X.zip
-
Upload the RPM file to the /opt/install/ directory on all other servers that will be part of the environment.
-
Use one of the following examples to update the RPM on all servers:
-
If Assure1 was installed into the /opt/assure1/ directory:
yum update --nogpgcheck Assure1-6.X.X.X.X-X.x86_64.rpm
-
If Assure1 was installed to a different directory, use the rpm update command with the prefix flag. For example, if /opt/a1/ is installation directory:
rpm -Uvh --prefix /opt/a1 /opt/install/Assure1-6.X.X.X.X-X.x86_64.rpm
If you encounter dependency errors, install any missing dependencies and repeat the rpm update command.
-
-
Do one of the following before running Package update, RedundancyWizard or SetupWizard:
-
Export the LD_LIBRARY_PATH:
export LD_LIBRARY_PATH=$A1BASEDIR/lib:$A1BASEDIR/lib/private
-
Source the .bashrc file:
source $A1BASEDIR/.bashrc
-
-
Run Package Update, starting with the primary presentation server:
$A1BASEDIR/bin/Package update --Depot /opt/install/:a1-local
Updated packages will be copied from the directory they were extracted and copied into the internal package location on the primary presentation server. After the package file copy process is complete, packages that have updates on the primary presentation server will be installed.
Wait for this process to finish. When the packages have been updated, the Installing progress bar shows 100%.
-
Run flush-hosts on the primary presentation server:
$A1BASEDIR/vendor/mysql/bin/mysqladmin flush-hosts
-
On the redundant partner for the presentation server, restart the assure1-db database.
-
On each server in the installation, run Package update:
$A1BASEDIR/bin/Package update
Packages that have updates available will be downloaded from the primary presentation server to the other servers. After the download process is complete, packages that have updates on the server will be installed.
Wait for this process to finish. When the packages have been updated, the Installing progress bar shows 100%.
-
After updating all servers, rerun Redundancy Wizard on all redundant presentation and Event, Metric, and Graph database server pairs.
$A1BASEDIR/bin/redundancy/RedundancyWizard
-
Verify that the system is working as expected.
-
Finalize the upgrade by removing all v5 related directories. On each system, run:
$A1BASEDIR/bin/SetupWizard --Finalize-Upgrade
If you do not run Finalize-Upgrade, package upgrades may fail.
-
Finalize the upgrade of the Graph database by removing all Neo4j v4 related directories. On each Graph database system, run:
$A1BASEDIR/bin/Package finalize-neo4j-upgrade
Troubleshooting the Upgrade
-
If you do not disable and stop Database Watchdog before to the upgrade, even if the upgrade process succeeds, the UI will be unreachable.
Instead of using the Server UI to perform the updates, you must run the command manually using the Unified Assurance Package Manager in order to access to UI again after the upgrade.
To resolve this:
-
Delete the $A1BASEDIR/var/DBAvailability.json file on the presentation server:
-
When access to the UI is restored, navigate to the Service UI and restart the Database Watchdog on all servers it is running on.
-
-
If you do not stop the redundant database before upgrading the presentation server, the Package update process fails.
To resolve this, stop the database on the redundant partner and rerun Package update.