Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux-HA: Dev

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

 

 

Linux-HA dev RSS feed   Index | Next | Previous | View Threaded


darrent at akurit

May 3, 2011, 6:59 AM

Post #1 of 1 (154 views)
Permalink
Re: [Openais] An OCF agent for LXC (Linux Containers) - Linux-HA-Dev Digest, Vol 89, Issue 33

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-request [at] lists wrote:

> Date: Sat, 30 Apr 2011 16:10:52 +0930
> From: Darren Thompson <darrent [at] akurit>
> 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 [at] lists
> Message-ID: <1304145652.5625.50.camel [at] darrensPC>
> 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
Attachments: lxc (12.0 KB)

Linux-HA dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.