Top
PRIMECLUSTER  Installation and Administration Guide 4.4
FUJITSU Software

10.5 Deleting a Resource

This section explains how to delete a resource.

Note

  • When deleting a Gds resource, you need to bring the Gds volume Online.
    See "10.5.1 Settings made when deleting a Gds resource."

  • When deleting a procedure resource, first delete the procedure resource from the cluster resource management facility after deleting the procedure resource from the cluster application. For details on how to delete a procedure resource from the cluster resource management facility, see "D.3 Deleting a Procedure Resource."

  • When deleting an Fsystem resource, delete the mount point that was being used as the resource (mount point of the line beginning with "#RMS#") from /etc/fstab.pcl on all the nodes.

  • When deleting takeover network resource, delete entries added at the time of setting up takeover network resource from the following environment files:

    • /usr/opt/reliant/etc/hvipalias

    • /etc/hosts

  • To delete the resource (Gds resource or Fsystem resource) that controls the shared disk in the VMware environment where the I/O fencing function is used, make sure that userApplication is Offline on all the nodes before stopping RMS.
    If an error such as a resource failure or an OS panic has occurred right before stopping RMS, take the following steps first and then delete the resource:

    1. Remove the cause of a fault or an error.

    2. Start userApplication once and then stop it.

    3. Make sure that userApplication stopped in step 2 becomes Offline successfully.

Operation Procedure:

  1. Stop RMS of all the nodes.

    If RMS is running, see "7.2.1.2 Stopping RMS" and stop RMS.

  2. Log in to any one of the cluster nodes using system administrator access privileges.

  3. Start the RMS Wizard.

    Execute the "hvw -n configuration file" command. Specify the name of the configuration file in which the resource is defined.

    The following example shows how to start RMS Wizard with the configuration file name "testconf."

    # /opt/SMAW/SMAWRrms/bin/hvw -n testconf
  4. Select "Application-Edit" from the "Main configuration menu."

  5. Select the userApplication in which the resource is registered from the "Application selection menu." The following example shows how to select "APP1."

  6. Use the "turnkey wizard" to select the resource.

    To delete all the same type of resources, select "REMOVE+EXIT" from the screen displayed after selecting the resource.
    To delete only some of the same type resources, select and delete the target resources one by one. After that, select "SAVE+EXIT".
    After that, select "SAVE+EXIT" and go back to "Application selection menu". Then, select "Return" to go back to "Main configuration menu".

  7. Select "Configuration-Generate" from the "Main configuration menu."

  8. Select "Configuration-Activate" from the "Main configuration menu."

  9. Select "QUIT" from the "Main configuration menu" to exit from the RMS Wizard.

  10. Check the cluster service for the PRIMECLUSTER-compatible product.
    Execute the following command in any node that is part of the cluster system.

    # /etc/opt/FJSVcluster/bin/clrwzconfig -c
  11. If the results of the cluster service check for the PRIMECLUSTER-compatible product shows that the "clrwzconfig" command output message 8050, re-register the cluster service for the PRIMECLUSTER-compatible product.
    Execute the following command in any node that is part of the cluster system.

    # /etc/opt/FJSVcluster/bin/clrwzconfig