Uninstalling the BMC TrueSight Infrastructure Management Server


This section explains how to uninstall the BMC TrueSight Infrastructure Management Server.

Note

If you have upgraded from an earlier version to Infrastructure Management 9.6 or later, after uninstalling BMC TrueSight Infrastructure Management Server, you can find the ProactiveNet9.5 folder in the following directory, which contains the backup files of the earlier Infrastructure Management installation:

  • (Microsoft Windows) installationDirectory\BMC Software
  • (Linux or Solaris) installationDirectory/BMC Software

If you have not removed the ProactiveNet9.5 folder before, the folder still continues to exist, even though you have uninstalled BMC TrueSight Infrastructure Management Server. You can manually delete the folder.

Uninstalling the BMC TrueSight Infrastructure Management Server on Microsoft Windows

To uninstall the BMC TrueSight Infrastructure Management Server on Microsoft Windows, perform the following steps:

  1. Select Start > All Programs > BMC TrueSight Infrastructure Management Server > Uninstall BMC TrueSight Infrastructure Management Server.
  2. On the Welcome page, click Next to uninstall the BMC TrueSight Infrastructure Management Server.
  3. On the Uninstallation Preview page, click Uninstall.
  4. On the Uninstallation Summary page, click View Log to view the uninstallation logs, or click Done.

    Note

    After uninstalling BMC TrueSight Infrastructure Management Server, restart the computer and delete any installation directories or files that remain.

Uninstalling the BMC TrueSight Infrastructure Management Server on Linux or Solaris

If you are a non-root user and you want to uninstall BMC TrueSight Infrastructure Management Server, the following directory and file must be removed by a root user before you can proceed with the uninstallation:

  • /etc/init.d/BMCImpactIBRSD
  • /usr/pw/pronto/conf/resources/en_US/kbinfo/kb_core_resource.properties

To uninstall the BMC TrueSight Infrastructure Management Server on Linux or Solaris, perform the following tasks:

  1. Go to the installationDirectory/uninstallBPPMServer directory.
  2. Run the uninstall command.

You can view the bppm_server_uninstall_log.txt log file from the following location:

  • (Solarissolaris/var/tmp
  • (Linux) linux/tmp

Note

On Linux or Solaris computer where BMC TrueSight Infrastructure Management Server is installed, if there are multiple Java virtual machines installed, you need to uninstall the BMC TrueSight Infrastructure Management Server by running the following command:

./uninstall LAX_VM <java_dir>

where, java_dir is the location where Java is installed.

Uninstalling the BMC TrueSight Infrastructure Management Server with Oracle backend

If the Oracle database goes down before uninstallation, the following message is displayed: 

Oracle database is currently unavailable. Please cleanup the Oracle Schema manually... 

Uninstallation will go through without deleting the database objects and you will be asked to clean the database manually. 

The following error message is logged in the uninstallation logs when the Oracle database goes down before the uninstallation. 

Oracle database is currently unavailable and the schema could not be dropped. Please drop the Oracle Schema manually! 

When the Oracle database goes down while deleting the database objects, the following error message will be logged in the uninstallation logs. 

Failed to execute the command: <Installation Directory>/runjava scripts.DropSchema with return code: <Error Code>

Removing the Oracle database objects

If the Oracle database objects are not deleted while uninstalling Infrastructure Management, you can delete them manually. Run the cleanup_db.sql script present in the \Utilities\oracle\db_cleanup_script directory.

To remove the schema from the Oracle database, perform the following tasks:

  1. Copy the cleanup_db.sql script present in the Utilities\oracle\db_cleanup_script directory to the Oracle server.
  2. Run the script after logging on with the schema user created for Infrastructure Management.

To remove the oracle users and tablespaces used for BPPM, run the drop_pnet_orcl_db_objects.sql script available in the \Utilities\oracle\custom_db_scripts_pnet directort. The following objects are removed:

  • BPPM main user, report user
  • BPPM profile, BPPM role (if available)
  • Default tablespace, temporary tablespace created for the BPPM user

 

 

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