Upgrading the Presentation Server in the high-availability mode using the wizard
Where you are in the Upgrade process
Before you begin
Go to the secondary computer and stop the TrueSight Presentation Server:
- (Windows) Navigate to the TrueSightPServer\truesightpserver\bin directory, and run tssh server stop command.
- (Linux) Navigate to the TrueSightPServer/truesightpserver/bin directory, and run ./tssh server stop command.
To upgrade the TrueSight Presentation Server in the high-availability mode using the wizard-based installer
You need to perform the following tasks to upgrade TrueSight Presentation Server in a high-availability environment.
Step A: Upgrade TrueSight Presentation Server on the primary computer
- On the primary computer, extract the downloaded files (the upgrade installer) to a temporary location outside the following location to avoid any file sharing conflicts:
- (Windows) C:\Program Files
- (Linux) /opt
- (Linux) Set the DISPLAY environment variable to ensure that the wizard-based installer launches the screens appropriately:export DISPLAY=<IP address of the host computer>:0.0
- (Linux) Perform the following steps to provide ownership permissions to the non-root user for all the upgrade-related installation files:
- Log on as a root user.
- Run the following command:In the preceding command, the following definitions apply:chown -R <nonrootuser> <installationDirectoryFolderName>
- <nonrootuser> is the name of the non-root user.
- <installationDirectoryFolderName> is the name of the folder that contains the installation files.
- Navigate to the Disk1 directory of the extracted folder, use one of the following options to run the installer.
- Review the welcome page, and click Next.
- Read the license agreement, agree to the terms, and click Next.
- On the Upgrade Confirmation page, click Yes, and click Next.
- (Applicable if you are upgrading from a version earlier than 11.0) Provide the following details for Remedy SSO and click Next.
- Type the FQDN of the host computer on which you have installed Remedy SSO.
- Type the tomcat port number that you have configured while installing Remedy SSO. The default port number for Remedy SSO is:
- (Windows) HTTPS: 448 and HTTP: 88
- (Linux) HTTPS: 8048 and HTTP: 8088
- Type the Remedy SSO server superuser password. The Remedy SSO superuser name is Admin.
- Select HTTP or HTTPS depending on the Remedy SSO configuration. By default, Remedy SSO is configured in the HTTPS mode.
- Select Yes or No to import the Remedy SSO private certificate. If you select:
- Yes: Specify the directory where the Remedy SSO private certificate is stored.
- No: You can import the Remedy SSO certificate after the upgrade is completed. For more information, see Applying Remedy Single Sign-On Server private certificate to the TrueSight Presentation Server.
- Preview the details, and verify the configurations.
- Click Install to start the upgrade. A local upgrade may take upto 15 minutes.
After the upgrade is complete, the Installation Summary page is displayed. - Click View Log to view the upgrade log details on the screen. From the log view, you can expand and view the log messages. You can also navigate to the following default location of logs:
- (Windows) \Temp\truesightpserver_install_log.txt
- (Linux)/tmp/truesightpserver_install_log.txt
- Click Done to exit the installer.
Note: (Optional) After the installation is complete, you can revoke the write permission on the /opt directory. - Verify the TrueSight Presentation Server status:
- (Windows) Navigate to the TrueSightPServer\truesightpserver\bin directory, and run the tssh server status command.
- (Linux) Navigate to the TrueSightPServer/truesightpserver/bin directory, and run the ./tssh server status command.
If errors occur when you run the tssh server status command, restart the TrueSight Presentation Server by running the following command:Process status
================================
Core Server Running (13176)
Index Server Running (11028)
Database Server Running (6052)- (Windows) tssh server start
- (Linux) tssh server start&
The & character at the end of the tssh server start command ensures that the process runs in the background, and you can continue to use the shell.
- (Linux only) Register the BMCTSPSSvc.service service by performing the following steps:Note: The systemd service BMCTSPSSvc.service is supported only from version 11.3.04. For more information on this service, see Starting-and-stopping-the-TrueSight-Operations-Management-components.
- As a root user, run the tssh service register <Non-RootUserName>. This command registers the BMCTSPSSvc.service service under the /etc/systemd/system folder.
- (SUSE Linux Enterprise Server only) Run the chkconfig --add BMCTSPSSvc.service command.
- Ensure that you have read and write permissions for the installedDirectory\truesightpserver\logs\tssh.log file.
- Running the systemctl status BMCTSPSSvc.service command.
- systemctl start BMCTSPSSvc.service
- systemctl stop BMCTSPSSvc.service
(Applies only if you had configured HTTP access before the upgrade) Reconfigure the TrueSight Presentation Server for HTTP access as described in the steps.
(Applicable if in a previous version you connected to the TrueSight Presentation Server with an alias name) The TrueSight Presentation Server validates all incoming requests to prevent Cross-Site Forgery (CSRF) attacks. After running the upgrade, you must configure all hosts, aliases, or proxies for CSRF validation. Unless you do this, you cannot access TrueSight Presentation Server even if the upgrade completed successfully.
Run the following commands to enable the CSRF filter for the alias names set:
- Navigate to the following location:
- (Windows) TrueSightPServer\truesightpserver\bin
- (Linux)TrueSightPServer/truesightpserver/bin
Run the tssh properties set tspsProxyHosts <alias1>,<alias2>,<alias3> command.
- Run the tssh properties reload command.
- Navigate to the following location:
- (Optional) Perform the steps mentioned in the Troubleshooting a failed deployment only if both of the following statements are true:
- You have upgraded the TrueSight Presentation Server to version 11.3.04, but you are not planning to upgrade your Integration Service or TrueSight Infrastructure Management server (they are running on one of the lower versions, such as 11.3.03 or earlier.)
- You are using the BMC-provided security certificates.
Step B: Upgrade TrueSight Presentation Server on the secondary computer
- On the secondary computer, extract the downloaded files (the upgrade installer) to a temporary location outside the following location to avoid any file sharing conflicts:
- (Windows) C:\Program Files
- (Linux) /opt
- (Linux) Set the DISPLAY environment variable to ensure that the wizard-based installer launches the screens appropriately:export DISPLAY=<IP address of the host computer>:0.0
- (Linux) Perform the following steps to provide ownership permissions to the non-root user for all the upgrade-related installation files:
- Log on as a root user.
- Run the following command:In the preceding command, the following definitions apply:chown -R <nonrootuser> <installationDirectoryFolderName>
- <nonrootuser> is the name of the non-root user.
- <installationDirectoryFolderName> is the name of the folder that contains the installation files.
- Navigate to the Disk1 directory of the extracted folder, use one of the following options to run the installer.
- Review the welcome page, and click Next.
- Read the license agreement, agree to the terms, and click Next.
- On the Upgrade Confirmation page, click Yes, and click Next.
- Preview the details, and verify the configurations.
- Click Install to start the upgrade. A local upgrade may take upto 15 minutes.
After the upgrade is complete, the Installation Summary page is displayed. - Click View Log to view the upgrade log details on the screen. From the log view, you can expand and view the log messages. You can also navigate to the following default location of logs:
- (Windows) \Temp\truesightpserver_install_log.txt
- (Linux)/tmp/truesightpserver_install_log.txt
- Click Done to exit the installer.
Note: (Optional) After the installation is complete, you can revoke the write permission on the /opt directory. - Verify the TrueSight Presentation Server status:
- (Windows) Navigate to the TrueSightPServer\truesightpserver\bin directory, and run the tssh server status command.
- (Linux) Navigate to the TrueSightPServer/truesightpserver/bin directory, and run the ./tssh server status command.
If errors occur when you run the tssh server status command, restart the TrueSight Presentation Server by running the following command:Process status
================================
Core Server Running (13176)
Index Server Running (11028)
Database Server Running (6052)- (Windows) tssh server start
- (Linux) tssh server start&
The & character at the end of the tssh server start command ensures that the process runs in the background, and you can continue to use the shell.
- (Linux only) Register the BMCTSPSSvc.service service by performing the following steps:Note: The systemd service BMCTSPSSvc.service is supported only from version 11.3.04. For more information on this service, see Starting-and-stopping-the-TrueSight-Operations-Management-components.
- As a root user, run the tssh service register <Non-RootUserName>. This command registers the BMCTSPSSvc.service service under the /etc/systemd/system folder.
- (SUSE Linux Enterprise Server only) Run the chkconfig --add BMCTSPSSvc.service command.
- Ensure that you have read and write permissions for the installedDirectory\truesightpserver\logs\tssh.log file.
- Running the systemctl status BMCTSPSSvc.service command.
- systemctl start BMCTSPSSvc.service
- systemctl stop BMCTSPSSvc.service
- (Applicable if you customized Tomcat files before the upgrade) Manually re-add the modifications in the web.xml and server.xml files.
Verify the TrueSight Presentation Server HA upgrade by logging on to the primary and secondary computers.
The URL format is: http(s)://<TSPS_FQDN>:<tomcat_port>- On the primary computer: You must be able to view the application without any errors.
- On the secondary computer: You must be able to see the following message:
You accessed a system that is in standby mode. Contact you system administrator for assistance.
(Applies only if you had configured HTTP access before the upgrade) Reconfigure the TrueSight Presentation Server for HTTP access as described in the steps.
Your upgrade is now complete.
You do not need additional configurations for the load balancer.- (Optional) Perform the steps mentioned in the Troubleshooting a failed deployment only if both of the following statements are true:
- You have upgraded the TrueSight Presentation Server to version 11.3.04, but you are not planning to upgrade your Integration Service or TrueSight Infrastructure Management server (they are running on one of the lower versions, such as 11.3.03 or earlier.)
- You are using the BMC-provided security certificates.
Troubleshooting upgrade issues
If you face issues related to upgrade, see Troubleshooting the Presentation Server deployment.
After an unsuccessful upgrade, if you want to restore to the earlier version, see Restoring the earlier version of the Presentation Server if the upgrade fails..
Next step in the Upgrade process
Now that you have successfully upgraded the TrueSight Presentation Server, upgrade the other TrueSight components as per your requirements. For instructions, see Upgrading.