[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Re: FreeBSD starting by HVM


  • To: Sergey Smirnov <sergey.a.smirnov@xxxxxxxxx>
  • From: Butterfly_killer <alex.faq8@xxxxxxxxx>
  • Date: Wed, 5 Aug 2009 10:45:48 +0400
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Tue, 04 Aug 2009 23:46:43 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=PuoXU/5ZidS7eJgetwtYbix/XuhGWe/QjEkDFmYxC1zdZAsgSQjL7PemP07RHC9Xo3 GbVaSTnyR2tYYVMyVbuxAeVX3lwQ3/RnEmFOn4V27QSMIKKHgdfQSMiaN+W+ruwJ0q4L GzhV1JKdEDYRVJDX+kGS6WUXnyCmZC7EQMRps=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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              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@xxxxxxxxx>
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@xxxxxxxxx>:
> 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@xxxxxxxxx>
> написал:
>>
>> 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
>> > >> > >> > >>
>>
>>
>> --
>> С уважением, Alex.
>> alex.faq8@xxxxxxxxx
>>
>>
>
>
>
> --
> С уважением, Alex.
> alex.faq8@xxxxxxxxx
>
>
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
>



--
Sergey Smirnov
Moscow, Russia GMT+3
cell phone: +7 919 104 8963
email/xmpp: Sergey.A.Smirnov@xxxxxxxxx



--
С уважением, Alex.
alex.faq8@xxxxxxxxx


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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.