Updating

Learn about how to update Oracle Communications Unified Assurance packages to the latest version.

About Updating Unified Assurance

The Unified Assurance package system allows for near seamless installation of new packages and updates to installed packages. Installing updates is first done on the primary presentation server, then other servers can be updated as well.

The image shows the update process for four individual servers running Unified Assurance: a presentation server, a database server, a processing server, and a collection server. For simplicity, the example shows a non-redundant setup. You perform an update in the following order:

Unified Assurance Update

Description of illustration update-path.png

Updating Unified Assurance

To update Unified Assurance:

  1. On the primary presentation server, download the latest Unified Assurance release package for your operating system version from Oracle Software Delivery Cloud:

    https://edelivery.oracle.com

    The package contains the Oracle-Communications-Unified-Assurance-6.X.X.X.X-el8.zip collection file for installation.

  2. Extract the collection file to the location on where the packages were placed during the initial Unified Assurance installation, typically /opt/install/:

    unzip -d <installation_file_directory> Oracle-Communications-Unified-Assurance-6.X.X.X.X-el8.zip
    
  3. Navigate to the Servers UI:

    Configuration -> Broker Control -> Servers

  4. In the grid, select the primary presentation server.

  5. In the button bar, click the Version picker, then select the version you want to install.

  6. In the button bar, click the Update Server(s) button. 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 the "Status" column to show Complete before continuing.

  7. After the primary presentation server has been updated, select the other servers to update by pressing the Ctrl or Shift key and clicking on the servers.

  8. In the button bar, click on the Update Server(s) button. 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.

    When all servers show Complete, the package update process is complete.

Post Update Tasks

After updating an existing installation of Unified Assurance to version 6.0.4, perform these tasks:

  1. The Device picker combo box has been updated. Check the configuration of all Event List and Device Availability Pie dashboard panels to ensure that the correct device is selected.

  2. The Elasticsearch database index templates have been updated. Rerun the Event Analytics Setup Wizard with the Update-Templates flag:

    $A1BASEDIR/bin/historical/AnalyticsWizard --Update-Templates
    
  3. If you are using custom foreach loops in your rules files, you may receive an error similar to the following:

    experimental keys on scalar is now forbidden
    

    To resolve this issue, check your rules files for proper keys.

    For example, the following lines are invalid:

    foreach my $id ($hash_ref) {
    
    my @variants = keys $hash{$word}{variants};
    

    To fix them, dereference hash_ref and hash:

    foreach my $id (%{$hash_ref}) {
    
    my @variants = keys %{ $hash{$word}{variants} };
    
  4. A UI has been added to help add, remove, and make certain changes to fields in the Event.Events table, and a new column RootCauseKey has been added to the initial table layout. Run the ApplyEventSchema application to apply the changes to the table.

    1. Optionally, run use the --Dry-Run option to log the queries that will be run to change the database:

      $A1BASEDIR/bin/ApplyEventSchema --Dry-Run
      

      You can check the log file to see the queries that will be run:

      lnav $A1BASEDIR/logs/ApplyEventSchema.log
      
    2. Run ApplyEventSchema:

      $A1BASEDIR/bin/ApplyEventSchema
      
    3. If you have multiple event shards in your environment, do one of the following:

      • Run the application on one of the database servers with the --EventShard 0 flag:

        $A1BASEDIR/bin/ApplyEventSchema --EventShard 0
        
      • Run the application on the primary instance of the database servers with the -EventShard flag with the correct value:

        $A1BASEDIR/bin/ApplyEventSchema --EventShard N