Applying service packs on the Infrastructure Management server in the application high-availability mode
Where you are in the Applying service packs process
Failed to execute the [excerpt-include] macro.
To apply the service pack on the Infrastructure Management server in the application high-availability mode
Stop the secondary server by using the pw sys stop command.
- On the primary server, change the publishing server startup mode from automated to manual. Ignore this step if the startup mode is already set to manual.
- Edit the pserver.conf file located in the installationDirectory/pw/server/etc folder and change the value of the parameter AutomatedStartMode to Manual.
- Run the command pscontrol manual
Apply the service pack on the primary server. See:
(Using the wizard) Applying service packs on the Infrastructure Management server in the standalone mode using the wizard
(Silently) Applying service packs on the Infrastructure Management server in the standalone mode silently
If you applied the service pack as a non-root user, then after the installation is complete, you might see the following warning in the tsim_servicepack_log.txt file located at installedDirectory\pw\pronto\logs. You can ignore this warning.LOG EVENT {Description=[Error while updating BMCTrueSight],Detail=[/etc/init.d/BMCTrueSight (Permission denied)]}
- Ensure that the primary server has successfully started by running the pw license list command. The output should display a valid license expiration date, as in the following example:
Feature : Server, Expiration : Thu Dec 31 00:00:00 IST 2099, NodeLocked : false Stop the primary server by using the pw sys stop command.
- Synchronize the cell database (MCDB) on the primary and secondary servers:
- Back up the installedDirectory\TrueSight\pw\server\var\<secondary_cell_name> folder (for example, pncell_<host name>#2) of the secondary server.
- Delete all content in the installedDirectory\TrueSight\pw\server\var\<secondary_cell_name> folder (for example, pncell_<host name>#2) of the secondary server.
- Copy all content from the installedDirectory\TrueSight\pw\server\var\<primary_cell_name> folder (for example, pncell_<host name>#1) of the primary server to the above location on the secondary server.
- On the secondary server, change the publishing server startup mode from automated to manual. Ignore this step if the startup mode is already set to manual.
Edit the pserver.conf file located in the installationDirectory/pw/server/etc folder and change the value of the parameter AutomatedStartMode to Manual. Apply the service pack on the secondary server. See:
(Using the wizard) Applying service packs on the Infrastructure Management server in the standalone mode using the wizard
(Silently) Applying service packs on the Infrastructure Management server in the standalone mode silentlyIf you applied the service pack as a non-root user, then after the installation is complete, you might see the following warning in the tsim_servicepack_log.txt file located at installedDirectory\pw\pronto\logs. You can ignore this warning.
LOG EVENT {Description=[Error while updating BMCTrueSight],Detail=[/etc/init.d/BMCTrueSight (Permission denied)]}
Stop the secondary server by using the pw sys stop command.
- Synchronize the cell database (MCDB) on the primary and secondary servers:
- Back up the installedDirectory\TrueSight\pw\server\var\<primary_cell_name> folder (for example, pncell_<host name>#1) of the primary server.
- Delete all content in the installedDirectory\TrueSight\pw\server\var\<primary_cell_name> folder (for example, pncell_<host name>#1) of the primary server.
- Copy all content from the installedDirectory\TrueSight\pw\server\var\<secondary_cell_name> folder (for example, pncell_<host name>#2) of the secondary server to the above location on the primary server.
- If you changed the publishing server startup mode from automated to manual before applying the service pack, change it back to automated. Do this on both servers.
Edit the pserver.conf file located in the installationDirectory/pw/server/etc folder and change the value of the parameter AutomatedStartMode to Automated. - (Linux) If you applied the service pack as a non-root user, perform the following steps on the primary and secondary servers:
- Start the primary server by using the pw sys start command.
- Ensure that the primary server has successfully started by running the pw license list command. The output should display a valid license expiration date, as in the following example:
Feature : Server, Expiration : Thu Dec 31 00:00:00 IST 2099, NodeLocked : false - Verify that the primary server is the active node by running the pw ha status command.
- Start the secondary server by using the pw sys start command.
- Ensure that the secondary server has successfully started by running the pw license list command. The output should display a valid license expiration date, as in the following example:
Feature : Server, Expiration : Thu Dec 31 00:00:00 IST 2099, NodeLocked : false