[CentOS-virt] how to monitor each VM's traffic?

2008-08-08 Thread Rudi Ahlers
Hi all

Can someone please tell me how to monitor each VM's traffic on a CentOS 5.2
server, running either Xen or OpenVZ? I need to bill my users for the
traffic they use, and would like to have a traffic usage graph for each Xen
/ OpenVZ Virtual Machine on the server.

Thanx :)

-- 

Kind Regards
Rudi Ahlers
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] how to monitor each VM's traffic?

2008-08-08 Thread Karanbir Singh

Rudi Ahlers wrote:

Hi all

Can someone please tell me how to monitor each VM's traffic on a CentOS
5.2 server, running either Xen or OpenVZ? I need to bill my users for
the traffic they use, and would like to have a traffic usage graph for
each Xen / OpenVZ Virtual Machine on the server.


if you look at how xen sets up the Vif interfaces, you will note that 
its quite trivial. just watch the vif as you would an eth interface.

___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] how to monitor each VM's traffic?

2008-08-08 Thread Rudi Ahlers
Sure, that's for XEN, but it's not very effective. I need graph the traffic
for each VM, not the vif - the vifs tend to change on a reboot, and also
reset with the stats.

How can I graph the traffic over a perioud of time, for any given IP
address?

Cacti works well, for switches & routers, but I can't get Cacti to graph an
individual VM on the server.

On Fri, Aug 8, 2008 at 3:34 PM, Karanbir Singh <[EMAIL PROTECTED]> wrote:

> Rudi Ahlers wrote:
>
>> Hi all
>>
>> Can someone please tell me how to monitor each VM's traffic on a CentOS
>> 5.2 server, running either Xen or OpenVZ? I need to bill my users for
>> the traffic they use, and would like to have a traffic usage graph for
>> each Xen / OpenVZ Virtual Machine on the server.
>>
>
> if you look at how xen sets up the Vif interfaces, you will note that its
> quite trivial. just watch the vif as you would an eth interface.
> ___
> CentOS-virt mailing list
> CentOS-virt@centos.org
> http://lists.centos.org/mailman/listinfo/centos-virt
>



-- 

Kind Regards
Rudi Ahlers
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] how to monitor each VM's traffic?

2008-08-08 Thread Karanbir Singh

Rudi Ahlers wrote:

Sure, that's for XEN, but it's not very effective. I need graph the
traffic for each VM, not the vif - the vifs tend to change on a reboot,
and also reset with the stats.

How can I graph the traffic over a perioud of time, for any given IP
address?

Cacti works well, for switches & routers, but I can't get Cacti to graph
an individual VM on the server.

On Fri, Aug 8, 2008 at 3:34 PM, Karanbir Singh <[EMAIL PROTECTED]
> wrote:

Rudi Ahlers wrote:

Hi all

Can someone please tell me how to monitor each VM's traffic on a
CentOS
5.2 server, running either Xen or OpenVZ? I need to bill my
users for
the traffic they use, and would like to have a traffic usage
graph for
each Xen / OpenVZ Virtual Machine on the server.


if you look at how xen sets up the Vif interfaces, you will note
that its quite trivial. just watch the vif as you would an eth
interface.


You've been on the list long enough to consider trimming your posts and 
not top posting.


also, you seem confused about what a virtual interface is. take a look 
at virsh and see how you can bring up and take down a xen domu while 
getting info on what interfaces its using and how.

___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] how to monitor each VM's traffic?

2008-08-08 Thread Rudi Ahlers
On Fri, Aug 8, 2008 at 3:47 PM, Karanbir Singh <[EMAIL PROTECTED]> wrote:

> Rudi Ahlers wrote:
>
>> Sure, that's for XEN, but it's not very effective. I need graph the
>> traffic for each VM, not the vif - the vifs tend to change on a reboot,
>> and also reset with the stats.
>>
>> How can I graph the traffic over a perioud of time, for any given IP
>> address?
>>
>> Cacti works well, for switches & routers, but I can't get Cacti to graph
>> an individual VM on the server.
>>
>> On Fri, Aug 8, 2008 at 3:34 PM, Karanbir Singh <[EMAIL PROTECTED]
>> > wrote:
>>
>>Rudi Ahlers wrote:
>>
>>Hi all
>>
>>Can someone please tell me how to monitor each VM's traffic on a
>>CentOS
>>5.2 server, running either Xen or OpenVZ? I need to bill my
>>users for
>>the traffic they use, and would like to have a traffic usage
>>graph for
>>each Xen / OpenVZ Virtual Machine on the server.
>>
>>
>>if you look at how xen sets up the Vif interfaces, you will note
>>that its quite trivial. just watch the vif as you would an eth
>>interface.
>>
>
> You've been on the list long enough to consider trimming your posts and not
> top posting.
>
> also, you seem confused about what a virtual interface is. take a look at
> virsh and see how you can bring up and take down a xen domu while getting
> info on what interfaces its using and how.
>
> ___
>
Yes, but that's not going to help me. Sure, I can SSH into the server and
see the usage with ifconfig, or virsh as you say - but I can't allow clients
to login into the main server.

I need a way for a client to login to a PHP / MySQL based sytem, which can
show them traffic graphs for their VPS's, and OpenVZ works different from
Xen, so I can't even rely on the Xen stuff.

I'm looking for something similar to Cacti / MRTG - but something that can
graph traffic for each IP / VM on a server

-- 

Kind Regards
Rudi Ahlers
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] how to monitor each VM's traffic?

2008-08-08 Thread Tim Verhoeven
On Fri, Aug 8, 2008 at 3:49 PM, Rudi Ahlers <[EMAIL PROTECTED]> wrote:
>
> I need a way for a client to login to a PHP / MySQL based sytem, which can
> show them traffic graphs for their VPS's, and OpenVZ works different from
> Xen, so I can't even rely on the Xen stuff.
>
> I'm looking for something similar to Cacti / MRTG - but something that can
> graph traffic for each IP / VM on a server

How about the xentop command, you can use it in batch mode and it can
display network statistics. So you should be able to write simple
plugin for Cacti that parses it output.

Regards,
Tim

-- 
Tim Verhoeven - [EMAIL PROTECTED] - 0479 / 88 11 83

Hoping the problem magically goes away by ignoring it is the
"microsoft approach to programming" and should never be allowed.
(Linus Torvalds)
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] how to monitor each VM's traffic?

2008-08-08 Thread Karanbir Singh

Rudi Ahlers wrote:

I'm looking for something similar to Cacti / MRTG - but something that
can graph traffic for each IP / VM on a server


humm... Cacti or mrtg would work fine if it targets the interface and 
the resources on the inside of the vm. for all purposes it should not 
matter if the machine is virtual or not.


Or am I missing something ?
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


[CentOS-virt] KVM + bridge + static ip address

2008-08-08 Thread Raymond C. Rodgers

Hi folks,
I've been reading through the list a bit, and also looked at the KVM 
How-To on the wiki (http://wiki.centos.org/HowTos/KVM ) but I still have 
a question. I haven't yet begun to set up KVM, so I haven't made any 
mistakes yet. :-)


My company recently rented a server on which CentOS 5.0 is installed, 
and my goal is to set up a virtualized instance of CentOS for a new 
employee to tinker and learn on before I let him have hands on the real 
server. What I want to do is set up CentOS in KVM, and assign it one of 
the unused IP addresses on the server so that he and I can access it 
without having to first connect to the real server. The wiki didn't 
really give me a good idea of how to accomplish this, and I haven't done 
a bridge before, so I wanted to check with the list to see if I could 
get some advice on how to accomplish this.


For demonstration purposes, lets say that the external IP address of 
the real server is 10.0.0.1, and I want the virtualized install to be 
found at 10.0.0.2. Can someone show me how to modify the kvm rules found 
on the wiki (and pasted below) to accomplish this?


Thanks!
Raymond

#!/bin/sh
PATH=$PATH:/usr/sbin:/sbin
sudo brctl addbr br0
sudo ifconfig eth0 0.0.0.0
sudo brctl addif br0 eth0
sudo ifconfig br0 192.168.1.120 netmask 255.255.255.0 up
sudo route add -net 192.168.1.0 netmask 255.255.255.0 br0
sudo route add default gw 192.168.1.1 br0
sudo tunctl -b -u john
sudo ifconfig tap0 up
sudo brctl addif br0 tap0
export SDL_VIDEO_X11_DGAMOUSE=0
sudo iptables -I RH-Firewall-1-INPUT -i br0 -j ACCEPT
qemu-kvm ~/win2k.img -m 512 -net nic -net tap,ifname=tap0,script=no



___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] how to monitor each VM's traffic?

2008-08-08 Thread Luke S Crawford
"Rudi Ahlers" <[EMAIL PROTECTED]> writes:

> Sure, that's for XEN, but it's not very effective. I need graph the traffic
> for each VM, not the vif - the vifs tend to change on a reboot, and also
> reset with the stats.

set vifnam=xenname in the vif=[] statement and  you can give the interfaces
symbolic names that don't change every reboot (the snmp mib number still
changes, but the snmp name stays the same.  you need to setup cacti to
map  the names to numbers often. )

snmpd in the dom0 will then report for each interface as if the dom0 was a 
switch, and you can use cacti or mrtg or whatever to aggrigate interface 
counts.  cacti or mrtg or whatever will take care of dealing with reboots
resetting the counters.

Like any layer2 bridge, you need to be careful of your arp cache... if someone
poisions your arp cache, all traffic will go to all DomUs, messing up your
counter.   But I've had plenty of co-lo providers with that problem on 
physical switches, so maybe that is acceptable.

That said, at prgmr.com, I just run bandwidthd at the head of my network.
I hang bandwidthd off of a SPAN port attached to my uplink.The big problem
here is that it only supports ipv4.  the v6 traffic is free.  free!  but it
works with whatever virt tech you use as long as you trust the to/from IP
addresses, and as long as all your traffic is IPv4
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


[CentOS-virt] RE: VMs won't power on

2008-08-08 Thread Richard Fairfield
Because I was in a hurry, I had to move this project to a different OS.
I installed VMserver on Ubuntu,

where I had knew it would work. I'll come back to CentOS later.

 

But, for those that asked:

1) I was not running the Xen verion of the kernel.

2) The VMs that I was trying to start are good; they both worked on
other VMware Server installations.

 

Thanks to all who responded. 

Richard Fairfield | Applications Engineer

Isilon Systems P +1-206-315-7500 F +1-206-315-7501 

www.isilon.com D +1-206-777-7911 M +1-206-372-2776

 

From: Richard Fairfield 
Sent: Thursday, August 07, 2008 2:00 PM
To: centos-virt@centos.org
Subject: VMs won't power on

 

Hello -

 

I have installed the VMware-server-1.0.5-80187.i386.rpm package on a
CentOS 5.1 system. I then ran the vmware-config.pl program. I chose
mostly default answer, except that I did not choose the NAT option; I
saw no errors. 

I used the VMware Server Console to create a Red Hat Linux VM. I also
copied an externally created VM into the '/var/lib/vmware/Virtual
Machines/' directory. I cannot power-on either of these VMs. The VM's
console is blank for several minutes, after which the following message
appears in a pop-up window:

Unable to change virtual machine power state: The
"/usr/lib/vmware/bin/vmware-vmx" process did not start properly
Try running "/usr/lib/vmware/bin/vmware-vmx /var/lib/vmware/Virtual
Machines/Red Hat Linux/Red Hat Linux.vmx" from the command-line on the
server..

I tried running it from the command line, as the message suggests. That
just hangs forever. I don't see anything other than the above error
message in the /var/log/vmlog/vmware-serverd.log file.

I've tried rebooting, and uninstalling and reinstalling the VMware
Server software. I even tried installing from tar file, instead of the
RPM. Nothing changes.

I'm completely stuck. Can anyone help me with this?

 

Richard Fairfield | Applications Engineer

Isilon Systems P +1-206-315-7500 F +1-206-315-7501 

www.isilon.com D +1-206-777-7911 M +1-206-372-2776

 

___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] RE: VMs won't power on

2008-08-08 Thread Mark Foster

Richard Fairfield wrote:


Because I was in a hurry, I had to move this project to a different 
OS. I installed VMserver on Ubuntu,


where I had knew it would work. I'll come back to CentOS later.

 


But, for those that asked:

1) I was not running the Xen verion of the kernel.

2) The VMs that I was trying to start are good; they both worked on 
other VMware Server installations.


 



When a vm won't boot, you can review the vmware.log in the vm's folder 
for diagnosis. Also, you can set debug on in the vmware-server-console 
interface to get extra information into the logfile above.


--
Some days it's just not worth chewing through the restraints...
Mark D. Foster, CISSP <[EMAIL PROTECTED]>  http://mark.foster.cc/


___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] Installing guest OS on Xen 3

2008-08-08 Thread white list
I just want to install NetBSD on Xen, i'm running centOS 5.2 Xen 3
I'm not sure what i'm doing wrong, I can't install NetBSD.
here is my vm04 config file.
Please Help

kernel="/boot/netbsd/netbsd-XEN3_DOMU.gz"
builder='hvm'
name = "vm02"
#uuid = "177aedba-c62a-e7df-84c3-4c870b2cade4"
maxmem = 512
memory = 512
vcpus = 1
#bootloader = "/usr/bin/pygrub"
on_poweroff = "destroy"
on_reboot = "restart"
on_crash = "restart"
vfb = [ "type=vnc,vncunused=1,keymap=en-us" ]
disk = [ "tap:aio:/var/lib/xen/images/vm02.img,xvda,w" ]
vif = [ "mac=00:16:3e:66:84:3c,bridge=xenbr0" ]
cdrom='/dev/hda'
ne2000=0
boot='d'
~







On Thu, Aug 7, 2008 at 4:54 PM, white list <[EMAIL PROTECTED]>wrote:

> Thanks, I will try that
> - Augustin
>
>
> On Thu, Aug 7, 2008 at 4:15 PM, TAIRA Hajime <[EMAIL PROTECTED]> wrote:
>
>> Hi, Augustin.
>>
>> If you want to install NetBSD by full virtual mode.
>> You should be use VT-enabled machine.
>>
>> If you want only to install NetBSD on Xen.
>> Please get xeno-kernel from following url.
>>
>> http://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1.1/i386/binary/kernel/netbsd-INSTALL_XEN3_DOMU.gz
>>
>> Best regards.
>>
>> TAIRA Hajime <[EMAIL PROTECTED]>, web: http://pantora.net/
>> CentOS WikiName: HajimeTaira
>>
>> On 2008/08/08, at 0:35, white list wrote:
>>
>> > WHen I try to install NetBSD this it what is get
>> >
>> >  xm create vm02 -c
>> > Using config file "./vm02".
>> > Error: HVM guest support is unavailable: is VT/AMD-V supported by your
>> CPU and enabled in your BIOS?
>> >
>> >
>> > My vm02 file in
>> > /etc/xen/vm02
>> >
>> > kernel="/usr/lib/xen/boot/
>> > hvmloader"
>> > builder='hvm'
>> > name = "vm02"
>> > #uuid = "177aedba-c62a-e7df-84c3-4c870b2cade4"
>> > maxmem = 512
>> > memory = 512
>> > vcpus = 1
>> > #bootloader = "/usr/bin/pygrub"
>> > on_poweroff = "destroy"
>> > on_reboot = "restart"
>> > on_crash = "restart"
>> > vfb = [ "type=vnc,vncunused=1,keymap=en-us" ]
>> > disk = [ "tap:aio:/var/lib/xen/images/vm02.img,xvda,w" ]
>> > vif = [ "mac=00:16:3e:66:84:3c,bridge=xenbr0" ]
>> > cdrom='/dev/hda'
>> > ne2000=0
>> > boot='d'
>> >
>> >
>> > Please Help!
>> > Thanks,
>> > Augustin
>> > ___
>> > 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
>>
>
>
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] Installing guest OS on Xen 3

2008-08-08 Thread white list
hello,

here is the error i get when ( xm create -c vm02 )
[EMAIL PROTECTED] xen]# xm create -c vm02
Using config file "./vm02".
Traceback (most recent call last):
  File "/usr/bin/pygrub", line 651, in ?
