[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] /etc/xen/auto



Hi Todd,

Everytime I boot my host, I get;

restoring Xen domains: foo bar

(assume I have 2 domUs, named foo and bar).

These domains are not started from scratch but are started from there last saved state.

Even when I modify each of there config files to reflect either;

on_xend_stop = "shutdown"

or

on_reboot = "destroy"
on_crash = "destroy"

By the way, were can I get more info about on_xend_stop options?

- Brian




On Jan 5, 2009, at 6:01 PM, Todd Deshane wrote:

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


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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.