PRIMECLUSTER Global Disk Services Configuration and Administration Guide 4.2 (Linux) |
Contents
![]() ![]() |
Appendix H Shared Disk Unit Resource Registration | > H.5 Command Reference |
/etc/opt/FJSVcluster/bin/cldelrsc -r rid
The "/etc/opt/FJSVcluster/bin/cldelrsc -r rid" command deletes resources from the resource database.
Resources of the following resource classes can be deleted.
Resource class name |
Meaning |
---|---|
DISK |
Resource of the shared disk unit |
SHD_DISK |
Shared resource of the shared disk unit |
Ethernet |
Resource of the network device |
Use the clgettree(1) command to check the resources to be deleted.
Among shared disk unit resources, if resources in the DISK class are deleted and shared resources in the SHD_DISK class remain, it is also necessary to delete the shared resources.
Execute this command on any single node in the cluster system using system administrator access privileges.
If a shared disk of which resources are to be deleted is registered with a GDS class, delete the shared disk from the GDS class, and then delete the resources.
The following example shows the procedure for deleting resources of a shared disk unit "/dev/sdc" shared between node1 and node2.
1. Check the resource IDs of /dev/sdc resources using the clgettree(1) command. In the following example, the /dev/sdc resource ID on node1 is 18, and the /dev/sdc resource ID on node2 is 19.
# /etc/opt/FJSVcluster/bin/clgettree Cluster 1 cluster Domain 2 PRIME Shared 7 SHD_PRIME SHD_DISK 14 SHD_Disk14 UNKNOWN DISK 15 sdb UNKNOWN node1 DISK 16 sdb UNKNOWN node2 SHD_DISK 17 SHD_Disk17 UNKNOWN DISK 18 sdc UNKNOWN node1 DISK 19 sdc UNKNOWN node2 Node 3 node1 ON DISK 15 sdb UNKNOWN DISK 18 sdc UNKNOWN Node 5 node2 ON DISK 16 sdb UNKNOWN DISK 19 sdc UNKNOWN |
2. Delete the resources of the shared disk unit "/dev/sdc" using the cldelrsc(8) command.
# /etc/opt/FJSVcluster/bin/cldelrsc -r 18 # /etc/opt/FJSVcluster/bin/cldelrsc -r 19 |
Contents
![]() ![]() |