[SOLVED] Having problems setting up my first virtualization server
Linux - Virtualization and CloudThis forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Having problems setting up my first virtualization server
Firt off, I am a bit of a noob. Been using Linux as a desktop for a while but built my first home server a month ago. Server is CentOS 6.5. I installed the server with the basic server install. I added the kvm packages later. Using the desktop gui and virtual machine manager on the server I am able to create and run a virtual machine but I can't connect to it from my laptop (client machine). When I try I get the following message:
I have just realized that when installing CentOS there is an option for Virtualized Server. Would it be worth re installing with that option? I basically built this server as a learning tool for me. I have installed some other services but doing it again will probably help my knowledge. I know realize that I probably should just have the physical server as bare bones as possible to just run as the virtualization host and then install some virtual servers on it for other things like ssh, samba, torrent, btsync that I am running
Can I assume that the host OS is Centos and you have some other client OS on it??
So I am obviously a little new to virutalization hosted on a server. I have used virtualbox at home on a local machine.
Right now I do have a CentOS 6.5 server that I am trying to use as the host machine. I installed a virtual Fedora 20 machine. I am trying to connect from my laptop which is running Debian. Hope that makes sense
Sorry, some times I just don't grasp the entire deal.
No, don't re-install it as a virtualized server.
I am still a bit puzzled so I'll ask more questions.
This laptop is a separate computer from the server computer?
In a normal install of some host OS and some VM one doesn't need to go to a new computer to start the test. You can stay at the host computer and try to connect to the client. When you say libvirt it suggests to me that you want to control it.
So... try to connect to the client OS from Centos to start.
OK. On the CentOS server I can start the virtual machine and use it from the server. Now I want to connect remotely to it from my laptop. That is where I am having trouble.
From a practical point of view, a virtual computer is just as any physical computer.
In this instance you have to first test and prove that you can access the client from the host. That doesn't prove that a connection from outside the host will work but it is the first step.
There are many ways to access a remote computer. Many times we suggest a less than secure means. Simple tests of networking and knowledge of how one might connect a vm help. A vm can have one of a few ways to interact or use the hosts networking. Bridged and Nat are common for your use. They have very different means to connect.
Thank you. I can connect to the client from the host but the client I created has no network connection. I know that I need to create network bridge with the host computer but that is where I am having trouble.
My host is using wifi only for network. I tried going through a tutorial to set up bridge on my host with config files and command line and after that I lost my wifi on the host. I found it was because the tutorial had me disable NetworkManager and turn on network service. Once I reverted back to NetworkManager I get my host wifi back but no bridge to the client.
I set up my client using the Virtual Machine Manager gui interface. In VMM gui, I set the network to bridge my wlan0 which is my host wifi card but even after stopping starting the virtual machine there is no network connection.
Just mentioning: If you are doing this for training purposes, you would be better off using XenServer or Vmware as those are the two primary platforms used. I haven't seen a centos virtualization server in production use.
Just mentioning: If you are doing this for training purposes, you would be better off using XenServer or Vmware as those are the two primary platforms used. I haven't seen a centos virtualization server in production use.
Thanks for the advice. VMWare is not free as far as I know. I was looking at the XenServer website. It looks like that is an actual operating system that I would run on my physical box, is that correct?
Right now I am running Debian on my physical box and using it as a samba server as well as VM host. I was able to use both VirtualBox and VMM with the gui on my server to set up a virtual guest Ubuntu server and I can ssh to the remote guest now. So I am up and running.
But if there would be an advantage to using XenServer I would consider re imaging my system.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.