Walkthrough: Upgrading to the latest version for Microsoft Windows
The topic includes the following sections:
The video at right provides helpful tips on how to upgrade your TrueSight Server Automation Application Server running on Windows.
The [confluence_iframe] macro is a standalone macro and it cannot be used inline.
https://youtu.be/e_3O1mBiPdU
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 have selected TrueSight Server Automation Console Upgrade Service option, 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.
In TrueSight Server Automation 8.9.03 and later, you can choose not to upgrade certain consoles. To enable this backward support for any specific Application Server, you must use the blasadmin command versioncompabilitycheck to turn off the version compatibility check that occurs whenever you access a Console. For more information, see To enable communication with clients of an earlier version of TrueSight Server Automation.
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 your connection to Microsoft SQL database is not encrypted. TrueSight Server Automation does not support using an encrypted Microsoft SQL database connection at the time of upgrade. However, after the product is upgraded successfully, TrueSight Server Automation can use an encrypted connection to communicate with the Microsoft SQL database. For steps on enabling and disabling an encrypted connection to your SQL database server, see Encrypting-your-database-connection.
- Verify that the following components are up and running for the upgrade to be successful:
- All Application Servers
- PXE Server
- RSCD agents 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: C:\Program Files\BMC Software\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 %WINDIR%\rsc\HOME file.
- 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 RSCD agent installed on each Application Server to avoid potential errors in the upgrade process.
- Ensure that there is an RSCD agent and NSH are installed on the PXE server.
- Back up the existing certificate.pem, RSCD log files and respective signature files.
- Make sure 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 -appserver_protocol clear -T encryption_only -e tlsNote: 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 -T encryption_only -e tls- To preserve the Live Reporting dashboard environment, back up the cacerts file (for example,C:\Program Files\BMC Software\BladeLogic\appserver\NSH\jre\lib\security\cacerts for Windows) 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.
Ensure that Microsoft Visual C++ 2015 Redistributable Update 3 is installed on the server. For more information, see Installing an RSCD agent (Windows).
- 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=Administrator - 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 topic: (See these topics for additional upgrade considerations and supported upgrade paths)
Preparing-for-a-Windows-upgrade-using-the-unified-product-installer
Step 3: Download the files
Download and extract the installation files to a temporary location.
- Download and extract the TSSA<version>-WIN64.zip file (for example, TSSA89-SP4-WIN64.zip), which contains the unified product installation program files) to the host computer of the Application Server that was set up as a configuration server.
- Download and extract the TSSA<version>-RSCDAgents.zip (for example, TSSA89-SP4-RSCDAgent.zip) file from the package and copy the rscd folder to ../TSSA<version>-WIN64/Disk1/files/installers/ 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
When you 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 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.
- Navigate to the temporary directory that contains the installation files.
- Do one of the following:
- Run the following command:
setup.exe (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, run this command:
setup.exe -J IMPORT_ZIPKITS=true -J CREATE_CONTAINER_COMPLIANCE_ARTIFACTS =true -J ENABLE_QUICK_START_PAGE=true
- Run the following command:
- Run the installation program (setup.exe for Windows)
Note: For Windows 2008 or later, right-click the installer file and select Run as administrator. - 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.
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\pxe_64\PXE<version>-WIN32) to the %SystemDrive%/BSAInstallerDumpDir on the PXE server prior to upgrading. 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 ..\installers\pxe_64\PXE<version>-WIN32 file to the remote host, to the %systemDrive%\BSAInstallerDumpDir 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 environment for upgrade check box.
- Click Install.
- If you encounter a failure, fix the underlying cause and re-run the installer. When you see the re-attempt panel, review the information and then click Install.
- When the upgrade is finished, review the summary and the upgrade log, and then click Done.
Step 5: Manually upgrade additional components
After the unified product installer completes the upgrade, manually upgrade any components that meet the following criteria. Perform this step anytime after the upgrade.
- NSH clients on non-Application Server host computers - Use the instructions in Upgrading-the-Network-Shell-on-Windows.
- 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-Windows or 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.
- If you have not selected the TrueSight Server Automation Console Upgrade Service option, upgrade all the TrueSight Server Automation consoles manually in your environment to match the version of the Application Server. For more information, see Upgrading-the-TrueSight-Server-Automation-Console-on-Windows.
Related topics
Upgrading-the-RSCD-agent-on-Linux-and-UNIX
Upgrading-the-RSCD-agent-on-Windows
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: |
If you are running patch management in offline mode | If you employ patch management in offline mode, you must:
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