Re: [CentOS-virt] Xen on CentOS 6.4
What are the advantages / disadvantes of Xen / KVM? Can't say which is better, but KVM works very nicely. I use it to run several Linux and Windows virtual machines that act as servers, but which are not graphic intensive. (just basic desktop use) ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-virt] VM Slowness
Is the one that is slow the one that has 2g resident? 2 Gigs ram? Yes. ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
[CentOS-virt] VM Slowness
I hope this in the right list, but I was wondering if someone could help me with a VM I have that has lately started having problems. It had been running for years without problems. It's possible an update is causing this, but I can't say. The VM is running CentOS 5.8 and after a time, the machine begins to slow down. Things like pings or running commands lag. If I reboot the VM, it runs normally for at least a few hours, but it eventually slows again. I've tried changing the VM's virtio devices to standard devices like IDE and e1000, but it makes no difference. Currently its running virtio. Top shows that nothing is taking up significant cpu time, but even running top takes several seconds for it to open. The system is slow now, but top shows: top - 21:39:48 up 1 day, 5:27, 1 user, load average: 0.93, 1.37, 1.12 Tasks: 177 total, 1 running, 176 sleeping, 0 stopped, 0 zombie Cpu(s): 0.3%us, 0.3%sy, 0.0%ni, 98.6%id, 0.9%wa, 0.0%hi, 0.0%si, 0.0%st Mem: 2075016k total, 1484624k used, 590392k free,64336k buffers Swap: 4128760k total, 12k used, 4128748k free, 981368k cached PID USER PR NI VIRT RES SHR S %CPU %MEMTIME+ COMMAND 4124 root 20 0 2444 1080 812 R 0.1 0.1 0:00.03 top 1 root 15 0 2176 692 604 S 0.0 0.0 0:02.46 init 2 root RT -5 000 S 0.0 0.0 0:00.39 migration/0 3 root 34 19 000 S 0.0 0.0 0:00.00 ksoftirqd/0 Any ideas what to look for? Any information I can provide? Thanks ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-virt] VM Slowness
-Original Message- From: Robert Dinse [mailto:nan...@eskimo.com] Sent: Sunday, May 19, 2013 10:04 PM To: comp...@hotrodpc.com; Discussion about the virtualization on CentOS Subject: Re: [CentOS-virt] VM Slowness How about a top on the host? Could the virtual machine be getting swapped out on the host? Good question. There is another VM on the host without this issue, but here's top from the host: top - 22:11:52 up 1 day, 6:00, 1 user, load average: 0.67, 0.34, 0.29 Tasks: 175 total, 3 running, 172 sleeping, 0 stopped, 0 zombie Cpu(s): 4.3%us, 0.9%sy, 0.0%ni, 94.5%id, 0.3%wa, 0.0%hi, 0.0%si, 0.0%st Mem: 8001476k total, 7794800k used, 206676k free, 284212k buffers Swap: 10620924k total, 156k used, 10620768k free, 4390824k cached PID USER PR NI VIRT RES SHR S %CPU %MEMTIME+ COMMAND 2983 libvirt- 20 0 4373m 2.0g 7392 R 33 26.1 626:39.45 kvm 3385 libvirt- 20 0 3405m 574m 6868 S 15 7.4 263:01.62 kvm 36 root 25 5 000 S1 0.0 19:24.48 ksmd ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-virt] Resizing EXT3 partition in guest instance CentOS5
Sorry to bring this up again. Now i am trying the clonezilla method to downsize one of my VM. I have created a smaller storage volume and added to the VM. I boot up wih clonezilla but have issue cloning the drive over. Should I use Disk-Image or Device-Device? To make it smaller, you need to resize your partition(s) first with gparted, and then use device-device if you have both 'drives' mounted. This clones the drive. Use Disk-Image only if you want to store a copy of the drive to local or remote storage. This creates a file backup of the disk. ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-virt] Resizing EXT3 partition in guest instance CentOS5
Well, I can tell you how I do it. Might help. 1) create a new storage volume of the size you want with Virtual Manager. (Host detailsStorage tab) 2) shut down the VM and add the new volume to the VM ( it now has two virtual drives - the original and the new) 3) boot with clonezilla, clone one drive to the other. Then boot gparted and resize as needed 4) delete both drives from the vm, and then add back the new volume. Boot. 5) keep the old, smaller volume around for a while as backup. When you add a volume, Virtual Manager assigns a device name to it: hda to the first drive, hdb to the second, ect. So, you have to delete them both to get Virtual Manager to assign hda to the new one, otherwise the OS will not be able to boot. ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-virt] Resizing EXT3 partition in guest instance CentOS5
You can't add a drive temporarily and have Virtual Manager create the new volume there? I would think even a USB stick would work... ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-virt] OT: Recommendations for a virtual storage server
I need to install a virtual machine acting as a virtual storage server under CentOS 5.x (using kvm, xen, virtualbox or vmware). Back when I started using virtual machines, I used guests to share large storage. Eventually, I found it was better to let the host do the sharing of storage, and let the guests connect to it. Seems more efficient that way, as well as helping to facilitate backups and maintenance. ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-virt] cluster of virtual machines using libvirt/kvm + Gluster
I once tried moving my qcow2 VM guest files to a zfs-fuse volume, and the VMs refused to boot after. They only ran while on ext3 or ext4. Although I wasn't trying at that time, I understand that in order migrate VMs between servers, you need a shared file system. Maybe NFS is the answer? ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-virt] KVM and Windows /use pmtimer
Whenever I create a new VM, I use the windows 2003 template and everything just works. It doesn't matter what OS I use - linux or windows. If I use a template that matches the OS I'm trying to install, like the linux templates. It tends to crash. I wonder if the 2003 template has the right ACPI and APIC emulation... No need for /use pmtimer ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-virt] SPICE Benchmark
I don't suppose you have any websites you would recommend that shows how to install and use spice? Thanks.. ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-virt] KVM: where are the directions?
Unless you have old cards you have to retain, PCI-x isn't useful anymore. Too slow. ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-virt] KVM: where are the directions?
$ uname -r -m 2.6.18-194.26.1.el5 i686 $ rpm -qa \*kvm\* kvm-36-1 kmod-kvm-36-3 Not even close to 83. :-( My centos 5.5 has kvm 83. I'm not sure how you got that old stuff ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-virt] Can KVM be run headless?
I own a few headless centos servers running kvm. Vnc-server is probably easiest to setup to access the server's desktop. Or use ssh if you don't want a gui desktop on the server. I use the ultravnc viewer on my windows PC to access centos. Linux vm guests can run vnc as well, and windows vm guests have remote desktop, of course. SPICE is a new way to access guests, but I haven't figured out how to use it yet... ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-virt] How does KVM handle multiple cores?
I can't say if KVM will see 6 or 12 cores as I don't run the same hardware. It's easy enough to install centos and find out. When you create a virtual machine in KVM, you assign virtual cpus to the guest - from 1, to as many as you think the guest will need. For performance reasons, I personally think it's better to keep the total number of virtual cpus in all of your guests close to the number of real cpus. But since most computers are idle 99% of the time, you have a lot of room for experiment... ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-virt] Which is the best network interface to use.
The virtual network is great for connecting two or more virtual guests directly. Its fast and doesn't add traffic to your physical lan. If you have a virtual guest that gets a lot of traffic, then giving it its own network card (nic) can help speed things up as well as keep the heavy traffic away from the virtual guests and your users - those that don't need to be fighting against a steady stream of packets. The more nics the better. I tend to use three because I occasionally move large amounts of files, and I don't want to slow down other things on the lan. A decent gigabit switch means never having to share the bandwidth. ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-virt] Xen on Centos 5.5 vs 5.3 and stability issues
Do you use sata drives? Does your system support AHCI, and is that enabled in the bios? ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-virt] VMWare 4.1 and CentOS
That's interesting one. Can you run zttest (or dahdi_test) and provide some results as for accuracy? From my experience (with Xen mainly) I was getting somewhere between 60-80 % accuracy which is really, really bad. Regards, Bart [] /usr/sbin/dahdi_test Unable to open dahdi interface: No such file or directory zttest -bash: zttest: command not found I don't have dadhi/zaptel running, since no hardware. Sorry, it's been a while, but seems I remember having had some issues with dahdi. ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-virt] VMWare 4.1 and CentOS
[] 1. I wouldn't run asterisk in a vm if my life depended on it, tried many times and it always came around sooner or later to remind me it didn't want that malarkey. jlc [] Trixbox CE runs perfectly as a centos kvm guest. And quite well with various brands of sip phones. Only drawback is I can't pass an analog pci voice card/hardware to the guest. But it turns out I don't need to with voip, so no need for analog. Anyway, I'm betting asterisk could too.. ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-virt] performance differences between kvm/xen
I think he's right. Run PostgreSQL on the centos host directly, rather than from within a guest. The vm guests could access the database over the virtual lan, so speed of access for guests on the same server wouldn't be an issue. There are lots of ways of file sharing for example. You can share from within a linux or windows guest, or you could share directly from the centos host with samba or iSCSI. I get native speeds from guests, but I think running directly from the server is always going to be faster. ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-virt] How do I reduce a disk size of a particular VM?
Place the gparted iso file somewhere you can access it from the VM. I would recommend placing it on the Centos server that hosts the VM. I keep all my ISO files in a folder named ISOs. I run the gnome desktop on my servers, so I use VNC to remote control the server. I would run the virt-manager gui to shut down the VM guest, connect the guest's CD to the iso file, and change the boot options to boot from the CD. Of course, you can do all this from the command line, and I'm sure you can google information of how to do it that way. With gparted, I think you can backup the VM over the network to a share. So, I would first backup the VM, then resize the VM disk with gparted and make sure it boots, then backup the VM again, create a new smaller disk for the guest, and restore the smaller backup image. From: centos-virt-boun...@centos.org [mailto:centos-virt-boun...@centos.org] On Behalf Of Poh Yong Hwang Sent: Monday, September 20, 2010 1:25 AM To: Discussion about the virtualization on CentOS Subject: Re: [CentOS-virt] How do I reduce a disk size of a particular VM? Hi, I am trying to boot that particular VM which I want to resize using gparted ISO. May I know how can I boot a VM using a ISO file? Thanks! YongSan On Fri, Aug 27, 2010 at 5:30 PM, Victor Padro vpa...@gmail.com wrote: On Fri, Aug 27, 2010 at 4:10 AM, Poh Yong Hwang yong...@gmail.com wrote: Hi, But I would like the diskspace to be release to the hardware node so that i can create another VM as my hardware node is running out of diskspace. I presume that using Gpart only reduce the diskspace on the VM but it will not be release to the hardware node? Thanks! YongSan On Fri, Aug 27, 2010 at 4:58 PM, Victor Padro vpa...@gmail.com wrote: On Fri, Aug 27, 2010 at 3:51 AM, Poh Yong Hwang yong...@gmail.com wrote: Hi, As per subject, is there a way to reduce diskspace for a VM. I have a VM with 200GB but would like to reduce the diskspace to 100GB. Please advise. Thanks! Yongsan ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt Perhaps shriking the partition using gparted inside the VM? Otherwise I can't figure out how to shrink a raw, qcow file under KVM for example... -- Linux User #452368 http://twitter.com/vpadro Everything that irritates us about others can lead us to an understanding of ourselves ___ 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 What are you using to virtualize those VMs? -- Linux User #452368 http://twitter.com/vpadro Everything that irritates us about others can lead us to an understanding of ourselves ___ 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 I can only think of creating a smaller qcow file, clonning using dd the contents of the oversized qcow/raw HD to that newly qcow file...although is not the best solution. Maybe someone else could bring a better solution because there's no much info on KVM just a little under Xen... :( -- Linux User #452368 http://twitter.com/vpadro Everything that irritates us about others can lead us to an understanding of ourselves ___ 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] Vmware Server 2 and KVM....
At the same time on the same server? I don't see how. ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-virt] Vmware Server 2 and KVM....
Oh, I see. That's the free version that runs on top of another OS, isn't it? ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-virt] IP aliases from a QEMU/KVM guest
NETMASK=255.255.255.255? ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-virt] Can I install Slackware 13.1 as Xen-Guest?
I use the desktop and the virt manger gui to setup and install, so I get to watch the boot… ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-virt] which virtualization platform to choose
KVM seems to have a future in centos. I have a couple of servers running kvm, with only 4 cores per server. I tend use 1 real core for each virtual cpu assigned to the guests, because I don't need that many guests. So, I can't speak to scaling... Performance is excellent, however. It's been a year or more since I've tried ESXi or xen on ubuntu, but I was always disappointed in the speed at which the guests ran. That's why I turned to xenserver for its speed and GUI, and then to KVM for its speed and complete control over things like nics and network configurations. KVM works great ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-virt] which virtualization platform to choose
If you want to use 32bit host OS, then you only have one choice - Xen. Yes... All software is 32 bits I think he meant if you had a 32bit host to run the guests on, and did not mean 32bit guests. If your hardware has virt extensions, then it's a 64bit host. KVM certainly runs 32bit and 64bit guests, and it runs linux guests just as well as windows... ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-virt] Can I install Slackware 13.1 as Xen-Guest?
Trying with their 32bit version, I get a kernel panic - not syncing : VFS unable to mount root. This is on KVM using the default IDE emulator. What kernel panic message are you getting? ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-virt] Can I install Slackware 13.1 as Xen-Guest?
Well, I got slackware running. What a pain. When I first installed it, I had booted the slackware iso on a test VM that had previously been running centos. I told slackware to use the existing partitions, one of which was LVM. That's what caused the kernel panic, I think. During the installation of slackware, you're dumped to the shell as root and told to create partitions. So this time, I ran parted to delete the existing partitons, and then ran cfdisk to create them as outlined in this video: http://www.youtube.com/watch?v=H1uqxI6dVEE Afterwards, you type 'setup' to do the install. But it still wouldn't boot. This time it complained the super-block (I think it was) partition wasn't ext2. Sure enough, the installer defaults to ext4 and I had formatted with that. Slackware doesn't seem to be able to boot from anything but ext2. So, I had to install again choosing an ext2 partition, and had it automatically install LILO to the MBR. This time it booted and ran a filesystem check, then rebooted and came to a login prompt. I ran startx to get to the desktop. I can't say it's very user-friendly. I'd love to know what they're going to use slackware for. -Original Message- From: centos-virt-boun...@centos.org [mailto:centos-virt- boun...@centos.org] On Behalf Of John Maclean Sent: Saturday, July 24, 2010 9:27 AM To: Discussion about the virtualization on CentOS Subject: Re: [CentOS-virt] Can I install Slackware 13.1 as Xen-Guest? Aint this a sign that the domU needs a cutomised initrd? mkinitrd --with blah --with-more-blah Etc? John Maclean MSc (DIC) blackberry PIN 222C6738 ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-virt] Missing packages
The KVM update below (RHBA-2010-0479) is now available with yum update -Original Message- From: centos-virt-boun...@centos.org [mailto:centos-virt- boun...@centos.org] On Behalf Of David Martin Sent: Wednesday, July 14, 2010 10:02 AM To: Discussion about the virtualization on CentOS Subject: Re: [CentOS-virt] Missing packages - Original Message - Yum search shows a qspice.86_64 package available. I'm guessing it's not the version you're seeking, but have you gotten spice running? www.spicespace.org seems to have a new version for download, but it requires compiling. I've been eager to try spice since I've heard about it. -Original Message- From: centos-virt-boun...@centos.org [mailto:centos-virt- boun...@centos.org] On Behalf Of David Martin Sent: Tuesday, July 13, 2010 11:54 AM To: Discussion about the virtualization on CentOS Subject: [CentOS-virt] Missing packages I haven't seen anything on the announce list and don't see these in the repos: qspice-client - http://rhn.redhat.com/errata/RHEA-2010-0492.html spice-xpi - http://rhn.redhat.com/errata/RHEA-2010-0493.html kvm - http://rhn.redhat.com/errata/RHBA-2010-0479.html Anyone know what the story is? David Martin ___ 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 qspice is the package related to the server side, qspice-client/spice-xpi are both client packages (the other one is just a kvm bugfix). I use spice every day, adding -spice port=5940,password=pass -qxl 1,ram=64 to a virtual machine should get you going, the drivers for windows are on spice-space and rhel/cent already has the requirements (qxl device,usb tablet,mouse tweaks). David Martin ___ 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] incoming works out does not (prolly a newbie question)
I never work with that subnet so this may be a dumb thing to say, but isn't the 255.255.254.0 mask giving you 510 hosts, so the broadcast address should be higher than 255? The guest is using br0? -Original Message- From: centos-virt-boun...@centos.org [mailto:centos-virt- boun...@centos.org] On Behalf Of Chaim Rieger Sent: Tuesday, July 13, 2010 2:51 PM To: centos-virt@centos.org Subject: [CentOS-virt] incoming works out does not (prolly a newbie question) host and guest both centos 5.5 network is 192.168.62.40 host is setup as follows [r...@cloud2 ~]# ifconfig br0 Link encap:Ethernet HWaddr 00:1A:64:12:10:D9 inet addr:192.168.62.199 Bcast:192.168.63.255 Mask:255.255.254.0 inet6 addr: fe80::21a:64ff:fe12:10d9/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1705488 errors:0 dropped:0 overruns:0 frame:0 TX packets:1130086 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1103112199 (1.0 GiB) TX bytes:2544941783 (2.3 GiB) eth0 Link encap:Ethernet HWaddr 00:1A:64:12:10:D9 inet6 addr: fe80::21a:64ff:fe12:10d9/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1714601 errors:0 dropped:0 overruns:0 frame:0 TX packets:2243903 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:1134903389 (1.0 GiB) TX bytes:2627513407 (2.4 GiB) Interrupt:90 Memory:c800-c8012800 loLink encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:10396 errors:0 dropped:0 overruns:0 frame:0 TX packets:10396 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:8188566 (7.8 MiB) TX bytes:8188566 (7.8 MiB) virbr0Link encap:Ethernet HWaddr 00:00:00:00:00:00 inet addr:192.168.62.1 Bcast:192.168.62.255 Mask:255.255.255.0 inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:222 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:16218 (15.8 KiB) vnet0 Link encap:Ethernet HWaddr 9A:B0:F1:FE:9F:1C inet6 addr: fe80::98b0:f1ff:fefe:9f1c/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:128 errors:0 dropped:0 overruns:0 frame:0 TX packets:1504 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:500 RX bytes:18288 (17.8 KiB) TX bytes:105343 (102.8 KiB) [r...@cloud2 network-scripts]# cat ifcfg-eth0 # Broadcom Corporation NetXtreme II BCM5708 Gigabit Ethernet DEVICE=eth0 #BOOTPROTO=static #BROADCAST=192.168.63.255 #HWADDR=00:1A:64:12:10:D9 #IPADDR=192.168.62.22 #NETMASK=255.255.254.0 #NETWORK=192.168.62.0 ONBOOT=yes BRIDGE=br0 [r...@cloud2 network-scripts]# cat ifcfg-br0 # Broadcom Corporation NetXtreme II BCM5708 Gigabit Ethernet TYPE=Bridge DEVICE=br0 #BOOTPROTO=static BROADCAST=192.168.63.255 #HWADDR=00:1A:64:12:10:D9 IPADDR=192.168.62.199 NETMASK=255.255.254.0 NETWORK=192.168.62.0 ONBOOT=yes KVM image is as follows [r...@www ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0 # Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ DEVICE=eth0 BOOTPROTO=none BROADCAST=192.168.63.255 HWADDR=54:52:00:04:00:1d IPADDR=192.168.62.14 NETMASK=255.255.254.0 NETWORK=192.168.62.0 ONBOOT=yes GATEWAY=192.168.62.40 TYPE=Ethernet i can access the kvm image from other hosts on the network , but the kvm image can not access anything except for the gateway what am i doing wrong here thanx ___ 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] The Host cpu(s) in this machine do not have support for full virtualization
According to the manual for your motherboard supports it: Intel Virtualization Technology (Available when supported by the CPU) And according to Intel the cpu supports it. Make sure it's enabled in the bios. And it's my own opinion that there's no need email all your logs to the world unless someone asks for specific ones... ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-virt] new to xen - got questions, please
Windows guests can use drivers to work directly with the virtual-hardware devices that are presented to the guest. And since windows is acpi, etc. aware, with the right settings it works almost as if its paravirtualized. When installing, for me its easiest to d/l and store the .iso file for whatever OS I have running, and boot directly from the iso to install. There's no need to mount the iso separately - xen and kvm can work with the file. And guests should be able to use your CD drive directly as well. As for centos, I always use the network install iso, (which is tiny) and use that to install from the closest http mirror. ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-virt] 4 CPU with WinXP on Centos 5.5 KVM?
I think he means cores. And XP will see and use 4 cores. ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-virt] How to connect a guest to a fixed routable address?
I had to figure it out on my own with a lot of testing, and I'm sure there are other ways to do things. But I found bridges to be the best way to go for attaching to the lan or wan, and virtual nets are great for guest-to-guest, or guest-to-server communication. A bridge lets several guests share one nic, but they can also be used to assign one guest to one nic. There is no magic involved, however - if you have too many guests sharing one network card, you're going to develop a bottleneck. Virtual networks travel across the server's internal buses, so you aren't sending traffic out to the network switch, which lowers traffic on your lan. And it's pretty fast. Of course, you can connect a virtual lan to the outside world by using the server's real nic as a gateway, but you'll still develop a bottleneck with too many guests. I think it's best to stick as many real nics into a server as you can and bridge them for the guests, but use one solely for the server's use (for updates, VNC management, ect.) -Original Message- From: centos-virt-boun...@centos.org [mailto:centos-virt-boun...@centos.org] On Behalf Of James B. Byrne Sent: Wednesday, May 26, 2010 2:37 PM To: centos-virt@centos.org Subject: [CentOS-virt] How to connect a guest to a fixed routable address? I am experimenting with kvm on a quad x86_64 running CentOS-5.5. I have created my first virtual guest and it seems to run fine. Now I wish to assign that particular guest to a fixed, public IP address. There seems to be at least two ways to proceed and I am soliciting comments on the preferred approach. In the first instance I can use brctl to create a bridged 'shared physical device' and presumably add that device to the network configuration of the guest, assigning the IP connection details there. In the second, I can continue to use the virtual networking system, albeit with fixed private as opposed to DHCP assigned addresses. In this case I gather that I must use ifconfig to add public IP addresses to the eth0 interface of the host and use iptables to route the public to the private address. Firstly, are my inferences correct? Are there any other approaches that I cannot discern? If these are the only two methods then which is the preferred one? I get the sense that bridging works in a manner that permits only one guest to access that physical device, however the documentation is not explicit on the matter. I have looked extensively for guidance but I suspect that a great deal of what I have read is somewhat dated and likely to cause me more trouble than help. ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-virt] open-vm-tools 20100425 rpm
Are these tools useful for KVM? -Original Message- From: centos-virt-boun...@centos.org [mailto:centos-virt-boun...@centos.org] On Behalf Of David Hollis Sent: Tuesday, May 18, 2010 5:23 AM To: centos-virt@centos.org Subject: [CentOS-virt] open-vm-tools 20100425 rpm All, I've updated the open-vm-tools packages that have been floating around to the latest release - 4/25/2010 - for those that are interested. There is quite a bit of new additions/changes over the past year such as the addition of a fuse driver for vmblock devices, vmxnet3, pvscsi, etc. ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
[CentOS-virt] SPICE anyone?
There was mention of some support for SPICE in RHEL 5.4, and mention again of improved support in 5.5, but it sounds like their main goal is to implement it in RHEV. Is there an easy way to implement SPICE with 5.5? Or should I download the source and compile it from spice-space.org? Thanks... ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-virt] Choices for shared network storage, NFS vs iSCSI
I think iSCSI is easier to implement and is certainly fast, but I'm unclear about the number of iSCSI clients that can access a volume (iSCSI target) at the same time. So, I use it with only one client at a time. -Original Message- From: centos-virt-boun...@centos.org [mailto:centos-virt-boun...@centos.org] On Behalf Of Steven Ellis Sent: Tuesday, May 18, 2010 7:55 PM To: Discussion about the virtualization on CentOS Subject: [CentOS-virt] Choices for shared network storage, NFS vs iSCSI Has anyone here ran performance comparisons between NFS and iSCSI when using network storage for KVM based guests. Also which have people found to be easier for managing live migrates etc. Steve -- Steven Ellis - Bulletin.Net Inc - http://www.bulletin.net ___ 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: 'ÿ' character after sta rting a VM via virt-install
Im guessing the hardware has virtual abilities enabled in the bios This problem you have once happened to me, and from what I can remember it had something to do with storage. These days I use block devices, which is faster. If youre using file-based, I guess you might want to check permissions for the directory youre putting them in, as well as permissions for the .iso file youre installing from. Also, make sure you are not running the zen kernel KVM requires the normal x86_64 kernel. Using the package manager to list my kvm components: etherboot-zroms-kvm.x86_64 5.4.4-10.el5.centos installed kmod-kvm.x86_64 83-105.el5_4.28 installed kvm.x86_6483-105.el5_4.28 installed kvm-qemu-img.x86_64 83-105.el5_4.28installed uname -a: Linux centos.domain.com 2.6.18-164.15.1.el5 #1 SMP Wed Mar 17 11:30:06 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux From: centos-virt-boun...@centos.org [mailto:centos-virt-boun...@centos.org] On Behalf Of gibbe gabba Sent: Wednesday, April 28, 2010 1:06 AM To: Discussion about the virtualization on CentOS Subject: Re: [CentOS-virt] KVM: 'ÿ' character after starting a VM via virt-install The hardware is DELL PowerEdge R210 Quad Intel(R) Xeon(R) CPU X3430 @ 2.40GHz (/proc/cpuinfo). I installed KVM with .RPMs after installing the system with a base Centos 5.4 installation (server). yum install kvm yum install virt-install the kvm and kvm_intel modules are loaded. Also HyperThreading is available (enabled in BIOS), so KVM isn't complaining about that. I've tried following Linux distros: - Centos 5.4 - Fedora 12 - Ubuntu 10 - Sipcat 1.3 All of them have the same problem. I tried both installing from a CD ISO and from http repositories. On Mon, Apr 26, 2010 at 4:53 PM, compdoc comp...@hotrodpc.com wrote: Just curious as to what hardware you're running it on. And when you say you've installed the necessary rpms, does this mean you installed KVM by hand after the install, or through the installer when you first installed it? From: centos-virt-boun...@centos.org [mailto:centos-virt-boun...@centos.org] On Behalf Of gibbe gabba Sent: Monday, April 26, 2010 7:02 AM To: centos-virt@centos.org Subject: [CentOS-virt] KVM: 'ÿ' character after starting a VM via virt-install I'm unable to start a virtual machine with KVM. I'm using Centos 5.4 I have installed all necessary rpms (to my knowledge), but as you can see from the output (below), the system does not boot the CD-ROM. It just sits there doing nothing: # virt-install --prompt Would you like to use KVM acceleration? (yes or no) yes What is the name of your virtual machine? test How much RAM should be allocated (in megabytes)? 1024 What would you like to use as the disk (file path)? /var/lib/libvirt/images/test.img How large would you like the disk (/var/lib/libvirt/images/test.img) to be (in gigabytes)? 20 What is the install CD-ROM/ISO or URL? /root/CentOS-5.4-i386-bin-1of6.iso Starting install... Creating storage file... | 20 GB 00:00 Creating domain...|0 B 00:00 Connected to domain test Escape character is ^] ÿ the 'ÿ' character appears after a few seconds, then nothing... Error! Filename not specified. Any help is appreciated! ___ 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: 'ÿ' character after sta rting a VM via virt-install
Just curious as to what hardware you're running it on. And when you say you've installed the necessary rpms, does this mean you installed KVM by hand after the install, or through the installer when you first installed it? From: centos-virt-boun...@centos.org [mailto:centos-virt-boun...@centos.org] On Behalf Of gibbe gabba Sent: Monday, April 26, 2010 7:02 AM To: centos-virt@centos.org Subject: [CentOS-virt] KVM: 'ÿ' character after starting a VM via virt-install I'm unable to start a virtual machine with KVM. I'm using Centos 5.4 I have installed all necessary rpms (to my knowledge), but as you can see from the output (below), the system does not boot the CD-ROM. It just sits there doing nothing: # virt-install --prompt Would you like to use KVM acceleration? (yes or no) yes What is the name of your virtual machine? test How much RAM should be allocated (in megabytes)? 1024 What would you like to use as the disk (file path)? /var/lib/libvirt/images/test.img How large would you like the disk (/var/lib/libvirt/images/test.img) to be (in gigabytes)? 20 What is the install CD-ROM/ISO or URL? /root/CentOS-5.4-i386-bin-1of6.iso Starting install... Creating storage file... | 20 GB 00:00 Creating domain... |0 B 00:00 Connected to domain test Escape character is ^] ÿ the 'ÿ' character appears after a few seconds, then nothing... https://www.centos.org/uploads/smil3dbd4d75edb5e.gif Any help is appreciated! ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-virt] Connection stall when connecting to XEN guests
Ive seen this happen in some distros when the option 'UseDNS' is set to yes in the file sshd_config Of course, there could be issues with your network setup as well... ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-virt] RHEL 5.5 Xen fixes
My 2 cents: When Red Hat picks a release of kernel, xen, kvm, etc., they tweak, change, and test it until its 'enterprise' ready. If they say you can run a business class server with it, I believe them. Based solely on how well centos works. Even though RHEL 5.4 doesn't have the newest of anything, it does what it does well. Even if I have to put up with fewer features or fixes than the current version, I'm leaving it alone. I'm sure there are guys that can install newer releases of everything needed to run the latest xen, and it might be stable, it might not. ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-virt] reboot guest on panic
64bit multi-vcpu. The guest is quite heavyweight, 30GB of memory and 12vcpu. It's a LTSP server designed to handle lots of graphical logins for computer science students. This, I guess is not a common workload. -- Norman Gaywood, Computer Systems Officer University of New England, Armidale, NSW 2351, Australia I was wondering if you wouldn't mind describing the hardware this runs on? ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-virt] moving from Xen to KVM
KVM works. I'm happy with it. But then I build servers with 6 guests or less for small businesses. There are comparisons. They say KVM doesn't scale as well. They say in some areas xen shines, and in some areas kvm shines. But the comparisons are all from last year before red hat released 5.4. RHEL 5.5, which includes many improvements will be out shortly. Think I'll stick with it... ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-virt] Moving vmware guests to a CentOS KVM server
Fri 2/19/2010 Kenni Lund ke...@kelu.dk Do your own testing if in doubt. OK. Hosts: Centos 5.4 with kvm, and latest (yum) updates. The switch is a 3com gigabit switch. These are production servers and each has guests doing actual work, but the servers' cpus are idle most of the time. Guests: Centos 5.4 with latest updates. Only gnome desktop installed (no server components). 2 cpus assigned to each. 2 nics assigned to each. netperf-2.4.4-1.rhel5.x86_64.rpm running on each. 1 nic is e1000. 1 nic is virtio. E1000 test: Time: 10.03 secs Throughput: 429.76 Utilization: 23.64% Virtio test: Time: 10.03 secs Throughput: 539.15 Utilization: 5.29% So there is improvement... ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-virt] Which driver interface do I need to install Windows 2008 R2 as a KVM guest?
I have both windows 7 and win 2008 installed as kvm guests, but they were installed with the initial release of centos 5.4. And I have installed all updates since. I don't like the virtio drivers, so I never use them. Are you having issues? ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-virt] bridged kvm guest and ever changing MAC address
A bridge should take on the mac address of the hardware device its sharing, and although I cannot see your ifcfg- scripts it looks like you have that correct. But could you post your ifcfg-br0 and the others? One difference I can see is that you use the virtio model nics in your guests and I don't. Also, it looks as though you have a pair of onboard nics, since the mac addresses are so alike. They aren't setup in any sort of gang-mode in the bios? To be honest, I've never looked at the mac addresses of the bridges or vnets to see if they change, but I doesn't make sense that they would... ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-virt] bridged kvm guest and ever changing MAC address
The mac address shouldn't change. Are you setting the mac address of the guest to be the same as the host? ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-virt] How to debug Ubuntu 8.04 LTS guest crash during install?
- Neil Aggarwal n...@jammconsulting.com wrote: 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. Runs fine on my centos 5.4 kvm, although I used the virt-manager gui to install it. Interesting little distro - thanks for bringing it to my attention... ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-virt] How to debug Ubuntu 8.04 LTS guest crashduring install?
From: Neil Aggarwal 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. Actually, yes. I use a bridge to connect to the lan, where guests obtain addresses thru DHCP, but I have no issues assigning addresses by hand either. That host machine has at least two nics. One for the host, and one shared/bridged for the guests. If there's any config files you're interested in seeing, I could post them. ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-virt] Xen Database vms
-Original Message- Fhttp://www.liveleak.com/view?i=375_1263347833rom: centos-virt-boun...@centos.org [mailto:centos-virt-boun...@centos.org] On Behalf Of Ben M. Sent: Friday, January 15, 2010 8:56 AM To: Discussion about the virtualization on CentOS Subject: Re: [CentOS-virt] Xen Database vms Neil: What if it were the only real active vm? I know that might sound a bit of a waste, but I am really enjoying the backup and duplication abilities of running in a Xen hypervisor as well as its other features. It seems to be saving me a lot of time in production settings. And there is also a comfort level in uniformity on a LAN. Would there still be a significant hit on resource performance by the hypervisor if running that database server alone in it, or alongside a few rarely used, lightweight or spurious vms? I am talking about the database activities running during the biz day and backups, batches and other maintenance in the off hours. Nothing urgent here, just trying to plan out the future, mull over the possibilities and where to head. - Ben -Original Message- I think it could work well. Having a server in a vm makes it more portable. Many of my servers and services are running in vms on two centos 5.4 servers: openfiler, efw firewall, trixbox 2.8, SME Server (in server mode for email and spamassassin), windows 2003 server, windows 2008 server, windows 7, and others that aren't running. I would suggest: If there are a lot of temp files or disk access to the OS, install the vm OS on a block device rather than to a file. The storage should be on a local block device as well. If there's a lot of lan traffic to/from the other vms, install a 3rd ethernet card in the server that is only used for db traffic. I also use a virtual network that the vms can use to reach each other. This is basically a private internal lan running across the host machine's buses, rather than through your network switch. I get native performance with my set up... ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-virt] Xen box down
What, you use a term program to connect? -Original Message- From: centos-virt-boun...@centos.org [mailto:centos-virt-boun...@centos.org] On Behalf Of Karanbir Singh Sent: Monday, January 04, 2010 6:44 PM To: Discussion about the virtualization on CentOS Subject: Re: [CentOS-virt] Xen box down On 04/01/10 20:36, Ben M. wrote: The box is remote, 2 hour drive. Some advice on what hardware to bring with me and how to approach this via fsck would be welcome. If you have more than 1 machine in the same facility, but dont have lights-out / ipmi console on the box then now would be a good time to invest in a null-modem cable and get serial console redirection setup between pairs of machines. :) -- Karanbir Singh kbsi...@karan.org | http://www.karan.org/ | twitter.com/kbsingh ICQ: 2522219 | Yahoo IM: z00dax | Gtalk: z00dax GnuPG Key : http://www.karan.org/publickey.asc ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt __ Information from ESET NOD32 Antivirus, version of virus signature database 4743 (20100104) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-virt] kvm windows 7 attempts: amd 2, intel 0
Have you run memtest86+ on the system? Does the motherboard support VM technology and is it enabled? Does the Intel motherboard need a bios update? ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt