Applying service packs on the Infrastructure Management server in the standalone mode silently


Where you are in the Applying service packs process

Failed to execute the [excerpt-include] macro.

Applying feature packs or fix packs on the Infrastructure Management server automatically updates the following components:

  • Infrastructure Management server
  • Infrastructure Management Self-Monitoring Service
  • Infrastructure Management local Administration Console
  • Infrastructure Management local Integration Service

To apply service packs on the Infrastructure Management server silently

Customize the options file

Before you install the service packs silently, customize the server_servicepack_silent.options file as required. This file is available in the <OS>\TSIMServerFixPack\Disk1 directory.

  1. Set the following parameter to true:
    -J SERVICEPACK_CONFIRM_SERVER_RESTART=true
  2.  Provide the path of the customized KB directory: 

    -J MIGRATED_KB=true
    -J MIGRATED_KB_HOME=<KB migration path>

Microsoft Windows

To install the Infrastructure Management server by using the server_servicepack_silent.options file, run one of the following commands:

Backing up and resetting server restart parameter

Perform all the backup procedures mentioned in the Preparing-to-upgrade-Infrastructure-Management and set the following parameter to true:

-J SERVICEPACK_CONFIRM_SERVER_RESTART

If you have not set this to true, the silent installation fails. Either you can edit the server_servicepack_silent.options file and change it to true or append -J SERVICEPACK_CONFIRM_SERVER_RESTART=true to all the above commands.

For example, install.cmd -i silent -DOPTIONS_FILE="<fullyQualifiedPath>\server_servicepack_silent.options-J SERVICEPACK_CONFIRM_SERVER_RESTART=true

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. Go to Start > Run, enter %temp% in the Open box, and see the tsim_servicepack_log.txt file for the installation progress details and for the database-related progress details.

Linux

To install the Infrastructure Management Server by using the server_servicepack_silent.options file, run one of the following commands:

Backing up and resetting server restart parameter

Perform all the backup procedures mentioned in the Preparing-to-upgrade-Infrastructure-Management and set the following parameter to true:

-J SERVICEPACK_CONFIRM_SERVER_RESTART

If you have not set this to true, the silent installation fails. Either you can edit the server_servicepack_silent.options file and change it to true or append -J SERVICEPACK_CONFIRM_SERVER_RESTART=true to all the above commands.

For example, ./install.sh -J PRODUCT_CONFIGURATION_FILE_PATH=<ProductRegistryFilePath> -i silent -DOPTIONS_FILE="<fullyQualifiedPath>/server_servicepack_silent.options" -J SERVICEPACK_CONFIRM_SERVER_RESTART=true

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. Access the /tmp directory and see the tsim_servicepack_log.txt file for the installation progress details and for the database-related progress details.

To configure Infrastructure Management after installing the Service Pack

After installing the Service Pack on the Infrastructure Management server, perform the following tasks:

Verify if the Service Pack was installed successfully

  1. From the pw command prompt window, run the pw viewhistory command and verify if the following line is displayed:

    BMC TrueSight Infrastructure Management Server ServicePack 11.3.xx <build number> applied
  2. Access the TrueSight console and verify the following:
    1. From the Administration > Components tab that the Infrastructure Management server is in Connected status.
    2. From the Configuration > Managed Devices tab that the Integration Service nodes and PATROL Agents are in Connected status.
    3. From the Dashboards tab that any configured dashboard is displaying data.

Migrate Knowledge Bases for custom cells

The Service Pack installer upgrades and migrates the cell created by the installer. For custom cells that are created manually, the installer does not migrate the KBs.

To migrate the KBs for custom cells, perform the following steps:

  1. Follow the instructions at Using-the-mmigrate-utility.
  2. Compile and restart the custom cells. For more information, see Compiling a Knowledge Base - mccomp

Reinitialize the BMC Atrium CMDB integration

After installing the Service Pack, publishing might fail with a pclassinfo error. This is caused due to a class information sync issue.

To resolve this issue, perform either one of the following steps:

  • Using the Operator console: 
    1. Go to Options > Administration and click Edit next to the Integrations option.
    2. Clear and then select the BMC AR Server / CMDB checkbox.
    3. Click Apply to reinitialize the BMC Atrium CMDB integration.
  • Using pclassinfo:
    1. From a command prompt window, run pclassinfo -x -o mc_sm_object.baroc.
      An mc_sm_object.baroc file is created in the current directory.
    2. Replace the existing mc_sm_baroc.object file of the target cell in the installationDirectory/pw/server/etc/cellName/kb/classes directory with the mc_sm_object.baroc file created in the previous step.
    3. Recompile the cell's Knowledge Base and restart the cell.
      1. mccomp –n pncell_<Infrastructure Management server Hostname>
      2. mkill –n pncell_<Infrastructure Management server Hostname>
      3. mcell –n pncell_<Infrastructure Management server Hostname>

Reintegrate with BMC Service Resolution 3.5.01

After installing the Service Pack, perform the following steps to reintegrate with BMC Service Resolution 3.5.01:

  1. Modify the .load file in the installedDirectory\server\etc\pncell_<Infrastructure Management server host name>\kb\rules directory:
    Change the order of the outage entry such that it is not the last entry in the .load file. Move the outage entry under email_to_event in the .load file.
  2. Modify the intelligentticketing.properties file under the installedDirectory\integrations\EventIntegrator directory:
    Add the entry bsrversion=3.5.01 at the end of the file.
  3. From a command prompt window, run pclassinfo -x -o mc_sm_object.baroc.
    An mc_sm_object.baroc file is created in the current directory.
  4. Replace the existing mc_sm_baroc.object file of the target cell in the installationDirectory/pw/server/etc/cellName/kb/classes directory with the mc_sm_object.baroc file created in the previous step.
  5. Recompile the cell's Knowledge Base and restart the cell.
    1. mccomp –n pncell_<Infrastructure Management server Hostname>
    2. mkill –n pncell_<Infrastructure Management server Hostname>
    3. mcell –n pncell_<Infrastructure Management server Hostname>
  6. Restart the SDIG service on the Infrastructure Management server host computer.
  7. Reintegrate the Atrium CMDB and SDIG using the Operator console.
  8. Clear the Mid-tier cache and restart the Apache Tomcat service on the ITSM host computer.



 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*