Hitachi

JP1 Version 12 JP1/Integrated Management 2 - Manager Configuration Guide


2.19.1 Uninstallation procedure (for UNIX)

This subsection explains how to uninstall JP1/IM - Manager. If you are using IM databases (integrated monitoring database and IM Configuration Management database), delete the IM databases before you uninstall JP1/IM - Manager.

Organization of this subsection

(1) How to delete IM databases

If you will be deleting the IM databases to reconfigure the environment, first make a backup of the IM databases. For details about the backup method, see 1.2 Managing the databases in the JP1/Integrated Management 2 - Manager Administration Guide.

For details about the commands, see the manual JP1/Integrated Management 2 - Manager Command, Definition File and API Reference.

To delete IM databases:

  1. Stop JP1/IM - Manager.

    Stop JP1/IM - Manager. If JP1/IM - MO is being used, also stop the JP1/IM - Message Optimizer service of JP1/IM - MO at the connection source.

  2. To delete the integrated monitoring database or the IM Configuration Management database, check the status of the following services:

    • For physical hosts

      The IM database service (JP1/IM2-Manager DB Server) is running.

    • For physical hosts, when the integrated monitoring database or the IM Configuration Management database has been set up and the IM database is being used

      The JP1/IM - Manager service (JP1/IM-Manager) is stopped.

    • For logical hosts

      The IM database (JP1/IM2-Manager DB Server_logical-host-name) on the logical host has started.

    • For logical hosts, when the integrated monitoring database or the IM Configuration Management database has been set up and the IM database is being used

      The JP1/IM - Manager service (JP1/IM-Manager_logical-host-name) is stopped.

  3. To delete the integrated monitoring database, execute the jcoimdef command:

    jcoimdef -db OFF

    The integrated monitoring database is disabled.

  4. To delete the integrated monitoring database, execute the jcodbunsetup command:

    jcodbunsetup

    The integrated monitoring database is deleted.

  5. To delete the IM Configuration Management database, execute the jcoimdef command:

    jcoimdef -cf OFF

    The IM Configuration Management service (jcfmain) is disabled.

  6. To delete the IM Configuration Management database, execute the jcfdbunsetup command:

    jcfdbunsetup

    The IM Configuration Management database is deleted.

  7. Delete the following files and folders on the physical host:

    Files under /var/opt/jp1imm/data/imcf/imconfig

    Files and folders under /var/opt/jp1imm/data/imcf/profiles

  8. Restart the machine.

(2) How to uninstall

You need root permissions to perform this procedure.

To uninstall JP1/IM - Manager:

  1. Terminate the programs.

    Before you start the uninstallation procedure, terminate all programs that require JP1/IM - Manager. If a JP1/IM - View is connected, stop it.

  2. Back up user files.

    When you uninstall JP1/IM - Manager, folders containing files, such as definition files and log files, are also deleted. If necessary, back them up.

  3. Run the Hitachi Program Product Installer.

    Follow the instructions of the Hitachi Program Product Installer to perform uninstallation.

  4. Delete user files.

    If a process uses files, those files might remain. Check the following directories and manually delete any user files:

    • /opt/jp1imm/

    • /var/opt/jp1imm/

    • /etc/opt/jp1cons/

    • /opt/jp1cons/

    • /var/opt/jp1cons/

    • /etc/opt/jp1scope/

    • /opt/jp1scope/

    • /var/opt/jp1scope/

    When JP1/IM - Manager is uninstalled, the file shown below is created as installer logs. This file contains maintenance information that can be used in the event of abnormal termination of uninstallation. After the uninstallation has terminated normally, delete this file.

    • /tmp/HITACHI_JP1_INST_LOG/jp1imm_inst{1|2|3|4|5}.log