Hitachi

JP1 Version 13 JP1/Integrated Management 3 - Manager Configuration Guide


2.22.1 Uninstallation procedure (for UNIX)

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

Also, if Intelligent Integrated Management Database service is set up, "Deletion failed." is displayed on Hitachi PP Installer terminal and uninstallation fails. Make sure that JP1/IM - Manager installer log (/tmp/HITACHI_JP1_INST_LOG/jp1imm_inst{1|2|3|4|5}.log) for Latest refresh Date/time is either KAVB9944-E Message (for Physical host) or KAVB9945-E Message (for Logical host).

If the KAVB9944-E message or the KAVB9945-E message is output, use the unsetup command (jimgndbunsetup command) to unset the Intelligent Integrated Management database service, and then uninstall JP1/IM - Manager again. If the KAVB9946-E message is output, follow the actions for the KAVB9946-E message.

Organization of this subsection

(1) The procedure for delete Intelligent Integrated Management Database

Back up Intelligent Integrated Management Database before you delete it to rebuild it. For details on how to back up the data, see "1.2 Managing the database" in the manual JP1/Integrated Management 3 - Manager Operation".

Perform the following steps to delete Intelligent Integrated Management Database:

  1. Stop JP1/IM - Manager.

    Stop JP1/IM - Manager.

  2. Delete Intelligent Integrated Management Database.

    Execute the following command.

    • For Physical host operation

    jimgndbunsetup [-q]
    • For Active host in Logical host operation

    jimgndbunsetup -h Logical host Name -c online [-q]
    • For Standby host in Logical host operation

    jimgndbunsetup -h Logical host Name -c standby [-q]
  3. Restart the machine.

(2) 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 3 - Manager Administration Guide.

For details about the commands, see the manual JP1/Integrated Management 3 - 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/IM3-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/IM3-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.

(3) How to uninstallJP1/IM - Manager

You need root permissions to perform this procedure.

If you uninstall JP1/IM - Manager, JP1/IM - Agent management base for using JP1/IM - Agent is also uninstalled.

  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

(4) Steps for uninstalling JP1/IM - Agent

Follow the procedure below to uninstall. You must have root privilege to do this.

  1. Stop JP1/IM - Agent service.

  2. Execute the service delete of JP1/IM - Agent.

    For details about how to delete the service, see "2.19.1(1)(b) Disabling add-on program".

  3. Start Hitachi PP Installer and Delete JP1/IM - Agent.

  4. After the deletion is Completed, login to Integrated manager's integrated operation viewer and make sure that integrated agent information of the host you just deleted is deleted. If the information is remained, manually delete it.

    For details on how to remove integrated agent data, see "2.2.1 [integrated agent Control] window" in the manual JP1/Integrated Management 3-Manager GUI Reference.

    Important

    If Logical host service is running, delete Logical host service after stopping the service and then Execute it. If you uninstall while Logical host service is running, File used by Logical host service may be deleted and the service may terminate abnormally. Logical host service must be deleted after uninstallation if Logical host service was uninstalled without deletion services.