Fedora Servers :: Port Forward On The Fly Or At Startup With Virt Machine Manager And Kvm-qemu?
Jan 6, 2010
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 &
View 2 Replies
ADVERTISEMENT
Aug 2, 2010
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 .
View 1 Replies
View Related
Feb 1, 2011
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)?
View 3 Replies
View Related
Mar 31, 2011
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 .
View 2 Replies
View Related
Mar 28, 2011
I want to experiment with pacemaker, and for that I'd like to start kvm virtual machines with the snapshot option, so that as soon as I stop the vm, all changes are gone and I can start over. Since I couldn't figure out how to setup networking (vm - vm and vm - public) with a kvm commandline without disturbing the Network Manager, I used the Virtual Machine Manager (VMM) for this.
It works now, but I cant see how to use the snapshot option with the VMM. On the other hand, I cant see how I start the resulting vm from the commandline. When I look at the process list, I see the command with these network options:
Code:
-netdev tap,fd=21,id=hostnet0
-device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:45:30:b0,bus=pci.0,addr=0x3
-netdev tap,fd=22,id=hostnet1
-device virtio-net-pci,netdev=hostnet1,id=net1,mac=52:54:00:84:5b:bc,bus=pci.0,addr=0x6
How would I go about these fd=nn things on the commandline? I guess I somehow have to start the tap devices before, but how?
View 1 Replies
View Related
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 ?
View 1 Replies
View Related
Jun 2, 2010
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.
View 4 Replies
View Related
Dec 1, 2010
I have an apache2 server on a Debian box that I am using as the reverse proxy for my sites that are sitting behind it and everyone is happy. But now I want to be able to access my vmware server console from outside the network without exposing the vmware server port to the internet. So I did this I created a new virtual host for apache and it looks like this (edited for the real world)
Code:
<VirtualHost *:80>
ServerName server.my.domain
# RewriteLog "/var/log/apache2/rewrite.log"
# RewriteLogLevel 9
[Code]....
So here is what I want to be able to do. I want to be able to punch in [URL] and have the reverse proxy just take care of everything else without having to punch in the port number or anything else. I'd also like to have if possible the ssl on the vmware box just pass through the proxy back to the end user. If that isn't possible and I need to create a new ssl for the apache box then that is ok too. I have googled this and looked at several other sites but I'm still a little bit lost.
View 2 Replies
View Related
Sep 4, 2009
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.
View 1 Replies
View Related
Dec 6, 2009
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.
View 5 Replies
View Related
Dec 8, 2010
I'm using virt-manager with qemu/kvm to run a linux guest, but the console screen is TOO slow!
tessio@dhcppc0 ~]$ lsmod | grep -i kvm
kvm_amd 36872 6
kvm 257292 1 kvm_amd
tessio@dhcppc0 ~]$
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.
View 6 Replies
View Related
Feb 23, 2011
I install redhat server at virt-manger and i configure my rpms and others tasks and it works fine.
My question is how to get all configuration and data from this virt-manager server to use it at another PC virt-manager ?
View 3 Replies
View Related
Jan 22, 2010
I have an F12 installation on which I have installed NoMachine's NX server. I can remote in nicely when needed (try to do as much as possible via SSH) while not having to boot into and stay on Gnome on the server and run VNC.I noted that when I try to start the Virtual Machine Manager from an NX session, I get an error that VMM is "unable to open a connection to the libvirt management daemon". libvirtd is running, however. And, when I startx on the server and try there, VMM works fine.Is this an inherent problem with the use of VMM, or something correctable?
View 4 Replies
View Related
Nov 8, 2010
I just install QEMU and virtual machine manager to use virtualization, but virt-manager cannot run properly. I can create a VM, then mount CDROM ISO, startup. With Windows installation, it runs well until format partition step, after that it is disconected and exit with error related to VNC. I dont know why have this problem cause the packages that I installed is from Fedora repo and I think they have been tested.
Here are some infos:
Fedora 14 - kernel 2.6.35.6-45.fc14.i686.PAE
qemu-2:0.13.0-0.7.rc1.fc14.i686
libvirt-0.8.3-2.fc14.i686
virt-manager-0.8.5-1.fc14.noarch
View 1 Replies
View Related
Aug 30, 2011
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.
View 1 Replies
View Related
Jan 26, 2010
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.
View 4 Replies
View Related
May 7, 2009
I need to forward a port to use dtella. I'm using Fedora 10, using iptables for my firewall.
I'm currently trying to forward it from terminal with this command:
Code:
sudo iptables -t nat -A PREROUTING -p udp -i eth0 -d [ip address] --dport 11823 -j DNAT --to 192.168.0.2:80
this is what I get from iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
[Code].....
View 9 Replies
View Related
Apr 4, 2011
I'm trying to use iptables in order to forward all the incoming packets for port 5555 to port 5556 on the same server (192.168.2.101).
I wrote the following commands:
iptables -A PREROUTING -t nat -i any -p tcp --dport 5555 -j DNAT --to 192.168.2.101:5556
iptables -A FORWARD -p tcp -m state --state NEW -d 192.168.2.101 --dport 5556 -j ACCEPT
View 3 Replies
View Related
Feb 20, 2010
I'm using a Debian servers, as router/firwall.. I've two ethernet interfaces into the server, one for wan and one for lan. The i use SNAT so my LAN clients can access the internet throgh the debian router. That is working... Now i want to be able to access servers on the LAN site from the WAN site, and i wanna use port address translation (PAT). I have a FTP server running on a lan server, so i'm trying to portward port 21.
iptables -t nat -A PREROUTING -p tcp -i eth1 -d (WANIP) --dport 21 -j DNAT --to 192.168.1.2:21
When people try to access my FTP from the WAN site, they are redirected to the local FTP server, and they are promted for crendentials, but when the credentials are typed, and the local ftp server should answer the wan request, the connections dies.
The wan clients are being promted for credentials, so they are redirected to the local lan server, but after that the connections dies, so i think there is some kind of nat problem, when the local lan server is trying to respond to the wan request..
Here i my iptables script:
#flush table
iptables -F
#input regler
[code]....
View 6 Replies
View Related
Aug 5, 2009
If I forward port 80 to port 3128 for squid with an iptable rule, does port 3128 have to be open on the firewall or is this all routed behind the firewall?
View 4 Replies
View Related
May 27, 2009
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
View 5 Replies
View Related
Jun 11, 2009
Has anyone seen this error in libvirtd?libvir: QEMU error : out of memoryWhatever it is, I'm pretty sure that's what's keeping my virt-manager from working. There's 12GB of DDR3 on this box, so I really really hope that it's not actually a memory problem. This here is a brand-new whitebox I build just for virtualization on F11. Can anyone here help me make it work?
Edit: This is a 64-bit install. All 12GB are accessible by the OS.
View 4 Replies
View Related
Jun 18, 2011
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?
View 1 Replies
View Related
Oct 11, 2010
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:
GLib-GIO:ERROR:/build/buildd/glib2.0-2.26.0/gio/gdbusconnection.c:2270:initable_init: assertion failed: (connection->initialization_error == NULL)Aborted
I've tried searching and can't seem to find anything related, but was hoping this might make some sense to someone.
View 1 Replies
View Related
Mar 8, 2011
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?
View 2 Replies
View Related
Jul 22, 2010
I have CentOS 5.5 and try to create KVM virtual machine with CentOS 5.5 as a guest. But when I exec command:
virt-install --connect qemu:///system --name test --ram 1024 --file=/var/lib/libvirt/images/test.img --file-size=10 --vnc --cdrom=/var/lib/libvirt/images/CentOS-5.5-x86_64-bin-DVD-1of2.iso --vncport=10000 --accelerate --os-type=linux --nonsparse --livecd --hvm
View 2 Replies
View Related
Aug 14, 2009
I installed ZTE MF 626 modem in my F10 with kernel 2.6.27.12-170, i run usb_modeswitch and so far things happened normally. Watching through /var/log/messages it says that F10 detects two port device for this modem: ttyUSB1 and ttyUSB2, and in the sequence it disable port ttyUSB1 BUT Network Manager still set this port.I mean, when i connect via wvdial appointing to ttyUSB2 i get connection, but Network Manager fails to do it appointing to ttyUSB1. How to change device port in Network Manager?
View 1 Replies
View Related
Apr 17, 2010
my server runs fedora 12 i686 LXDE and has an 80 gig hd.on ftp i have a high volume of files that do not fit on the 80 gig hd, however if i could somehow connect to a lan fileserver on the lan and make it accessible through the server, all my problem would be solved. how do i do this?the reason i dont attach more HD's to the server is that all my hard drives are sata and the server doesnt support this
View 11 Replies
View Related
Apr 11, 2011
I've been trying out qemu to play around with some VMs. It's working well but I keep wanting to be able to view the text (linux boot process) that quickly scrolls by in the qemu window on startup of my linux virtual machine. Is there any way to retrieve this via qemu?
View 1 Replies
View Related
Apr 29, 2010
I tried following the instructions below but I don't see the "Automatically map port" option. What am I missing here??[URL]
View 1 Replies
View Related