Florian/Team

Another update to the lxc (Linux container) ocf file. (attached)

Changes (summary):

Added "very very very experimental" support for alternate init systems
inside containers (it should now support sysvinit, upstart and systemd).

Adding this support did not "break" the default sysvinit, but since I do
not know how to create a LXC container that uses 'upstart' or 'systemd'
my testing is very rudimentary for those two systems.

I have made no progress whatsoever with removing the requirement for
"screen" as I still have not found a working alternative to provide the
"root console" created by lxc-start (it takes over the default console
it's run on and that is lost when run as a cluster service, if screen is
not used.)  

At this point I may have to confess that getting this working without
using screen may be beyond my abilities (for now, I'm stubborn so will
keep plugging away at this, but don't hold your breath).

I'm still not sure why the use of screen is so repellent to some, as it
works well and is quite innocuous generally.

Regards
Darren


On Sat, 2011-04-30 at 12:00 -0600,
linux-ha-dev-requ...@lists.linux-ha.org wrote:

> Date: Sat, 30 Apr 2011 16:10:52 +0930
> From: Darren Thompson <darr...@akurit.com.au>
> 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
> Message-ID: <1304145652.5625.50.ca...@darrenspc.akurit.com.au>
> Content-Type: text/plain; charset="utf-8"
> 
> Florin/TEAM
> 
> Please find the latest instalment of the LXC containers ocf.
> 
> Changes (summary):
> Moved cgroup_mounted out of default initialisation and made it a
> function (used by start/stop).
> Also cleaned up some other code sections, including expanding on
> verify_all section to more fully test configuration. Also merged
> validate and status sections.
> My next work will be determining the best way to make the containers
> "init type" independent (due to the rise of "init replacements" like
> "systemd" and "upstart")  and  also investigating the removal of the
> "screen" tool from the startup as it's received negative feed back
> from
> a few sources
> 
> Darren

Attachment: lxc
Description: application/shellscript

_______________________________________________________
Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to