fs = fsimage.open(file, get_fs_offset(file))
IOError: [Errno 95] Operation not supported
No handlers could be found for logger "xend"
Error: Boot loader didn't return any data!
Usage: xm create  [options] [vars]

MY config file in /etc/xen/vm02

kernel="/boot/netbsd/netbsd-INSTALL_XEN3_DOMU.gz"
builder='hvm'
name = "vm02"
#uuid = "177aedba-c62a-e7df-84c3-4c870b2cade4"
maxmem = 512
memory = 512
vcpus = 1
bootloader = "/usr/bin/pygrub"
on_poweroff = "destroy"
on_reboot = "restart"
on_crash = "restart"
vfb = [ "type=vnc,vncunused=1,keymap=en-us" ]
disk = [ "tap:aio:/var/lib/xen/images/vm02.img,xvda,w" ]
vif = [ "mac=00:16:3e:66:84:3c,bridge=xenbr0" ]
cdrom='/dev/hda'
ne2000=0
boot='d'

THANKS
Augustin



On Thu, Aug 7, 2008 at 4:54 PM, white list <[EMAIL PROTECTED]>wrote:

> Thanks, I will try that
> - Augustin
>
>
> On Thu, Aug 7, 2008 at 4:15 PM, TAIRA Hajime <[EMAIL PROTECTED]> wrote:
>
>> Hi, Augustin.
>>
>> If you want to install NetBSD by full virtual mode.
>> You should be use VT-enabled machine.
>>
>> If you want only to install NetBSD on Xen.
>> Please get xeno-kernel from following url.
>>
>> http://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1.1/i386/binary/kernel/netbsd-INSTALL_XEN3_DOMU.gz
>>
>> Best regards.
>>
>> TAIRA Hajime <[EMAIL PROTECTED]>, web: http://pantora.net/
>> CentOS WikiName: HajimeTaira
>>
>> On 2008/08/08, at 0:35, white list wrote:
>>
>> > WHen I try to install NetBSD this it what is get
>> >
>> >  xm create vm02 -c
>> > Using config file "./vm02".
>> > Error: HVM guest support is unavailable: is VT/AMD-V supported by your
>> CPU and enabled in your BIOS?
>> >
>> >
>> > My vm02 file in
>> > /etc/xen/vm02
>> >
>> > kernel="/usr/lib/xen/boot/
>> > hvmloader"
>> > builder='hvm'
>> > name = "vm02"
>> > #uuid = "177aedba-c62a-e7df-84c3-4c870b2cade4"
>> > maxmem = 512
>> > memory = 512
>> > vcpus = 1
>> > #bootloader = "/usr/bin/pygrub"
>> > on_poweroff = "destroy"
>> > on_reboot = "restart"
>> > on_crash = "restart"
>> > vfb = [ "type=vnc,vncunused=1,keymap=en-us" ]
>> > disk = [ "tap:aio:/var/lib/xen/images/vm02.img,xvda,w" ]
>> > vif = [ "mac=00:16:3e:66:84:3c,bridge=xenbr0" ]
>> > cdrom='/dev/hda'
>> > ne2000=0
>> > boot='d'
>> >
>> >
>> > Please Help!
>> > Thanks,
>> > Augustin
>> > ___
>> > 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
>>
>
>
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] KVM + bridge + static ip address

2008-08-08 Thread Kai Schaetzl
Raymond C. Rodgers wrote on Fri, 08 Aug 2008 09:27:50 -0700:

> My company recently rented a server on which CentOS 5.0 is installed, 
> and my goal is to set up a virtualized instance of CentOS for a new 
> employee to tinker and learn on before I let him have hands on the real 
> server.

If you are both so new to this then simply virt-install a CentOS VM. It 
will work out of the box without using brctl and what else. If not already 
in use, switch to the xen kernel for this.

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] KVM + bridge + static ip address

2008-08-08 Thread Raymond C. Rodgers

Kai Schaetzl wrote:

Raymond C. Rodgers wrote on Fri, 08 Aug 2008 09:27:50 -0700:

  
My company recently rented a server on which CentOS 5.0 is installed, 
and my goal is to set up a virtualized instance of CentOS for a new 
employee to tinker and learn on before I let him have hands on the real 
server.



