Results 1 to 4 of 4
I've tried many, many different ways of setting up the cluster.conf file, but every time I start the cman service I get a message telling me "corosync died: could not ...
- 01-26-2010 #1Just Joined!
- Join Date
- Oct 2007
- Posts
- 12
Could really use some help with simple, 2-node cluster install
I've tried many, many different ways of setting up the cluster.conf file, but every time I start the cman service I get a message telling me "corosync died: could not read cluster configuration".
This means nothing to me, nor can I find logs, or anything on the net about this message. I'm ultimately just trying to run a simple GFS2 config on 2 Ubuntu 9.10 desktop nodes, but I can't even get a basic cluster config going.
What am I missing? I've been at this for days.
Code:<cluster name="example" config_version="1"> <clusternodes> <clusternode name="nd01"> <fence> <method name="human"> <device name="manual" ipaddr="nd01"/> </method> </fence> </clusternode> <--also tried with a second instance like above: nd02... --> </clusternodes> <fencedevices> <fencedevice name="manual" agent="fence_manual"/> </fencedevices> </cluster>
- 01-26-2010 #2Just Joined!
- Join Date
- Apr 2005
- Posts
- 1
Hello. Can you put the full output for /etc/init.d/cman script? and the file /var/log/messages.
I think are missing tags like this:
Bye.Code:<failoverdomains> <failoverdomain name="mydomain" ordered="0" restricted="0"> <failoverdomainnode name="nd01" priority="1"/> <failoverdomainnode name="nd02" priority="1"/> </failoverdomain> </failoverdomains>
- 01-27-2010 #3Just Joined!
- Join Date
- Mar 2008
- Posts
- 9
Try this guide: w w w.linuxjournal.com/article/9759
I set up a production cluster using it ...
- 01-29-2010 #4
You need to declare all nodes, eg:
since you are running a two-node cluster, you need to declare that as well:Code:<clusternodes> <clusternode name="fred" nodeid="1" votes="1"> <fence/> </clusternode> <clusternode name="ethyl" nodeid="2" votes="1"> <fence/> </clusternode> </clusternodes>
Two node clusters are not useful for high availability. You really need a third. You canCode:<cman expected_votes="1" two_node="1"/>
use virtual machines. In order to remain quarate, you need 50% + 1 of the servers
voting. Your third member does not have to mount the resource, it's just there
for the quorum.Last edited by ecartman; 01-29-2010 at 07:47 PM. Reason: code display


Reply With Quote