Re: [Pacemaker] Pacemaker stop behaviour when underlying resource is unavailable

2012-12-17 Thread Andrew Beekhof
On Tue, Dec 18, 2012 at 4:24 PM, pavan tc wrote: > [..] > > >> The idea is to make sure that stop does not fail when the underlying >> >> > resource goes away. >> > (Otherwise I see that the resource gets to an unmanaged state) >> > Also, the expectation is that when the resource comes back, it jo

Re: [Pacemaker] Pacemaker stop behaviour when underlying resource is unavailable

2012-12-17 Thread pavan tc
[..] > The idea is to make sure that stop does not fail when the underlying > > resource goes away. > > (Otherwise I see that the resource gets to an unmanaged state) > > Also, the expectation is that when the resource comes back, it joins the > > cluster without much fuss. > > > > What I see is

Re: [Pacemaker] Pacemaker stop behaviour when underlying resource is unavailable

2012-12-17 Thread Andrew Beekhof
On Fri, Dec 14, 2012 at 9:32 PM, pavan tc wrote: > Hi, > > I have structured my multi-state resource agent as below when the underlying > resource becomes unavailable for some reason: > > monitor() > { > state=get_primitive_resource_state() > > ... > ... > if ($state == unavailable

Re: [Pacemaker] Installing pacemaker on aws ec2 server

2012-12-17 Thread Andrew Beekhof
On Mon, Dec 17, 2012 at 7:02 PM, Yossi Nachum wrote: > I fix this error using LIBS enviroment variable > I run: export LIBS=/lib64/libtinfo.so.5 > then ./configure again and then make completed successfully Which distro? Sounds like ncurses isn't packaged properly. > > > On Mon, Dec 17, 2012 at

Re: [Pacemaker] Action from a different CRMD transition results in

2012-12-17 Thread Andrew Beekhof
On Tue, Dec 18, 2012 at 1:39 AM, Latrous, Youssef wrote: > Hi Andrew, > > Thank you for following up. > > I still don't see what went wrong. From the logs, RabbitMQ was working > just fine around that time until it was ordered to shut down by CRM (for > the failed monitor?). Apparently not, other

Re: [Pacemaker] Multi-state slave resource promoted when node was not quorate, expected?

2012-12-17 Thread Andrew Beekhof
On Tue, Dec 18, 2012 at 5:55 AM, Jesse Hathaway wrote: > We had a switch failure and all the nodes were partitioned. The slave node > promoted its resource while it did not have quorum. We have no-quourm-policy > set to freeze. Is it expected for resource promotion to occur when a node > does not

Re: [Pacemaker] Ordered resource is not restarting after migration if it's already started on new host

2012-12-17 Thread Andrew Beekhof
On Tue, Dec 18, 2012 at 6:28 AM, Neal Peters wrote: > > On Dec 16, 2012, at 7:29 PM, pacemaker-requ...@oss.clusterlabs.org wrote: > > Message: 5 > Date: Mon, 17 Dec 2012 14:23:15 +1100 > From: Andrew Beekhof > To: The Pacemaker cluster resource manager > > Subject: Re: [Pacemaker] Ordered resour

Re: [Pacemaker] reloading crm changes

2012-12-17 Thread Andreas Kurz
On 12/18/2012 12:58 AM, Paul Shannon - NOAA Federal wrote: > Andreas, > > I do have no-quorum-policy="ignore" set and stonith-enabled="false". > Also, I do have some resources running. Its just when I tried to add > another one that I cannot get it to take. what does "crm_mon -1frA" show? ...

Re: [Pacemaker] reloading crm changes

2012-12-17 Thread Paul Shannon - NOAA Federal
Andreas, I do have no-quorum-policy="ignore" set and stonith-enabled="false". Also, I do have some resources running. Its just when I tried to add another one that I cannot get it to take. Paul - Speak the truth, but leave immediately after. - Slovenian proverb** * *Paul Shannon ITO, WF

Re: [Pacemaker] reloading crm changes

2012-12-17 Thread Andreas Kurz
On 12/17/2012 11:29 PM, Paul Shannon - NOAA Federal wrote: > I'm just getting our cluster set up and seem to be missing something > about changes made using the crm program. I added some resources and > groups using crm => configure => edit. After saving and committing my > changes I can see the n

Re: [Pacemaker] Improvement for the communication failure of booth

2012-12-17 Thread Jiaju Zhang
On Mon, 2012-12-17 at 22:14 +0900, yusuke iida wrote: > Hi, Jiaju > > I would like to attach the function which displays a communicative > state on booth. > In the present booth, when communication between sites stops service, > no errors are told. > If it becomes like this, the user cannot notice

[Pacemaker] Mysql configuration

2012-12-17 Thread codey koble
I'm having a bit of trouble with setting up the master/slave mysql configuration with pacemaker. Using ubuntu 10.04LTS with the most recent resource agent package from: https://launchpad.net/~ubuntu-ha-maintainers/+archive/ppa. When I check the status in pacemaker my first node is successfully show

Re: [Pacemaker] booth is the state of "started" on pacemaker before booth write ticket info in cib.

2012-12-17 Thread Jiaju Zhang
On Mon, 2012-12-17 at 10:40 +0900, Yuichi SEINO wrote: > Hi Jiaju, > > >> >> > >> >> Perhaps, this problem didn't happen before the following commit. > >> >> https://github.com/jjzhang/booth/commit/4b00d46480f45a205f2550ff0760c8b372009f7f > >> > > >> > Currently when all of the initialization (in

[Pacemaker] reloading crm changes

2012-12-17 Thread Paul Shannon - NOAA Federal
I'm just getting our cluster set up and seem to be missing something about changes made using the crm program. I added some resources and groups using crm => configure => edit. After saving and committing my changes I can see the new resources in resource => show but they are stopped. After runni

Re: [Pacemaker] Ordered resource is not restarting after migration if it's already started on new host

2012-12-17 Thread Neal Peters
On Dec 16, 2012, at 7:29 PM, pacemaker-requ...@oss.clusterlabs.org wrote: > Message: 5 > Date: Mon, 17 Dec 2012 14:23:15 +1100 > From: Andrew Beekhof > To: The Pacemaker cluster resource manager > > Subject: Re: [Pacemaker] Ordered resource is not restarting after > migration if it'

[Pacemaker] Multi-state slave resource promoted when node was not quorate, expected?

2012-12-17 Thread Jesse Hathaway
We had a switch failure and all the nodes were partitioned. The slave node promoted its resource while it did not have quorum. We have no-quourm-policy set to freeze. Is it expected for resource promotion to occur when a node does not have quorum? -- Jesse Hathaway, Systems Engineer Braintree

[Pacemaker] Patrik Rapposch is out of the office

2012-12-17 Thread Patrik . Rapposch
Ich werde ab 17.12.2012 nicht im Büro sein. Ich kehre zurück am 19.12.2012. Please note, that I am not available. Please always use "ksi.netw...@knapp.com", which ensures that one of our network adminsitrators takes care of your interest. ___ Pacemak

Re: [Pacemaker] wrong device in stonith_admin -l

2012-12-17 Thread David Vossel
- Original Message - > From: laurent+pacema...@u-picardie.fr > To: pacemaker@oss.clusterlabs.org > Sent: Tuesday, December 11, 2012 6:51:20 PM > Subject: [Pacemaker] wrong device in stonith_admin -l > > > Hi, > > I've just observed something weird. > A node is running a stonith resourc

Re: [Pacemaker] Action from a different CRMD transition results in

2012-12-17 Thread Latrous, Youssef
Hi Andrew, Thank you for following up. I still don't see what went wrong. From the logs, RabbitMQ was working just fine around that time until it was ordered to shut down by CRM (for the failed monitor?). Moreover, I assume that transitions are ordered monotonically, which means that Transition

Re: [Pacemaker] HA FTP Server in aws vpc

2012-12-17 Thread Yossi Nachum
I can't use ELB with ftp port. The ports that ELB can listen to are: 25, 80, 443 or 1024-65535 On Mon, Dec 17, 2012 at 3:25 PM, Art Zemon wrote: > Have you thought about using a load balancer instead of a VIP? The ELB can > span subnets. > > > > -- Art Z. > > > -Original Message- > From:

Re: [Pacemaker] HA FTP Server in aws vpc

2012-12-17 Thread Art Zemon
Have you thought about using a load balancer instead of a VIP? The ELB can span subnets. -- Art Z. -Original Message- From: "Yossi Nachum" Sent: Monday, December 17, 2012 2:22am To: pacemaker@oss.clusterlabs.org Subject: [Pacemaker] HA FTP Server in aws vpc Hi, I want to run ftp s

[Pacemaker] Improvement for the communication failure of booth

2012-12-17 Thread yusuke iida
Hi, Jiaju I would like to attach the function which displays a communicative state on booth. In the present booth, when communication between sites stops service, no errors are told. If it becomes like this, the user cannot notice a problem. I think that he would like to define newly the variable

[Pacemaker] HA FTP Server in aws vpc

2012-12-17 Thread Yossi Nachum
Hi, I want to run ftp server in active passive mode in amazon aws environment. I use a vpc and two subnets: ftp-1 is on 192.168.10.x and ftp-2 is on 192.168.20.x The two subnets are in different availability zones. In this configuration I don't see how can I use a vip so I thought of creating an in

Re: [Pacemaker] Installing pacemaker on aws ec2 server

2012-12-17 Thread Yossi Nachum
I fix this error using LIBS enviroment variable I run: export LIBS=/lib64/libtinfo.so.5 then ./configure again and then make completed successfully On Mon, Dec 17, 2012 at 9:02 AM, Yossi Nachum wrote: > Hi, > I am trying to install pacemaker on amazon ec2 ami instance. > I tried to install using