Upgrading the Infrastructure Management Server in the standalone mode silently
Infrastructure Management Server can be upgraded silently with the existing settings such as database (Oracle or SAP SQL Anywhere), cell details, and firewall configurations.
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
(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.
- 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 %temp% in the Open box, and see the tsim_server_install_log.txt file
- 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 statusA 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.
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.
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\
Troubleshooting upgrade issues
Failed to execute the [excerpt-include] macro. Cause: [Error number 2 in 0: No wiki with id [confluencePage:page] could be found]. Click on this message for details.
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.