If you are both so new to this then simply virt-install a CentOS VM. It 
will work out of the box without using brctl and what else. If not already 
in use, switch to the xen kernel for this.


Kai

  
I'm more familiar with KVM than I am Xen; I've managed to get QEMU/KVM 
virtual machines up and running, I'm just concerned about the bridging 
angle. Although I haven't done any configuring yet, I'm not as sure of 
myself when it comes to Xen, and have only dabbled a bit.


That said, if Xen will let me accomplish this with minimum fuss, then 
I'll happily switch to that for this virtual box. Is there anything in 
particular I need to look out for with Xen?


Thanks,
Raymond
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] Installing guest OS on Xen 3

2008-08-08 Thread cetertick
Hello,you are tryung to boot a hvm (fully-virtualized) OS with pygrub, wich in this case use the para-virtualized bootloader (/boot/grub) in domU.Comment the pygrub line.Bests,DouglasEm 15:31, white list   escreveu: hello, here is the error i get when ( xm create -c vm02 )[EMAIL PROTECTED] xen]# xm create -c vm02Using config file "./vm02".Traceback (most recent call last):  File "/usr/bin/pygrub", line 651, in ?    fs = fsimage.open(file, get_fs_offset(file))IOError: [Errno 95] Operation not supportedNo handlers could be found for logger "xend"Error: Boot loader didn't return any data!Usage: xm create [options] [vars]MY config file in /etc/xen/vm02kernel=&qu
 ot;/boot/netbsd/netbsd-INSTALL_XEN3_DOMU.gz"builder='hvm'name = "vm02"#uuid = "177aedba-c62a-e7df-84c3-4c870b2cade4"maxmem = 512memory = 512vcpus = 1bootloader = "/usr/bin/pygrub" /> /> />vfb = [ "type=vnc,vncunused=1,keymap=en-us" ]disk = [ "tap:aio:/var/lib/xen/images/vm02.img,xvda,w" ]vif = [ "mac=00:16:3e:66:84:3c,bridge=xenbr0" ]cdrom='/dev/hda'ne2000=0boot='d'THANKS AugustinOn Thu, Aug 7, 2008 at 4:54 PM, white list <[EMAIL PROTECTED]> wrote:Thanks, I will try that- Augustin On Thu, Aug 7, 2008 at 4:15 PM, TAIRA Hajime <[EMAIL PROTECTED]> wrote:Hi, Augustin.If you want to install NetBSD by full virtual mode.You should be use VT-enabled machine.If you want only to install NetBSD on Xen.Please get xeno-kernel from following url.http://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1.1/i386/binary/kernel/netbsd-INSTALL_XEN3_DOMU.gzBest regards.TAIRA Hajime <<
 a href="" target="_blank" >[EMAIL PROTECTED]>, web: http://pantora.net/CentOS WikiName: HajimeTairaOn 2008/08/08, at 0:35, white list wrote:> WHen I try to install NetBSD this it what is get>>  xm create vm02 -c> Using config file "./vm02".> Error: HVM guest support is unavailable: is VT/AMD-V supported by your CPU and enabled in your BIOS?>>> My vm02 file in> /etc/xen/vm02>> kernel="/usr/lib/xen/boot/> hvmloader"> builder='hvm'> name = "vm02"> #uuid = "177aedba-c62a-e7df-84c3-4c870b2cade4"> maxmem = 512> memory = 512> vcpus = 1> #bootloader = "/usr/bin/pygrub">  />>  />>  />> vfb = [ "type=vnc,vncunused=1,keymap=en-us" ]> disk = [ "tap:aio:/var/lib/xen/images/vm02.img,xvda,w" ]> vif = [ "mac=00:16:3e:66:84:3c,bridge=xenbr0" ]> cdrom='/dev/hda'> ne2000=0> boot='d'>>> Please Help!> Thanks,> Augustin> ___> CentOS-virt mailing list> CentOS-virt@centos.org> http://lists.centos.org/mailman/listinfo/centos-virt___CentOS-virt mailing list<
 a href="" target="_blank" >CentOS-virt@centos.orghttp://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] Installing guest OS on Xen 3

