Re: [CentOS-virt] How to debug Ubuntu 8.04 LTS guest crashduring install?

2010-01-23 Thread Neil Aggarwal
> Runs fine on my centos 5.4 kvm, although I used the
> virt-manager gui to install it. 

Are you using bridged networking?  I think it has something
to do with that as well as not having a DHCP server in
my network.

> Interesting little distro - thanks for bringing it to my
> attention...

I am glad you found it useful.  I think it is a great
project which adds tremendous value.

Thanks,
    Neil

--
Neil Aggarwal, (281)846-8957, http://UnmeteredVPS.net/cpanel
cPanel/WHM preinstalled on a virtual server for only $40/month!
No overage charges, 7 day free trial, PayPal, Google Checkout 

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


[CentOS-virt] How to debug Ubuntu 8.04 LTS guest crash during install?

2010-01-22 Thread Neil Aggarwal
Hello:

I am using kvm on a CentOS 5.4 server.

I am trying to install the TunkeyLinux Core appliance 
found here: http://www.turnkeylinux.org/core

I downloaded the ISO file from the web site.

Then, I used this command to intall it:
virt-install -n tkl-core -r 512 --vcpus=1 --check-cpu --os-type=linux 
--os-variant=ubuntuhardy -v --accelerate 
-c /tmp/turnkey-core-2009.10-hardy-x86.iso 
-f /var/lib/libvirt/images/tkl-core.img -s 15 -b br0 --vnc noautoconsole

When I connect to the VNC console, I get the Turnkey linux 
options screen.
I select Install to hard disk from there and it seems to 
start the install but crashes during the installer startup.

This is repeatable so there has to be a way to debug it.

I tried turning on the debug option for virt-install but that
did not give me any useful info.

Any ideas how to debug this?

Thanks,
Neil

--
Neil Aggarwal, (281)846-8957, http://UnmeteredVPS.net/cpanel
cPanel/WHM preinstalled on a virtual server for only $40/month!
No overage charges, 7 day free trial, PayPal, Google Checkout

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


Re: [CentOS-virt] Xen Database vms

2010-01-15 Thread Neil Aggarwal
Ben:

> What if it were the only "real" active vm?

There is some overhead in virtualization, but you would
essentially have all the machine's resources available
to your db server.  That should be close enough to bare
metal performance.

    Neil

--
Neil Aggarwal, (281)846-8957, http://UnmeteredVPS.net/centos
CentOS 5.4 VPS with unmetered bandwidth only $25/month!
No overage charges, 7 day free trial, PayPal, Google Checkout

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


Re: [CentOS-virt] Xen Database vms

2010-01-15 Thread Neil Aggarwal
Ben:

> Are "centralized" database (SQL) servers best left out of 
> virtualization 
 ...
> and intensive querying, Accounting Systems and so forth.

It really depends on the hardware you allocate to the VM
and how intensive the usage is.

Personally, if I have an intensively queried database
server, I want it directly on hardware.

    Neil

--
Neil Aggarwal, (281)846-8957, http://UnmeteredVPS.net/centos
CentOS 5.4 VPS with unmetered bandwidth only $25/month!
No overage charges, 7 day free trial, PayPal, Google Checkout

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


[CentOS-virt] KVM Guest not using MAC address specified in XML file

2010-01-11 Thread Neil Aggarwal
Hello:

I have a server running Centos 5.4 with KVM.

When I specify a MAC address in a guest's XML file:

  
  
  


I get a different answer from ifconfig:
v1067 Link encap:Ethernet  HWaddr D2:7A:F7:E5:09:B0

Any ideas why the address is different?

Thanks,
Neil

--
Neil Aggarwal, (281)846-8957, http://UnmeteredVPS.net
CentOS 5.4 VPS with unmetered bandwidth only $25/month!
No overage charges, 7 day free trial, PayPal, Google Checkout

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


[CentOS-virt] Is Ubuntu guest optimized or do I need to install para-virtual drivers manually?

2009-12-31 Thread Neil Aggarwal
Hello:

According to this list of supported guest on RHEL 5.4 KVM:
 
<http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5.4/html/Virtuali
zation_Guide/chap-Virtualization-KVM_Restrictions_and_support.html>
http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5.4/html/Virtualiz
ation_Guide/chap-Virtualization-KVM_Restrictions_and_support.html

RHEL and some Windows guests are automatically optimized with
para-virtualized drivers when I install it.

Is the same true if I install Ubunto as a guest or is there
something I need to do to get the para-virtual drivers installed
on it?

Thanks,
Neil

--
Neil Aggarwal, (281)846-8957,  <http://UnmeteredVPS.net>
http://UnmeteredVPS.net
Host Joomla!, Wordpress, phpBB, or vBulletin for $25/mo
Unmetered bandwidth = no overage charges, 7 day free trial 

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


[CentOS-virt] KVM Support for Windows Server 2003 32 bit ready for production?

2009-12-02 Thread Neil Aggarwal
Hello:

I am wondering if KVM is ready for production
for running a Windows Server 2003 32 bit guest.

According to the RHEL 5.4 virtualization guide,
there is supposed to be a virtio-win yum package,
but that was not released.  Instead, it looks like
that is only available for RHN subscribers.

Also, I saw this posting on the CentOS list:

--- Quoted from CL Martinez
There are freely redistributable, but still they aren't published by
upstream. You 
can use these instead: 
http://www.linux-kvm.com/content/windows-binary-virtio-drivers-finally-relea
sed, but 
there are a lot of problems with any windows 64 bits. And another problem, a
big 
really, is that you can¡t install a windows kvm guest directly to a virtio
disk. 
First you need to install to an ide disk, after generate a virtio disk and
attach to 
win guest, install the virtio driver and last remove ide drive ... very very
ugly.
 End Quote

That seems to imply things are still not ready for production
use.

Any opinions?

Thanks,
Neil


--
Neil Aggarwal, (281)846-8957, http://UnmeteredVPS.net
CentOS 5.4 VPS with unmetered bandwidth only $25/month!
No overage charges, 7 day free trial, Google Checkout accepted 

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


Re: [CentOS-virt] Slightly OT: FakeRaid or Software Raid

2009-12-02 Thread Neil Aggarwal
> I have had great luck with nvidia fakeraid on RAID1, but I 
> see there are 
> preferences for software raid.

I have always heard that fakeraid and software RAID
perform the same.

Neil

--
Neil Aggarwal, (281)846-8957, http://UnmeteredVPS.net
CentOS 5.4 VPS with unmetered bandwidth only $25/month!
No overage charges, 7 day free trial, Google Checkout accepted 

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


[CentOS-virt] Shell command to list cpu usage for KVM guests?

2009-11-24 Thread Neil Aggarwal
Hello:

I am looking for a way to check CPU usage for
KVM guests.

I see that capability in virt-manager, but that would
require me to install a GUI on the host.

Is there a simple report from a command line tool?

Something like the three load average numbers per
guest in a list?

I took a look at virsh but could not find anything.

Thanks,
Neil


--
Neil Aggarwal, (281)846-8957, http://UnmeteredVPS.net
Host Joomla!, Wordpress, phpBB, or vBulletin for $25/mo
Unmetered bandwidth = no overage charges, 7 day free trial

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


Re: [CentOS-virt] Virsh shutdown all command?

2009-11-13 Thread Neil Aggarwal
Ed:

> > Is there a command in virsh to shutdown all domains?
>   I use a script to shutdown my domains.

Thank you for the script.  I will play with it to see
if I can get it to work.

Thanks,
Neil

--
Neil Aggarwal, (281)846-8957, http://UnmeteredVPS.net
CentOS 5.4 VPS with unmetered bandwidth only $25/month!
7 day no risk trial, Google Checkout accepted 

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


Re: [CentOS-virt] Virsh shutdown all command?

2009-11-13 Thread Neil Aggarwal
Kai:

> > Is there a command in virsh to shutdown all domains?
> 
> Not sure, but might xend or xendomains stop do this?

I am using KVM so I don't think that will work for me.
Do you know of something similar for KVM?

Thanks,
    Neil

--
Neil Aggarwal, (281)846-8957, http://UnmeteredVPS.net
CentOS 5.4 VPS with unmetered bandwidth only $25/month!
7 day no risk trial, Google Checkout accepted 

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


[CentOS-virt] Virsh shutdown all command?

2009-11-12 Thread Neil Aggarwal
Hello:

Is there a command in virsh to shutdown all domains?
I can do one at a time, but that is untenable for a large
number of domains.

Thanks,
Neil

