Installing the Presentation Server in the high-availability mode using the wizard
Where you are in the Installation process
To install the TrueSight Presentation Server in the high-availability mode using the wizard-based installer
You need to perform the following tasks to install TrueSight Presentation Server in a high-availability environment.
Step A: Install TrueSight Presentation Server on the primary computer
- Log in to the host computer (as a root user if you are using Linux) on which you want to install Presentation Server, and delete all the files from the temporary directory:
- (Windows) %temp%
- (Linux) /tmp
- Extract the downloaded files 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
- 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.
- Select the Custom installation type, and click Next.
- Review the disk space requirements. The default installation directory is:
- (Windows) C:\Program Files\BMC Software\TrueSightPServer
- (Linux) /opt/bmc/TrueSightPServer
- The installer detects the FQDN of the host computer and populates the FQDN field automatically. Ensure that the FQDN is accessible by the other TrueSight components in your environment. If you modify the FQDN:
- Do not manually type any IP address in the FQDN field.
- Do not leave this field empty.
- Ensure that the host computer belongs to the same network domain as that of Remedy Single Sign-On (Remedy SSO) cookie domain.
Select Enabled > Primary Server, provide the following details and click Next.
- Retain the following default values for Tomcat Apache Server, Elasticsearch, and Event Ingress ports, or type new values, and click Next.
- Tomcat port: HTTPS: 443, HTTP: 80
- Elasticsearch ports: REST: 9200, Java/Node Client: 9300
- Event Ingress port: 1900
- (Windows) 1 and 65535.
- (Linux) 1024 and 65535.
- Type the PostgreSQL database details such as the user name, password, and port number. Click Next.
- The database username and password must not exceed 30 characters.
- If you want to change the default port number (5432), use port numbers only between:
- (Windows) 1 and 65535
- (Linux) 1024 and 65535
- Provide the following details for Remedy SSO, and click Next: Note: If you have configured a Load Balancer for Remedy SSO, you must type the corresponding load balancer details.
- Type the FQDN of the host computer on which you have installed Remedy SSO or the load balancer URL.
- Type the tomcat port number that you have configured while installing Remedy SSO or the load balancer port number. 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 installation is completed. For details, 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 installation. A local installation may take up to 15 minutes.
After the installation is complete, the Installation Summary page is displayed. - Click View Log to view the installation 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 installation program.
- Verify that the following environment variable points to the TrueSight Presentation Server installation path:
- (Windows) %TRUESIGHTPSERVER_HOME%
- (Linux) $TRUESIGHTPSERVER_HOME
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 tssh server status command.
- (Linux) Navigate to the TrueSightPServer/truesightpserver/bin directory, and run ./tssh server status command.
If errors occur when you run the tssh server status command, restart the 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
- (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
- In an IPv6 environment, comment the following properties and restart the TrueSight Presentation Server:
- #vm.args.system.26 in the installedDirectory\truesightpserver\conf\custom\csr.conf and installedDirectory\truesightpserver\conf\services\csr.conf files
- #vm.args.system.18 in the installedDirectory\truesightpserver\conf\custom\idxsrv.conf and installedDirectory\truesightpserver\conf\services\idxsrv.conf files
- (Applicable only if you plan to connect to the TrueSight Presentation Server with an alias name) The TrueSight Presentation Server validates all incoming requests to prevent Cross-Site Forgery (CSRF) attacks. If you plan to connect to the TrueSight Presentation Server with an alias or a proxy name, you must configure all hosts, aliases, or proxies for CSRF validation. Unless you do this, you cannot access TrueSight Presentation Server even if the installation 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:
- Copy the ha-shared.conf file from the <Primary Server installation directory>\truesightpserver\conf directory to an appropriate location on the secondary server. You will need to upload this file while installing TrueSight Presentation Server on the secondary computer.
Step B: InstallTrueSight Presentation Server on the secondary computer
- Ensure that the Presentation Server is up and running on the primary computer.
- Log in to the host computer (as a root user if you are using Linux) on which you want to install Presentation Server, and delete all the files from the temporary directory:
- (Windows) %temp%
- (Linux) /tmp
- Extract the downloaded files 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
- 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.
- Select the Custom installation type, and click Next.
- Review the disk space requirements. The default installation directory is:
- (Windows) C:\Program Files\BMC Software\TrueSightPServer
- (Linux) /opt/bmc/TrueSightPServer
- The installer detects the FQDN of the host computer and populates the FQDN field automatically. Ensure that the FQDN is accessible by the other TrueSight components in your environment. If you modify the FQDN:
- Do not manually type any IP address in the FQDN field.
- Do not leave this field empty.
- Ensure that the host computer belongs to the same network domain as that of Remedy Single Sign-On (Remedy SSO) cookie domain.
- Select Enabled > Secondary Server. Upload the ha-shared.conf file that you copied from the primary server.
- Retain the following default values for Tomcat Apache Server, Elasticsearch, and Event Ingress ports, or type new values, and click Next.
- Tomcat port: HTTPS: 443, HTTP: 80
- Elasticsearch ports: REST: 9200, Java/Node Client: 9300
- Event Ingress port: 1900
- (Windows) 1 and 65535.
- (Linux) 1024 and 65535.
- Type the PostgreSQL database details such as the user name, password, and port number. Click Next.
- The database username and password must not exceed 30 characters.
- If you want to change the default port number (5432), use port numbers only between:
- (Windows) 1 and 65535
- (Linux) 1024 and 65535
- Preview the details, and verify the configurations.
- Click Install to start the installation. A local installation may take up to 15 minutes.
After the installation is complete, the Installation Summary page is displayed. - Click View Log to view the installation 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 installation program.
- Verify that the following environment variable points to the TrueSight Presentation Server installation path:
- (Windows) %TRUESIGHTPSERVER_HOME%
- (Linux) $TRUESIGHTPSERVER_HOME
Note: (Optional) After the installation is complete, you can revoke the write permission on the /opt directory. - Run the following command to verify the TrueSight Presentation Server status:
- (Windows) Navigate to the TrueSightPServer\truesightpserver\bin directory, and run tssh server status command.
- (Linux) Navigate to the TrueSightPServer/truesightpserver/bin directory, and run ./tssh server status command.
If errors occur when you run tssh server status command, restart the 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
- (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
- In an IPv6 environment, comment the following properties and restart the TrueSight Presentation Server:
- #vm.args.system.26 in the installedDirectory\truesightpserver\conf\custom\csr.conf and installedDirectory\truesightpserver\conf\services\csr.conf files
- #vm.args.system.18 in the installedDirectory\truesightpserver\conf\custom\idxsrv.conf and installedDirectory\truesightpserver\conf\services\idxsrv.conf files
Verify the TrueSight Presentation Server HA installation 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.
Step C: Set up and configure the load balancer details
Set up the load balancer on a computer other than the primary and secondary computers.
Then, configure the load balancer name on the primary computer.
To configure the load balancer name
- On the primary computer, navigate to the following location:
- (Windows) TrueSightPServer\truesightpserver\bin
- (Linux) TrueSightPServer/truesightpserver/bin
- Run the tssh properties set loadbalancername <loadbalancername> command.
- Run the tssh properties reload command.
- Run the following command to verify the high-availability deployment status:
tssh ha status
Now that you have set up the Load Balancer, your TrueSight Presentation Server HA deployment is complete.
Troubleshooting installation issues
If you face issues during installation, see Troubleshooting the Presentation Server deployment.
Next step in the Installation process
Now that you have successfully installed the Presentation Server, do one of the following:
- (Optional) Configure disaster recovery. For instructions, see Configuring-the-Presentation-Server-in-the-standalone-and-disaster-recovery-mode.
- Install the other TrueSight components as per your license entitlements. For instructions, see Installation process.