Hi. How I can see what happend in my domU??? dom0 Debian Lenny domU FreeBSD6.4 xen 3.2-1 -------- Xen 3.2-1 :/etc/xen# xm create tttt.cfg Using config file "./tttt.cfg". Started domain freebsd -------- /etc/xen# xm list Name ID Mem VCPUs State Time(s) Domain-0 0 2969 4 r----- 48.0 freebsd 4 1024 1 ------ 0.0 --------- gvncviewer localhost:0 Disconnect from server ------------------------------------------ /etc/xen# cat tttt.cfg # Enable hardware virtualisation using HVM kernel = ''/usr/lib/xen-3.2-1/boot/hvmloader'' device_model = ''/usr/lib/xen-3.2-1/bin/qemu-dm'' builder = ''hvm'' # VM/domain name name = ''freebsd'' # Memory and CPU settings vcpus = ''2'' memory = ''1024'' # Disk settings disk = [ ''file:/home/test/domains/freebsd/disk.img,hda,w'', ''file:/home/alex/6.4-RELEASE-amd64-bootonly.iso,hdc:cdrom,r'' ] boot = ''c'' # Network settings hostname = ''freebsd'' vif = [ '''' ] #dhcp = ''1'' # Graphics settings #sdl = ''0'' vnc = ''1'' #vncviewer = ''1'' # Other settings #pae = ''0'' # Whether to enable PAE for 32-bit VMs #acpi = ''0'' # Whether to enable ACPI for guests localtime = ''1'' # Whether system clock is set to local #time or UTC # Start/stop settings on_poweroff = ''destroy'' on_reboot = ''destroy'' on_crash = ''destroy'' -- С уважением, Alex. alex.faq8@gmail.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Sorry gvncviewer localhost:1 (1=ID my virtual machine) Please help, I cant understand what wrong. All done by Manuals. 4 августа 2009 г. 17:38 пользователь Butterfly_killer <alex.faq8@gmail.com>написал:> Hi. How I can see what happend in my domU??? > dom0 Debian Lenny > domU FreeBSD6.4 > xen 3.2-1 > -------- > Xen 3.2-1 > :/etc/xen# xm create tttt.cfg > Using config file "./tttt.cfg". > Started domain freebsd > -------- > /etc/xen# xm list > Name ID Mem VCPUs State > Time(s) > Domain-0 0 2969 4 r----- > 48.0 > freebsd 4 1024 1 ------ > 0.0 > --------- > gvncviewer localhost:0 > Disconnect from server > ------------------------------------------ > /etc/xen# cat tttt.cfg > # Enable hardware virtualisation using HVM > kernel = ''/usr/lib/xen-3.2-1/boot/hvmloader'' > device_model = ''/usr/lib/xen-3.2-1/bin/qemu-dm'' > builder = ''hvm'' > > # VM/domain name > name = ''freebsd'' > > # Memory and CPU settings > vcpus = ''2'' > memory = ''1024'' > > # Disk settings > disk = [ ''file:/home/test/domains/freebsd/disk.img,hda,w'', > ''file:/home/alex/6.4-RELEASE-amd64-bootonly.iso,hdc:cdrom,r'' ] > boot = ''c'' > > # Network settings > hostname = ''freebsd'' > vif = [ '''' ] > #dhcp = ''1'' > > # Graphics settings > #sdl = ''0'' > vnc = ''1'' > #vncviewer = ''1'' > > # Other settings > #pae = ''0'' # Whether to enable PAE for 32-bit VMs > #acpi = ''0'' # Whether to enable ACPI for guests > localtime = ''1'' # Whether system clock is set to local > #time or UTC > > # Start/stop settings > on_poweroff = ''destroy'' > on_reboot = ''destroy'' > on_crash = ''destroy'' > > > > -- > С уважением, Alex. > alex.faq8@gmail.com > > >-- С уважением, Alex. alex.faq8@gmail.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi, What is the question? You can''t connect to your domain through vnc? Is there any ports listening by vnc? Check ''netstat -na|grep LISTEN|grep tcp'' output, you should find ports starting from 5900 (5900 is default port for vnc display 0). Also you can add below options to your domain config: vnc=1 vnclisten=''0.0.0.0'' vncpasswd=''q1'' 2009/8/4 Butterfly_killer <alex.faq8@gmail.com>:> Sorry > gvncviewer localhost:1 (1=ID my virtual machine) > Please help, I cant understand what wrong. All done by Manuals. > > 4 августа 2009 г. 17:38 пользователь Butterfly_killer <alex.faq8@gmail.com> > написал: >> >> Hi. How I can see what happend in my domU??? >> dom0 Debian Lenny >> domU FreeBSD6.4 >> xen 3.2-1 >> -------- >> Xen 3.2-1 >> :/etc/xen# xm create tttt.cfg >> Using config file "./tttt.cfg". >> Started domain freebsd >> -------- >> /etc/xen# xm list >> Name ID Mem VCPUs State >> Time(s) >> Domain-0 0 2969 4 r----- >> 48.0 >> freebsd 4 1024 1 ------ >> 0.0 >> --------- >> gvncviewer localhost:0 >> Disconnect from server >> ------------------------------------------ >> /etc/xen# cat tttt.cfg >> # Enable hardware virtualisation using HVM >> kernel = ''/usr/lib/xen-3.2-1/boot/hvmloader'' >> device_model = ''/usr/lib/xen-3.2-1/bin/qemu-dm'' >> builder = ''hvm'' >> >> # VM/domain name >> name = ''freebsd'' >> >> # Memory and CPU settings >> vcpus = ''2'' >> memory = ''1024'' >> >> # Disk settings >> disk = [ ''file:/home/test/domains/freebsd/disk.img,hda,w'', >> ''file:/home/alex/6.4-RELEASE-amd64-bootonly.iso,hdc:cdrom,r'' ] >> boot = ''c'' >> >> # Network settings >> hostname = ''freebsd'' >> vif = [ '''' ] >> #dhcp = ''1'' >> >> # Graphics settings >> #sdl = ''0'' >> vnc = ''1'' >> #vncviewer = ''1'' >> >> # Other settings >> #pae = ''0'' # Whether to enable PAE for 32-bit VMs >> #acpi = ''0'' # Whether to enable ACPI for guests >> localtime = ''1'' # Whether system clock is set to local >> #time or UTC >> >> # Start/stop settings >> on_poweroff = ''destroy'' >> on_reboot = ''destroy'' >> on_crash = ''destroy'' >> >> >> >> -- >> С уважением, Alex. >> alex.faq8@gmail.com >> >> > > > > -- > С уважением, Alex. > alex.faq8@gmail.com > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >-- Sergey Smirnov Moscow, Russia GMT+3 cell phone: +7 919 104 8963 email/xmpp: Sergey.A.Smirnov@Gmail.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
1) MY question is easy: How I can see what now doing on my virtual FreeBSD. I see only xm list. PS In xm list Time for domU ==0 all time. 2) /etc/xen# netstat -na | grep LISTEN |grep tcp tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:58060 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:80 <http://0.0.0.0/> 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:7741 0.0.0.0:* LISTEN tcp 0 0 127.0.0.1:927 0.0.0.0:* LISTEN tcp6 0 0 :::22 :::* LISTEN I dont know what is 927,7741 and 58060, but i tested gvncviewer localhost:ALL_OPEN PORTS. Reply: Disconnected from server. 3) I use your config vnc=1 vnclisten=''0.0.0.0'' vncpasswd=''q1'' and recreate my domU, but it was do nothing, I do it before in xen config files. 2009/8/4 Sergey Smirnov <sergey.a.smirnov@gmail.com>> Hi, > > What is the question? You can''t connect to your domain through vnc? > > Is there any ports listening by vnc? Check ''netstat -na|grep > LISTEN|grep tcp'' output, you should find ports starting from 5900 > (5900 is default port for vnc display 0). > > Also you can add below options to your domain config: > > vnc=1 > vnclisten=''0.0.0.0'' > vncpasswd=''q1'' > > 2009/8/4 Butterfly_killer <alex.faq8@gmail.com>: > > Sorry > > gvncviewer localhost:1 (1=ID my virtual machine) > > Please help, I cant understand what wrong. All done by Manuals. > > > > 4 августа 2009 г. 17:38 пользователь Butterfly_killer < > alex.faq8@gmail.com> > > написал: > >> > >> Hi. How I can see what happend in my domU??? > >> dom0 Debian Lenny > >> domU FreeBSD6.4 > >> xen 3.2-1 > >> -------- > >> Xen 3.2-1 > >> :/etc/xen# xm create tttt.cfg > >> Using config file "./tttt.cfg". > >> Started domain freebsd > >> -------- > >> /etc/xen# xm list > >> Name ID Mem VCPUs State > >> Time(s) > >> Domain-0 0 2969 4 r----- > >> 48.0 > >> freebsd 4 1024 1 ------ > >> 0.0 > >> --------- > >> gvncviewer localhost:0 > >> Disconnect from server > >> ------------------------------------------ > >> /etc/xen# cat tttt.cfg > >> # Enable hardware virtualisation using HVM > >> kernel = ''/usr/lib/xen-3.2-1/boot/hvmloader'' > >> device_model = ''/usr/lib/xen-3.2-1/bin/qemu-dm'' > >> builder = ''hvm'' > >> > >> # VM/domain name > >> name = ''freebsd'' > >> > >> # Memory and CPU settings > >> vcpus = ''2'' > >> memory = ''1024'' > >> > >> # Disk settings > >> disk = [ ''file:/home/test/domains/freebsd/disk.img,hda,w'', > >> ''file:/home/alex/6.4-RELEASE-amd64-bootonly.iso,hdc:cdrom,r'' ] > >> boot = ''c'' > >> > >> # Network settings > >> hostname = ''freebsd'' > >> vif = [ '''' ] > >> #dhcp = ''1'' > >> > >> # Graphics settings > >> #sdl = ''0'' > >> vnc = ''1'' > >> #vncviewer = ''1'' > >> > >> # Other settings > >> #pae = ''0'' # Whether to enable PAE for 32-bit VMs > >> #acpi = ''0'' # Whether to enable ACPI for guests > >> localtime = ''1'' # Whether system clock is set to local > >> #time or UTC > >> > >> # Start/stop settings > >> on_poweroff = ''destroy'' > >> on_reboot = ''destroy'' > >> on_crash = ''destroy'' > >> > >> > >> > >> -- > >> С уважением, Alex. > >> alex.faq8@gmail.com > >> > >> > > > > > > > > -- > > С уважением, Alex. > > alex.faq8@gmail.com > > > > > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users > > > > > > -- > Sergey Smirnov > Moscow, Russia GMT+3 > cell phone: +7 919 104 8963 > email/xmpp: Sergey.A.Smirnov@Gmail.com >-- С уважением, Alex. alex.faq8@gmail.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Personally, I don''t ever use the built in VNCserver. The overhead is enormous - and it defies what is increasingly becoming a virtualization best practice - treat VMs like any other server. If you need a GUI, you can connect to the XServer or install VNCServer like you would on a regular linux system. Otherwise, just use SSH. Thank You, Nathan Eisenberg Sr. Systems Administrator Atlas Networks, LLC _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Butterfly_killer <alex.faq8@gmail.com> writes:> 1) MY question is easy: How I can see what now doing on my virtual FreeBSD. > I see only xm list. > PS In xm list Time for domU ==0 all time.That means something has gone horribly wrong and your FreeBSD DomU isn''t actually running at all. I''d look in the xen logs. here are notes from last time I did this: http://book.xen.prgmr.com/mediawiki/index.php/FreeBSD_under_HVM -- Luke S. Crawford http://prgmr.com/xen/ - Hosting for the technically adept http://nostarch.com/xen.htm - We don''t assume you are stupid. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users