Hi,

I'm trying to make working the Option 3, but it does not start .

I have two nodes, the network indicated in ringnumber  0 of 
corosync.conf  is working fine.
Moreover, these two nodes were working fine with option 1 corosync, and 
pacemaker,
so I just change the corosync.conf in adding the revords 
cluster/clusternodes&cman ,
service/corosync_man and quorum/quorum_cman , then I execute on both nodes :
service corosync start
    => ok on both nodes
service pacemaker start
    => ok on both nodes
and 60s later, crm_mon displays on node chili2 :
============
Last updated: Thu Dec 16 13:39:37 2010
Stack: cman
Current DC: NONE
1 Nodes configured, unknown expected votes
0 Resources configured.
============

Online: [ chili2 ]

and on node chili3 :

============
Last updated: Thu Dec 16 13:40:10 2010
Current DC: NONE
0 Nodes configured, unknown expected votes
0 Resources configured.
============


so it seems that chili2 does not "enter" in the cluster, but I can't 
find the reason ...
Below are some infos about configuration.
I think I miss an option somewhere but where ...?

Thanks if you have any idea.
Alain

cib.xml on chili2:
cat /var/lib/heartbeat/crm/cib.xml
<cib epoch="4" num_updates="0" admin_epoch="0" 
validate-with="pacemaker-1.2" cib-last-written="Thu Dec 16 12:03:44 
2010" crm_feature_set="3.0.2">
  <configuration>
    <crm_config>
      <cluster_property_set id="cib-bootstrap-options">
        <nvpair id="cib-bootstrap-options-dc-version" name="dc-version" 
value="1.1.2-f059ec7ced7a86f18e5490b67ebf4a0b963bccfe"/>
        <nvpair id="cib-bootstrap-options-cluster-infrastructure" 
name="cluster-infrastructure" value="cman"/>
      </cluster_property_set>
    </crm_config>
    <nodes>
      <node id="chili2" uname="chili2" type="normal"/>
    </nodes>
    <resources/>
    <constraints/>
  </configuration>
  <status/>

cib.xml on chili3 :
<cib epoch="0" num_updates="0" admin_epoch="0" 
validate-with="pacemaker-1.2" cib-last-written="Thu Dec 16 12:02:22 2010">
  <configuration>
    <crm_config/>
    <nodes/>
    <resources/>
    <constraints/>
  </configuration>
  <status/>

_corosync.conf add-ons versus the corosync.conf used with option 1 :_
cluster {
        name : HA

        clusternodes {
                clusternode {
                        votes: 1
                        nodeid: 1
                        name: chili2
                }
                clusternode {
                        votes: 1
                        nodeid: 2
                        name: chili3
                }
        }
        cman {
                expected_votes: 2
                cluster_id: 1
                nodename: chili2
                two-node: 1
                max_queued: 10
        }
}
service {
        name: corosync_cman
        ver:  0
}
quorum {
        provider: quorum_cman
}

_and other records remain the same:_
aisexec {
        user:   root
        group:  root
}
totem {

        version: 2
        token:          5000
        token_retransmits_before_loss_const: 20
        join:           1000
        consensus:      7500
        vsftype:        none
        max_messages:   20
        secauth:        off
        threads:        0
        clear_node_high_bit: yes
        rrp_mode :       active
        interface {
                ringnumber: 0
                bindnetaddr: 16.2.0.0
                mcastaddr: 226.1.1.1
                mcastport: 5405
        }
 }
 logging {
        fileline: off
        to_syslog: yes
        to_stderr: no
        syslog_facility: daemon
        debug: on
        timestamp: on
 }

 amf {
        mode: disabled
 }


_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to