--
Neil Aggarwal, (281)846-8957, http://UnmeteredVPS.net
CentOS 5.4 VPS with unmetered bandwidth only $25/month!
7 day no risk trial, Google Checkout accepted

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


Re: [CentOS-virt] Need info on vnet mapping to guests

2009-10-24 Thread Neil Aggarwal
> See if "xm top" gives you what you need.

I am not using xen so I don't have xm installed.

    Neil

--
Neil Aggarwal, (281)846-8957, www.JAMMConsulting.com
Will your e-commerce site go offline if you have
a DB server failure, fiber cut, flood, fire, or other disaster?
If so, ask about our geographically redundant database system.

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


[CentOS-virt] Need info on vnet mapping to guests

2009-10-24 Thread Neil Aggarwal
Hello:

I have a host running two KVM guests.  The guests
use br0 and each has a static IP address.

I am trying to figure out if there is a way to
use snmpd on the host to measure the traffic
usage of the guests.  I do not want to require
anything running on the guests since I do not
control them.

Looking at netstat -in on the host, I see this
info:

Kernel Interface table
Iface   MTU MetRX-OK RX-ERR RX-DRP RX-OVRTX-OK TX-ERR TX-DRP
TX-OVR Flg
br01500   0   237609  0  0  013615  0  0 0
BMRU
eth0   1500   0   967594  0  0  0   354576  0  0 0
BMRU
lo16436   0   63  0  0  0   63  0  0 0
LRU
virbr0 1500   00  0  0  0   32  0  0 0
BMRU
vnet0  1500   029802  0  0  0   306940  0  0 0
BMRU
vnet1  1500   0   311556  0  0  0   789331  0  0 0
BMRU

Looking at the firewall logs for packets that hit the firewall, 
I see that vnet1 is connected to guestA and vnet0 is connected to 
guestB.

Is there a better way to determine which vnet is connected to
which guest?

Also, does the mapping change when I stop and start guests
or reboot the host?

Thanks,
Neil

--
Neil Aggarwal, (281)846-8957, www.JAMMConsulting.com
Will your e-commerce site go offline if you have
a DB server failure, fiber cut, flood, fire, or other disaster?
If so, ask about our geographically redundant database system.

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


Re: [CentOS-virt] VNC not connecting

2009-10-20 Thread Neil Aggarwal
Ed:

> include the --noautoconsole option on your virt-install command

That worked.

>   Did you open the VNC port in iptables in dom0?

Everything was set to accept, but it was still not working.
I tried setting up an SSH tunnel to the VNC port from
my local machine and that worked.

So, I am back on track.

Thank you for your help,
Neil

--
Neil Aggarwal, (281)846-8957, www.JAMMConsulting.com
Will your e-commerce site go offline if you have
a DB server failure, fiber cut, flood, fire, or other disaster?
If so, ask about our geographically redundant database system. 

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


[CentOS-virt] VNC not connecting

2009-10-20 Thread Neil Aggarwal
Hello all:

I am trying to install CentOS 5.4 as a KVM guest.
The host is running CentOS 5.4 and does not have
X installed.

I used ssh to connect to the host and ran this command
(I formatted it for readability, it is all on one line):

virt-install -n jamm12e -r 1024 --vcpus=1 --check-cpu 
  --os-type=linux --os-variant=rhel5 --hvm --accelerate 
  --cdrom=/tmp/CentOS-5.4-x86_64-netinstall.iso 
  -f /usr/local/virt/jamm12e.img -s 20 -b br0 
  --vnc --vncport=5903

When I do that, I get this error:

(virt-viewer:3083): Gtk-WARNING **: cannot open display:
Domain installation still in progress. You can reconnect to
the console to complete the installation process.

I did not expect the installation to try connect to
the display since I told it to use VNC.

Next, I tried to connect TightVNC viewer from my
Windows XP laptop.  I entered 192.168.2.200:3
as the server and tried to connect, but that failed.

Did I miss something in the VNC configuration?
I don't see any other parameters to use.

Thanks,
Neil

--
Neil Aggarwal, (281)846-8957, www.JAMMConsulting.com
Will your e-commerce site go offline if you have
a DB server failure, fiber cut, flood, fire, or other disaster?
If so, ask about our geographically redundant database system.

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


Re: [CentOS-virt] Error setting up bridge with static IP address

2009-10-20 Thread Neil Aggarwal
I downloaded the DVD iso using the torrent file from
one of the mirrors showing it.


--
Neil Aggarwal, (281)846-8957, www.JAMMConsulting.com
Will your e-commerce site go offline if you have
a DB server failure, fiber cut, flood, fire, or other disaster?
If so, ask about our geographically redundant database system. 

> -Original Message-
> From: centos-virt-boun...@centos.org 
> [mailto:centos-virt-boun...@centos.org] On Behalf Of Ben M.
> Sent: Tuesday, October 20, 2009 1:26 PM
> To: Discussion about the virtualization on CentOS
> Subject: Re: [CentOS-virt] Error setting up bridge with 
> static IP address
> 
> Are you using the "leaked" copy of 5.4 or is it showing on 
> some of the 
> mirrors now?
> 
> Neil Aggarwal wrote:
> > Actually, this worked.  I am able to SSH to the box
> > on the 192.168.2.200 IP address.  I had a typo in
> > my ssh command.  Sorry for any confusion.
> > 
> > Thanks,
> > Neil
> > 
> > --
> > Neil Aggarwal, (281)846-8957, www.JAMMConsulting.com
> > Will your e-commerce site go offline if you have
> > a DB server failure, fiber cut, flood, fire, or other disaster?
> > If so, ask about our geographically redundant database system. 
> > 
> >> -Original Message-
> >> From: centos-virt-boun...@centos.org 
> >> [mailto:centos-virt-boun...@centos.org] On Behalf Of Neil Aggarwal
> >> Sent: Tuesday, October 20, 2009 1:11 PM
> >> To: 'Discussion about the virtualization on CentOS'
> >> Subject: Re: [CentOS-virt] Error setting up bridge with 
> >> static IP address
> >>
> >> I did some more reading on the Internet and it looks like
> >> I am supposed to set up the bridge on eth0 and configure
> >> the bridge with the IP address of the host.
> >>
> >> So, I removed ifcfg-eth0:1 and changed ifcfg-eth0
> >> to this:
> >> DEVICE=eth0
> >> HWADDR=[The MAC address]
> >> ONBOOT=yes
> >> BRIDGE=br0
> >>
> >> I removed ifcfg-br1 and created ifcfg-br0 with this
> >> content:
> >> DEVICE=br0
> >> TYPE=Bridge
> >> BOOTPROTO=static
> >> BROADCAST=192.168.2.255
> >> IPADDR=192.168.2.200
> >> NETMASK=255.255.255.0
> >> NETWORK=192.168.2.0
> >> ONBOOT=yes
> >> DELAY=0
> >>
> >> I don't get any errors when I do service network restart
> >> but now I can't ssh to the host using the 192.168.2.200
> >> IP address.
> >>
> >> I also tried setting these values in /etc/sysctl.conf:
> >>
> >> net.bridge.bridge-nf-call-ip6tables = 0
> >> net.bridge.bridge-nf-call-iptables = 0
> >> net.bridge.bridge-nf-call-arptables = 0
> >>
> >> net.ipv4.ip_forward = 1
> >>
> >> and rebooting the machine.  That did not help.
> >>
> >> Any ideas?
> >>
> >> Thanks,
> >>Neil
> >>
> >>
> >> --
> >> Neil Aggarwal, (281)846-8957, www.JAMMConsulting.com
> >> Will your e-commerce site go offline if you have
> >> a DB server failure, fiber cut, flood, fire, or other disaster?
> >> If so, ask about our geographically redundant database system. 
> >>
> >> ___
> >> 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

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


Re: [CentOS-virt] Error setting up bridge with static IP address

2009-10-20 Thread Neil Aggarwal
Actually, this worked.  I am able to SSH to the box
on the 192.168.2.200 IP address.  I had a typo in
my ssh command.  Sorry for any confusion.

Thanks,
Neil

--
Neil Aggarwal, (281)846-8957, www.JAMMConsulting.com
Will your e-commerce site go offline if you have
a DB server failure, fiber cut, flood, fire, or other disaster?
If so, ask about our geographically redundant database system. 

