Upgrading the Presentation Server in the standalone mode silently
Where you are in the Upgrade process
Step | Task |
---|---|
1 | Preparing to upgrade TrueSight Operations Management solution |
2 | Upgrade Remedy Single Sign-On |
3 | Upgrade TrueSight Presentation Server (You are here) |
4 | Upgrade TrueSight Infrastructure Management |
5 | Upgrade App Visibility Manager |
6 | Upgrade Real End User Experience Monitoring Software Edition |
7 | Upgrade TrueSight IT Data Analytics |
To upgrade the TrueSight Presentation Server in the silent mode
Extract the downloaded files to an appropriate directory on the computer on which you want to perform the upgrade:
(Windows) C:\<tempFolder>
(Linux) /opt
Note
(Applicable for upgrade on a Linux computer) If you do not extract the upgrade installation files on the Presentation Server host computer (on which you want to perform the upgrade), it is possible that the install.sh and setup.bin files do not have the required executable permissions. You might need to provide executable permissions to these files by running the
chmod -R 755 installationDirectoryFolderName
command.
For example,chmod -R 755 /Linux/Disk1
.
(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:
chown -R <nonrootuser> <installationDirectoryFolderName>
In the preceding command, the following definitions apply:
<nonrootuser>
is the name of the non-root user.<installationDirectoryFolderName>
is the name of the folder that contains the installation files.
For example,
chown -R nonrootuser /Linux/Disk1
.
(applicable if you are upgrading from a version earlier than 11.0) You need to provide details of the Remedy Single Sign-On server that you plan to use with the TrueSight Presentation Server:
You will need to type the database administrator password and the Remedy Single Sign-On password in an encrypted form in the silent options file. Encrypt the password using the TrueSightPServerMaintenanceTool through the wizard or command line interface.
- Go to the extracted folder, and locate the silent options file:
- (Windows) <DownloadLocation>\Windows\Disk1\server-silent-options-upgrade-windows.txt
- (Linux) <DownloadLocation>/Linux/Disk1/server-silent-options-upgrade-linux.txt
Edit the silent options 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
Ensure that the following system requirements are met. If your target computer does not meet these requirements, you cannot proceed with the upgrade. However, in a test environment, you can skip the system requirements validation and run the installer by using the
-J MINIMAL=TRUE
argument.- Total RAM (in MB): 32,000
- Available RAM (in MB): 25,000
- Total swap space / page file (in MB): 8,000
- Available swap space / page file (in MB): 8,000
At the command prompt, run one of the following commands to start the upgrade. Type the complete path to the silent options file in the command. If the path includes a blank space, enclose the path within double quotes.
Environment type Command Production environment with the existing encryption setting - (Windows)
setup.exe -i silent -DOPTIONS_FILE="<
path_to_server-
silent-options-upgrade-windows
.txt_file>" - (Linux - as a non-root user)
./setup.bin -i silent -DOPTIONS_FILE="<
>"path_to_server-
.txt_filesilent-options-upgrade-linux
Example
- (Windows)
setup.exe -i silent -DOPTIONS_FILE=C:\tempfolder\Disk1\
server-silent-options-upgrade-windows.txt
- (Linux)
./setup.bin -i silent -DOPTIONS_FILE=/opt/tempfolder/Disk1/
server-silent-options-upgrade-linux.txt
Test environment with the existing encryption setting - (Windows)
setup.exe -J MINIMAL=TRUE
-i silent -DOPTIONS_FILE=C:\Disk1\server-silent-options-upgrade-windows.txt
- (Linux - as a non-root user)
./setup.bin -J MINIMAL=TRUE -i silent -DOPTIONS_FILE=/opt/Disk1/server-silent-options-upgrade-linux.txt
Example
- (Windows)
setup.exe -J MINIMAL=TRUE
-i silent -DOPTIONS_FILE=C:\Disk1\server-silent-options-upgrade-windows.txt
- (Linux - as a non-root user)
./setup.bin -J MINIMAL=TRUE -i silent -DOPTIONS_FILE=/opt/Disk1/server-silent-options-upgrade-linux.txt
Note: On Linux, ensure that you start a new session as a non-root user to run the upgrade. Do not use the su
command to start a non-root session.- (Windows)
The upgrade might take upto 15 minutes. 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 upgraded successfully:
Log message:
TrueSight Presentation Server 11.3.01 install succeeded
.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.
A list of include 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 the
tssh server status
command, restart the TrueSight Presentation Server by running the following command:(Windows)
tssh server start
- (Linux)
tssh server start&
The&
character at the end of thetssh server start
command ensures that the process runs in the background, and you can continue to use the shell.
- (Windows) Navigate to the TrueSightPServer\truesightpserver\bin directory, and run the
- (Applicable if you customized Tomcat files before the upgrade) Manually re-add the modifications in the web.xml and server.xml files.
Launch the TrueSight Presentation Server application with the following URL:
(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.
(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.
Notes
- The system requirements are validated each time you restart the host computer or product services. If the system requirements are not met, the product services are not started. To force-start the product services, see Starting and stopping the TrueSight Operations Management components.
- In the previous installation, if an IP address was used to access the TrueSight console, post upgrade, map the IP address to the FQDN in the following file:
- (Windows)System32\drivers\etc\hosts
- (Linux) \etc\hosts
After mapping, update bookmarked IP addresses (in browsers) to refer to this FQDN.
Post upgrade, check to ensure custom tuning parameters, if any, are correct. If required, restore them by using the backup files located at installationDirectory\TrueSightPServer\truesightpserver_<version>\conf\services and copy them to the installationDirectory\conf\custom folder.
(Applicable if you are upgrading from a version earlier than 11.0) If you were using an IP address to access or cross-launch the TrueSight Infrastructure Management servers, you need to change the IP address to the FQDN.
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.
Comments
Log in or register to comment.