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

2013-02-19 Thread Yuichi SEINO
Hi Jiaju, I am testing this patch. When a lockfile was removed, it seems that the stop of RA isn't a intended behavior. Currently, If "pidnum" is empty, RA run "cat /proc//cmdline". /proc/cmdline is boot parameter file. So, I added the check about a existence of lockfile. diff --git a/script/ocf/

Re: [Pacemaker] Fencing configuration with pcmk_host_map argument

2013-02-19 Thread Andrew Beekhof
On Thu, Feb 7, 2013 at 8:22 PM, Marek Grac wrote: > On 02/07/2013 07:07 AM, Andrew Beekhof wrote: >> >> This is right, fence agents (all of them) can be used only with one port >> value. >> Would this be a good feature to add? >> Particularly for people using "reboot" as the action. >> >> Otherwis

[Pacemaker] Listing all resources of a specific type

2013-02-19 Thread Donald Stahl
Is there some way of listing all resources that use a specific resource agent using crm shell? For example: # crm resource list stonith-sbd(stonith:external/sbd) Started IP1 (ocf::heartbeat:IPaddr2) Started IP2 (ocf::heartbeat:IPaddr2) Started FS1 (ocf::heartbeat:Filesystem) Started FS2

Re: [Pacemaker] Monitor process, migrate only ip resources

2013-02-19 Thread Grant Bagdasarian
Alright! Thanks Andreas and Michael for your feedback. I'll get a lab environment up and running first and configure this there, before configuring it on our live environment. Regards, Grant ___ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org

Re: [Pacemaker] Monitor process, migrate only ip resources

2013-02-19 Thread Andreas Kurz
On 2013-02-19 13:54, Grant Bagdasarian wrote: > Hello, > > > > I wish to monitor a certain running process and migrate floating IP > addresses when this process stops running. > > > > My current configuration is as following: > > crm(live)configure# show > > node $id="8fe81814-6e85-454f-b

Re: [Pacemaker] Monitor process, migrate only ip resources

2013-02-19 Thread Michael Schwartzkopff
Am Dienstag, 19. Februar 2013, 14:51:01 schrieb Grant Bagdasarian: > Helllo Florian, > > Thanks! > > So basically when the kamailio process stops on the primary server, the IP's > are migrated to the secondary server and kamailio is restarted on the > secondary server, is that correct? Basically

Re: [Pacemaker] Monitor process, migrate only ip resources

2013-02-19 Thread Grant Bagdasarian
Helllo Florian, Thanks! So basically when the kamailio process stops on the primary server, the IP's are migrated to the secondary server and kamailio is restarted on the secondary server, is that correct? Also, do when I manually restart kamailio back on the primary server, the IP's will auto

Re: [Pacemaker] Suggestion to improve movement of booth

2013-02-19 Thread Jiaju Zhang
On Tue, 2013-02-19 at 18:26 +0900, yusuke iida wrote: > Hi, Jiaju > > Thank you for merging! > > BTW, is there any comment about the patent that I heard before? I don't think there are any patent related problems here. There are quite a lot of open source projects which are based on Paxos or Pax

Re: [Pacemaker] Monitor process, migrate only ip resources

2013-02-19 Thread Florian Crouzat
Le 19/02/2013 13:54, Grant Bagdasarian a écrit : Hello, I wish to monitor a certain running process and migrate floating IP addresses when this process stops running. My current configuration is as following: crm(live)configure# show node $id="8fe81814-6e85-454f-b77b-5783cc18f4c6" proxy1 nod

[Pacemaker] Monitor process, migrate only ip resources

2013-02-19 Thread Grant Bagdasarian
Hello, I wish to monitor a certain running process and migrate floating IP addresses when this process stops running. My current configuration is as following: crm(live)configure# show node $id="8fe81814-6e85-454f-b77b-5783cc18f4c6" proxy1 node $id="ceb5c90f-ee6a-44b9-b722-78781f6a61ab" proxy2 p

Re: [Pacemaker] pacemaker + cLVM on Ubuntu Precise (12.04)?

2013-02-19 Thread Sven Arnold
Dear Andrew, The destination(s) are ok, but possibly no-one has used ubuntu for what you;re trying to do. thank you for your response - I will give it a try then. Possibly the information is just outdated - I hoped that one of the "Ubuntu HA Maintainers" team would reading this and could cla

Re: [Pacemaker] Suggestion to improve movement of booth

2013-02-19 Thread yusuke iida
Hi, Jiaju Thank you for merging! BTW, is there any comment about the patent that I heard before? Thanks, Yusuke 2013/2/18 Jiaju Zhang : > On Mon, 2013-02-18 at 14:12 +0900, yusuke iida wrote: >> Hi, Jiaju >> >> It understood leaving processing of is_prepared(). >> I did "pull request" of judgme