Forum Discussion

sunguru's avatar
sunguru
Level 4
15 years ago

Rename cluster service group

Hi i want to rename a service groups and keeping the resources names intact. can someone really tell me the different options to accomplish this task.
  • Dev_Roy's avatar
    15 years ago

    Hi,

    You can modify the main.cf file.

    You need to shutdown the cluster
    # hastop -all -force

    Open the main.cf file and change the service group name:
    # vi /etc/VRTSvcs/conf/config/main.cf

    In the main.cf file look for any Service Group dependences, if it is there then you have to also change service group name there.
    You can grep for SG name and look out where all you see that name, in case if it is big main.cf file, this way you will ensure SG dependencies are taken care of.

    Now you can start the cluster:
    # hastart --> Run this on each cluster node to start back cluster. You should see the changed SG name through command ( hastatus -summary ).

    Regards,
    Dev