Hi again, I''m working on a remote Xen server where I frequently have to insert/ swap CD''s into HVM''s. Bandwidth is such that I really want VNC rather than X-forwarded SDL; my understanding, though, is that the qemu monitor is disabled under VNC for security reasons. It certainly doesn''t work for me. I can log into the Xen dom0 as root; is there any way I can get at domU monitors from there? If not, is there any alternative that''s not "change the Xen config file and reboot the domU" or "render an SDL display to an Xvnc4 instance on dom0, and use SSH tunneling to securely forward that display to my local machine"? Relatedly, though less important: Is there a way to do this with PVM''s (since they don''t have the qemu monitor)? Thanks, Adam _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Nico Kadel-Garcia
2007-Jul-19 22:11 UTC
Re: [Xen-users] qemu monitor with only vnc and ssh?
Adam Seering wrote:> Hi again, > I''m working on a remote Xen server where I frequently have to > insert/swap CD''s into HVM''s. Bandwidth is such that I really want VNC > rather than X-forwarded SDL; my understanding, though, is that the > qemu monitor is disabled under VNC for security reasons. It certainly > doesn''t work for me. > > I can log into the Xen dom0 as root; is there any way I can get at > domU monitors from there? If not, is there any alternative that''s not > "change the Xen config file and reboot the domU" or "render an SDL > display to an Xvnc4 instance on dom0, and use SSH tunneling to > securely forward that display to my local machine"? > > Relatedly, though less important: Is there a way to do this with > PVM''s (since they don''t have the qemu monitor)?Is this for installation processes? Can you use DVD''s? I just re-wrote the CentOS installation DVD builder to work for RHEL 5, and would be happy to post a copy. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
>> Relatedly, though less important: Is there a way to do this >> with PVM''s (since they don''t have the qemu monitor)? > Is this for installation processes? Can you use DVD''s? I just re- > wrote the CentOS installation DVD builder to work for RHEL 5, and > would be happy to post a copy.It''s actually for installing many different pieces of software that come on separate CD''s. (Also, it''s for Windows Vista (HVM) and Ubuntu (PVM) rather than RHEL, though I might be working with RHEL 4 or 5 shortly.) I could try to put them all on one big disk image and mount that; the problem is, I don''t yet know the full list of CD''s that I''ll need, and I''m likely to get more with time. Thanks though, Adam _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Adam Seering wrote:> >>> Relatedly, though less important: Is there a way to do this with >>> PVM''s (since they don''t have the qemu monitor)? >> Is this for installation processes? Can you use DVD''s? I just >> re-wrote the CentOS installation DVD builder to work for RHEL 5, and >> would be happy to post a copy. > > It''s actually for installing many different pieces of software that > come on separate CD''s. (Also, it''s for Windows Vista (HVM) and Ubuntu > (PVM) rather than RHEL, though I might be working with RHEL 4 or 5 > shortly.) I could try to put them all on one big disk image and mount > that; the problem is, I don''t yet know the full list of CD''s that I''ll > need, and I''m likely to get more with time.I only have experience with PVMs, but I wonder why doing: xm block-attach ${domid} phy:/dev/cd-rom /dev/sdd r I guess this doesn''t work with HVM? The other thing I do... just in general is make .iso images and loop back in Linux when I need them and in Windows there are .iso mount tools like VirtualCD (or Alcohol?). -Scott _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> I only have experience with PVMs, but I wonder why doing: > > xm block-attach ${domid} phy:/dev/cd-rom /dev/sdd r > > I guess this doesn''t work with HVM? > > The other thing I do... just in general is make .iso images and loop > back in Linux when I need them and in Windows there are .iso mounttools> like VirtualCD (or Alcohol?).I do this: " xm block-configure $domain phy:$device hdc:cdrom r " ($device is /dev/cdrom or /images/cdimage.iso etc) Under windows, you have to first either eject the CD under windows (right click + eject on the drive in explorer), or do: " xm block-configure $domain phy:/dev/null hdc:cdrom r " First, which seems to do the same thing. My CD change script is: " xm block-configure $domain phy:/dev/null hdc:cdrom r sleep 1 xm block-configure $domain phy:$device hdc:cdrom r " I imagine that would also work on a pv domain, but I''ve never tried it. James _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users