Hitachi

Job Management Partner 1 Version 10 Job Management Partner 1/Integrated Management - Manager Configuration Guide


6.2.6 Deleting the IM databases and logical host

This subsection explains how to delete the logical host. When you delete the logical host, you must delete it at both the primary server and the secondary server.

If you use the IM databases (integrated monitoring database and IM Configuration Management database), you must delete them also (either before or after deleting the logical host).

Organization of this subsection

(1) Deleting the IM databases

This procedure is applicable when the IM databases (integrated monitoring database and IM Configuration Management database) are used.

If you are deleting the IM databases in order to reconfigure the environment, back up the databases beforehand. For details about the backup method, see 1.2 Managing the databases in the Job Management Partner 1/Integrated Management - Manager Administration Guide.

To delete the IM databases:

  1. Stop the services.

    Stop all the services of JP1/IM - Manager (JP1/IM - Manager and JP1/IM - Manager_logical-host-name) in the physical host and logical host environments.

    If JP1/IM - MO is used, also stop the JP1/IM - Message Optimizer service of JP1/IM - MO on the connection source.

  2. Change the status of the services for the IM databases on the logical host.

    Make the following changes:

    • IM database cluster service (JP1/IM - Manager DB Cluster Service_logical-host-name) on the logical host

      Stop the service.

    • IM database service (JP1/IM - Manager DB Server_ logical-host-name) on the logical host

      Start the service.

  3. Execute the jcodbunsetup command to delete the integrated monitoring database.

    jcodbunsetup -h logical-host-name -c {online|standby} [-q]

    Use arguments to specify the logical host name and unsetup type.

    • logical-host-name (-h option)

      Specify the logical host name that was set up at the primary server.

    • Unsetup type (-c option)

      To delete the integrated monitoring database at the active host, specify online. To delete the integrated monitoring database at the standby host, specify standby.

      For details about the jcodbunsetup command, see jcodbunsetup in 1. Commands in the manual Job Management Partner 1/Integrated Management - Manager Command and Definition File Reference.

  4. Execute the jcfdbunsetup command to delete the IM Configuration Management database.

    jcfdbunsetup -h logical-host-name -c {online|standby} [-q]

    Use arguments to specify the logical host name and unsetup type.

    • logical-host-name (-h option)

      Specify the logical host name that was set up at the primary server.

    • Unsetup type (-c option)

      To delete the IM Configuration Management database at the active host, specify online. To delete the IM Configuration Management database at the standby host, specify standby.

      For details about the jcfdbunsetup command, see jcfdbunsetup in 1. Commands in the manual Job Management Partner 1/Integrated Management - Manager Command and Definition File Reference.

  5. Delete the following files and folders.

    • For a physical host

      Files under Manager-path\data\imcf\imconfig

      Files and folders under Manager-path\data\imcf\profiles

    • For a logical host

      Files under shared-folder\data\imcf\imconfig

      Files and folders under shared-folder\data\imcf\profiles

(2) Deleting the logical host

To delete a logical host in Windows, use the jp1bshasetup.exe command of JP1/Base.

To delete the logical host:

  1. Execute the jp1bshasetup.exe command.

  2. In the Settings for Base Node Switching System window, click the Delete Logical Host button.

  3. Select the name of the logical host that you want to delete.

  4. Click the Next button.

  5. Check the deletion details and then click the Finish button.

The logical host is now deleted. Note that when you delete the logical host, JP1/Base, JP1/IM - Manager, JP1/AJS, and JP1/Power Monitor (06-02 or later) are all deleted in batch mode.

Shared files and shared folders on the shared disk are not deleted. You must delete them manually.

(3) Deleting only JP1/IM - Manager on a logical host

The following describes how to delete only JP1/IM - Manager and the IM databases without also deleting the logical host running JP1/Base, JP1/IM - Manager, JP1/AJS, and JP1/Power Monitor (06-02 or later).

  1. If you are using IM databases, perform the procedure described in 6.2.6(1) Deleting the IM databases and delete the IM databases.

  2. Before stopping JP1/IM - Manager, log out from the JP1/IM - View instance connected to JP1/IM - Manager and disconnect JP1/IM - View.

  3. Use the cluster software to stop JP1/IM - Manager and JP1/Base in this order.

  4. On the primary node and the secondary node, execute the following commands to delete common definitions:

    • [logical-host-name\JP1CONSOLEMANAGER\] key

      jbsunsetcnf -h logical-host-name -c JP1CONSOLEMANAGER

    • [logical-host-name\JP1SCOPE\] key

      jbsunsetcnf -h logical-host-name -c JP1SCOPE

    • [logical-host-name\JP1CONFIG\] key

      jbsunsetcnf -h logical-host-name -c JP1CONFIG

  5. Delete the JP1/IM - Manager shared files and shared folders.

  6. Delete the JP1/IM - Manager settings on the logical host from the cluster software.

  7. On the primary node and the secondary node, execute the following command to delete the JP1/IM - Manager services on the logical host.

    spmsetsvccon -d -h logical-host-name