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

Where you are in the Applying service packs process

The page .Applying service packs on the Infrastructure Management server in the standalone mode using the wizard v11.3.04 was not found  -- Please check/update the page name used in the MultiExcerpt-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>

Parameter

Description

MIGRATED_KB

Setting to enable KB migration. The default value is true.

From 11.3.05 service pack, the value will be always remain true as the KB migration is a mandatory task.

MIGRATED_KB_HOMEPath of the migrated KB directory that ends with the cellname folder.

Microsoft Windows

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

Environment typeCommand
Production environment with the default encryption setting

install.cmd -i silent -DOPTIONS_FILE="<fullyQualifiedPath>\server_servicepack_silent.options"

Example (With space): install.cmd -i silent -DOPTIONS_FILE="C:\temp folder\Disk1\server_servicepack_silent.options"

Production environment with user-specified encryption setting

install.cmd –J BMC_TS_KEY_SZ=<128/256> -i silent -DOPTIONS_FILE="<fullyQualifiedPath>\server_servicepack_silent.options"

Example (With space): install.cmd –J BMC_TS_KEY_SZ=<128/256> -i silent -DOPTIONS_FILE="C:\temp folder\Disk1\server_servicepack_silent.options"

In the preceding commands, fullyQualifiedPath indicates the complete path where you have saved the server_servicepack_silent.options file. If the fullyQualifiedPath parameter contains a space in it, enclose the path within double quotes.

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:

Environment typeCommand
To run the upgrade with the default ProductRegistry.xml path
Production environment with the default encryption setting

./install.sh -i silent -DOPTIONS_FILE="<fullyQualifiedPath>/server_servicepack_silent.options"

Example (With space): ./install.sh -i silent -DOPTIONS_FILE="/home/tsim user/Linux/Disk1/server_servicepack_silent.options"

Production environment with user-specified encryption setting

./install.sh –J BMC_TS_KEY_SZ=<128/256> -i silent -DOPTIONS_FILE="<fullyQualifiedPath>/server_servicepack_silent.options"

Example (With space): ./install.sh –J BMC_TS_KEY_SZ=256 -i silent -DOPTIONS_FILE="/home/tsim user/Linux/Disk1/server_servicepack_silent.options"

To run the upgrade with a user-specified ProductRegistry.xml path

Running the following command is important only if in a previous version, you moved the ProductRegistry.xml file from the default location (/opt/bmc/) to a custom location. Thus, while applying the fix pack, you need to provide the new path of the ProductRegistry.xml file (as described in the following command syntax).

Production environment./install.sh -J PRODUCT_CONFIGURATION_FILE_PATH=<ProductRegistryFilePath> -i silent -DOPTIONS_FILE="<fullyQualifiedPath>/server_servicepack_silent.options"
    • 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.

    • In the preceding commands, <ProductRegistryFilePath> refers to the full path to the ProductRegistry.xml file.

      Example: ./install.sh -J PRODUCT_CONFIGURATION_FILE_PATH=/data1/userA/ProductRegistry.xml -i silent -DOPTIONS_FILE="/home/tsim user/Linux/Disk1/server_servicepack_silent.options"

    • In the preceding commands, fullyQualifiedPath indicates the complete path where you have saved the server_servicepack_silent.options file. If the fullyQualifiedPath parameter contains a space in it, enclose the path within double quotes.

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 Open link

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.




Was this page helpful? Yes No Submitting... Thank you

Comments

  1. Nikhil Shetty

    I see below The page: .Applying service packs on the Infrastructure Management server in the standalone mode using the wizard v11.3.04 was not found. Please check/update the page name used in the 'multiexcerpt-include' macro.

    Mar 06, 2022 11:39
    1. Krutarth Mohakud

      Nikhil Shetty , This is fixed. Thanks

      Mar 06, 2022 11:59