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] which OS + which Xen version to get Linux X64 dom0 + Win

To: Rudi Ahlers <Rudi@xxxxxxxxxxx>
Subject: Re: [Xen-users] which OS + which Xen version to get Linux X64 dom0 + Windows dumU working? -I'm desperate
From: Age_M <Age_M@xxxxxx>
Date: Fri, 13 Jun 2008 17:54:58 +0200
Cc: xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 13 Jun 2008 08:55:02 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <48524CA8.4060703@xxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <484FF60D.5080101@xxxxxxxxxxx> <4850250A.7060509@xxxxxx> <485221B7.9080403@xxxxxxxxxxx> <48522CF6.9040106@xxxxxx> <48524CA8.4060703@xxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.14 (Windows/20080421)
Rudi Ahlers schrieb:
Age_M wrote:
Hi Rudi,

Rudi Ahlers wrote:
Age_M wrote:
Hi Rudi,

Rudi Ahlers schrieb:
My end goal: To setup a dom0 Linux server, running 64bit Linux (for server with 16GB+ RAM) & have a Windows (2003 / 2008) domU running on top of it.
that shouldn't be that tricky.

So far, I have tried:
CentOS 5.1 + default XEN, no luck
CentOS 5.1 + recompiled XEN 3.2, no luck
haven't tried CentOS or Fedora yet
I'd prefer to stick with these, since I know it very well, and our control panel manufacturers recommend it.

I don't even get as far as Windows CD booting up, I don't even get the console.
Console? You need to use VNC or if you're running an X-server on your dom0 you could also use SDL. Did you try to start Windows with "xm create <config> -c"?

Yes, I have started the domU via xm create -c /etc/xen/windows2003, and can see it running as well. The problem comes into connecting to you, and now that you mention it, I probably need VNC, but how do I tell VNC to assign an IP to that domU if Windows is not running yet (and I haven't created an IP for it yet)? I have been able to setup Windows 2003, using virt manager in Gnome, on CentOS 5.0 x64, but I need to set it up via SSH on a remote server. Any tips?
That is quite simple:
1. Edit your /etc/xen/xend-config.sxp and search for
#(vnc-listen '127.0.0.1')
change it to
(vnc-listen '0.0.0.0')

You could also set a password with
(vncpasswd '<yourpasswordhere>')

save the file and restart xend or reboot

2. Edit your HVM-DomU config file:
add a new line with

vnc=1

save the file and start your domU

Use the realvnc-viewer to connect to your dom0 (not domU)

That should be it :-D

Greetz Age_M
This is probably why I haven't tried it yet. From what I understand, this will allow me to VNC directly to the dom0, but what if the server doesn't have X installed (and I can't / don't want to install X?)

So, how do I set it up so that the VNC listener will work directly with the windows2003 domU ?

You set it up exacly as I said. You don't need X in dom0. The dom0 only provides the service of a direct connection to the virtual graphics device on the domU. As a domU neither has an IP address nor a vnc service running while it's in the install process, the dom0 does this for you. And with Windows in a domU I'd guess you will prefer RDP anyway. So, use vnc to install a hvm domU and afterwards use another remote connection like RDP.

Greetz Age_M

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