Upgrading the Infrastructure Management 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 |
4 | Upgrade TrueSight Infrastructure Management — Phase A (You are here) |
Upgrade TrueSight Infrastructure Management — Phase B | |
5 | Upgrade App Visibility Manager |
6 | Upgrade Real End User Experience Monitoring Software Edition |
7 | Upgrade TrueSight IT Data Analytics |
Infrastructure Management Server can be upgraded silently with the existing settings such as database (Oracle or SAP SQL Anywhere), cell details, and firewall configurations.
- Ensure that there are no Integration Services installed on the computer where the TrueSight Infrastructure Management Server will be upgraded. If any Integration Services are installed on this computer, the TrueSight Infrastructure Management Server upgrade fails.
- If you are using the Remote Desktop Connection (RDC) to upgrade the product, put the RDC in console mode.
- If you are upgrading the Infrastructure Management Server with Oracle, ensure that port 7 is opened between the Server and the Oracle database system. If port 7 cannot be opened due to security restrictions, run the upgrade installer using the following option:
- (Windows)
install.cmd -J SKIP_PING_VALIDATION_ERROR=true
- (Linux)
./install.sh -J SKIP_PING_VALIDATION_ERROR=true
- (Windows)
- BMC recommends that you use MobaXterm as the UI to install TrueSight Infrastructure Management on Linux computers.
To upgrade the Infrastructure Management server
Do the following:
Log in to the host computer on which you want to upgrade the Infrastructure Management server, and delete all the files from the temporary directory:
(Windows) %temp%
(Linux) /tmp and /var/tmp
Extract the downloaded zip files (the installer) to a temporary location outside the following location to avoid any file sharing conflicts:
(Windows) C:\Program Files
(Linux) /opt
Note
Ensure that the following system requirements are met. If your target computer does not meet these requirements, you cannot proceed with the installation. 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
By default, the TrueSight Infrastructure Management 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.
(Linux) Apply executable rights to all the installation files by running the following command:
chmod -R 755 installationDirectoryFolderName
installationDirectoryFolderName is the name of the folder that contains all the installation files.
For example,
chmod -R 755 Disk1
- (Linux) If you are upgrading as a non-root user, ensure that you start a new session to run the upgrade. Do not use the
su
command to start a non-root session. - (Windows) Do the following:
- (Windows) Stop and disable all the scheduled tasks on the Infrastructure Management server.
- (Windows) Stop the pwtray process.
- (Windows) Ensure that you close all the files and folders opened in the current session as well as in the other user sessions on the Infrastructure Management server.
- (Windows) Ensure that the pw folder is not locked by any process.
Go to the extracted folder, and locate the silent options file, and edit this 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:
(Windows) <DownloadLocation>\Windows\Disk1\server_upgrade.options
(Linux) <DownloadLocation>/Linux/Disk1/server_upgrade.options
From the command prompt, run one of the following commands to start the upgrade. Type the complete path to the server_upgrade.options file in the command. If the path includes a blank space, enclose the path within double quotes. Upgrade-related information is not displayed when the silent upgrade begins. However, upgrade occurs in the background.
Environment type Command Production environment with the default encryption setting (Windows)
install.cmd -i silent -DOPTIONS_FILE="<DownloadLocation>\server_upgrade.options"
(Linux)
./install.sh -i silent -DOPTIONS_FILE="<DownloadLocation>/server_upgrade.options"
Example
(Windows - With space)
install.cmd -i silent -DOPTIONS_FILE="C:\temp folder\Disk1\server_upgrade.options"
(Linux- With space)
./install.sh -i silent -DOPTIONS_FILE="/home/tsim user/Linux/Disk1/server_upgrade.options"
Production environment with user-specified encryption setting (Windows)
install.cmd –J BMC_TS_KEY_SZ=<128/256> -i silent -DOPTIONS_FILE="<DownloadLocation>\server_upgrade.options"
(Linux)
./install.sh -i silent -DOPTIONS_FILE="<DownloadLocation>/server_upgrade.options"
Example
(Windows - With space)
install.cmd –J BMC_TS_KEY_SZ=<128/256> -i silent -DOPTIONS_FILE="C:\temp folder\Disk1\server_upgrade.options"
(Linux- With space)
./install.sh –J BMC_TS_KEY_SZ=<128/256> -i silent -DOPTIONS_FILE="/home/tsim user/Linux/Disk1/server_upgrade.options"
Test environment with the default encryption setting (Windows)
install.cmd -J MINIMAL=true -i silent -DOPTIONS_FILE="<DownloadLocation>\server_upgrade.options"
(Linux)
./install.sh -J MINIMAL=true -i silent -DOPTIONS_FILE="<DownloadLocation>/server_upgrade.options"
Example
(Windows)
install.cmd -J MINIMAL=true -i silent -DOPTIONS_FILE="C:\temp folder\Disk1\server_upgrade.options"
(Linux)
./install.sh -J MINIMAL=true -i silent -DOPTIONS_FILE="/home/tsim user/Linux/Disk1/server_upgrade.options"
Test environment with user-specified encryption setting
(Windows)
install.cmd -J MINIMAL=true –J BMC_TS_KEY_SZ=<128/256> -i silent -DOPTIONS_FILE="<DownloadLocation>\server_upgrade.options"
(Linux)
./install.sh -J MINIMAL=true –J BMC_TS_KEY_SZ=<128/256> -i silent -DOPTIONS_FILE="<DownloadLocation>/server_upgrade.options"
Example
(Windows)
install.cmd -J MINIMAL=true –J BMC_TS_KEY_SZ=<128/256> -i silent -DOPTIONS_FILE="C:\temp folder\Disk1\server_upgrade.options"
(Linux)
./install.sh -J MINIMAL=true –J BMC_TS_KEY_SZ=<128/256> -i silent -DOPTIONS_FILE="/home/tsim user/Linux/Disk1/server_upgrade.options"
Note
Based on whether you are using SAP SQL Anywhere or Oracle, the TrueSight Infrastructure Managementupgrade may take between 20 to 60 minutes to complete.
- Installation-related information is not displayed on the console when the silent installation begins. However, installation occurs in the background. The progress of the installation is logged in a temporary folder during the installation. To see the installation progress details and for the database-related progress details:
- (Windows) Go to Start > Run, enter
%temp%
in the Open box, and see the tsim_server_install_log.txt file - (Linux) Open /tmp or /var/tmp , and see the tsim_server_install_log.txt file
- (Windows) Go to Start > Run, enter
- If there were customizations in the Tomcat Server file (web.xml or server.xml) before the upgrade, you must manually add these customizations to the same web.xml or server.xml file after the upgrade.
After the TrueSight Infrastructure Management server is upgraded successfully, the following folder is created under the installation directory, in the BMC Software folder. You can manually delete the files if you do not want them.
Folder name Description <installationDirectory>11.x (where x is the version that you are upgrading from) Contains backup files of the earlier TrueSight Infrastructure Management installation. If you have imported custom certificates for TrueSight Infrastructure Management server, ensure that you edit the custom certificate and key entries in the httpd-ssl.conf file after you upgrade the TrueSight Infrastructure Management server. For detailed instructions, see Implementing private certificates in the TrueSight Infrastructure Management.
- If you have customized service management data in the di_models.baroc file present in the <Infrastructure Management Server Install Directory>\pw\server\etc directory, copy the publishing server kb from the backup directory to the <Infrastructure Management Server Install Directory>\pw\server\etc\<psname> directory.
Run the following command to verify that the Infrastructure Management Server is upgraded successfully:
(Windows)
# pw system status
(Linux)# pw system status
A list of pw server processes is displayed.
If errors occur, restart the BMC TrueSight Infrastructure Management Server by running the following command:
(Windows)
# pw system start
(Linux)# pw system start
BMCTrueSight.service (Applicable only to version 11.3.04 and later on Linux)
You can use the systemd service
BMCTrueSight.service
located in the /etc/systemd/system directory to start and stop the Infrastructure Management server on Linux. For more information, see Starting and stopping the TrueSight Operations Management components.
Important
The system requirements are validated every 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.
Post-upgrade task
- Ensure that you review the information in the Troubleshooting version 11.3.04 upgrade and post-upgrade issues topic after you upgrade.
- If you have customized the password for the bppmws_internal user account before the TrueSight Infrastructure Management Server upgrade, use one of the following options to sync the password after the upgrade. In a HA environment, ensure that you run these steps on both the HA nodes.
- Option 1:Update the properties file manually
- On the Infrastructure Management server, go to the following backup file location:
<InstallationDirectory><OLD_VERSION>/pw/pronto/conf/bppmws_internal.properties
<OLD_VERSION> is the version that you are upgrading from. - Copy the value for the property bppmws_internal_key from the preceding properties backup file and replace the value in the following file:
<InstallationDirectory>/pw/pronto/conf/bppmws_internal.properties - Restart theTrueSight Infrastructure Management server.
- Option 2:Update the properties file using CLI command
- Open a command prompt on the Infrastructure Management server and run the following command:
pw internaluser change_passwd
- Enter the new password.
The new password is validated with Remedy SSO and then updated. - Restart the Infrastructure Management server.
- Due to security reasons, the following property is set to false during the upgrade.
http.enabled:false
If you want to monitor the Elasticsearch, set the above property to true
in the elasticsearch.yml file at the following directory path after the upgrade as applicable:
- (On Linux)<TRUESIGHTPSERVER_HOME>/truesightpserver/modules/elasticsearch/config/
- (On Windows) <TRUESIGHTPSERVER_HOME>\truesightpserver\modules\elasticsearch\config\
Note
On a high-availability environment, perform the preceding steps on both the primary and secondary servers.
Note
On a high-availability environment, perform the preceding steps on both the primary and secondary servers.
Troubleshooting upgrade issues
If you face issues during the upgrade, see
Troubleshooting an Infrastructure Management deployment.
Next step in the Upgrade process
Step 4 Phase B — Now that you have successfully upgraded the Infrastructure Management Server, you must upgrade the Integration Service and remote cells.
Comments
Log in or register to comment.