Ubuntu Servers :: Can't Graph Disk Io & Memory In Virt-manager?
Oct 6, 2010
I installed the latest 10.04.1 server minimal install and enabled the virtualisation option. I compiled enough X so that I could run virt-manager and I was able to create a couple of VMs and run them and manage them, but the problem is that in the graphs in manager, I can only get CPU usage, not Disk or Network IO. The options are greyed out. Am I missing something required for these graphs to work ?
I have a query regarding top & virtual memory. When we run top it show VIRT (Virtual Mem), RES (Resident Mem) & SHR (Shared Memory). The total virtual memory of my machine is 4 GBs (2 GB RAM + 2 GB Swap), but still I am able to see a process showing 4000m virtual memory column. what it means, as its show VIRT Mem more than actual available VIRT memory
I have been trying to set up bridged networking, but I keep failing. I am using Fedora 14 x86_64 KDE as host with qemu-kvm and SPICE. The plan is to install a windows server, a few windows clients and then rawhide as guests on that. Naturally I want to use bridged networking for the windows guests.[URL]..But those both leave the guest without internet access. Is it really this difficult, or am I doing it wrong(tm)?
I'm running some vm's in FC12 with kvm-qemu and using virt machine manager. I'd like to have some ports automatically forward on startup and be able to add redirections on the fly. Redirection on the fly is talked about here, but I am getting lost on what should be basic instructions.[URL]
As far as startup, In the past I just ran qemu from the cli and manually specified redirection with redir. I can't figure out how to do it with The virt machine manager which I am using to start my VM's now. I do not want the guests to see the host. From cli startup without virt machine manager, it looked like this: qemu -m 256 -hda vm.img -redir tcp:5555::80 -redir tcp:5556::445 &
i'm trying to install virt-manager , to run a couple of virtual machines, i created a virtual nic vnet0 and bridged it to my eth0, i have configured the /etc/network/interfaces file with proper static ip, but i beleive the network manager is renaming my nic to eth1 and causing all kinds of problems. I uninstalled network manager and now i can ping anywhere in the network, but not outside it. ie google.com
I downloaded EasyPeasy (EP) to evaluate whether I wanted to put it on my wife's EeePC 900. I thought, why not install it in a virtual machine on my desktop system in order to play with it and see what needs to be done to get all the programs she will need working before I do the actual installation? So, I launched virt-manager, and tried to set up a virtual machine for EP 1.6. Well, it appears to be launching EP, but when it comes up, I have the top bar, but the tabs and lcons that should be on the desktop are nowhere to be found. When I try to shut it down, the shutdown freezes, so I wind up killing the virtual machine after waiting several minutes.
Every time I try to do this, I get the same results. This is whether I choose KVM or QEMU for the virtual machine. I have created it with 1 Gb RAM and 1 processor, then created a 16 Gb virtual drive. I started with 0 pre-allocated for the drive. I tried again one more time but this time actually allocating the full amount of the virtual drive before starting to see if it made any difference. It didn't.
I also noticed that it is not recognizing that I have a DVD with the ISO written to it (it is a bit too big for a CD). There is no option to use a USB thumb-drive or SD card that I can find. So, it appears I am stuck with using the ISO for this installation. It said that there was no disc in /dev/sr0 or /dev/sr1, even though the proper disc was there.
Under advanced options, I have tried both X86_64 and i686 with equally bad results.
For Linux versions, although there is an option for Fedora 13 as a guest, there is not an option for Ubuntu Lucid, from which EasyPeasy 1.6 is derived. I have tried several of the install versions from the list in an effort to get this to work. It didn't.
I just upgraded from 10.04 to 10.10 and now virt-manager won't start. If I try from the menu, nothing happens. If I try and start it from the command line (as root) it give the error:
I have a VM with Windows XP that is driving me crazy. Everything works great except the display windows (and networking, but that is a different story) I am open VirtManager and go to display the OS and the images will get distorted. I will open IE and scroll down a webpage and some of the text will remain still and others will move, leave an image of garbage. This makes it very aggravating to use. To clear the page I can shake the window (using the cursor not my hands) or move from one tab to another till it clears.. then if I scroll again I have to deal with it all over again.
I tried virt-manager 0.8.0-7 or 0.8.1-1, my guest like fedora 12 i386, ubuntu i686, win xp do not have any sound even they detect the driver(es1370 or ac97) correctly. I doubt it is because of the pulseaudio and the qemu's user. Qemu uses not my user, it uses qemu user.
If I uses qemu-kvm directly, it has sound and work fine.
My first post on openSUSE, since migrating from Ubuntu (didn't like Unity!). I've installed the virtualization packages from YAST2 and when I attempt to run virt-manager, it crashes. The error is Code: could not import gobject (could not find _PyGObject_API object) I've searched both these forums and via a general Google and although I've found posts, all of them are apparently resolved - but not mine.
My laptop is fully up to date and running Gnome 3 on openSUSE 11.4.Has anyone else come across this lately?
i heared that both modules are used to create virtual environment for linux, but what are the comparisons between them which differentiate them could you please explain them in brief .
When I access the guest with ssh and use it from there, it's fast like a real machine. It's only very very slow within virt-manager console. I am using Fedora 14 x86_64.
Unable to complete install: 'Invalid install location: Mounting location nfs://192.168.1.12/var/ftp/pub/ failed' when i try to make virtual machine using virt-manager. i get this error.why this occur,please tell i take these steps for making virtual m/c.
1 change system ip into static and install virtualization group.
2 make one partition where i want to install vitual m/c
3 then vim /etc/exports, in which i give path where is data and give rw permission to all. then restart services of portmap and nfs.
4 then on login with xen kernel and on terminal i give virt-manager command and follow steps. at last i get above error. where i m wrong,clearify me so i make vir m/c .
I've been using KVM with great results on Slackware but one thing about Xen 4 that appeals to me is VGA and PCI passthru. I did try to install the Xen Slackbuild some time ago but failed. I'm afraid I can't remember why now. As far as I remember the Slackbuild was just out a day or so, so perhaps there were unresolved issues in the early days. How is Xen now? Does it run as well as KVM, for HVM as well as PV guests? Does virt-manager allow you to create Xen VMs or just KVM VMs? I'm very happy with KVM on Slackware (and Xen on NetBSD) but as I say, the Xen 4 release has some enticing features which pretty much do away with dual- and multi-booting. Full-throttle graphics in a VM?
I'm running Fedora 11 (2.6.30.10-105.2.4.fc11.i686.PAE) 8 GB memory on a AMD Phenom(tm) II X4 965 Processor, 4 core server I just built.The problem I have run into is any virtual machine that has >1024 MB memory assigned to it will not boot. As along as it has 1024 MB or less it boots fine.The symptom you see is a very quick message "Booting from hard disk" the screen then goes blank, you can't login through SSH, and can't ping the network address so I know it's not some crazy video problem hiding the boot process.The attachment are messages from a failed boot attempt.
I have succesfully installed Ubuntu 10.10 server and want to install a virtual machine with the same OS.
For installation purpose, I mounted a cdrom drive, keyboard and monitor. On my attempt to do the installation, I get the following sequence:
Code: sudo virt-install > --connect qemu:///system > --name sweb > --ram 512 > --disk path=/var/lib/libvirt/images/sweb.img,size=20 > --network bridge=br1 > --cdrom /dev/cdrom [sudo] password for karelv: code.... I have tried the procedure from the physical console as well as from remote (using Putty on a windows machine) in a SSH window.I also tried to install from an iso file on disk in stead of the cdrom. All with the same result.
I downloaded template for cacti to make graphs from eth interface.is imported and showed in graph templates, but when I choose to creat new graph, it is not there.
I have a tested and working ssh connection with my local network server. On Ubuntu it was simple to just add an ssh connection to Virtual Machine Manager to connect to 'hippopatamous.local' (yes thats the name of my server :P) but now that I'm in arch its different. I connect to the server using just 'hippopatamous' and on top of that its like the Virtual machine manager can't connect.
All it says is to make sure that libvirtd is running. I ssh-ed in to the server and make sure it was running. I even ran it on my local computer (this was before I remembered/realized this would be a server type daemon so running it locally wouldn't do anything)
I'm a new fedora-user and are having some problems setting ut everything as i want:
The host to always use WIFI The host to not see the ethernet-connection. The guest to use ethernet The guest to be able to get wifi when no ethernet is avaible. The guest to install from PXE
The guest is going to be a Windows 7. Nothing is done so far, as i cannot figure out how to do this.
I have a simple C program that reads a 1 GB file from disk into memory.The first time I run this program, the process takes several seconds. But if I run this program again immediately after it finishes, the read happens almost instantly. What is going on here?My suspicion is that the operating system is realizing that the data I'm trying to read is still uncorrupted in memory (its been freed but not overwritten), so instead of reading it again, it just gives me the same block. I would really like to know what this process is called, or any Googleable keywords that would allow me to research it.
The reason I ask is because the size of my input data has increased. Now I need to read in a 6 GB file (my system has 12 GB of RAM), but I'm not observing the same behavior with the larger file. Each time I run the program the read takes an equally long time.
I have an SiI hardware SATA RAID card, with two 500GB disks in mirrored RAID configuration. When I first plugged them in and set it up, things seemed to work ok, but on boot the raid controller told me that the RAID needed rebuilding, and it would happen automatically after POST. So I didn't worry about it, and the drive mounted fine, and it's been that way for years. I just went in and manually on-line rebuilt the RAID in the controller's BIOS, and now when I boot into Ubuntu, both disks show up in fdisk, but neither show up in /dev/disk/by-uuid. Am I missing something?
I'm trying to get the built-in reader on my system working. It's one of those multi-slot ones on the front of the box. The card I have is specifically a "San Disk Memory Stick PRO Duo", this sucker here: [URL]
The light on the reader will light up, but there's zip in any of the kernel logs. I tried the obvious kmods to get it working - tifm_7xx1, tifm_sd, tifm_core, via_sdmmc, mmc_core, etc but no luck.
I have encountered this problem of memory usage is increasing as the during the my program is being run until 1Mb is left then it stays at that.A part of the program is this:
(Ubuntu Linux server, 64-bits)I was troubleshooting a problem with a file (~3.0 GB) which I had just downloaded, but it was failing the integrity test, when I discovered something really unusual.First this is the MD5 of the file after download, which didn't match the expected value:
This was really unexpected. Since I have a lot of RAM, I suspected this was the effect of caching and something was going awry with it. I decided to retry with the whole file from disk, for my surprise:
~% sudo sysctl -w vm.drop_caches=3 # This linux command invalidates vm.drop_caches = 3 # everything in the memory cache. ~% md5sum media.iso 2992aa6270f6e1de9154730ed3beedc1 media.iso
I redid it and now it seems to stay consistent, although this still isn't the value I was expecting. Certainly, the contents in memory cache were different from the contents on disk.This is the big problem.To fix the download, I created a torrent on the source machine and opened it in the target machine. Five 1MB chunks out of ~3.0GB failed integrity check. I used the torrent to fix these file chunks and how the file integrity is ok.The problem now is to determine where the data got out-of-sync.
I tested the memory with memtest86+, all but the bit fading test. I was expecting to see some failing memory module, but there wasn't anything. Everything is ok.Filesystem is Ext4, over LVM2, over a 3-disk RAID5 array.Ext4 is considered stable, and if data were inconsistent between disks, mdadm would have warned. But there is nothing in the logs. S.M.A.R.T. error logs are clean, the disks are new (have less than 30 days of "power-on-hours").I'm looking for information about any data-loss bugs in my current kernel (2.6.35), but there doesn't seem to be anything, as far as I looked.what else I could check, or where exactly could be the defect/bug?It is a Ubuntu 10.10 64-bit, Core i7 930, 6 GB non-ECC RAM.
Update: I confirmed that the files are being correctly written to the disk, the pages are being altered after they are read from disk, while in memory. I did a lot more memtests (I left it doing bit fade test overnight),and still nothing. All memory modules seem ok.Some more tests:
~% md5sum media.iso cc8bcf1ce67ff7704eadc2222650c087 media.iso ~% cp media.iso tmp[code]....(direcat is a version of cat that reads with O_DIRECT, that is, bypassing page cache)There is a clear pattern: it always happens to the 2nd byte in a 16-byte alignment. In that byte, almost always the bit 4 (LSB) flips to one, but there was one instance where bit 2 flipped to zero.
I'm developing a website. I was wondering if there are any tools out there that make it easy to log and graph usage statistics of how my cpu, memory, disk and network are used.
I need to somehow know when I need to scale up / when I'm going to get problems soon.
I found http://sebastien.godard.pagesperso-orange.fr/ (command line thingy, not so useful because I'd have to write my own graphics and logging layer on top of it..)
I bought a 4 gb usb memory stick for a windows 7 rescue disk for my 10' asus laptop Eee pc 1005 HAB.Can it work alternate to a CD rescue disk? It has a FAT 32 partition. Maybe I should format it?I used freeware to put Ubuntu 10.10 netbook on the same hardware kind, a Sandisk memory stick. Instead of Nero, Pendrive Linux. I can install it after I make a rescue disk, and shrink drive C.
i am having a problem that i would call a bit "important" with my server. so, from last 3 weeks the used space of my hard disk (RAID I) started growing up. i have 2 x 1 tb HDD working on RAID I and i did not install anything those weeks. the space just started changing from 90 GB till 580 GB. now the situation is stable there but i think it's not normal.
the bandwidth usage is low (like 120 gb in 2 months) and i am running 6 counter strike gameservers, a forum, a very little website and some local stuffs... a friend of mine told me that my server could have been hacked but i am afraid it did... some useful informations: when i reboot the server the used space goes down again to ~100 GB and then it starts going up again. i cant really find where all those files are located:
i had configured the opennms but i didint able to get the disk space and memory alert by mail... and also i need a plgin gor opennms can u tell me wat plugins suit for opennmms monitoring tool ...