Find the answer to your Linux question:
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 ...
  1. #1
    Just 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>

  2. #2
    oJP
    oJP is offline
    Just 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:

    Code:
    <failoverdomains>
                            <failoverdomain name="mydomain" ordered="0" restricted="0">
                                    <failoverdomainnode name="nd01" priority="1"/>
                                    <failoverdomainnode name="nd02" priority="1"/>
                            </failoverdomain>
    </failoverdomains>
    Bye.

  3. #3
    Just 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 ...

  4. #4
    Just Joined! ecartman's Avatar
    Join Date
    May 2007
    Location
    Ontario
    Posts
    1
    You need to declare all nodes, eg:

    Code:
            <clusternodes>
                    <clusternode name="fred" nodeid="1" votes="1">
                            <fence/>
                    </clusternode>
                    <clusternode name="ethyl" nodeid="2" votes="1">
                            <fence/>
                    </clusternode>
            </clusternodes>
    since you are running a two-node cluster, you need to declare that as well:
    Code:
     
            <cman expected_votes="1" two_node="1"/>
    Two node clusters are not useful for high availability. You really need a third. You can
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...