Important

   

Starting from version 8.9.03, BMC Network Automation is renamed to TrueSight Network Automation. This space contains information about TrueSight Network Automation 8.9.03 and the later service packs for 8.9. For earlier releases, see BMC Network Automation 8.9.

Performing the upgrade

This topic describes how to upgrade the TrueSight Network Automation application server, remote device agent, and the associated components.

Before you begin

Upgrading the application server

A typical upgrade is performed by running the TrueSight Network Automation installer. Perform the procedure appropriate to the OS used on your computer:

Notes

  • If you want to change from internal to external authentication, or from external to internal authentication as part of the upgrade process for your application server, see Switching authentication type .
  • During an upgrade of the application server, the installer upgrades the database schema. If you want to preserve your existing database, you must perform a silent upgrade with the -J SKIP_DB_UPGRADE option. For more information, see Preserving the application server database .
  • If any of the routers that manage endpoints in your environment are defined with multiple IP addresses, you need to enable the Alternate Addresses dynamic field once the upgrade is complete. See Enabling the Alternate Addresses dynamic field.

Switching the authentication type

This section describes how to switch the authentication type used by your TrueSight Network Automation application server during an upgrade.

Switching from local to external authentication

If you have been using local authentication for your site and you want to switch to external authentication (Active Directory, LDAP, RADIUS, TACACS, or SAML 2.0), perform the following tasks:

Note

After switching from local to an external authentication method, an existing local user would be unable to log on to TrueSight Network Automation.

  1. Run the TrueSight Network Automation installer on your application server, and during the upgrade process select the external authentication option.
  2. When the upgrade is complete, log on to the TrueSight Network Automation system.

Switching from external to local authentication

If you have been using external authentication (Active Directory, LDAP, RADIUS, TACACS, or SAML 2.0) for your site, and you want to switch to local authentication, perform the following tasks:

  1. Run the TrueSight Network Automation installer on your application server, and during the upgrade process select the local authentication option.
  2. When the upgrade is complete, use the reset password script (reset_password.bat for Microsoft Windows, reset_password.sh for Linux) to reset the password for all users.
    These scripts are in the BCAN_HOME \tools directory. See Understanding tools and scripts for more information about this script.
  3. Log on to the TrueSight Network Automation system.
    You are prompted to change your password.

Back to top

Preserving the application server database

You can control how the TrueSight Network Automation installer treats an existing database only during silent upgrade. By default, the installer upgrades the database schema. You can use the following command-line options to alter this default behavior:

Command-line option

Description

-J SKIP_DB_BACKUP

Skips the backup, deletion, and restore of the database during an upgrade

Note:

  • This option is applicable for the embedded PostgreSQL database only. It is ignored for the remote databases.
  • Do not set this flag to true when you upgrade TrueSight Network Automation in a single server deployment.

Warning:

You must back up the database before using this option. Otherwise, you risk losing your database data.

Common use case of this option:

When you want to re-run the installer to change installation parameters (for example, to switch method of authentication) you can save time by using this option. This procedure skips some of the database steps and makes the upgrade process run faster.

-J SKIP_DB_UPGRADE

Skips the database upgrade step

You can use this option with an embedded or remote database.

Common use case of this option:

If you have a High-Availability setup with multiple servers, the upgrade process updates the database on the primary server. You can use the SKIP_DB_UPGRADE option to skip the database update step on the secondary servers.

You can use either or both the command-line options in a silent installation. For more information about silent installation, see Running the installer in silent mode.

Back to top

Upgrading the remote device agent

If you are upgrading the application server, you must also upgrade all remote device agents to the same version as TrueSight Network Automation.

A typical upgrade is performed by running the TrueSight Network Automation installer. Perform the procedure appropriate to the OS used on your computer:

Upgrading an embedded PostgreSQL database

BMC does not recommend using the TrueSight Network Automation embedded PostgreSQL database as TrueSight Network Automation warehouse database because this database is not maintained (backed up, restored, or upgraded) and is removed during the TrueSight Network Automation system upgrades, thus resulting into the data loss for TrueSight Network Automation. Using an embedded PostgreSQL database as a data warehouse database also results in poor performance.

In case you have used the embedded PostgreSQL database as the data warehouse database, back up the same before upgrading TrueSight Network Automation and then restore the same after upgrade. Later, you can migrate the TrueSight Network Automation data warehouse database to a dedicated standalone PostgreSQL database server. For information about backing up and restoring an embedded PostgreSQL database, see Maintaining the database.

Back to top

Rolling back the upgrade

You can roll back the upgrade if you face any issues post upgrade. Rolling back to a previous version of TrueSight Network Automation is a multi-step process and is possible only if you have a database backup from the version prior to upgrade. 

Perform the following tasks to roll back the application server upgrade:

  1. Uninstall the current version.
  2. Install the previous version from which you have upgraded.
  3. Restore the database from the backup. For instructions, see the database documentation.

Perform the following tasks to roll back the remote device agent upgrade:

  1. Uninstall the current version.
  2. Install the previous version from which you have upgraded.

Where to go from here

Configuring after upgrade

Related topic

Migrating TrueSight Network Automation from one server to another

Was this page helpful? Yes No Submitting... Thank you

Comments