Re: [Linux-ha-dev] [Openais] An OCF agent for LXC (Linux Containers) - Linux-HA-Dev Digest, Vol 90, Issue 8

2011-05-23 Thread Dejan Muhamedagic
Hi Darren, On Thu, May 12, 2011 at 07:22:46AM +0930, Darren Thompson wrote: > Florian > > Could you send me an "actual file" so I can use that as a template. There is no file you need with ocf-tester. Just do: # ocf-tester -n myrsc -o p1=v1 -o p2=v2 ... /.../lxc Replace pn with parameter names

Re: [Linux-ha-dev] [Openais] An OCF agent for LXC (Linux Containers) - Linux-HA-Dev Digest, Vol 90, Issue 8

2011-05-11 Thread Darren Thompson
Florian Could you send me an "actual file" so I can use that as a template. I still do not have my head around what the actual requirements are. Darren On Wed, 2011-05-11 at 16:49 +0200, Florian Haas wrote: > Darren, > > On 2011-05-05 15:07, Florian Haas wrote: > > On 2011-05-05 14:26, Darren

Re: [Linux-ha-dev] [Openais] An OCF agent for LXC (Linux Containers) - Linux-HA-Dev Digest, Vol 90, Issue 8

2011-05-11 Thread Florian Haas
Darren, On 2011-05-05 15:07, Florian Haas wrote: > On 2011-05-05 14:26, Darren Thompson wrote: >>> Can you confirm that the current version is working for you and passes >>> ocf-tester on your system? >> >> What is an ocf-tester??? > > http://www.linux-ha.org/doc/dev-guides/_testing_installing_an

Re: [Linux-ha-dev] [Openais] An OCF agent for LXC (Linux Containers) - Linux-HA-Dev Digest, Vol 90, Issue 7

2011-05-05 Thread Dejan Muhamedagic
Hi, On Thu, May 05, 2011 at 09:17:13PM +0930, Darren Thompson wrote: > Team > > I stand corrected Looking at all the other ocf files, it does appear > that the initialisation setting are consistent (and hence assumed > correct). > > Oddly, the test environment I have setup is SLES11SP with

Re: [Linux-ha-dev] [Openais] An OCF agent for LXC (Linux Containers) - Linux-HA-Dev Digest, Vol 90, Issue 8

2011-05-05 Thread Florian Haas
On 2011-05-05 14:26, Darren Thompson wrote: >> Can you confirm that the current version is working for you and passes >> ocf-tester on your system? > > What is an ocf-tester??? http://www.linux-ha.org/doc/dev-guides/_testing_installing_and_packaging_resource_agents.html > I have been testing thi

Re: [Linux-ha-dev] [Openais] An OCF agent for LXC (Linux Containers) - Linux-HA-Dev Digest, Vol 90, Issue 8

2011-05-05 Thread Darren Thompson
Florian/Team Comments in-line... On Thu, 2011-05-05 at 05:47 -0600, linux-ha-dev-requ...@lists.linux-ha.org wrote: > Darren, > > can you please subscribe to the list as a normal subscriber rather > than > to just the digest, so we can keep this discussion in one thread? Ok, done... The dige

Re: [Linux-ha-dev] [Openais] An OCF agent for LXC (Linux Containers) - Linux-HA-Dev Digest, Vol 90, Issue 7

2011-05-05 Thread Darren Thompson
Team I stand corrected Looking at all the other ocf files, it does appear that the initialisation setting are consistent (and hence assumed correct). Oddly, the test environment I have setup is SLES11SP with the High Availability add-on and the path to the ocf directory is radically differen

Re: [Linux-ha-dev] [Openais] An OCF agent for LXC (Linux Containers) - Linux-HA-Dev Digest, Vol 90, Issue 6

2011-05-05 Thread Florian Haas
Darren, can you please subscribe to the list as a normal subscriber rather than to just the digest, so we can keep this discussion in one thread? On 2011-05-05 04:47, Darren Thompson wrote: > Florian/Team > > There was an error in the GIT-Hub version that was causing my re-base > attempts to fai

Re: [Linux-ha-dev] [Openais] An OCF agent for LXC (Linux Containers) - Linux-HA-Dev Digest, Vol 90, Issue 6

