Hitachi

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


7.6.1 Deleting logical hosts (for Windows)

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 JP1/Integrated Management 2 - Manager Administration Guide.

To delete the IM databases:

  1. Stop the services.

    If JP1/Integrated Management is running in the physical host environment or in the logical host environment, stop all JP1/IM - Manager services (JP1/IM-Manager and JP1/IM-Manager_logical-host-name). In the logical host environment, use the cluster software to stop the services.

    If JP1/IM - View is connected, disconnect it by logging out.

    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:

    • JP1/IM - Manager DB Cluster Service (JP1/IM2 - Manager DB Cluster Service_logical-host-name) on the logical host

      Stop the service.

    • IM database service (JP1/IM2 - 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 Chapter 1. Commands in the manual JP1/Integrated Management 2 - Manager Command, Definition File and API 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 Chapter 1. Commands in the manual JP1/Integrated Management 2 - Manager Command, Definition File and API Reference.

  5. Delete the following files and folders.

    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 and IM databases on a logical host

To delete only JP1/IM - Manager and IM databases from a logical host on which JP1/Base, JP1/IM - Manager, JP1/AJS, and JP1/Power Monitor (06-02 or later) have been installed:

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

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

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

  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