2008-08-08 Thread cetertick
Any error occured???If yes, post here!Em 15:25, white list   escreveu: I just want to install NetBSD on Xen, i'm running centOS 5.2 Xen 3I'm not sure what i'm doing wrong, I can't install NetBSD.here is my vm04 config file. Please Helpkernel="/boot/netbsd/netbsd-XEN3_DOMU.gz"builder='hvm'name = "vm02"#uuid = "177aedba-c62a-e7df-84c3-4c870b2cade4"maxmem = 512memory = 512vcpus = 1#bootloader = "/usr/bin/pygrub" /> /> />vfb = [ "type=vnc,vncunused=1,keymap=en-us" ]disk = [ "tap:aio:/var/lib/xen/images/vm02.img,xvda,w" ]vif = [ "mac=00:16
 :3e:66:84:3c,bridge=xenbr0" ]cdrom='/dev/hda'ne2000=0boot='d'~On Thu, Aug 7, 2008 at 4:54 PM, white list <[EMAIL PROTECTED]> wrote:Thanks, I will try that- Augustin On Thu, Aug 7, 2008 at 4:15 PM, TAIRA Hajime <[EMAIL PROTECTED]> wrote:Hi, Augustin.If you want to install 
 NetBSD by full virtual mode.You should be use VT-enabled machine.If you want only to install NetBSD on Xen.Please get xeno-kernel from following url.http://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1.1/i386/binary/kernel/netbsd-INSTALL_XEN3_DOMU.gzBest regards.TAIRA Hajime <[EMAIL PROTECTED]>, web: http://pantora.net/CentOS WikiName: HajimeTairaOn 2008/08/08, at 0:35, white list wrote:> WHen I try to install NetBSD this it what is get>>  xm create vm02 -c> Using config file "./vm02".> Error: HVM guest support is unavailable: is VT/AMD-V su
 pported by your CPU and enabled in your BIOS?>>> My vm02 file in> /etc/xen/vm02>> kernel="/usr/lib/xen/boot/> hvmloader"> builder='hvm'> name = "vm02"> #uuid = "177aedba-c62a-e7df-84c3-4c870b2cade4"> maxmem = 512> memory = 512> vcpus = 1> #bootloader = "/usr/bin/pygrub">  />>  />>  />> vfb = [ "type=vnc,vncunused=1,keymap=en-us" ]> disk = [ "tap:aio:/var/lib/xen/images/vm02.img,xvda,w" ]> vif = [ "mac=00:16:3e:66:84:3c,bridge=xenbr0" ]> cdrom='/dev/hda'> ne2000=0> boot='d'>>> Please Help!> Thanks,> Augustin> ___
 > CentOS-virt mailing list> CentOS-virt@centos.org> http://lists.centos.org/mailman/listinfo/centos-virt___CentOS-virt mailing listCentOS-virt@centos.orghttp://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] Installing guest OS on Xen 3

2008-08-08 Thread white list
If I comment the pygrub line I get the following error message.

[EMAIL PROTECTED] xen]# xm create -c vm02
Using config file "./vm02".
Error: HVM guest support is unavailable: is VT/AMD-V supported by your CPU
and enabled in your BIOS?



Please Help!
- Augustin




On Fri, Aug 8, 2008 at 3:13 PM, cetertick <[EMAIL PROTECTED]> wrote:

