Top
PRIMECLUSTER  Installation and Administration Guide4.2

G.3 Deleting a Cluster Service

This section describes the procedure to be performed in the following cases:

After carrying out the procedure indicated in this section, perform the "G.1 Registering a Cluster Service" and "G.2 Associating Resources to a Cluster Service Instance" operations in the following cases:

Operation Procedure:

  1. Log in with the system administrator authority.

    Log in with the system administrator authority to one of the nodes of the cluster system.

  2. Check the resource ID of the cluster service.

    Execute the "clgettree(1)" command in the format shown below, and check the cluster service resource. The resource class of the cluster service is "Standby" or "Scalable." The cluster service is output in the first line.

    # /etc/opt/FJSVcluster/bin/clgettree -s

    Example) In the example below, the resource ID of the cluster service is "68."

    # /etc/opt/FJSVcluster/bin/clgettree -s
    Standby 68 Service1 STOP AVAILABLE AndBinding 101 Instance1_Of _narcissus STOP STOP(RUN) narcissus AndBinding 102 Instance1_Of _sweetpea STOP STOP(RUN) sweetpea
  3. Delete the cluster service resource.

    Execute the "cldelrsc(1M)" command in the following format, and delete the cluster service resource.

    # /etc/opt/FJSVcluster/bin/cldelrsc -r resource-ID-of-cluster-service(*1)

    *1 For "resource-ID-of-cluster-service," specify the resource ID of the cluster service that was obtained in Step 2.

    Example) To delete the cluster service that has resource ID "68."

    # /etc/opt/FJSVcluster/bin/cldelrsc -r 68
  4. Delete the IP address takeover resources.

    • Execute the "clgettree(1)" command in the format shown below, and check the resource IDs of the IP address takeover resources. The resource classes of the IP address takeover resources are "SHD_Host" and "IP_Address." If resources of the "SHD_Host" and "IP_Address" resource classes are not output, the execution of the subsequent steps is unnecessary because there are no IP address takeover resources.

      # /etc/opt/FJSVcluster/bin/clgettree

      Example) In the following case, the resource IDs of the IP address takeover resources are "29," "27" and "28."

      # /etc/opt/FJSVcluster/bin/clgettree
      Cluster 1 /
                   Domain 2 RC9
                   Shared 7 SHD_RC9
                            SHD_Host 29 192.168.246.1 UNKNOWN
                                   IP_Address 27 hme0:1 UNKNOWN narcissus
                                   IP_Address 28 hme0:1 UNKNOWN sweetpea
                   Node 3 narcissus ON
                            Psd 21 hme1 ON
                            Psd 22 hme2 ON
                            Ethernet 25 hme0 ON
                                   IP_Address 27 hme0:1 UNKNOWN
                            DISK 19 c0t0d0 UNKNOWN
                            SytemState2 40 FJSVndbs UNKNOWN
                   Node 5 sweetpea ON
                            Psd 23 hme1 ON
                            Psd 24 hme2 ON
                            Ethernet 26 hme0 ON
                                   IP_Address 28 hme0:1 UNKNOWN
                            DISK 20 c0t0d0 UNKNOWN
                            SytemState2 41 FJSVndbs UNKNOWN
    • If the previous procedure indicates that there is an IP address takeover resource, execute the "cldelrsc(1)" command in the format shown below, and delete the IP address takeover resource. Execute this step only if there is an IP address takeover resource.

      # /etc/opt/FJSVcluster/bin/cldelrsc -r resource-ID-of-IP-address-takeover-resource(*1)

      *1For "resource-ID-of-IP-address-takeover-resource," specify all resource IDs of IP address takeover resources that were obtained with the previous "clgettree(1)" command.

      Example) If the resource IDs of the IP address takeover resources are "29," "27" and "28."

      # /etc/opt/FJSVcluster/bin/cldelrsc -r 29,27,28