How to auto boot VM and Client, KVM or Xen

This may be an architectural research question; if it is already out there and you can point me in the right direction, that is ok too.

Multi-part

I would like to install a virtual server on my laptop and boot directly into the running Vitual Machine, likely running some flavor of windows.

What would you suggest would be the best Virtual Server to install? KVM, VItualBox or Xen?

Main question: per selection - how would I configure (on machine power on) the Vitual Machine and Client to boot directly in boot up sequence to the configured VM?
If possible to do this as a bare-metal VM server booting directly to the VM, that would be the most ideal - but I am not apposed to running a very lite Linux OS to then auto load into the VM as long as that can be scripted in an automatic fashion.
LVL 4
Michael KrumpeSolutions ArchitectAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Jian An LimSolutions ArchitectCommented:
from your main question, it looks like  virtual desktop.

what the characteristric is that regardless what laptop/desktop/thinclient you using, it willl load into a configured VM (either offline sitting on your desktop, or online in a datacenter)

http://www.vmware.com/products/view/

please advise further this is what you want.




0
Michael KrumpeSolutions ArchitectAuthor Commented:
I should of clarified, the reason that I mention Xen, VirtualBox or KVM - I am looking for a free opensource solution to be packaged as part of a bigger solution.

From the link you posted to vmware - yes, I would like that if it were in stalled on a laptop that it would be able to work "offline" and not be dependant on a datacenter. Actually I am trying to make the laptop the VirtualServer itself, loading up the GuestOS - but booting on power on direction into it.
0
heideldCommented:
If you are looking for both free and easy; download Ubuntu http://www.ubuntu.com/ and use Virtualbox http://www.virtualbox.org/wiki/Linux_Downloads 
Ubuntu's set up is quick and painless...  Most if not all of your laptop drivers should be there.

The smallest footprint you could leave for the host OS would be freebsd, but unless you are comfortable with CLI and are good with linux this might not be an option.

Running VMware Workstation on a Windows or Linux platform will work, but VMware Workstation will cost you.  http://www.vmware.com/products/workstation/

ESXi is free, but you can't view VMs from the host...
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
The 7 Worst Nightmares of a Sysadmin

Fear not! To defend your business’ IT systems we’re going to shine a light on the seven most sinister terrors that haunt sysadmins. That way you can be sure there’s nothing in your stack waiting to go bump in the night.

heideldCommented:
Oh ya, for the auto boot part, using Virtualbox within Ubuntu...
In your session use..
vboxsdl -vm "Name of your VM" -fullscreen

0
Michael KrumpeSolutions ArchitectAuthor Commented:
ok... well with all that said - how can I get either of those flavors from power-on boot up, boot right into the VM and console to the screen?
0
Michael KrumpeSolutions ArchitectAuthor Commented:
heideld - that sounds like moving in the right direction.

vboxsdl -vm "Name of your VM" -fullscreen

Where would I add that line? in a config somewhere?

0
Michael KrumpeSolutions ArchitectAuthor Commented:
and do you think the same can be done on a lighterweight linux install that will boot and load faster?
0
heideldCommented:
That would get added  under system -> perfs

Here is the manual...
http://download.virtualbox.org/virtualbox/3.1.6/UserManual.pdf

I haven't loaded virtualbox on freebsd, but you should be able to add it in the same place.

I just found this http://forums.virtualbox.org/viewtopic.php?t=4762 give it a read, and let me know if this more of what you are looking for...
0
Michael KrumpeSolutions ArchitectAuthor Commented:
Is there any way to do the same thing with Xen? Per what I am trying to ultimately accomplish, it looks like Xen is what I need.
0
Michael KrumpeSolutions ArchitectAuthor Commented:
good find heidield - so this helps to start the XEN VM on a server on boot up, but is there a line in there though that would help the goal to bring the VM display to the user on boot up?

If I havent mentioned it before - so the local machine is both the "server" and the client display - but to the end user, they wouldnt know the difference.
0
heideldCommented:

/var/lib/xend/domains/<UUID>/config.sxp

 Add these two lines to the domain definition:

    (on_xend_start start)
    (on_xend_stop shutdown)
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Server OS

From novice to tech pro — start learning today.