Re: [Pacemaker] FYI/RFC: Name for 'system service' alias

2012-06-25 Thread Florian Haas
On Mon, Jun 25, 2012 at 1:40 PM, Andrew Beekhof wrote: > I've added the concept of a 'system service' that expands to whatever > standard the local machine supports. > So you could say, in xml, > and the cluster would use 'lsb' on RHEL, 'upstart' on Ubuntu and 'systemd' on > newer fedora relea

[Pacemaker] 2-node cluster: one node refusing to join with "not in our membership"

2012-06-25 Thread Brent Harsh
Seems like bug http://bugs.clusterlabs.org/show_bug.cgi?id=5040 and and earlier thread: http://thread.gmane.org/gmane.linux.highavailability.pacemaker/13185/focus=13321 According to that bug, 1.4.3 may have solved it, yet still open and a comment from Andrew Beekhof saying he'd reproduced agai

Re: [Pacemaker] "Grouping" of master/slave resources

2012-06-25 Thread Andreas Kurz
On 06/25/2012 06:14 PM, Stallmann, Andreas wrote: > Hi! > > > > We are currently switching from mysql-on-drbd with tomcat and a shared > IP to mysql-master-slave with tomcat-master-slave and shared IP and an > additonal cloned service (activemq). > > > > Up until now we had quite an easy se

Re: [Pacemaker] "Grouping" of master/slave resources

2012-06-25 Thread Phil Frost
On 06/25/2012 12:14 PM, Stallmann, Andreas wrote: but crm won’t let me put Master/Slave resource into a group. Why is that? I don't think it's possible to specify the state a resource must be in (master) within a group constraint. However, groups are just (modulo bugs) shorthand for order and

Re: [Pacemaker] "Grouping" of master/slave resources

2012-06-25 Thread emmanuel segura
ms_MySQL:Master it's not a resource just one state 2012/6/25 Stallmann, Andreas > Hi! > > ** ** > > We are currently switching from mysql-on-drbd with tomcat and a shared IP > to mysql-master-slave with tomcat-master-slave and shared IP and an > additonal cloned service (activemq). >

Re: [Pacemaker] Two slave nodes, neither will promote to Master

2012-06-25 Thread Regendoerp, Achim
On 25/06/12 16:56, Sergey Tachenov wrote: >> ms ms_nfs ms_dummy \ >> meta target-role="Master" master-max="1" master-node="1" > Shouldn't that be master-node-max, not just master-node? master-node or master-node-max hasn't made any differences. Will look into these two parameters though

Re: [Pacemaker] Two slave nodes, neither will promote to Master

2012-06-25 Thread Regendoerp, Achim
On 25/06/12 16:56, Phil Frost wrote: > On 06/25/2012 11:48 AM, Regendoerp, Achim wrote: >> As it is currently, both nodes are online and configured, but none are >> switching to Master. In lack of a DRBD resource, I tried using the Dummy >> Pacemaker. If that's not the correct RA, please enlighten

[Pacemaker] "Grouping" of master/slave resources

2012-06-25 Thread Stallmann, Andreas
Hi! We are currently switching from mysql-on-drbd with tomcat and a shared IP to mysql-master-slave with tomcat-master-slave and shared IP and an additonal cloned service (activemq). Up until now we had quite an easy setup – especially for the admins who did the daily maintenance. All services

Re: [Pacemaker] Two slave nodes, neither will promote to Master

2012-06-25 Thread Andreas Kurz
On 06/25/2012 05:48 PM, Regendoerp, Achim wrote: > Hi, > > I'm currently looking at two VMs which are supposed to mount a drive in > a given directory, depending on who's the master. This was decided above > me, therefore no DRBD stuff (which would've made things easier), but > still using corosyn

Re: [Pacemaker] Two slave nodes, neither will promote to Master

2012-06-25 Thread Phil Frost
On 06/25/2012 11:48 AM, Regendoerp, Achim wrote: As it is currently, both nodes are online and configured, but none are switching to Master. In lack of a DRBD resource, I tried using the Dummy Pacemaker. If that's not the correct RA, please enlighten me on this too. To simulate a DRBD resource,

Re: [Pacemaker] Two slave nodes, neither will promote to Master

2012-06-25 Thread Sergey Tachenov
ms ms_nfs ms_dummy \ meta target-role="Master" master-max="1" master-node="1" Shouldn't that be master-node-max, not just master-node? ___ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacema

[Pacemaker] Two slave nodes, neither will promote to Master

2012-06-25 Thread Regendoerp, Achim
Hi, I'm currently looking at two VMs which are supposed to mount a drive in a given directory, depending on who's the master. This was decided above me, therefore no DRBD stuff (which would've made things easier), but still using corosync/pacemaker to do the cluster work. As it is currently, both

[Pacemaker] Restart clone service on only one node

2012-06-25 Thread David Coulson
I've a couple of cloned resources which need to be restarted one at a time as part of a batch process. If I do a 'crm -w resource restart cl-whatever', it restarts the whole lot at once. I can do a 'service appname stop' on each box, wait for pacemaker to notice it is down, then let it restart

[Pacemaker] FYI/RFC: Name for 'system service' alias

2012-06-25 Thread Andrew Beekhof
I've added the concept of a 'system service' that expands to whatever standard the local machine supports. So you could say, in xml, and the cluster would use 'lsb' on RHEL, 'upstart' on Ubuntu and 'systemd' on newer fedora releases. Handy if you have a mixed cluster. My question is, what to c

Re: [Pacemaker] how to select DC in pacemaker

2012-06-25 Thread Andrew Beekhof
On Mon, Jun 25, 2012 at 3:42 PM, Deepshikha Singh wrote: > which algorithm is used for dc node selection who takes decisions regaring > services?? there is an election process. why do you think you need to influence it? > > ___ > Pacemaker mailing

[Pacemaker] Resource Agent ethmonitor

2012-06-25 Thread kook
Dear Fiorenza: I have the same problem with you. I checked the newest ethmonitor ra (ClusterLabs-resource-agents-v3.9.2-0-ge261943.tar). It's same with my sles 11 sp2. Failed actions: p_ethmonitor:1_monitor_15000 (node=sles11264-node1, call=1591, rc=-2, status=Timed Out): unknown exec e