On 07/26/2011 11:00 AM, Andrew Beekhof wrote:
On Mon, Jul 25, 2011 at 7:18 PM, Proskurin Kirill
<k.prosku...@corp.example.com>  wrote:
25.07.2011 10:10, Andrew Beekhof пишет:

Which packages are you using?

It is your official source from repository I build.

Ok. And did you add the pacemaker configuration options to corosync's
config file?


I attach our corosync.conf. It is same on all nodes except IP addr.
Pacemaker is black now - no configuration at all.

Online nodes:
[root@mysender1 ~]# crm configure show
node mysender1.example.com
node mysender2.example.com
node mysender3.example.com
node mysender4.example.com
node mysender5.example.com
node mysender6.example.com
node mysender7.example.com
property $id="cib-bootstrap-options" \
        dc-version="1.1.5-3-01e86afaaa6d4a8c4836f68df80ababd6ca3902f" \
        cluster-infrastructure="openais" \
        expected-quorum-votes="6"


Offline nodes(Cluster type is: corosync)
[root@mysender2 ~]# crm configure show
[root@mysender2 ~]#



pacemaker-1.1.5
corosync-1.4.0
cluster-glue-1.0.6
openais-1.1.2

All nodes have same rpms.

On Fri, Jul 22, 2011 at 7:47 PM, Proskurin Kirill
<k.prosku...@corp.example.com>    wrote:

Hello again!

Hope I`m not flooding too much here but I have another problem.

I install same rpm of corosync, openais, pacemaker, cluster_glue on all
nodes. I check it twice.

And then I start some of they - they can`t connect to cluster and stays
offline. In logs I see what they see other nodes and connectivity is ok.
But
I found the difference:

Online nodes in cluster have:
[root@mysender39 ~]# grep 'Cluster type is' /var/log/corosync.log
Jul 22 20:38:58 mysender39.example.com stonith-ng: [3499]: info:
get_cluster_type: Cluster type is: 'openais'.
Jul 22 20:38:58 mysender39.example.com attrd: [3502]: info: get_cluster_type:
Cluster type is: 'openais'.
Jul 22 20:38:58 mysender39.example.com cib: [3500]: info: get_cluster_type:
Cluster type is: 'openais'.
Jul 22 20:38:59 mysender39.example.com crmd: [3504]: info: get_cluster_type:
Cluster type is: 'openais'.

Offline have:
[root@mysender2 ~]# grep 'Cluster type is' /var/log/corosync.log
Jul 22 13:39:17 mysender2.example.com stonith-ng: [9028]: info:
get_cluster_type: Cluster type is: 'corosync'.
Jul 22 13:39:17 mysender2.example.com attrd: [9031]: info: get_cluster_type:
Cluster type is: 'corosync'.
Jul 22 13:39:17 mysender2.example.com cib: [9029]: info: get_cluster_type:
Cluster type is: 'corosync'.
Jul 22 13:39:18 mysender2.example.com crmd: [9033]: info: get_cluster_type:
Cluster type is: 'corosync'.

What`s wrong and how can I fix it?

--
Best regards,
Proskurin Kirill
totem {
version: 2
token: 2500
token_retransmits_before_loss_const: 10
join: 100
consensus: 3000
vsftype: none
max_messages: 20
send_join: 45
secauth:        off
fail_recv_const: 5000
 
interface {
        ringnumber: 0
        bindnetaddr: 10.6.1.155
        mcastaddr: 239.255.1.1
        mcastport: 5405
        ttl: 31
        }

}
 
logging {
        fileline: off
        to_syslog: no
        to_stderr: no
        to_logfile: yes
        logfile: /var/log/corosync.log
        debug: off
        timestamp: on
}
 
amf {
        mode: disabled
}
_______________________________________________
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker

Reply via email to