Video Screencast Help update question on 2 node cluster

Created: 10 Dec 2013 • Updated: 13 Dec 2013 | 3 comments
mokkan's picture
This issue has been solved. See solution.

I have a quick quesiton regarding update.  Here are the steps I would like to do for 2 nodes cluster.

Node1:  hastop  -all

            cp   /etc/VRTSsvc/conf/confi/

            cp  /etc/VRTSsvc/conf/confi/    /tmp/

            hastart -all

Is this right?  If so,  how broadcasting works?  When I start cluster at node1 would will copy to other nodes right? Is there a way node2 wil copy over to node1?  How does it determine which direction it needs to be copied?

Operating Systems:
Discussion Filed Under:

Comments 3 CommentsJump to latest comment

Gaurav Sangamnerkar's picture


I don't understand what you are trying to do here ... you are simply copying to some other directories ... (though the path you have mentioned is /etc/VRTSvcs/conf/config/  ..there is typo in your comment)

Before you stop cluster using hastop -all, you should do a "haconf -dump -makero" in order to flush down the changes to file.

Lets say you have executed hastop -all & now cluster is stopped. Which ever node you run hastart first will do a local build & upload the into kernel. when you run hastart on any other node now, it will do a remote build & the from first node which was already uploaded to kernel will travel via LLT links to this second node.

There is no way that of second node (where you executed hastart later), its CAN NOT copy to first node (where hastart was executed first). I hope this answers your direction question also.


PS: If you are happy with the answer provided, please mark the post as solution. You can do so by clicking link "Mark as Solution" below the answer provided.

g_lee's picture

Gaurav is correct - the first node to form the cluster does a remote build; nodes that subsequently join the get the config from the other running nodes already in the cluster.

Reiterating the importance of haconf -dump -makero before the hastop -all to ensure all changes are saved prior to stopping the cluster.

Also, note that hastop -all will offline/shutdown the groups. If application(s)/resources need to be left online while any changes are being made (not clear from steps provided), use hastop -all -force. Again, ensure the config is closed before issuing the stop (haconf -dump -makero).

If this post has helped you, please vote or mark as solution

mokkan's picture

Thank you very much for your ansewers.