John Hannfield
2006-Oct-30 15:59 UTC
[Xen-users] howto maintain xm console across reboots?
Hi, If I connect to a certain VM using the xm console command (see below), and then reboot the domU, the console connection is lost, and you have to re connect the console. Is there a way to get the console to remain connected from dom0 while the domU reboots? I''m pretty sure it stayed connected under xen 2.0.x Thanks -- John _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Tiago Cruz
2006-Oct-30 16:35 UTC
Re: [Xen-users] howto maintain xm console across reboots?
On Mon, 2006-10-30 at 15:59 +0000, John Hannfield wrote:> If I connect to a certain VM using the xm console command (see below), > and then reboot the domU, the console connection is lost, and you have > to re connect the console. Is there a way to get the console to > remain connected from dom0 while the domU reboots?I have one problem too, I boot the domU with console and never be able to get console, only by SSH... so I''ve added some commands on my init scripts, like this: echo "----------------------------------------------------------------" lsmod echo "----------------------------------------------------------------" route -n echo "----------------------------------------------------------------" ifconfig echo "----------------------------------------------------------------" ping -c 3 192.168.50.254 echo "----------------------------------------------------------------" But I don''t know (too) why I can''t get console :) _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Mon, 2006-10-30 at 15:59 +0000, John Hannfield wrote:> Hi, > > If I connect to a certain VM using the xm console command (see below), > and then > reboot the domU, the console connection is lost, and you have to re > connect > the console. Is there a way to get the console to remain connected > from dom0 while > the domU reboots? > > I''m pretty sure it stayed connected under xen 2.0.x >It did, I noticed the same change when going from 2.0.7 to 3.0.2. I Didn''t find it annoying enough to ask about, but would also be interested in having it remain connected. Would be nice to be able to configure that behavior for each dom-u in its config. My IP-KVM loses window focus when it doesn''t remain connected oddly enough. Only annoying when I forget about it and have other editor windows open (and keep typing .. ) Best, -Tim _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
John Hannfield
2006-Nov-01 11:33 UTC
Re: [Xen-users] howto maintain xm console across reboots?
Hi Tim, Yeah I think it should be possible to fix it. The problem is the domain ID changes across reboots, but the domain name stays the same. Does anyone know where to look for this in the code? _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wed, 2006-11-01 at 11:33 +0000, John Hannfield wrote:> > Hi Tim, > > Yeah I think it should be possible to fix it. > The problem is the domain ID changes across reboots, but the domain > name stays the same. Does anyone know where to look for this in the > code?somewhere in [xen]/tools/console and the python helper [xen]/tools/misc/xencons I think only xencons would need to be modified, I haven''t really looked at it much other than seeing where such a small mod would need to go. Rather than send a patch upstream for it I was thinking about wrapping xm console with a shell script to pick up the new dom ID and re-establish the console once it exits, or complain if the guest failed to come back.> > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users