> Hello,
> you are tryung to boot a hvm (fully-virtualized) OS with pygrub, wich in
> this case use the para-virtualized bootloader (/boot/grub) in domU.
>
> Comment the pygrub line.
>
> Bests,
> Douglas
>
>
> Em 15:31, *white list  * escreveu:
>
>
> hello,
>
> here is the error i get when ( xm create -c vm02 )
> [EMAIL PROTECTED] xen]# xm create -c vm02
> Using config file "./vm02".
> Traceback (most recent call last):
>   File "/usr/bin/pygrub", line 651, in ?
> fs = fsimage.open(file, get_fs_offset(file))
> IOError: [Errno 95] Operation not supported
> No handlers could be found for logger "xend"
> Error: Boot loader didn't return any data!
> Usage: xm create [options] [vars]
>
> MY config file in /etc/xen/vm02
>
> kernel=&qu ot;/boot/netbsd/netbsd-INSTALL_XEN3_DOMU.gz"
>
> builder='hvm'
> name = "vm02"
> #uuid = "177aedba-c62a-e7df-84c3-4c870b2cade4"
> maxmem = 512
> memory = 512
> vcpus = 1
> bootloader = "/usr/bin/pygrub"
> on_poweroff = "destroy"
> on_reboot = "restart"
> on_crash = "restart"
> vfb = [ "type=vnc,vncunused=1,keymap=en-us" ]
> disk = [ "tap:aio:/var/lib/xen/images/vm02.img,xvda,w" ]
> vif = [ "mac=00:16:3e:66:84:3c,bridge=xenbr0" ]
> cdrom='/dev/hda'
> ne2000=0
> boot='d'
>
> THANKS
> Augustin
>
>
>
> On Thu, Aug 7, 2008 at 4:54 PM, white list <[EMAIL 
> PROTECTED]
> > wrote:
>
> Thanks, I will try that
> - Augustin
>
>
> On Thu, Aug 7, 2008 at 4:15 PM, TAIRA Hajime <[EMAIL 
> PROTECTED]
> > wrote:
>
> Hi, Augustin.
>
> If you want to install NetBSD by full virtual mode.
> You should be use VT-enabled machine.
>
> If you want only to install NetBSD on Xen.
> Please get xeno-kernel from following url.
>
> http://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1.1/i386/binary/kernel/netbsd-INSTALL_XEN3_DOMU.gz
>
> Best regards.
>
> TAIRA Hajime << a href="../../../undefined//[EMAIL PROTECTED]"
> target="_blank" onclick="window.open(this.href);return false;">
> [EMAIL PROTECTED]>, web: http://pantora.net/
>
> CentOS WikiName: HajimeTaira
>
> On 2008/08/08, at 0:35, white list wrote:
>
> > WHen I try to install NetBSD this it what is get
> >
> >  xm create vm02 -c
> > Using config file "./vm02".
> > Error: HVM guest support is unavailable: is VT/AMD-V supported by your
> CPU and enabled in your BIOS?
> >
> >
> > My vm02 file in
> > /etc/xen/vm02
> >
> > kernel="/usr/lib/xen/boot/
> > hvmloader"
> > builder='hvm'
> > name = "vm02"
> > #uuid = "177aedba-c62a-e7df-84c3-4c870b2cade4"
> > maxmem = 512
> > memory = 512
> > vcpus = 1
> > #bootloader = "/usr/bin/pygrub"
> > on_poweroff = "destroy"
> > on_reboot = "restart"
> > on_crash = "restart"
> > vfb = [ "type=vnc,vncunused=1,keymap=en-us" ]
> > disk = [ "tap:aio:/var/lib/xen/images/vm02.img,xvda,w" ]
> > vif = [ "mac=00:16:3e:66:84:3c,bridge=xenbr0" ]
> > cdrom='/dev/hda'
> > ne2000=0
> > boot='d'
> >
> >
> > Please Help!
> > Thanks,
> > Augustin
> > ___
> > CentOS-virt mailing list
> > CentOS-virt@centos.org
> > 
> http://lists.centos.org/mailman/listinfo/centos-virt
>
> ___
> CentOS-virt mailing list
> < a href="../../../undefined//compose?to=CentOS" target="_blank"
> onclick="window.open(this.href);return false;">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
>
>
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] Installing guest OS on Xen 3

2008-08-08 Thread Jerry Amundson
On Fri, Aug 8, 2008 at 5:31 PM, white list <[EMAIL PROTECTED]> wrote:
> If I comment the pygrub line I get the following error message.
>
> [EMAIL PROTECTED] xen]# xm create -c vm02
> Using config file "./vm02".
> Error: HVM guest support is unavailable: is VT/AMD-V supported by your CPU
> and enabled in your BIOS?

Well is it?
Do you have vmx capable CPU's?
cat /proc/cpuinfo | grep vmx

jerry


-- 
"Years of Academy training... wasted!" - Buzz Lightyear
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt