Walkthrough: Upgrading to the latest version for Linux
The topic includes the following sections:
- Upgrading using the unified product installer
- Step 1: Review requirements and limitations
- Step 2: Prepare the environment for upgrade
- Step 3: Download the files
- Step 4: Run the unified product installer on the Application Server
- Step 5: Manually upgrade additional components
- Step 6: Perform additional post-upgrade tasks
- Related topics
The video at right provides helpful tips on how to upgrade your Application Server running on Linux.
The [embed] macro is a standalone macro and it cannot be used inline. Click on this message for details.
https://youtu.be/6oce5bNZHZY
Upgrading using the unified product installer
The unified product installer automatically upgrades the database, file server, Application Server, agents, PXE server and the TFTP server in your environment. If you manually enabled the TrueSight Server Automation Console Upgrade Service, the console is also automatically upgraded; otherwise, you must manually upgrade it. The checklist below walks you through the process of upgrading Windows and Linux environments using the unified product installer.
Step 1: Review requirements and limitations
The first step is to review the following requirements and limitations when using the unified product installer for product upgrade.
Requirements
Limitations when using the unified product installer
Category | Description of support or limitation |
---|---|
Multiple Application Server (MAS) environments | The unified product installer only supports upgrade of an homogeneous MAS environment, that is, either all Application Servers run on Linux 64-bit operating systems or all run on Windows 64-bit operating systems. |
"Mixed" Application Server/database environments | The unified product installer supports upgrade of "mixed" Application Server/database environments (for example, Linux Application Server + Microsoft SQL Server database). The UPI does not require the database or the file server operating system to match the operating system of the Application Servers. |
PXE servers | For PXE servers to be upgraded by the unified product installer, they must be:
If your environment includes hybrid PXE servers (that is, PXE servers not running Windows or Linux), you must perform a workaround for the upgrade |
Upgrade scenarios | The unified product installer does not support the following upgrade scenarios:
|
Step 2: Prepare the environment for upgrade
Perform these tasks in order. Many steps are prerequisites for other steps that occur later in the process.
- Back up the TrueSight Server Automation database. The data upgrade occurs in place. If, for any reason, it should become impossible to complete the upgrade, the only way to restore the database to its pre-upgrade state is from the backups.
- Ensure that the following components are up and running:
- All Application Servers
- PXE Server
- RSCD agents on Application Servers, PXE servers, and file servers.
- RSCD agents installed with the –local option on Application Servers, PXE servers, and file servers.
Back up the installation directories for all Application Servers and PXE servers. The default installation locations are:
- Application Server: /opt/bmc/bladelogic/NSH
Note that the user who installed the earlier version of the product might have changed the installation directory from the default location, so ensure that you have the right location. If your current installation is already an upgrade from a previous version, the paths might be different, due to differences in these locations in earlier versions of TrueSight Server Automation. If you do not know the installation location for TrueSight Server Automation components view the contents of the /usr/lib/rsc/HOME file (on Linux or UNIX) or the %WINDIR%\rsc\HOME file (on Windows).
- Back up the TrueSight Server Automation file server storage location. For example, copy the entire contents of the storage location to a directory other than the current storage location.
- Ensure that there is an agent installed on the Application Server. For agent installation on Linux or UNIX, use the -local option (as discussed in Installing-components-in-non-default-installation-paths-using-the-local-flag). Similarly, if an RSCD agent and NSH are not already installed on the PXE server, install them now.
If you are not running the UPI/Application Server installer directly from a graphical desktop on the Application Server host, you must forward the X Window GUI to another system w/ an X Server or use silent mode to install the Application Server (Windows).
The most common method to set up forwarding in a secured environment is to tunnel the X Window connection over an SSH connect between the X Server (your system) and the X Client (the Application Server in this case). Review your SSH client’s documentation for specific instructions, but generally:
- Set up the SSH client to forward the remote display across the SSH connection.
- When you log on to the remote system, set the DISPLAY environment variable to ‘localhost:11.0’ (for example).
- Your system must run an X Server. For Windows, you can use MobaXterm (which is also an SSH client), Xming, Xmanager, Exceed, and so on. Linux supports X Server natively.
- Ensure that the following 32-bit and 64-bit required package is installed:
- For RHEL 7: libncurses
- For versions earlier than RHEL 7: libtermcap
- Ensure that you have 4 GB on disk with temp space and 4 GB on disk with installation directory.
Ensure that you have disabled the NSH proxy on all Application Servers in the environment to avoid failure during upgrade. To disable the NSH proxy, run the following command on the NSH client:
secadmin -m default -p 5 -T encryption_only -e tls -appserver_protocol clear
This command temporarily removes the appserver_protocol=ssoproxy entry from the default line in the secure file (in the rsc folder).Note: After the upgrade completes, remember to add this entry back into the secure file. You can use the following command:
secadmin -m default -p 5 -appserver_protocol ssoproxy- To preserve the Live Reporting dashboard environment, back up the cacerts file (for example, /opt/bmc/bladelogic/appserver/NSH/br/java/lib/security/cacerts for Linux) to a separate safe location on the TrueSight Server Automation server. You must do this because the TrueSight Server Automation upgrade overwrites the existing cacerts.
- If you have already enabled file server access restrictions when configuring the file server agent ACLs, then perform the following steps:
- Add the following entry to the exports file on the file server, before you upgrade TrueSight Server Automation using the Unified Product Installer (UPI):
* rw,user=root - Remove the entry added in step a from the exports file on the file server, after the UPI upgrade process is complete. This is necessary for the file server access restrictions to work properly.
- Add the following entry to the exports file on the file server, before you upgrade TrueSight Server Automation using the Unified Product Installer (UPI):
Related topics: (See these topics for additional upgrade considerations and supported upgrade paths)
Preparing-for-a-Linux-or-UNIX-upgrade-using-the-unified-product-installer
Minimum-software-requirements, especially Requirements for 32-bit and 64-bit libraries when installing on Red Hat Linux using UPI
Step 3: Download the files
Download and extract the installation files to a temporary location.
- Download the TSSA<version>-LIN64.zip file (which contains the unified product installation program files) and the TSSA<version>-RSCDAgent.zip file (which contains the RSCD Agents for all supported platforms) to the host computer of the Application Server that was set up as a configuration server.
- Extract the zip files. For example:
unzip TSSA<version>-RSCDAgents.zip -d /tmp/TSSA<version>-RSCDAgents
unzip TSSA<version>-LIN64.zip -d /tmp/TSSA<version>-LIN64 - Copy the rscd folder from inside /tmp/TSSA<version>-RSCDAgents to <temporary_location>/Disk1/files/installer/ before running the unified product installer. The unified product installer uses the RSCD installers while installing or upgrading TrueSight Server Automation in your environment.
Step 4: Run the unified product installer on the Application Server
Run the unified product installer on the Application Server. The unified product installer automatically upgrades the database, file server, Application Server, agents, PXE server and TFTP server, and console in your environment, with certain exceptions. Before running the upgrade, back up your database and inform your users that TrueSight Server Automation will be unavailable during the upgrade.
- Make sure that the RSCD Agent, Application Server, and PXE Server are running.
- Navigate to the temporary directory that contains the installation files. On a Linux machine, you must assign an executable permission to the installer file (setup.bin) by entering the following command:
chmod +x -R <temporary directory> - Do one of the following:
- Run the following command:
setup.bin (Optional) Provide the parameters with the command to upgrade all or any of the following artifacts: ZipKits, blconnect, compliance content, and quick start page
The following table describes these parameters:Parameter name
Description
-J IMPORT_ZIPKITS
ZipKit packages are used for operating systems and common enterprise applications and databases.
-J IMPORT_BLCONTENT
The blconnect script is used to create groups, folders, and smart groups that are commonly used by organizations.
-J CREATE_CONTAINER_COMPLIANCE_ARTIFACTS
SCAP container compliance jobs are created.
-J ENABLE_QUICK_START_PAGE
The Quick Start page supports the common use cases of TrueSight Server Automation.
Example: To upgrade all these artifacts, add these parameters with the command as follows:
setup.bin -J IMPORT_ZIPKITS=true -J CREATE_CONTAINER_COMPLIANCE_ARTIFACTS =true -J ENABLE_QUICK_START_PAGE=true
- Run the following command:
- Select the language in which you want to run the installer and click OK.
Note: If problems arise during the upgrade, the on-screen error messages contain instructions and guidance to help you troubleshoot the problems, and further information is available in the log files. - Read through the basic information about the unified product installer and the types of nodes that are installed in the environment.
- Click Next.
- Read the End User License Agreement (EULA) and select I agree to the terms of the license agreement, and then click Next.
- Read the copyright statement and select I agree to the terms of the license agreement, and then click Next.
- Enter your Authentication profile credentials to proceed with the upgrade procedure. The profile that you specify must be associated with the same Application Server where you are performing the upgrade. Note that only secure remote password (SRP), LDAP, or Domain Authentication type profiles can be used with the unified product installer.
- Click Next.
Review the TrueSight Server Automation infrastructure discovered in your environment. This includes the different types of servers that are present in the TrueSight Server Automation environment, their count, and their status.
If the Application server and the PXE server share the same target server, the installer upgrades the PXE server automatically.
Review the TrueSight Server Automation infrastructure discovered in your environment. This includes the different types of servers that are present in the TrueSight Server Automation environment, their count, and their status.
If your environment includes PXE servers, the installer upgrades the PXE server automatically, if it is up and running during the infrastructure discovery phase.
If you are running one or more remote PXE servers (that is, on a different subnet than the Application Server), the installer detects and lists them as part of your infrastructure. The unified product installer upgrades the remote PXE servers as part of the upgrade process. The checkbox for the Remote Site field controls how the PXE server installer files are copied to the PXE server, as described in the table below.PXE upgrade option
Explanation
Remote Site field selected (default)
Selecting the checkbox assumes that you have previously manually copied the PXE installer binary (../installers/appserver_64/TSSA<version>-LIN64.sh) to the PXE server prior to upgrading (for example, to the /tmp directory). The unified product installer validates the existence of the PXE installer binary under the expected location, and upgrades the PXE server during the upgrade process. For performance reasons, this option is strongly recommended for PXE servers that are on a different LAN/WAN than the Application Server.
Remote Site field cleared (not selected)
Clearing the checkbox assumes that you want the installer to copy the ../installers/appserver_64/TSSA<version>-LIN64.sh script to the remote host, typically to the /tmp folder. De-select the Remote Site option if the PXE server is on the same LAN/WAN as the Application Server. However, note that clearing the checkbox is typically much slower if thePXE server is on a different LAN/WAN than the Application Server.
- Click Next.
- Preview the upgrade.
- Select the I acknowledge that the installer will bring down the TrueSight Server Automation (TSA) environment for upgrade check box.
- Click Install, and then Next to continue with the upgrade.
- (optional) When the upgrade is finished, click View Log and review the upgrade description.
- Click Done to exit the installer.
Step 5: Manually upgrade additional components
After the unified product installer completes the upgrade, manually upgrade any components that meet the following criteria. You can perform this step anytime after the upgrade.
- NSH clients on non-Application Server host computers - Use the instructions in Upgrading the Network Shell.
- PXE and TFTP servers that reside on separate host computers - When you upgrade a PXE server on a different subnet than the target server, you need to copy the installation files to the remote machine and upgrade the remaining servers manually, as described in Upgrading-a-PXE-server-on-Linux-or-UNIX.
If the TFTP service is not started automatically after the upgrade, manually start it, as described in Starting-and-stopping-a-TFTP-server. - Upgrade any agents that you may have that fall into the following categories.
- Agent on an online or offline patch repository
- Agent on a basic/standard repeater
- Agent on a VMware vCenter server. You must upgrade the agent on the vCenter server before you try to use the vCenter integration or the updated VMware configuration object push. For more information, see Setting-up-a-VMware-vSphere-environment and Distributing-configuration-objects.
Related topic:
Upgrading-the-RSCD-agent-on-Linux-and-UNIX
Step 6: Perform additional post-upgrade tasks
At any time after the upgrade, complete the following tasks, if they apply to your environment:
Task | Steps |
---|---|
Run the Update Model Objects Job | For custom configuration objects to work reliably, the version of the custom object should match the version of the agent. You can perform this step anytime after the upgrade.
Related topics: |
Upgrade Compliance Content add-ons | Perform an over-the-top upgrade of the new Compliance Content add-ons. You can perform this step anytime after the upgrade. Related topic: Installing-and-configuring-Compliance-Content-add-ons |
Update the sunpkcs11.cfg file for PKI authentication | Starting from version 21.3, if you are using PKI authentication, TrueSight Server Automation no longer support 32-bit DLLs when using ActivClient or 90meter for PKI authentication. Therefore, after you upgrade the TrueSight Server Automation console to 21.3 or later, update the sunpkcs11.cfg file to the store the path to the 64-bit DLLs. For instructions, see Implementing-PKI-authentication. |
Improve security for RMI interfaces by using SSL to encrypt connections to the Application Server and PXE server | Set the value of UseSSLSockets and RequireClientAuthentication Application Server parameters to true as shown here. Related topic: Managing-the-Application-Server. |
Related topics
Walkthrough-Upgrading-using-the-configurator-and-individual-component-installers
Walkthrough: Upgrading to the latest version on Microsoft Windows