Installing the Presentation Server in the standalone mode silently
Where you are in the Installation process
Step | Task |
---|---|
1 | Complete the planning activities |
2 | Preparing for TrueSight Capacity Optimization installation |
3 | Install Remedy Single Sign-On |
4 | Install TrueSight Presentation Server - Phase A (You are here) |
Configure TrueSight Presentation Server for disaster recovery — Phase B | |
5 | Install TrueSight Capacity Optimization Application Server and ETL Engine |
6 | Install TrueSight Capacity Optimization Gateway Server |
7 | Install TrueSight Capacity Optimization Capacity Agent |
8 | Complete the post-installation activities |
You can install the Presentation Server using one of these settings:
- Typical: Installs the Presentation Server using the default settings for the installation directory and the Tomcat Apache Server, Elasticsearch, and Event Ingress ports.
- Custom: Allows you to customize these settings.
To perform a typical installation of the TrueSight Presentation Server in the silent mode
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
You will need to type the database administrator password and the Remedy Single Sign-On password in an encrypted form in the server-silent-options-<operatingSystem>.txt in Step 5. You can encrypt these passwords using the TrueSightPServerMaintenanceTool through the wizard or command line interface:
Go to the extracted folder, and locate the server-silent-options-<operatingSystem>.txt file:
(Windows) <DownloadLocation>\Windows\Disk1\
(Linux) <DownloadLocation>/Linux/Disk1/
Open and edit the server-silent-options-<operatingSystem>.txt file. This is a text file that defines the installation properties in the form of a prefix tag followed by a property name and value pair. You can either retain the default values or change them and save the file.
Note: By default, the TrueSight Presentation Server uses 256-bit encryption. However, AES 256-bit encryption is not allowed in some countries due to import regulations. You can change the default encryption key size when you invoke the installer.From the command prompt, run the following command to start the installation. Type the complete path to the server-silent-options-windows.txt file in the command. If the path includes a blank space, enclose the path within double quotes.
If you plan to use Presentation Server with the TrueSight Capacity Optimization component only:Environment type
Command
With the default encryption setting - (Windows)
setup.exe -J MINIMAL=true
-i silent -DOPTIONS_FILE=C:\Disk1\server-silent-options-windows.txt
- (Linux - as a non-root user)
Ensure that you start a new session as a non-root user to run the installation. Do not use the./setup.bin -J MINIMAL=true -i silent -DOPTIONS_FILE=/opt/Disk1/server-silent-options-linux.txt
su
command to start a non-root session.
Example
- (Windows)
setup.exe -J MINIMAL=true
-i silent -DOPTIONS_FILE=C:\Disk1\server-silent-options-windows.txt
- (Linux - as a non-root user)
./setup.bin -J MINIMAL=true -i silent -DOPTIONS_FILE=/opt/Disk1/server-silent-options-linux.txt
With user-specified encryption setting - (Windows)
setup.exe
-J MINIMAL=true–J BMC_TS_KEY_SZ=<128/256>
-i silent -DOPTIONS_FILE=C:\Disk1\server-silent-options-windows.txt
- (Linux - as a non-root user)
Ensure that you start a new session as a non-root user to run the installation. Do not use the./setup.bin -J MINIMAL=true -i silent -DOPTIONS_FILE=/opt/Disk1/server-silent-options-linux.txt
su
command to start a non-root session.
Example
- (Windows)
setup.exe
-J MINIMAL=true–J BMC_TS_KEY_SZ=<128/256>
-i silent -DOPTIONS_FILE=C:\Disk1\server-silent-options-windows.txt
- (Linux - as a non-root user)
./setup.bin -J MINIMAL=true -i silent -DOPTIONS_FILE=/opt/Disk1/server-silent-options-linux.txt
The parameter
-J MINIMAL=true
ensures that the Presentation Server installer skips the step of validating the minimum system requirements, which includes the check for 32 GB of RAM. When Presentation Server is used with TrueSight Capacity Optimization only, the minimum RAM or memory requirement is 8 GB.
For more information, see Hardware requirements.If TrueSight Presentation Server is shared with TrueSight Operations Management, then ensure that the system requirements are met and do not specify the
-J MINIMAL
parameter in the command. Run the following command:Environment type
Command
With the default encryption setting - (Windows)
setup.exe -i silent -DOPTIONS_FILE="<
path_to_server-
silent-options-windows
.txt_file>" - (Linux)
./setup.bin -i silent -DOPTIONS_FILE="<
>"path_to_server-
.txt_filesilent-options-linux
Example
- (Windows - With space in the path)
setup.exe -i silent -DOPTIONS_FILE="C:\temp folder\Disk1\
server-silent-options-windows.txt
" - (Linux- With space in the path)
./setup.bin -i silent -DOPTIONS_FILE="/opt/temp folder/Disk1/
server-silent-options-linux.txt
"
With user-specified encryption setting - (Windows)
setup.exe
–J BMC_TS_KEY_SZ=<128/256>
-i silent -DOPTIONS_FILE="<path_to_server-
silent-options-windows
.txt_file>" - (Linux)
./setup.bin
>"–J BMC_TS_KEY_SZ=<128/256>
-i silent -DOPTIONS_FILE="<path_to_server-
.txt_filesilent-options-linux
- (Windows)
Example
- (Windows - With space in the path)
setup.exe -i silent -DOPTIONS_FILE="C:\temp folder\Disk1\
server-silent-options-windows.txt
" - (Linux- With space in the path)
./setup.bin -i silent -DOPTIONS_FILE="/opt/temp folder/Disk1/
server-silent-options-linux.txt
"
- (Windows - With space in the path)
- (Windows)
The installation might take up to 15 minutes. After the installation is complete, the Installation Summary page is displayed. You can periodically check the installation status by checking the truesightpserver_install_log.txt file located at:
- (Windows) %temp%
(Linux) /tmp
Locate the following log message in the truesightpserver_install_log.txt file to ensure that the Presentation Server is installed successfully:
Log message:
TrueSight Presentation Server 11.3.01 install succeeded
.Verify that the following environment variable points to the Presentation Server installation path:
(Windows) %TRUESIGHTPSERVER_HOME%
(Linux) $TRUESIGHTPSERVER_HOME
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.
A list of Presentation Server processes are displayed as shown in the following example:
Process status
================================
Core Server Running (13176)
Index Server Running (11028)
Database Server Running (6052)If errors occur when you run
tssh server status
command, restart the Presentation Server by running the following command:(Windows)
tssh server start
- (Linux)
./tssh server start
- (Windows) Navigate to the TrueSightPServer\truesightpserver\bin directory, and run
(Linux only) Register the
BMCTSPSSvc
service by performing the following steps:- As a root user, run the
tssh service register <Non-RootUserName>
. This command registers theBMCTSPSSvc
service under the /etc/init.d folder. - (SUSE Linux Enterprise Server only) Run the chkconfig --add BMCTSPSSvc command.
If you restart the TrueSight Presentation Server host without registering the
BMCTSPSSvc
service, the processes will not come up, and you will need to start the TrueSight Presentation Server manually.Verify whether the service is registered with the following steps:
- Ensure that you have read and write permissions for the installedDirectory\truesightpserver\logs\tssh.log file.
- Run the
service BMCTSPSSvc status
command.
To start and stop the service, run the following commands:
service BMCTSPSSvc start
service BMCTSPSSvc stop
- As a root user, run the
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.Example
If you have set a single alias name for the TrueSight Presentation Server host:
tssh properties set tspsProxyHosts HostHouston
If you have set multiple alias names for the TrueSight Presentation Server host:
tssh properties set tspsProxyHosts HostHouston,HostLondon,HostPune
- Run the
tssh properties reload
command.
- Navigate to the following location:
Define the Presentation Server URL using this format, and launch the application in a browser:
(Windows) http(s)://<TSPS_FQDN>
- (Linux) http(s)://<TSPS_FQDN>:<tomcat_port>
- Type the default Admin credentials (User name: admin, Password: admin12345) , and click Log In.
The TrueSight console opens. - When you restart the TrueSight Presentation Server, the system requirements are validated. The restart process fails if the requirements are not met. When you use the Presentation Server only with the TrueSight Capacity Optimization component, you can skip this validation by performing the following steps. After you perform these steps, the Presentation Server service is automatically started even if you restart the TrueSight Presentation Server host.
Navigate to the following location:
- For Windows: <installationDirectory>\truesightpserver\conf\custom
- For Linux: <installationDirectory>/truesightpserver/conf/custom
Edit the csr.conf file, add the following property, and save the file.
skipResourceCheck=true
Restart the product service.
Alternatively, run the following command to forcefully start the Presentation Server service:
tssh server start force
However, this method does not guarantee the automatic restart of the Presentation Server service after restarting the Presentation Server host.
To perform a custom installation of the TrueSight Presentation Server in the silent mode
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
You will need to type the database administrator password and the Remedy Single Sign-On password in an encrypted form in the server-silent-options-<operatingSystem>.txt in Step 5. You can encrypt these passwords using the TrueSightPServerMaintenanceTool through the wizard or command line interface:
Go to the extracted folder, and locate the server-silent-options-<operatingSystem>.txt file:
(Windows) <DownloadLocation>\Windows\Disk1\
(Linux) <DownloadLocation>/Linux/Disk1/
Open and edit the server-silent-options-windows.txt file. You can either retain the default values for the properties or change them, and save the file. The server-silent-options-windows.txt is a text file that defines the installation properties in the form of a prefix tag followed by a property name and value pair.
Note: By default, the TrueSight Presentation Server uses 256-bit encryption. However, AES 256-bit encryption is not allowed in some countries due to import regulations. You can change the default encryption key size when you invoke the installer.
From the command prompt, run the following command to start the installation. Type the complete path to the server-silent-options-windows.txt file in the command. If the path includes a blank space, enclose the path within double quotes.
If you plan to use Presentation Server with the TrueSight Capacity Optimization component only:Environment type
Command
With the default encryption setting - (Windows)
setup.exe -J MINIMAL=true
-i silent -DOPTIONS_FILE=C:\Disk1\server-silent-options-windows.txt
- (Linux - as a non-root user)
Ensure that you start a new session as a non-root user to run the installation. Do not use the./setup.bin -J MINIMAL=true -i silent -DOPTIONS_FILE=/opt/Disk1/server-silent-options-linux.txt
su
command to start a non-root session.
Example
- (Windows)
setup.exe -J MINIMAL=true
-i silent -DOPTIONS_FILE=C:\Disk1\server-silent-options-windows.txt
- (Linux - as a non-root user)
./setup.bin -J MINIMAL=true -i silent -DOPTIONS_FILE=/opt/Disk1/server-silent-options-linux.txt
With user-specified encryption setting - (Windows)
setup.exe
-J MINIMAL=true–J BMC_TS_KEY_SZ=<128/256>
-i silent -DOPTIONS_FILE=C:\Disk1\server-silent-options-windows.txt
- (Linux - as a non-root user)
Ensure that you start a new session as a non-root user to run the installation. Do not use the./setup.bin -J MINIMAL=true -i silent -DOPTIONS_FILE=/opt/Disk1/server-silent-options-linux.txt
su
command to start a non-root session.
Example
- (Windows)
setup.exe
-J MINIMAL=true–J BMC_TS_KEY_SZ=<128/256>
-i silent -DOPTIONS_FILE=C:\Disk1\server-silent-options-windows.txt
- (Linux - as a non-root user)
./setup.bin -J MINIMAL=true -i silent -DOPTIONS_FILE=/opt/Disk1/server-silent-options-linux.txt
The parameter
-J MINIMAL=true
ensures that the Presentation Server installer skips the step of validating the minimum system requirements, which includes the check for 32 GB of RAM. When Presentation Server is used with TrueSight Capacity Optimization only, the minimum RAM or memory requirement is 8 GB.
For more information, see Hardware requirements.If TrueSight Presentation Server is shared with TrueSight Operations Management, then ensure that the system requirements are met and do not specify the
-J MINIMAL
parameter in the command. Run the following command:Environment type
Command
With the default encryption setting - (Windows)
setup.exe -i silent -DOPTIONS_FILE="<
path_to_server-
silent-options-windows
.txt_file>" - (Linux)
./setup.bin -i silent -DOPTIONS_FILE="<
>"path_to_server-
.txt_filesilent-options-linux
Example
- (Windows - With space in the path)
setup.exe -i silent -DOPTIONS_FILE="C:\temp folder\Disk1\
server-silent-options-windows.txt
" - (Linux- With space in the path)
./setup.bin -i silent -DOPTIONS_FILE="/opt/temp folder/Disk1/
server-silent-options-linux.txt
"
With user-specified encryption setting - (Windows)
setup.exe
–J BMC_TS_KEY_SZ=<128/256>
-i silent -DOPTIONS_FILE="<path_to_server-
silent-options-windows
.txt_file>" - (Linux)
./setup.bin
>"–J BMC_TS_KEY_SZ=<128/256>
-i silent -DOPTIONS_FILE="<path_to_server-
.txt_filesilent-options-linux
- (Windows)
Example
- (Windows - With space in the path)
setup.exe -i silent -DOPTIONS_FILE="C:\temp folder\Disk1\
server-silent-options-windows.txt
" - (Linux- With space in the path)
./setup.bin -i silent -DOPTIONS_FILE="/opt/temp folder/Disk1/
server-silent-options-linux.txt
"
- (Windows - With space in the path)
- (Windows)
The installation might take up to 15 minutes. After the installation is complete, the Installation Summary page is displayed. You can periodically check the installation status by checking the truesightpserver_install_log.txt file located at:
- (Windows) %temp%
(Linux) /tmp
Locate the following log message in the truesightpserver_install_log.txt file to ensure that the Presentation Server is installed successfully:
Log message:
TrueSight Presentation Server 11.3.01 install succeeded
.Verify that the following environment variable points to the Presentation Server installation path:
(Windows) %TRUESIGHTPSERVER_HOME%
(Linux) $TRUESIGHTPSERVER_HOME
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.
A list of Presentation Server processes are displayed as shown in the following example:
Process status
================================
Core Server Running (13176)
Index Server Running (11028)
Database Server Running (6052)If errors occur when you run
tssh server status
command, restart the Presentation Server by running the following command:(Windows)
tssh server start
- (Linux)
./tssh server start
- (Windows) Navigate to the TrueSightPServer\truesightpserver\bin directory, and run
(Linux only) Register the
BMCTSPSSvc
service by performing the following steps:- As a root user, run the
tssh service register <Non-RootUserName>
. This command registers theBMCTSPSSvc
service under the /etc/init.d folder. - (SUSE Linux Enterprise Server only) Run the chkconfig --add BMCTSPSSvc command.
If you restart the TrueSight Presentation Server host without registering the
BMCTSPSSvc
service, the processes will not come up, and you will need to start the TrueSight Presentation Server manually.Verify whether the service is registered with the following steps:
- Ensure that you have read and write permissions for the installedDirectory\truesightpserver\logs\tssh.log file.
- Run the
service BMCTSPSSvc status
command.
To start and stop the service, run the following commands:
service BMCTSPSSvc start
service BMCTSPSSvc stop
- As a root user, run the
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.Example
If you have set a single alias name for the TrueSight Presentation Server host:
tssh properties set tspsProxyHosts HostHouston
If you have set multiple alias names for the TrueSight Presentation Server host:
tssh properties set tspsProxyHosts HostHouston,HostLondon,HostPune
- Run the
tssh properties reload
command.
- Navigate to the following location:
Define the Presentation Server URL using this format, and launch the application in a browser:
(Windows) http(s)://<TSPS_FQDN>
- (Linux) http(s)://<TSPS_FQDN>:<tomcat_port>
- Type the default Admin credentials (User name: admin, Password: admin12345) , and click Log In.
The TrueSight console opens. - When you restart the TrueSight Presentation Server, the system requirements are validated. The restart process fails if the requirements are not met. When you use the Presentation Server only with the TrueSight Capacity Optimization component, you can skip this validation by performing the following steps. After you perform these steps, the Presentation Server service is automatically started even if you restart the TrueSight Presentation Server host.
Navigate to the following location:
- For Windows: <installationDirectory>\truesightpserver\conf\custom
- For Linux: <installationDirectory>/truesightpserver/conf/custom
Edit the csr.conf file, add the following property, and save the file.
skipResourceCheck=true
Restart the product service.
Alternatively, run the following command to forcefully start the Presentation Server service:
tssh server start force
However, this method does not guarantee the automatic restart of the Presentation Server service after restarting the Presentation Server host.
Next step in the Installation process
Now that you have successfully installed the Presentation Server, install TrueSight Capacity Optimization Application Server and ETL Engine.
Comments