Re: [Pacemaker] Cluster type is: corosync

2011-08-01 Thread Proskurin Kirill

01.08.2011 5:42, Andrew Beekhof пишет:

Finally, tell Corosync to load the Pacemaker plugin.n


As I said before:
And I run pacemakerd after corosync start.

Anyway - problem is solved for me.

--
Best regards,
Proskurin Kirill

___
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


Re: [Pacemaker] Cluster type is: corosync

2011-08-01 Thread Andrew Beekhof
On Mon, Aug 1, 2011 at 10:23 PM, Proskurin Kirill
k.prosku...@corp.mail.ru wrote:
 01.08.2011 5:42, Andrew Beekhof пишет:

 Finally, tell Corosync to load the Pacemaker plugin.n

 As I said before:
 And I run pacemakerd after corosync start.

The two are not mutually exclusive.
You need the plugin AND pacemakerd.


 Anyway - problem is solved for me.

 --
 Best regards,
 Proskurin Kirill

 ___
 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


___
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


Re: [Pacemaker] Cluster type is: corosync

2011-08-01 Thread Proskurin Kirill

02.08.2011 1:00, Andrew Beekhof пишет:

On Mon, Aug 1, 2011 at 10:23 PM, Proskurin Kirill
k.prosku...@corp.mail.ru  wrote:

01.08.2011 5:42, Andrew Beekhof пишет:


Finally, tell Corosync to load the Pacemaker plugin.n


As I said before:
And I run pacemakerd after corosync start.


The two are not mutually exclusive.
You need the plugin AND pacemakerd.


I has service.d/pcmk just like in example.


--
Best regards,
Proskurin Kirill

___
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


Re: [Pacemaker] Cluster type is: corosync

2011-07-31 Thread Andrew Beekhof
On Wed, Jul 27, 2011 at 4:58 PM, Proskurin Kirill
k.prosku...@corp.mail.ru wrote:
 27.07.2011 6:41, Andrew Beekhof пишет:

 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.

 You missed a step from:

  http://www.clusterlabs.org/doc/en-US/Pacemaker/1.1/html/Clusters_from_Scratch/s-configure-corosync.html

 Witch one?

Finally, tell Corosync to load the Pacemaker plugin.

 At previous conversation Steven Dake said what I can use exact ip addr if I
 wish(And I do - because some node may have more then one ip addr on the same
 network).
 And I run pacemakerd after corosync start.

 I can`t say for sure but seems to I fix it by turning compatibility: none.
 After this it start to tell me what here are Cluster type: openais.

 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

 ___
 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


___
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


Re: [Pacemaker] Cluster type is: corosync

2011-07-27 Thread Proskurin Kirill

27.07.2011 6:41, Andrew Beekhof пишет:


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.


You missed a step from:

http://www.clusterlabs.org/doc/en-US/Pacemaker/1.1/html/Clusters_from_Scratch/s-configure-corosync.html


Witch one?
At previous conversation Steven Dake said what I can use exact ip addr 
if I wish(And I do - because some node may have more then one ip addr on 
the same network).

And I run pacemakerd after corosync start.

I can`t say for sure but seems to I fix it by turning compatibility: 
none. After this it start to tell me what here are Cluster type: openais.



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

___
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


Re: [Pacemaker] Cluster type is: corosync

2011-07-26 Thread Andrew Beekhof
On Mon, Jul 25, 2011 at 7:18 PM, Proskurin Kirill
k.prosku...@corp.mail.ru 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?

 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.mail.ru  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.mail.ru stonith-ng: [3499]: info:
 get_cluster_type: Cluster type is: 'openais'.
 Jul 22 20:38:58 mysender39.mail.ru attrd: [3502]: info: get_cluster_type:
 Cluster type is: 'openais'.
 Jul 22 20:38:58 mysender39.mail.ru cib: [3500]: info: get_cluster_type:
 Cluster type is: 'openais'.
 Jul 22 20:38:59 mysender39.mail.ru 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.mail.ru stonith-ng: [9028]: info:
 get_cluster_type: Cluster type is: 'corosync'.
 Jul 22 13:39:17 mysender2.mail.ru attrd: [9031]: info: get_cluster_type:
 Cluster type is: 'corosync'.
 Jul 22 13:39:17 mysender2.mail.ru cib: [9029]: info: get_cluster_type:
 Cluster type is: 'corosync'.
 Jul 22 13:39:18 mysender2.mail.ru crmd: [9033]: info: get_cluster_type:
 Cluster type is: 'corosync'.

 What`s wrong and how can I fix it?

 --
 Best regards,
 Proskurin Kirill

 ___
 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


___
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


Re: [Pacemaker] Cluster type is: corosync

2011-07-26 Thread Proskurin Kirill

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.comwrote:


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


Re: [Pacemaker] Cluster type is: corosync

2011-07-25 Thread Proskurin Kirill

25.07.2011 10:10, Andrew Beekhof пишет:

Which packages are you using?


It is your official source from repository I build.
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.mail.ru  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.mail.ru stonith-ng: [3499]: info:
get_cluster_type: Cluster type is: 'openais'.
Jul 22 20:38:58 mysender39.mail.ru attrd: [3502]: info: get_cluster_type:
Cluster type is: 'openais'.
Jul 22 20:38:58 mysender39.mail.ru cib: [3500]: info: get_cluster_type:
Cluster type is: 'openais'.
Jul 22 20:38:59 mysender39.mail.ru 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.mail.ru stonith-ng: [9028]: info:
get_cluster_type: Cluster type is: 'corosync'.
Jul 22 13:39:17 mysender2.mail.ru attrd: [9031]: info: get_cluster_type:
Cluster type is: 'corosync'.
Jul 22 13:39:17 mysender2.mail.ru cib: [9029]: info: get_cluster_type:
Cluster type is: 'corosync'.
Jul 22 13:39:18 mysender2.mail.ru crmd: [9033]: info: get_cluster_type:
Cluster type is: 'corosync'.

What`s wrong and how can I fix it?


--
Best regards,
Proskurin Kirill

___
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


Re: [Pacemaker] Cluster type is: corosync

2011-07-25 Thread Proskurin Kirill

Hello.

I update openais to latest 1.1.4 but this not helps at all.
Google know nothing about it. I run of ideas.

25.07.2011 13:18, Proskurin Kirill пишет:

25.07.2011 10:10, Andrew Beekhof пишет:

Which packages are you using?


It is your official source from repository I build.
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.mail.ru 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.mail.ru stonith-ng: [3499]: info:
get_cluster_type: Cluster type is: 'openais'.
Jul 22 20:38:58 mysender39.mail.ru attrd: [3502]: info:
get_cluster_type:
Cluster type is: 'openais'.
Jul 22 20:38:58 mysender39.mail.ru cib: [3500]: info: get_cluster_type:
Cluster type is: 'openais'.
Jul 22 20:38:59 mysender39.mail.ru 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.mail.ru stonith-ng: [9028]: info:
get_cluster_type: Cluster type is: 'corosync'.
Jul 22 13:39:17 mysender2.mail.ru attrd: [9031]: info: get_cluster_type:
Cluster type is: 'corosync'.
Jul 22 13:39:17 mysender2.mail.ru cib: [9029]: info: get_cluster_type:
Cluster type is: 'corosync'.
Jul 22 13:39:18 mysender2.mail.ru crmd: [9033]: info: get_cluster_type:
Cluster type is: 'corosync'.

What`s wrong and how can I fix it?



--
Best regards,
Proskurin Kirill

___
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