WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] domU dependency-aware xendomains init script?

To: John Morris <jman@xxxxxxxxxxx>
Subject: Re: [Xen-users] domU dependency-aware xendomains init script?
From: Nico Kadel-Garcia <nkadel@xxxxxxxxx>
Date: Sun, 23 Mar 2008 23:16:07 +0000
Cc: Xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sun, 23 Mar 2008 16:11:07 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; bh=L8C2HakPSZ6bq5yvjJiMi6emQtMUr15RKbhAQIdE4dg=; b=qKFMrauIKcIDspZIGzRV/rnbZ3sJpiy5K/Bly44rSqZU9/739JO7dI+TzrbrO/veSMRlZr5vkxtqX2gUa3tFU9Ln/2zySysLv6kUSwskPuCqwQLpQ6L/U5kk+882r7BnoMFHrKalOGxfKOBrHYCDQ6L5dGRUIRple1t2fLCN4t8=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=aIbWhgS4UI0sYH20K0WfVKYRkTvUF1u99VurrEFOSoqIzo3jnoj8YScjJngCiY2/yY0ZYGWvHd1MIWRV/ym13RWl8sTLsgOZw7TKzvBp2pszmLeQf3M0lCjA+Sl0sdcAB2zbgEBZT8GVCzpO+3OnCUwoDhHqeWLUOy7B+U+rWmk=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <47E68309.3000109@xxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <47E68309.3000109@xxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.12 (Windows/20080213)
John Morris wrote:
Is there a smarter xendomains script out there that deals with domU dependencies better than the one in the RPMs (CentOS)? For example, directory services (eg. LDAP, DNS) are on one domU, and other domUs depend on those services to boot correctly. (Best to solve this with redundant services, yes, but let's say this is a test network.) An even stranger example is a domU whose root boots from an NFS, iSCSI or AoE filesystem on another domU.
That's not a Xen issue: that's an OS issue. As such, the init scripts of the other DomU's could perform a number of checks to see if the services are enabled yet, in theory, but I'd suggest instead a monitoring system such as Nagios that reports the confused state of the systems and reports *that*.

It would also be nice, for example, to have per-domU settings for shutdown (hibernate or init 0?).

This idea is still in a seed stage, so I'm not expressing it very clearly. Any pointers to similar-sounding information, though, are well appreciated. Thanks-
Well, there you'd have to get into the "xendomain" init script that RedHat uses. It's an interesting idea: the information could theoretically be contained in a standard Xen init script, and even reported to the Xen configurations for migration. But in the short term, a sinple text-file with domain names and shutdown states could be stuffed in /etc/sysconfig/ or /etx/xen/ for exactly this sort of use.

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>