2011-05-04 Thread Darren Thompson
Florian/Team There was an error in the GIT-Hub version that was causing my re-base attempts to fail, so I was forced to try to bring my "last known good" version to the same configuration (mostly successful). I have since found the error in the GIT-Hub version (the initialisation section was wron

Re: [Linux-ha-dev] [Openais] An OCF agent for LXC (Linux Containers) - Linux-HA-Dev Digest, Vol 90, Issue 3

2011-05-04 Thread Florian Haas
On 05/04/2011 10:52 AM, Darren Thompson wrote: > Florian/Team > > I have now updated my "re-based" ocf file to include the "experimental" > support for upstart and systemd using containers. > > I can confirm that this is still working correctly for containers > running 'sysv init' and "in theory"

Re: [Linux-ha-dev] [Openais] An OCF agent for LXC (Linux Containers) - Linux-HA-Dev Digest, Vol 90, Issue 3

2011-05-04 Thread Darren Thompson
Florian/Team I have now updated my "re-based" ocf file to include the "experimental" support for upstart and systemd using containers. I can confirm that this is still working correctly for containers running 'sysv init' and "in theory" should now also work for containers using 'upstart' and 'sys

Re: [Linux-ha-dev] [Openais] An OCF agent for LXC (Linux Containers) - Linux-HA-Dev Digest, Vol 90, Issue 2

2011-05-04 Thread Florian Haas
On 05/04/2011 09:09 AM, Florian Haas wrote: > On 05/04/2011 08:44 AM, Darren Thompson wrote: >> Florian >> >> I have tried to re-base on your version but it just will not run for me. >> >> I keep getting "Failed to parse the metadata of LXC" syntax error line >> 1, column 1" >> >> I've no idea wher

Re: [Linux-ha-dev] [Openais] An OCF agent for LXC (Linux Containers) - Linux-HA-Dev Digest, Vol 90, Issue 2

2011-05-04 Thread Florian Haas
On 05/04/2011 08:44 AM, Darren Thompson wrote: > Florian > > I have tried to re-base on your version but it just will not run for me. > > I keep getting "Failed to parse the metadata of LXC" syntax error line > 1, column 1" > > I've no idea where this error is as it all looks fine... > > I'll a

Re: [Linux-ha-dev] [Openais] An OCF agent for LXC (Linux Containers) - Linux-HA-Dev Digest, Vol 90, Issue 2

2011-05-03 Thread Darren Thompson
ror, HELP!!! Darren On Tue, 2011-05-03 at 07:59 -0600, linux-ha-dev-requ...@lists.linux-ha.org wrote: > Date: Tue, 03 May 2011 08:20:56 +0200 > From: Florian Haas > Subject: Re: [Linux-ha-dev] [Openais] An OCF agent for LXC (Linux > Containers) - Linux-HA-Dev Digest, Vol

Re: [Linux-ha-dev] [Openais] An OCF agent for LXC (Linux Containers) - Linux-HA-Dev Digest, Vol 90, Issue 2

2011-05-03 Thread Darren Thompson
Florian/Team Sorry I did not read this sooner, my last update will still have be messy for you (sorry). I'll grab a copy of the current version and re-base my work on that. I see that you have streamlined it quite a bit, I'll test it in my environment to ensure it's working as expected (I note t

Re: [Linux-ha-dev] [Openais] An OCF agent for LXC (Linux Containers) - Linux-HA-Dev Digest, Vol 90, Issue 1

2011-05-03 Thread Dejan Muhamedagic
12:00 -0600, > linux-ha-dev-requ...@lists.linux-ha.org wrote: > > > Date: Sun, 1 May 2011 20:49:41 +0200 > > From: Lars Marowsky-Bree > > Subject: Re: [Linux-ha-dev] [Openais] An OCF agent for LXC (Linux > > Containers) > > To: High-Availability Linu

Re: [Linux-ha-dev] [Openais] An OCF agent for LXC (Linux Containers) - Linux-HA-Dev Digest, Vol 89, Issue 33

2011-05-03 Thread Darren Thompson
inux-ha-dev-requ...@lists.linux-ha.org wrote: > Date: Sat, 30 Apr 2011 16:10:52 +0930 > From: Darren Thompson > Subject: Re: [Linux-ha-dev] [Openais] An OCF agent for LXC (Linux > Containers) - Linux-HA-Dev Digest, Vol 89, Issue 32 > To: linux-ha-dev@lists.linux-ha.org >

Re: [Linux-ha-dev] [Openais] An OCF agent for LXC (Linux Containers) - Linux-HA-Dev Digest, Vol 90, Issue 1

2011-05-03 Thread Darren Thompson
Re: [Linux-ha-dev] [Openais] An OCF agent for LXC (Linux > Containers) > To: High-Availability Linux Development List > > Message-ID: <20110501184941.gr17...@suse.de> > Content-Type: text/plain; charset=iso-8859-1 > > On 2011-04-26T16:03:48, Dejan M

Re: [Linux-ha-dev] [Openais] An OCF agent for LXC (Linux Containers) - Linux-HA-Dev Digest, Vol 89, Issue 32

2011-05-02 Thread Florian Haas
Hello Darren, Please get the current version from https://github.com/fghaas/resource-agents/blob/lxc/heartbeat/lxc, and also review the commit history at https://github.com/fghaas/resource-agents/commits/lxc/heartbeat/lxc. When you send more updates, please do make sure they track the latest vers

Re: [Linux-ha-dev] [Openais] An OCF agent for LXC (Linux Containers)

2011-05-01 Thread Tim Serong
On 5/2/2011 at 04:49 AM, Lars Marowsky-Bree wrote: > On 2011-04-26T16:03:48, Dejan Muhamedagic wrote: > > > - the "required" attributes in meta-data need to be reviewed, > > a parameter is either required or has a default, cannot be > > both > > Why would this be the case? There wa

Re: [Linux-ha-dev] [Openais] An OCF agent for LXC (Linux Containers)

2011-05-01 Thread Lars Marowsky-Bree
On 2011-04-26T16:03:48, Dejan Muhamedagic wrote: > - the "required" attributes in meta-data need to be reviewed, > a parameter is either required or has a default, cannot be > both Why would this be the case? Regards, Lars -- Architect Storage/HA, OPS Engineering, Novell, Inc. SUSE L

Re: [Linux-ha-dev] [Openais] An OCF agent for LXC (Linux Containers) - Linux-HA-Dev Digest, Vol 89, Issue 32

2011-04-29 Thread Darren Thompson
e "screen" tool from the startup as it's received negative feed back from a few sources Darren On Fri, 2011-04-29 at 12:00 -0600, linux-ha-dev-requ...@lists.linux-ha.org wrote: > Date: Fri, 29 Apr 2011 09:57:04 +0200 > From: Florian Haas > Subject: Re: [Linux-ha-dev] [Op

Re: [Linux-ha-dev] [Openais] An OCF agent for LXC (Linux Containers) - Linux-HA-Dev Digest, Vol 89, Issue 30

2011-04-29 Thread Florian Haas
On 2011-04-29 08:04, Darren Thompson wrote: > You posted my "first attempt" and not the latest version, is it possible > to add that one as it addresses some( most hopefully) of the issues you > identified. Already there. Been there since yesterday. https://github.com/fghaas/resource-agents/commi

Re: [Linux-ha-dev] [Openais] An OCF agent for LXC (Linux Containers) - Linux-HA-Dev Digest, Vol 89, Issue 30

2011-04-28 Thread Darren Thompson
Florian/TEAM Thank you for the update. I'll thread my remaining replies into the message :-) On Thu, 2011-04-28 at 07:46 -0600, linux-ha-dev-requ...@lists.linux-ha.org wrote: > Date: Thu, 28 Apr 2011 11:56:30 +0200 > From: Florian Haas > Subject: Re: [Linux-ha-dev] [Openais] An

Re: [Linux-ha-dev] [Openais] An OCF agent for LXC (Linux Containers)

2011-04-28 Thread Florian Haas
On 2011-04-28 10:21, Darren Thompson wrote: > Florina/TEAM > > Thanks for your input and the link to the guidelines > > I have updated my original ocf file in line with the guidlines, it even > gave me a few tips on how to do things "better" so was well worth the > time spent. > > Please find th

Re: [Linux-ha-dev] [Openais] An OCF agent for LXC (Linux Containers)

2011-04-28 Thread Darren Thompson
Florina/TEAM Thanks for your input and the link to the guidelines I have updated my original ocf file in line with the guidlines, it even gave me a few tips on how to do things "better" so was well worth the time spent. Please find the updated ocf file for LXC contianers as a cluster resource at

Re: [Linux-ha-dev] [Openais] An OCF agent for LXC (Linux Containers)

2011-04-27 Thread Florian Haas
On 2011-04-27 00:29, Darren Thompson wrote: > Florian > > All good points. > > Unfortunately I'm not a "programmer", so have no idea how to setup a > 'git repo' and currently have no facility to host it even if I knew how. That's the point of github; they provide all that infrastructure for you.

Re: [Linux-ha-dev] [Openais] An OCF agent for LXC (Linux Containers)

2011-04-26 Thread Dejan Muhamedagic
On Tue, Apr 26, 2011 at 03:36:35PM +0200, Florian Haas wrote: > Thanks Darren! > > Thanks for the contribution! Can I suggest > > - we move this discussion to the linux-ha-dev list (where most OCF RA > related discussions and reviews take place); > > - you give the RA a makeover following the OC

Re: [Linux-ha-dev] [Openais] An OCF agent for LXC (Linux Containers)

2011-04-26 Thread Florian Haas
Thanks Darren! Thanks for the contribution! Can I suggest - we move this discussion to the linux-ha-dev list (where most OCF RA related discussions and reviews take place); - you give the RA a makeover following the OCF RA developer's guide (http://www.linux-ha.org/doc/dev-guides/ra-dev-guide.ht