Re: [Pacemaker] Upstart resources

2012-03-12 Thread Jake Smith
- Original Message - From: Andreas Ntaflos d...@pseudoterminal.org To: The Pacemaker cluster resource manager pacemaker@oss.clusterlabs.org Sent: Wednesday, February 29, 2012 1:38:08 PM Subject: Re: [Pacemaker] Upstart resources On 27/02/12 13:09, Ante Karamatić wrote

Re: [Pacemaker] Upstart resources

2012-02-29 Thread Andreas Ntaflos
On 27/02/12 13:09, Ante Karamatić wrote: On 27.02.2012 12:27, Florian Haas wrote: Alas, to the best of my knowledge the only way to change a specific job's respawn policy is by modifying its job definition. Likewise, that's the only way to enable or disable starting on system boot. So there

Re: [Pacemaker] Upstart resources

2012-02-28 Thread Ante Karamatić
On 27.02.2012 12:27, Florian Haas wrote: Alas, to the best of my knowledge the only way to change a specific job's respawn policy is by modifying its job definition. Likewise, that's the only way to enable or disable starting on system boot. So there is a way to overrule the package

Re: [Pacemaker] Upstart resources

2012-02-28 Thread Andrew Beekhof
2012/2/27 Ante Karamatić ante.karama...@canonical.com: On 27.02.2012 12:27, Florian Haas wrote: Alas, to the best of my knowledge the only way to change a specific job's respawn policy is by modifying its job definition. Likewise, that's the only way to enable or disable starting on system

Re: [Pacemaker] Upstart resources

2012-02-28 Thread Florian Haas
2012/2/27 Ante Karamatić ante.karama...@canonical.com: On 27.02.2012 12:27, Florian Haas wrote: Alas, to the best of my knowledge the only way to change a specific job's respawn policy is by modifying its job definition. Likewise, that's the only way to enable or disable starting on system

Re: [Pacemaker] Upstart resources

2012-02-25 Thread Ante Karamatic
On 23.02.2012 23:52, Andrew Beekhof wrote: On Thu, Feb 23, 2012 at 6:43 PM, Ante Karamatic iv...@ubuntu.com wrote: Well... Upstart actually does notice if the job failed and respawns it - depending on job's configuration. Actually this is /really/ bad as it subverts our recovery policies.

Re: [Pacemaker] Upstart resources

2012-02-23 Thread Andrew Beekhof
On Thu, Feb 23, 2012 at 6:43 PM, Ante Karamatic iv...@ubuntu.com wrote: On 23.02.2012 07:57, Vladislav Bogdanov wrote: Thanks for clarification, that wasn't clear at the moment I looked at it. If I knew that, I wouldn't write that RA. One remark, my RA has possibility to check service

Re: [Pacemaker] Upstart resources

2012-02-22 Thread Ante Karamatic
On 21.02.2012 17:56, Jake Smith wrote: Np thanks for adding - I was asking because the exit codes on the upstart jobs I'm using didn't align (I believe) with the LSB spec and I wasn't sure if they were supposed to. Haven't really seen the level of documentation (as LSB resource) for upstart

Re: [Pacemaker] Upstart resources

2012-02-22 Thread Ante Karamatic
On 21.02.2012 16:30, Florian Haas wrote: [1] Why do I need to use a PPA if this release is ostensibly on long-term support? Don't ask me, ask someone from Canonical. :) Pacemaker isn't really supported cluster stack in Ubuntu 10.04 (it's in universe). RHCS is in main and supported. There are

Re: [Pacemaker] Upstart resources

2012-02-22 Thread Vladislav Bogdanov
22.02.2012 20:55, Ante Karamatic write: On 16.02.2012 05:23, Vladislav Bogdanov wrote: Newer versions of pacemaker and lrmd are able to deal with upstart resources via dbus. However I do not like this way, so please find resource-agent attached, which is able to manage arbitrary upstart job

Re: [Pacemaker] Upstart resources

2012-02-22 Thread Jake Smith
- Original Message - From: Ante Karamatic iv...@ubuntu.com To: pacemaker@oss.clusterlabs.org Sent: Wednesday, February 22, 2012 1:01:35 PM Subject: Re: [Pacemaker] Upstart resources On 21.02.2012 17:56, Jake Smith wrote: Np thanks for adding - I was asking because the exit

Re: [Pacemaker] Upstart resources

2012-02-22 Thread Ante Karamatic
On 22.02.2012 19:45, Vladislav Bogdanov wrote: I looked at that RAexec very early, just after it was commited, and I understand that it requires running dbus daemon to operate. I prefer to simplify operation chains, so that is really not an option for me to rely on one more service to do

Re: [Pacemaker] Upstart resources

2012-02-22 Thread Jake Smith
- Original Message - From: Ante Karamatic iv...@ubuntu.com To: pacemaker@oss.clusterlabs.org Sent: Wednesday, February 22, 2012 1:26:56 PM Subject: Re: [Pacemaker] Upstart resources On 21.02.2012 16:30, Florian Haas wrote: [1] Why do I need to use a PPA if this release

Re: [Pacemaker] Upstart resources

2012-02-22 Thread Andrew Beekhof
On Thu, Feb 23, 2012 at 5:01 AM, Ante Karamatic iv...@ubuntu.com wrote: On 21.02.2012 17:56, Jake Smith wrote: Np thanks for adding - I was asking because the exit codes on the upstart jobs I'm using didn't align (I believe) with the LSB spec and I wasn't sure if they were supposed to.  

Re: [Pacemaker] Upstart resources

2012-02-22 Thread Vladislav Bogdanov
22.02.2012 22:44, Ante Karamatic wrote: On 22.02.2012 19:45, Vladislav Bogdanov wrote: I looked at that RAexec very early, just after it was commited, and I understand that it requires running dbus daemon to operate. I prefer to simplify operation chains, so that is really not an option for

Re: [Pacemaker] Upstart resources

2012-02-22 Thread Ante Karamatic
On 23.02.2012 00:10, Andrew Beekhof wrote: Do you still have LSB scripts on a machine thats using upstart? Yes, some LSB scripts can't be easily converted to upstart jobs. Or, let's rephrase that - can't be converted to upstart jobs without losing some of the functionality. On fedora they

Re: [Pacemaker] Upstart resources

2012-02-21 Thread Jake Smith
Thanks! Jake - Original Message - From: Vladislav Bogdanov bub...@hoster-ok.com To: pacemaker@oss.clusterlabs.org Sent: Wednesday, February 15, 2012 11:23:01 PM Subject: Re: [Pacemaker] Upstart resources Hi, 16.02.2012 02:02, Jake Smith wrote: When using upstart jobs

Re: [Pacemaker] Upstart resources

2012-02-21 Thread Florian Haas
Jake, sorry, I missed your original post due to travel; let me toss in one more thing here: On Tue, Feb 21, 2012 at 3:32 PM, Jake Smith jsm...@argotec.com wrote: Are upstart jobs expected to conform to the LSB spec with regards to exit codes, etc? Is there any reference documentation using

Re: [Pacemaker] Upstart resources

2012-02-21 Thread Jake Smith
: [Pacemaker] Upstart resources Jake, sorry, I missed your original post due to travel; let me toss in one more thing here: On Tue, Feb 21, 2012 at 3:32 PM, Jake Smith jsm...@argotec.com wrote: Are upstart jobs expected to conform to the LSB spec with regards to exit codes, etc

[Pacemaker] Upstart resources

2012-02-15 Thread Jake Smith
When using upstart jobs in Pacemaker I haven't been able to find much of anything for documentation. After reading a post a few minutes ago by Andreas I wanted to verify... Are upstart jobs expected to conform to the LSB spec with regards to exit codes, etc? Is there any reference

Re: [Pacemaker] Upstart resources

2012-02-15 Thread Vladislav Bogdanov
Hi, 16.02.2012 02:02, Jake Smith wrote: When using upstart jobs in Pacemaker I haven't been able to find much of anything for documentation. After reading a post a few minutes ago by Andreas I wanted to verify... Are upstart jobs expected to conform to the LSB spec with regards to exit