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] /etc/xen/auto

To: "Brian Krusic" <brian@xxxxxxxxxx>
Subject: Re: [Xen-users] /etc/xen/auto
From: "Todd Deshane" <deshantm@xxxxxxxxx>
Date: Mon, 5 Jan 2009 21:01:06 -0500
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 05 Jan 2009 18:01:57 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :to:subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=+79S7D3dtNi96RItrMzZMy1mku+2onj8FLA48XKEYN4=; b=p/kq6v8ZhtBJ/66kvAS7glUJ8MCghxu2w81CCCahZ+Q/F1pSCsiLF5UHlTZArRrIQA AejrUxWDMn1Q0VUsJkAzt0on+uMsp6wZfPDTVaHLEtCdBnEI9aRVBAcxj+MmMDAY79/3 VFDQvzN6zUvTOMq+exAxjPYXlxnqpRuRZ4D8s=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:to:subject:cc:in-reply-to :mime-version:content-type:content-transfer-encoding :content-disposition:references; b=Ta8E3jfs2KGCPvXbT7SudHZopTsjFPn3JXzuQhx9Acf6sW97oHduyVeDDzoa7InBtP OOajQ3+dbABhK2TJ7VUEcXr5aSXfEEmJ+qG0sxQAX4LK688spFZao31RpN76QQHjb2e1 Qw/RuHYTTFuPsy4RZimlAWQYZt2MWmTFeHm2s=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1E26A440-2D0F-4DDB-BD4B-909F306BAEB3@xxxxxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <1E26A440-2D0F-4DDB-BD4B-909F306BAEB3@xxxxxxxxxx>
Reply-to: deshantm@xxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Mon, Jan 5, 2009 at 5:15 PM, Brian Krusic <brian@xxxxxxxxxx> wrote:
> Hi all,
>
> I've looked at the script /etc/init./xendomains and read some docs to
> confirm that if I move the domU config file from/etc/xen/foo to
> /etc/xen/auto, I should get an automatic startup of  foo.
>

http://www.centos.org/docs/5/html/Virtualization-en-US/ch-virt-script-config.html


> I do get the domU of foo to automatically startup however its very slow.
>  When I open a console connection to it, login and then launch a terminal,
> it almost seems locked up.
>

When starting manually what is different?

> I would also prefer that my domU shuts down when my host shuts down and
> starts up when the host starts up.
>

You should be able to change the domU config file for that.
http://www.centos.org/docs/5/html/Virtualization-en-US/ch19s19.html

change the on_xend_stop option to shutdown
on_xend_stop


> Now, it seems to save its state before the system shuts down.
>

Probably that means it is currently set to suspend

Hope that helps.

Cheers,
Todd

-- 
Todd Deshane
http://todddeshane.net
http://runningxen.com

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