LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This 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


Reply
  Search this Thread
Old 12-25-2014, 09:12 AM   #16
GaWdLy
Member
 
Registered: Feb 2013
Location: San Jose, CA
Distribution: RHEL/CentOS/Fedora
Posts: 457

Rep: Reputation: Disabled

I timed a Win7 install with Default NAT network: 3 minutes to reboot.

So something is definitely wrong with your install, and I'm willing to help you figure it out.
 
Old 12-25-2014, 02:48 PM   #17
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
Quote:
Well just found out the hard way that OVH (my provider) loads a custom kernel that removes support for kernel modules:
that would be a deal breaker


use a different provider
or
install the normal / kvm /hypervisor kernel for your OS


i am not even using a "god" machine
only a 3 year old desktop with a i3 CPU ( 4 single threaded cores)
8 gig ram
and a lowerend nvidia card

2 cores and 4 gig ram are assigned to KVM

from starting the VM to booting and loging in to Debian7
about 30 Seconds (not counting the 15sec. to 30sec. it takes me to type in the very long passwords i use )

debain7 in a VM boots FASTER!!! than the host OpenSUSE13.2
 
Old 12-25-2014, 03:04 PM   #18
GaWdLy
Member
 
Registered: Feb 2013
Location: San Jose, CA
Distribution: RHEL/CentOS/Fedora
Posts: 457

Rep: Reputation: Disabled
Ya johnvv: that's pretty typical o. My laptop and server, as well. What os is the hypervisor? I thought it was CentOS 6. Isn't a normal CentOS 6 kernel a "kvm kernel"?
 
Old 12-26-2014, 12:16 AM   #19
Red Squirrel
Senior Member
 
Registered: Dec 2003
Distribution: Mint 20.1 on workstation, Debian 11 on servers
Posts: 1,336

Original Poster
Rep: Reputation: 54
Quote:
Originally Posted by GaWdLy View Post
I timed a Win7 install with Default NAT network: 3 minutes to reboot.

So something is definitely wrong with your install, and I'm willing to help you figure it out.
This particular server is probably a bad test bed to figure it out given the custom kernel (wish I knew about that before, I would have picked another provider, too late to switch now, it's too much work having to migrate everything and costs a lot as it means paying for two servers for a while till everything is migrated), but every machine I've tried it on which was vanilla CentOS or other OS it was dog slow out of the box using yum to install it. When I'm done migrating stuff off my old core2quad server I will be able to use that server as a test bed. Heck if I can manage to get this to work I may even redo my new production VM server as while ESXi is working great I hate the idea of it being proprietary and the fact that I need a Windows VM just to manage it.

As a start, what optimizations need to be done? This is how I install it more or less:

Code:
yum install qemu-kvm
yum install virt-manager
Maybe a few others but think those are really the only two that I usually install. Anything else I need to install?

After that I then SSH to server with -X flag and start virt-manager to use it via an X session and then attempt to create a VM.

What other steps should I be taking?


I can look at the sosreport but I may as well run that on the test bed once I get it setup, and not this server. May be a while till I can liberate the hardware though as it's production now. Running my email and lot of web apps which may be tricky to migrate. Email tends to be a beast to configure.

Last edited by Red Squirrel; 12-26-2014 at 12:24 AM.
 
Old 12-26-2014, 11:52 AM   #20
GaWdLy
Member
 
Registered: Feb 2013
Location: San Jose, CA
Distribution: RHEL/CentOS/Fedora
Posts: 457

Rep: Reputation: Disabled
Again: I don't know of any required optimizations. All of my installs of KVM, QEMU, and Virt-manager are plain-vanilla. Install, run, done. I don't recall any special optimizations, or changes. I didn't mess with the networking/bridging at all, and I use the .122 network. But I also have 5 other NAT networks on one machine, and I think 3 others ones on my laptop. A bad bridge configuration will give you that macvtap error that you got on that Win2k8 install.

Ping me when you're on a better platform, and hopefully we can figure out what's up. I consistently have results like what I printed earlier and John VV. KVM just works, and that's why it's my first suggestion for folks.
 
Old 12-27-2014, 05:07 PM   #21
VitalkaDrug
LQ Newbie
 
Registered: Aug 2014
Location: Russia, Far East, Komsomolsk-on-Amur
Distribution: Debian
Posts: 5

Rep: Reputation: Disabled
Quote:
Originally Posted by Red Squirrel View Post
I've used VirtualBox before but it was a pain to manage as it's not really meant to be headless. I still need to be able to use the console I just don't want to have to constantly keep it up in a VNC session or something.
Why? VirtualBox has a full headless mode and can be used without any GUI on your server.
You can use the pure CLI only (https://www.virtualbox.org/manual/ch08.html#idp55318368), or manage your VMs via the Web-interface provided by phpVirtualBox (http://sourceforge.net/projects/phpvirtualbox/).
 
Old 12-27-2014, 05:50 PM   #22
Red Squirrel
Senior Member
 
Registered: Dec 2003
Distribution: Mint 20.1 on workstation, Debian 11 on servers
Posts: 1,336

Original Poster
Rep: Reputation: 54
Quote:
Originally Posted by VitalkaDrug View Post
Why? VirtualBox has a full headless mode and can be used without any GUI on your server.
You can use the pure CLI only (https://www.virtualbox.org/manual/ch08.html#idp55318368), or manage your VMs via the Web-interface provided by phpVirtualBox (http://sourceforge.net/projects/phpvirtualbox/).
Yeah but then the only way to get console access is through VNC which is not exactly secure. I suppose it's not a huge deal for a non shared server (you just use a SSH tunnel and not actually open it to the public) but still feels dirty. You need to keep a list of each VM and what port etc... I still want a management interface where I can pull up a console interface if required. Vbox has a nice management interface but then you can't close the console or the VM shuts down too, OR you go headless and have zero management console. The way they should have made it is that each VM is a separate daemon and the console just connects to it to manage them, or something like that.

Never heard of phpvirtualbox though, it might actually do what I want. I will have to check that out.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Guidance regarding distribution for a headless linux server. Iohna Linux - Server 1 07-31-2012 08:40 PM
Looking for a good Linux Backup Solution markw10 Linux - Software 3 08-27-2009 03:54 PM
How do I recommend a good server solution Boser Linux - Server 1 04-08-2008 07:42 AM
Does anyone have a good solution/todo list for failover cluster - e-mail server? SEGStriker Linux - Server 2 02-20-2008 06:54 AM
headless laptop mobo for linux server? davens Linux - Laptop and Netbook 3 02-01-2007 10:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 01:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration