Hi. I''ve installed successfully xen domU (linux debian lenny) and 1 VM (linux debian - work fine). Now I would like to install windows 2008 server. I''ve downloaded dvd iso to install it. I''ve configured my VM like this : import os, re arch = os.uname()[4] if re.search(''64'', arch): arch_libdir = ''lib64'' else: arch_libdir = ''lib'' kernel = "/usr/lib/xen-3.2-1/boot/hvmloader" builder=''hvm'' memory=''1024'' vcpu=''1'' cpu=''1'' # Should be at least 2KB per MB of domain memory, plus a few MB per vcpu. shadow_memory = 8 name = "win2008" vif = [ ''ip=192.168.0.6,mac=00:16:3E:4F:EB:03'' ] acpi=1 apic=1 disk = [ ''phy:/dev/GROUP_LVM/WIN-ROOT,ioemu:hda,w'', ''file:/root/win2008r2-64bits.iso,ioemu:hdc:cdrom,r'', ] device_model = ''/usr/'' + arch_libdir + ''/xen/bin/qemu-dm'' #--------------------------------------------------------------------------- -- # boot on floppy (a), hard disk (c) or CD-ROM (d) # default: hard disk, cd-rom, floppy boot="d" sdl=0 vnc=1 vncconsole=1 vncviewer=1 vncpasswd='''' usbdevice=''tablet'' keymap=''fr'' and I start it successfully : xm create /etc/xen/win2008.cfg Using config file "/etc/xen/win2008.cfg". VNC= 1 Started domain win2008 My xen server haven''t X graphic server and I would like to connect on my new vm to install by VNC. My server ip adress : 192.168.0.2 My VM : 192.168.0.6 (windows) My station able to connect the VNC (windows 7 with vnc client) : 192.168.0.5 In the /etc/xen/xend-config.spx, I have this : (xend-unix-server yes) (network-script network-bridge) (vif-script vif-bridge) (dom0-min-mem 196) (vnc-listen ''192.168.0.2'') I tried to connect with vnc from my computer (192.168.0.5) to 192.168.0.2 or 192.168.0.6 and nothing work. My netstat on domU don''t show any tcp connexion on TCP port like 59** .. Have you any idea to help me? I''m looking for google since 48 hours and I''m out of hope :( Best regards.. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Thu, Feb 04, 2010 at 04:24:30PM +0100, Ludovic BILLARD wrote:> I tried to connect with vnc from my computer (192.168.0.5) to 192.168.0.2 or > 192.168.0.6 and nothing work.vnclisten="w.x.y.z" where w.x.y.z is your dom0''s IP should do the trick. Rainer _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Le jeudi 04 février 2010 à 16:24 +0100, Ludovic BILLARD a écrit :> Hi. > > I''ve installed successfully xen domU (linux debian lenny) and 1 VM > (linux debian - work fine). > > Now I would like to install windows 2008 server. > > I''ve downloaded dvd iso to install it. > > I''ve configured my VM like this : > > > > import os, re > > arch = os.uname()[4] > > if re.search(''64'', arch): > > arch_libdir = ''lib64'' > > else: > > arch_libdir = ''lib'' > > kernel = "/usr/lib/xen-3.2-1/boot/hvmloader" > > builder=''hvm'' > > memory=''1024'' > > vcpu=''1'' > > cpu=''1'' > > # Should be at least 2KB per MB of domain memory, plus a few MB per > vcpu. > > shadow_memory = 8 > > name = "win2008" > > vif = [ ''ip=192.168.0.6,mac=00:16:3E:4F:EB:03'' ] > > acpi=1 > > apic=1 > > disk = [ ''phy:/dev/GROUP_LVM/WIN-ROOT,ioemu:hda,w'', > ''file:/root/win2008r2-64bits.iso,ioemu:hdc:cdrom,r'', ] > > device_model = ''/usr/'' + arch_libdir + ''/xen/bin/qemu-dm'' > > > > #----------------------------------------------------------------------------- > > # boot on floppy (a), hard disk (c) or CD-ROM (d) > > # default: hard disk, cd-rom, floppy > > boot="d" > > sdl=0 > > vnc=1 > > vncconsole=1 > > vncviewer=1 > > vncpasswd='''' > > usbdevice=''tablet'' > > keymap=''fr'' > > > > and I start it successfully : > > > > xm create /etc/xen/win2008.cfg > > Using config file "/etc/xen/win2008.cfg". > > VNC= 1 > > Started domain win2008 > > > > My xen server haven''t X graphic server and I would like to connect on > my new vm to install by VNC. > > My server ip adress : 192.168.0.2 > > My VM : 192.168.0.6 (windows) > > My station able to connect the VNC (windows 7 with vnc client) : > 192.168.0.5 > > In the /etc/xen/xend-config.spx, I have this : > > > > (xend-unix-server yes) > > (network-script network-bridge) > > (vif-script vif-bridge) > > (dom0-min-mem 196) > > (vnc-listen ''192.168.0.2'') > > > > I tried to connect with vnc from my computer (192.168.0.5) to > 192.168.0.2 or 192.168.0.6 and nothing work. > > > > My netstat on domU don''t show any tcp connexion on TCP port like > 59** .. > > > > Have you any idea to help me? > > I''m looking for google since 48 hours and I''m out of hope :( > > > > Best regards..Hello, If your Windows machine doeas not have the rught vnc server, you will not succeed. You can try to connect with the "terminal server" on W2K8, "rdesktop" works fine on Linux, you can connect through a Windows machine. The prblem is that the remote connection is/was disabled by default in Windows (XP or 2K3) and you must first connect to Windows and enable it ! Regards JPP _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On dom0 : win2008.cfg I''ve add these lines : vncdisplay= 50 vnclisten=''0.0.0.0'' vncpasswd=''test'' xm create /etc/xen/win2008.cfg => ok netstat : xen-farm:~# netstat -antp Connexions Internet actives (serveurs et établies) Proto Recv-Q Send-Q Adresse locale Adresse distante Etat PID/Program name tcp 0 0 0.0.0.0:47759 0.0.0.0:* LISTEN 2748/rpc.statd tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 2737/portmap tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 3497/sshd tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 3293/exim4 tcp6 0 0 :::22 :::* LISTEN 3497/sshd There is no tcp connection listen on port 59**. Any tips, how can I''ve log to find where is the problem? I think my VM not start but successfully lauched by xen : xen-farm:~# xm list Name ID Mem VCPUs State Time(s) Domain-0 0 14070 8 r----- 226.7 ...... win2008 24 1024 1 ------ 0.0 Time = 0.0 ?? Quoting alex <alex.faq8@gmail.com>:> See netstat on dom0. > EX: dom0 ip 192.168.0.1, add to domU config > vncdisplay= 50 > vnclisten=''0.0.0.0'' > vncpasswd=''stronpassword'' > > and connect from any domU by 192.168.0.1:5950 > > 2010/2/4 Ludovic BILLARD <ludovic.billard@upmc.fr> > >> Hi. >> >> I''ve installed successfully xen domU (linux debian lenny) and 1 VM (linux >> debian - work fine). >> >> Now I would like to install windows 2008 server. >> >> I''ve downloaded dvd iso to install it. >> >> I''ve configured my VM like this : >> >> >> >> import os, re >> >> arch = os.uname()[4] >> >> if re.search(''64'', arch): >> >> arch_libdir = ''lib64'' >> >> else: >> >> arch_libdir = ''lib'' >> >> kernel = "/usr/lib/xen-3.2-1/boot/hvmloader" >> >> builder=''hvm'' >> >> memory=''1024'' >> >> vcpu=''1'' >> >> cpu=''1'' >> >> # Should be at least 2KB per MB of domain memory, plus a few MB per vcpu. >> >> shadow_memory = 8 >> >> name = "win2008" >> >> vif = [ ''ip=192.168.0.6,mac=00:16:3E:4F:EB:03'' ] >> >> acpi=1 >> >> apic=1 >> >> disk = [ ''phy:/dev/GROUP_LVM/WIN-ROOT,ioemu:hda,w'', >> ''file:/root/win2008r2-64bits.iso,ioemu:hdc:cdrom,r'', ] >> >> device_model = ''/usr/'' + arch_libdir + ''/xen/bin/qemu-dm'' >> >> >> >> >> #----------------------------------------------------------------------------- >> >> # boot on floppy (a), hard disk (c) or CD-ROM (d) >> >> # default: hard disk, cd-rom, floppy >> >> boot="d" >> >> sdl=0 >> >> vnc=1 >> >> vncconsole=1 >> >> vncviewer=1 >> >> vncpasswd='''' >> >> usbdevice=''tablet'' >> >> keymap=''fr'' >> >> >> >> and I start it successfully : >> >> >> >> xm create /etc/xen/win2008.cfg >> >> Using config file "/etc/xen/win2008.cfg". >> >> VNC= 1 >> >> Started domain win2008 >> >> >> >> My xen server haven''t X graphic server and I would like to connect on my >> new vm to install by VNC. >> >> My server ip adress : 192.168.0.2 >> >> My VM : 192.168.0.6 (windows) >> >> My station able to connect the VNC (windows 7 with vnc client) : >> 192.168.0.5 >> >> In the /etc/xen/xend-config.spx, I have this : >> >> >> >> (xend-unix-server yes) >> >> (network-script network-bridge) >> >> (vif-script vif-bridge) >> >> (dom0-min-mem 196) >> >> (vnc-listen ''192.168.0.2'') >> >> >> >> I tried to connect with vnc from my computer (192.168.0.5) to 192.168.0.2 >> or 192.168.0.6 and nothing work. >> >> >> >> My netstat on domU don''t show any tcp connexion on TCP port like 59** .. >> >> >> >> Have you any idea to help me? >> >> I''m looking for google since 48 hours and I''m out of hope :( >> >> >> >> Best regards.. >> >> >> >> >> >> >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com >> http://lists.xensource.com/xen-users >> > > > > -- > Best Regards, > alex.faq8@gmail.com >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Could you try to start any other HVM not Win2008 ( say Ubuntu Server) ? I never worked with Win HVMs. veridian=1 might be an issue for 2008 (?) Boris. --- On Thu, 2/4/10, Ludovic BILLARD <ludovic.billard@upmc.fr> wrote: From: Ludovic BILLARD <ludovic.billard@upmc.fr> Subject: Re: [Xen-users] xen & vnc To: "alex" <alex.faq8@gmail.com> Cc: xen-users@lists.xensource.com Date: Thursday, February 4, 2010, 2:09 PM On dom0 : win2008.cfg I''ve add these lines : vncdisplay= 50 vnclisten=''0.0.0.0'' vncpasswd=''test'' xm create /etc/xen/win2008.cfg => ok netstat : xen-farm:~# netstat -antp Connexions Internet actives (serveurs et établies) Proto Recv-Q Send-Q Adresse locale Adresse distante Etat PID/Program name tcp 0 0 0.0.0.0:47759 0.0..0.0:* LISTEN 2748/rpc.statd tcp 0 0 0.0.0.0:111 0..0.0.0:* LISTEN 2737/portmap tcp 0 0 0.0.0.0:22 0.0..0.0:* LISTEN 3497/sshd tcp 0 0 127.0.0.1:25 0.0.0..0:* LISTEN 3293/exim4 tcp6 0 0 :::22 :::* LISTEN 3497/sshd There is no tcp connection listen on port 59**. Any tips, how can I''ve log to find where is the problem? I think my VM not start but successfully lauched by xen : xen-farm:~# xm list Name ID Mem VCPUs State Time(s) Domain-0 0 14070 8 r----- 226.7 ....... win2008 24 1024 1 ------ 0.0 Time = 0.0 ?? Quoting alex <alex.faq8@gmail.com>:> See netstat on dom0. > EX: dom0 ip 192.168.0.1, add to domU config > vncdisplay= 50 > vnclisten=''0.0.0.0'' > vncpasswd=''stronpassword'' > > and connect from any domU by 192.168.0.1:5950 > > 2010/2/4 Ludovic BILLARD <ludovic.billard@upmc.fr> > >> Hi. >> >> I''ve installed successfully xen domU (linux debian lenny) and 1 VM (linux >> debian - work fine). >> >> Now I would like to install windows 2008 server. >> >> I''ve downloaded dvd iso to install it. >> >> I''ve configured my VM like this : >> >> >> >> import os, re >> >> arch = os.uname()[4] >> >> if re.search(''64'', arch): >> >> arch_libdir = ''lib64'' >> >> else: >> >> arch_libdir = ''lib'' >> >> kernel = "/usr/lib/xen-3.2-1/boot/hvmloader" >> >> builder=''hvm'' >> >> memory=''1024'' >> >> vcpu=''1'' >> >> cpu=''1'' >> >> # Should be at least 2KB per MB of domain memory, plus a few MB per vcpu.. >> >> shadow_memory = 8 >> >> name = "win2008" >> >> vif = [ ''ip=192.168.0.6,mac=00:16:3E:4F:EB:03'' ] >> >> acpi=1 >> >> apic=1 >> >> disk = [ ''phy:/dev/GROUP_LVM/WIN-ROOT,ioemu:hda,w'', >> ''file:/root/win2008r2-64bits.iso,ioemu:hdc:cdrom,r'', ] >> >> device_model = ''/usr/'' + arch_libdir + ''/xen/bin/qemu-dm'' >> >> >> >> >> #----------------------------------------------------------------------------- >> >> # boot on floppy (a), hard disk (c) or CD-ROM (d) >> >> # default: hard disk, cd-rom, floppy >> >> boot="d" >> >> sdl=0 >> >> vnc=1 >> >> vncconsole=1 >> >> vncviewer=1 >> >> vncpasswd='''' >> >> usbdevice=''tablet'' >> >> keymap=''fr'' >> >> >> >> and I start it successfully : >> >> >> >> xm create /etc/xen/win2008.cfg >> >> Using config file "/etc/xen/win2008.cfg". >> >> VNC= 1 >> >> Started domain win2008 >> >> >> >> My xen server haven''t X graphic server and I would like to connect on my >> new vm to install by VNC. >> >> My server ip adress : 192.168.0.2 >> >> My VM : 192.168.0.6 (windows) >> >> My station able to connect the VNC (windows 7 with vnc client) : >> 192.168.0.5 >> >> In the /etc/xen/xend-config.spx, I have this : >> >> >> >> (xend-unix-server yes) >> >> (network-script network-bridge) >> >> (vif-script vif-bridge) >> >> (dom0-min-mem 196) >> >> (vnc-listen ''192.168.0.2'') >> >> >> >> I tried to connect with vnc from my computer (192.168.0.5) to 192.168.0.2 >> or 192.168.0.6 and nothing work. >> >> >> >> My netstat on domU don''t show any tcp connexion on TCP port like 59** .. >> >> >> >> Have you any idea to help me? >> >> I''m looking for google since 48 hours and I''m out of hope :( >> >> >> >> Best regards.. >> >> >> >> >> >> >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com >> http://lists.xensource.com/xen-users >> > > > > -- > Best Regards, > alex.faq8@gmail.com >_______________________________________________ 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