PRIMECLUSTER Installation and Administration Guide 4.1 (for Solaris(TM) Operating System)
Contents Index PreviousNext

Appendix G Registering SynfinityCluster-compatible Resources

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 "Registering a Cluster Service" and "Associating Resources to a Cluster Service Instance" operations in the following cases:

mark2Operation 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)

    *1For "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.

    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

    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


Contents Index PreviousNext

All Rights Reserved, Copyright (C) FUJITSU LIMITED 2005