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
- Read the hardware and software system requirements in System-requirements.
- See What's new for information about new features and other related topics.
- Ensure that you have performed the tasks mentioned in Preparing-for-upgrade.
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:
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:
- Run the TrueSight Network Automation installer on your application server, and during the upgrade process select the external authentication option.
- 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:
- Run the TrueSight Network Automation installer on your application server, and during the upgrade process select the local authentication option.
- 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. - Log on to the TrueSight Network Automation system.
You are prompted to change your password.
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:
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.
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.
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:
- Uninstall the current version.
- Install the previous version from which you have upgraded.
- Restore the database from the backup. For instructions, see the database documentation.
Perform the following tasks to roll back the remote device agent upgrade:
Where to go from here
Related topic
Migrating-TrueSight-Network-Automation-from-one-server-to-another