> -Original Message-
> From: centos-virt-boun...@centos.org 
> [mailto:centos-virt-boun...@centos.org] On Behalf Of Neil Aggarwal
> Sent: Tuesday, October 20, 2009 1:11 PM
> To: 'Discussion about the virtualization on CentOS'
> Subject: Re: [CentOS-virt] Error setting up bridge with 
> static IP address
> 
> I did some more reading on the Internet and it looks like
> I am supposed to set up the bridge on eth0 and configure
> the bridge with the IP address of the host.
> 
> So, I removed ifcfg-eth0:1 and changed ifcfg-eth0
> to this:
> DEVICE=eth0
> HWADDR=[The MAC address]
> ONBOOT=yes
> BRIDGE=br0
> 
> I removed ifcfg-br1 and created ifcfg-br0 with this
> content:
> DEVICE=br0
> TYPE=Bridge
> BOOTPROTO=static
> BROADCAST=192.168.2.255
> IPADDR=192.168.2.200
> NETMASK=255.255.255.0
> NETWORK=192.168.2.0
> ONBOOT=yes
> DELAY=0
> 
> I don't get any errors when I do service network restart
> but now I can't ssh to the host using the 192.168.2.200
> IP address.
> 
> I also tried setting these values in /etc/sysctl.conf:
> 
> net.bridge.bridge-nf-call-ip6tables = 0
> net.bridge.bridge-nf-call-iptables = 0
> net.bridge.bridge-nf-call-arptables = 0
> 
> net.ipv4.ip_forward = 1
> 
> and rebooting the machine.  That did not help.
> 
> Any ideas?
> 
> Thanks,
>   Neil
> 
> 
> --
> Neil Aggarwal, (281)846-8957, www.JAMMConsulting.com
> Will your e-commerce site go offline if you have
> a DB server failure, fiber cut, flood, fire, or other disaster?
> If so, ask about our geographically redundant database system. 
> 
> ___
> 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] Error setting up bridge with static IP address

2009-10-20 Thread Neil Aggarwal
I did some more reading on the Internet and it looks like
I am supposed to set up the bridge on eth0 and configure
the bridge with the IP address of the host.

So, I removed ifcfg-eth0:1 and changed ifcfg-eth0
to this:
DEVICE=eth0
HWADDR=[The MAC address]
ONBOOT=yes
BRIDGE=br0

I removed ifcfg-br1 and created ifcfg-br0 with this
content:
DEVICE=br0
TYPE=Bridge
BOOTPROTO=static
BROADCAST=192.168.2.255
IPADDR=192.168.2.200
NETMASK=255.255.255.0
NETWORK=192.168.2.0
ONBOOT=yes
DELAY=0

I don't get any errors when I do service network restart
but now I can't ssh to the host using the 192.168.2.200
IP address.

I also tried setting these values in /etc/sysctl.conf:

net.bridge.bridge-nf-call-ip6tables = 0
net.bridge.bridge-nf-call-iptables = 0
net.bridge.bridge-nf-call-arptables = 0

net.ipv4.ip_forward = 1

and rebooting the machine.  That did not help.

Any ideas?

Thanks,
Neil


--
Neil Aggarwal, (281)846-8957, www.JAMMConsulting.com
Will your e-commerce site go offline if you have
a DB server failure, fiber cut, flood, fire, or other disaster?
If so, ask about our geographically redundant database system. 

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


[CentOS-virt] Error setting up bridge with static IP address

2009-10-20 Thread Neil Aggarwal
Hello:

I am trying to follow the RHEL virtualization guide
to set up a bridge on a system running CentOS 5.4.

I copied my ifcfg-eth0 to ifcfg-eth0:1 and
set its content to this:

DEVICE=eth0:1
HWADDR=[The MAC address from eth0]
ONBOOT=yes
BRIDGE=br1

I then created ifcfg-br1 with this content:

DEVICE=br1
TYPE=Bridge
BOOTPROTO=static
BROADCAST=192.168.2.255
IPADDR=192.168.2.202
NETMASK=255.255.255.0
NETWORK=192.168.2.0
ONBOOT=yes
DELAY=0

When I do service network restart, I get this error:

error in ifcfg-eth0:1: didn't specify device or ipaddr

I specified the device so it looks like it wants an IP
address but that is contrary to what I am reading on
the Internet.

Any ideas what went wrong?

Thanks,
Neil


--
Neil Aggarwal, (281)846-8957, www.JAMMConsulting.com
Will your e-commerce site go offline if you have
a DB server failure, fiber cut, flood, fire, or other disaster?
If so, ask about our geographically redundant database system.

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