Top
Systemwalker Operation Manager  Cluster Setup Guide for UNIX
FUJITSU Software

8.1.3 Registering resource groups

Register resource groups by using the SMIT utility.

Refer to the HACMP manual for details on SMIT.

Register a resource group by using the following procedure:

  1. Adding an application server

  2. Setting up an application monitor

  3. Registering a resource group

  4. Setting details on the resource group registered

  5. Synchronizing cluster definitions

The following shows registration flows for each cluster configuration.

[1:1 active/standby]

Register a resource group with the active node. Synchronize it with the standby node.

[Dual node mutual standby]

Register two types of resource groups. Synchronize them on both nodes.

The following shows how to register a resource group with a cluster system.

Registration procedure

  1. Adding an application server

    Add an application server by performing the following steps:

    1. On the active node, enter "smitty hacmp" to open a SMIT session.

      #smitty hacmp
    2. In SMIT, select Extended Configuration >> Extended Resource Configuration >> HACMP Extended Resources Configuration >> Configure HACMP Applications >> Configure HACMP Application Servers >> Add an Application Server.

    3. In the fields displayed, enter the server name, start script and stop script.

    [Example]

    Server Name: omgr_ap
    Start Script: /opt/FAIXJMCMN/etc/script/hacmp/omgr_start.sh
    Stop Script: /opt/FAIXJMCMN/etc/script/hacmp/omgr_stop.sh

    Note

    • Before registering an application, check that execution rights have been granted to all the start script, stop script and monitor method created on the active and standby nodes.

    • Register the start script and stop script with their absolute path.

  2. Setting up an application monitor

    Set up an application monitor by using the following steps:

    1. On the active node, enter "smitty hacmp" to open a SMIT session.

      #smitty hacmp
    2. In SMIT, select Extended Configuration >> Extended Resource Configuration >> HACMP Extended Resources Configuration >> Configure HACMP Applications >> Configure HACMP Application Monitoring >> Configure Custom Application Monitors >> Add a Custom Application Monitor.

    3. In the Monitor Name field, enter the application monitor name.

    4. In the Application Server Name field, enter the name of the Systemwalker Operation Manager's application server ("omgr_ap" in step 1 above).

    5. In the Monitor Method field, enter the monitor method. Enter other values according to the system operation.

    [Example]

    Monitor Name:                  omgr_mon
    Application Server Name:       omgr_ap
    Monitor Mode:                  long-running monitoring
    Monitor Method:                /opt/FAIXJMCMN/etc/script/hacmp/omgr_monitor.sh
    Stabilization Interval:        60
    Restart Count:                 0
    Action on Application Failure: fallover

    Note

    Register the monitor method with its absolute path.

  3. Registering a resource group

    Register a resource group by performing the following steps:

    1. On the active node, enter "smitty hacmp" to open a SMIT session.

      #smitty hacmp
    2. In SMIT, select Extended Configuration >> Extended Resource Configuration >> HACMP Extended Resource Group Configuration >> Add a Resource Group.

    3. In the fields displayed, enter the resource group name and participating node name. Enter other values according to the system operation.

    [Example]

    Participating node names are "node1" and "node2", and the resource group name to which the Systemwalker Operation Manager's application server is registered is "omgr_rg."

    Resource Group Name: 	omgr_rg
    Participating Node Names: 	node1 node2 (*1)

    *1:

    In the [Participating Node Names] field, enter the node with the highest priority first.
    In this example, node1 is the home node of omgr_rg. Delimit node names with a space.

  4. Setting details on the resource group registered

    Set details on the resource group you registered by performing the following steps:

    1. On the active node, enter "smitty hacmp" to open a SMIT session.

      #smitty hacmp
    2. In SMIT, select Extended Configuration >> Extended Resource Configuration >> HACMP Extended Resource Group Configuration >> Change/Show Resources and Attributes for a Resource Group.

    3. In the window that displays the list of resource groups, select the resource group added ("omgr_rg" is added in step 3 above).

    4. In the fields displayed, enter the service IP label/address, application server, volume group and file system.

    5. For dual node mutual standby configuration, register the other resource group by repeating steps 1 through 4.

    [Example]

    Service IP label is "srvip," application server name is "omgr_ap," the volume name of the shared disk is "datavg1," and the mount point to the shared disk is "/disk1"

    Service IP Labels/Addresses: srvip
    Application Servers: 	        omgr_ap
    Volume Groups:               datavg1
    Filesystems:                 /disk1
  5. Synchronizing cluster definitions

    Synchronize the contents of the resource group registered with the active node with the standby node by performing the following steps:

    1. On the active node, enter "smitty hacmp" to open a SMIT session.

      #smitty hacmp
    2. In SMIT, select Extended Configuration >> Extended Verification and Synchronization.

    3. Synchronize the resource group.

      Refer to the HACMP manual for details on synchronization.