dejan at suse
Apr 26, 2011, 7:03 AM
Post #2 of 7
On Tue, Apr 26, 2011 at 03:36:35PM +0200, Florian Haas wrote:
Re: [Openais] An OCF agent for LXC (Linux Containers)
[In reply to]
> 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
> - you set up your own github fork off of
> https://github.com/ClusterLabs/resource-agents, and push your RA to that
> so we can eventually pull it into the mainline repo?
> Also, can you explain what the advantages of your approach are, versus
> using libvirt-managed lxc containers which Pacemaker can tie into via
> the existing VirtualDomain agent?
Yes, this is the first thing I thought about too.
A few remarks:
- the "required" attributes in meta-data need to be reviewed,
a parameter is either required or has a default, cannot be
- why use screen(1) in start?
BTW, since lxc seems to be easy to setup, it would be great to
supply an ocft test file along with the RA. It's quite
straightforward, just make a copy of one of the existing test
files from tools/ocft.
> Openais mailing list
> Openais [at] lists
Linux-HA-Dev: Linux-HA-Dev [at] lists
Home Page: http://linux-ha.org/