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 - corrected

I am sending this incase any one else is as retarded as I (I'm sure there are a few).

I read the /etc/sysconfig/xendomains script and modified some variables so that shutdown was shutdown and startup was startup.

The script is very verbose and easy to follow and subsequently, solved my problems startup/shutdown issues.

There does seem to be some kind of bug when saving a domains state but thats for some one else to figure out.

Once I was able to have my domUs truly shutdown, my issues went away.

- Brian




On Jan 6, 2009, at 1:40 PM, Brian Krusic wrote:

Forgot to add that when I manually try to /etc/init.d/xendomains stop, its keeps trying to save the domain and eventually (after several minutes) coughs up a fur ball with a message;

... /etc/init.d/xendomains: line 299: 7336 Terminated.

The domUs do shut down and I can manually start/stop them. But upon machine rebboot, the domUs won't start up.

It seems like the xendomains script isn't working correctly.

My hypervisor is Centos 5.2.

- 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


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

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