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 startup issue

To: Amos Shapira <amos.shapira@xxxxxxxxx>
Subject: Re: [Xen-users] DomU startup issue
From: Steve Spencer <sspencer@xxxxxxxx>
Date: Thu, 17 Jul 2008 10:11:22 -0500
Cc: xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 17 Jul 2008 08:12:09 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <9c2cca270807170525gf0a05f3n2cfd390b35c2f3f3@xxxxxxxxxxxxxx>
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: <487E40C8.2010508@xxxxxxxx> <9c2cca270807170525gf0a05f3n2cfd390b35c2f3f3@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.14 (X11/20080502)
All,

Ok, this is documented out there, I was just missing it. I've found my answer. In case anyone else runs into this issue, here is the procedure to fix:

* stop the running DomU's
* cp a backup of their config file somewhere, in case you hose the config accidentally: cp /var/lib/xend/domains/{hast}/config.sxp /root/domUname_backup_config.sxp (or something that works for you)
* using your favorite editor, modify /var/lib/xend/domains/{hash}/config.sxp
* search for the option on_xend_start and change it from (on_xend_start ignore) to (on_xend_start start) * search for the option on_xend_stop (next line, actually) and change it from (on_xend_stop ignore) to (on_xend_stop shutdown)
* save your changes
* restart xend

Thanks,

Steven G. Spencer, Network Administrator
KSC Corporate - The Kelly Supply Family of Companies
Office 308-382-8764 Ext. 231
Mobile 308-380-7957


Amos Shapira wrote:
2008/7/17 Steve Spencer <sspencer@xxxxxxxx>:
Issuing a shutdown -r now on the xen server, however, does not appear to
wait for the domains to shutdown and on top of that, once rebooted, does not
start the domains.

I'm not familiar with configuration files under the directory you
mention, I configure Xen DomU's on CentOS 5 under /etc/xen.
To make a DomU automatically start on Dom0 boot I just add a symbolic
link from /etc/xen/auto to the appropriate DomU's config in /etc/xen.

Hope this helps,

--Amos

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



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

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