Re: [CentOS-virt] Need Help with Xen Please
You just need a shell for running virt-install and attach to the xen console, no X. Kai -- Kai Schätzl, Berlin, Germany Get your web at Conactive Internet Services: http://www.conactive.com ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-virt] Need Help with Xen Please
Jason Taylor wrote on Tue, 18 Nov 2008 03:47:09 -0700: > I proceeded to use virt-install (and later virt-install --nographics and > virt-install --vnc) and none of them will install the guest. It always fails > saying that there is no console and to reconnect. Ok, sorry, I expected to get a complete virt-install command line where I could derive the OS you want to install from. My mistake. You want to run virt-install without any parameter and answer all the questions. In that case I need to ask what OS you want to install. And, although you don't want to, have a look at man virt-install and then try an install that uses the command -line parameters instead of asking questions. Also, earlier you wrote: > Xend does start and I can do everything listed in the tutorial until I get > to the virt-manager part. So, is your problem now with virt-install or with virt-manager? Does your VM get created? Can you start it with "xm create "? Do you see it running in "xm list"? The main point here is that it's not clear from the beginning if virt-install cannot connect to the console and thus you cannot install the OS or if it all creates just fine and you later cannot attach to the running domU console. Kai -- Kai Schätzl, Berlin, Germany Get your web at Conactive Internet Services: http://www.conactive.com ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-virt] Need Help with Xen Please
On Tue, Nov 18, 2008 at 6:41 AM, Brett Worth <[EMAIL PROTECTED]> wrote: > Jason Taylor wrote: > When you connect to the Centos server from your remote console you said > before that you're > using ssh. Is this from another Linux system? You need to ensure that you > have access to > your local graphical interface from the remote server i.e. that you have a > valid DISPLAY > variable set. If "echo $DISPLAY" returns an empty string then maybe you just > need to do > "ssh -X centos_server" when connecting so that ssh will forward the X11 back > to your > display. Then virt-manager should work. Sometimes ssh -Y works when ssh -X doesn't. Over time I've started using ssh -Y as it always works. If the server is setup correctly, it will not allow you to ssh as root, you'll need to ssh -Y as yourself and then su -. When you use the su command you might loose the DISPLAY variable, in this case simply re-establish it and all should work. If you workstation is Linux, you have an X-Display running. If it is Windows, you can use Cygwin as your X-Server. Brett ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-virt] Need Help with Xen Please
Jason Taylor wrote: > Kai: > > I used yum to install xen and xen-kernel I then edited the grub config and > rebooted the server. Using uname -r I verified I was in the right kernel. > > > I proceeded to use virt-install (and later virt-install --nographics and > virt-install --vnc) and none of them will install the guest. It always fails > saying that there is no console and to reconnect. When you connect to the Centos server from your remote console you said before that you're using ssh. Is this from another Linux system? You need to ensure that you have access to your local graphical interface from the remote server i.e. that you have a valid DISPLAY variable set. If "echo $DISPLAY" returns an empty string then maybe you just need to do "ssh -X centos_server" when connecting so that ssh will forward the X11 back to your display. Then virt-manager should work. Then again I might be misunderstanding the problem. Brett ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-virt] Need Help with Xen Please
Kai Schaetzl wrote: Tru Huynh wrote on Tue, 18 Nov 2008 09:41:10 +0100: what don't you use http://wiki.centos.org/HowTos/Xen/InstallingCentOSDomU This tutorial is much more complicated than using virt-install. There is no need for "installation kernels" and such. You just run virt-install and off you go. yeah, its a bit odd that we dont have a libvirt/virttools based howto. Perhaps something to take up. -- Karanbir Singh : http://www.karan.org/ : [EMAIL PROTECTED] ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
RE: [CentOS-virt] Need Help with Xen Please
Kai: I used yum to install xen and xen-kernel I then edited the grub config and rebooted the server. Using uname -r I verified I was in the right kernel. I proceeded to use virt-install (and later virt-install --nographics and virt-install --vnc) and none of them will install the guest. It always fails saying that there is no console and to reconnect. Using xm console ## I try to connect to the console but am given the following error in the qemu log: qemu: the number of cpus is 1 *** image /local/domain/0/backend/vbd/5/768 format raw driver 0x80e7940 *** image /local/domain/0/backend/vbd/5/5632 format raw driver 0x80e7940 Watching /local/domain/5/logdirty/next-active Could not initialize SDL - exiting -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kai Schaetzl Sent: Tuesday, November 18, 2008 3:34 A To: centos-virt@centos.org Subject: Re: [CentOS-virt] Need Help with Xen Please Jason, I'm surely not going to read the whole tutorial. Tell what exact virt-install command you used and any preparation steps if you did any. (e.g. what did you install to get xen on the system.) Kai -- Kai Schätzl, Berlin, Germany Get your web at Conactive Internet Services: http://www.conactive.com ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-virt] Need Help with Xen Please
Jason, I'm surely not going to read the whole tutorial. Tell what exact virt-install command you used and any preparation steps if you did any. (e.g. what did you install to get xen on the system.) Kai -- Kai Schätzl, Berlin, Germany Get your web at Conactive Internet Services: http://www.conactive.com ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-virt] Need Help with Xen Please
Tru Huynh wrote on Tue, 18 Nov 2008 09:41:10 +0100: > what don't you use http://wiki.centos.org/HowTos/Xen/InstallingCentOSDomU This tutorial is much more complicated than using virt-install. There is no need for "installation kernels" and such. You just run virt-install and off you go. Kai -- Kai Schätzl, Berlin, Germany Get your web at Conactive Internet Services: http://www.conactive.com ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-virt] Need Help with Xen Please
On Tue, Nov 18, 2008 at 01:20:16AM -0700, Jason Taylor wrote: > Hello Kai: > what don't you use http://wiki.centos.org/HowTos/Xen/InstallingCentOSDomU and related links instead of howtoforge ? Tru -- Tru Huynh (mirrors, CentOS-3 i386/x86_64 Package Maintenance) http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xBEFA581B pgpGZlzQRjnHT.pgp Description: PGP signature ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
RE: [CentOS-virt] Need Help with Xen Please
Hello Kai: Thank you for your feedback. I apologize for not using the right terminology. As mentioned I followed the tutorial at http://www.howtoforge.com/centos_5.0_xen so that shows all the commands I used. When I tried to install a guest/domU I get the previous mentioned error. Virt-install doesnt seem to work as it seems to require a console which I do not have. All I have is root access to the server via SSH (not in same physical location as server) Jason -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kai Schaetzl Sent: Sunday, November 16, 2008 4:31 A To: centos-virt@centos.org Subject: Re: [CentOS-virt] Need Help with Xen Please Jason Taylor wrote on Sat, 15 Nov 2008 17:00:46 -0700: > One thing to note is that the base Xen installs fine it seems > but when trying to create the virtual instance (domU) it says it cannot > connect to the console. Then try without making it connect to the console. (I may have misunderstood what you mean by "create", note, "create" means *starting* an existing VM. see below.) I looked at the how-to, it uses virt-install. That works very well. What exactly did you install as a domU? What where your commands? And when do you get that error, when you run virt-install and it wants to attach to the console or once it's finished and you start the VM up? One thing: you want to use the Xen 3.2 rpms provided by xen.org for serious production work on CentOS and not the one coming with CentOS. Suggest you read the archives of the list for all tips and caveats. Kai -- Kai Schätzl, Berlin, Germany Get your web at Conactive Internet Services: http://www.conactive.com ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt