Changing Service Group Name or Resource Name
- 11 years ago
There is no "rename" in Java GUI or command line.
If you are renaming a few resources then you can delete and re-create them, but if you have a lot of resources to rename or need to rename service groups then it is easier to edit main.cf and restart cluster.
You can restart cluster using "hastop -all -force" and then hastart so your apps stay up.
If you run "hacf -verify /etc/VRTSvcs/conf/config", then this creates a main.cmd (in /etc/VRTSvcs/conf/config) with commands to create all service groups and resources so you can use this if you prefer not to restart cluster - i.e extract commands for creating groups and resources from main.cmd for the groups and resources you want to rename and then edit file to give new names - then delete these resources and run the file you edited to recreate groups and resources with the new names
Mike