LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-02-2013, 05:16 PM   #1
eRJe
Member
 
Registered: May 2005
Location: Netherlands
Distribution: Slackware 13 Kernel 2.6.32.7
Posts: 98

Rep: Reputation: 16
General VM solution questions


Hi everyone,

I have a Slackware server running as a NAT and file server. I'm also running several services on it like DHCP, firewall, Apache web server, email server, music streaming (Subsonic), and some others.

Now I have the need for some applications that only run in a Windows environment and also use specific Windows only hardware.

Is it possible to create a virtual Windows setup on my current Slackware server without compromising functionality, the stability and security of the Slackware server, and that will work with the new hardware under Windows? I think I would like to run more then just one virtual Windows setup. Perhaps I would also run an extra Linux setup.

I read about several possibilities but I fail to see or understand the difference/cons and pros. I would appreciate it if I could get a push into the right direction.

Thanks for any info!

Robbert
 
Old 02-02-2013, 06:26 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,123

Rep: Reputation: 162Reputation: 162
The short answer is yes - when you create the virtual machine you can choose the level of exposure it has on your network so you can control your risk. There's some comparison information here that should be worth a look through. There are plenty of different ways to go.

I use VirtualBox because it suits my needs of compatibility with my distro, ease of upgrade, visibility on the network and remote access/administration. I didn't have any other requirements.
 
Old 02-03-2013, 06:26 AM   #3
eRJe
Member
 
Registered: May 2005
Location: Netherlands
Distribution: Slackware 13 Kernel 2.6.32.7
Posts: 98

Original Poster
Rep: Reputation: 16
Thanks Steve!

I believe there are two principles to go? I either install for example Virtualbox on my current Slackware installation and run multiple virtual setups within Slackware. Or I install for example Xen on a bare metal machine and run Slackware and all other installations as VM's.

If I install Virtualbox on top of my Slackware, I suppose nothing much will change seen from the outside? Anyone connecting (or trying to connect) will see the same environment as before, right? At this moment I do not use a GUI with Slackware. Will I be needing one when using Virtualbox? I will mostly be remote connecting to the OS's anyway.

If I would use Xen and start running my Slackware installation as a VM too, what effect will this have seen from the outside? I mean currently my slackware stands in between the world and the rest of the network. It takes care of all the security.

Thanks for your info so far!

Robbert
 
Old 02-03-2013, 08:02 AM   #4
gradinaruvasile
Member
 
Registered: Apr 2010
Location: Cluj, Romania
Distribution: Debian Testing
Posts: 515

Rep: Reputation: 102Reputation: 102
Any VM software can run without any GUI. A bit more time consuming to learn all the set up switches and stuff, but all are written in such a way to be able to run in a headless environment.
VMs use bridges or NAT to attach to existing net interfaces. From the outside the guest in the VM can be set to be accesses from the outside as another computer on the network, use NAT to access the internet (not be accessed from the outside), or use only a private network that restricts the communication to the host-guest only.
Make sure you double check your firewall after the set up of the VM.

You said you need to use hardware directly under Windows. This raises a few questions:

-If the hardware is accessed via USB or serial ports, any VM software will work probably (i say probably because under KVM Windows XP has some difficulties in adressing USB 2.0 devices on my computer at least, but Windows 7 and Linux does not).
-If the hardware is say, PCI, you will have to provide:

a) - a motherboard with a chipset AND BIOS (it has to be enabled here) AND CPU that ALL support PCI passthrough (IOMMU) - CPUs usually are not a problem, most mainstream CPU will do - AMD has support built in in pretty much everything, Intels however sometimes do not (usually lower end Intels dont have this feature, make sure you check the model specs). If you have a recent(ish) server server (hardware wise), you probably have IOMMU supported on it.
b) - the kernel HAS to be compiled with IOMMU.
c) - a VM solution that supports IOMMU. VirtualBox and KVM both support it, probably Xen aswell so this is not a problem in theory.
 
Old 02-03-2013, 08:22 AM   #5
eRJe
Member
 
Registered: May 2005
Location: Netherlands
Distribution: Slackware 13 Kernel 2.6.32.7
Posts: 98

Original Poster
Rep: Reputation: 16
Hi Gradinaruvasile,

Wow THANKS! for this great info! It really help me to search for info in the right direction.

I'm actually going to invest in a new server. My current server was focussed on energy efficiency only. It lacks hardware resources in many ways. The Windows systems currently run on their own hardware. I assume running 3+ virtual systems on only one physical server will be more energy efficient.

The hardware that I need to work in the virtual Windows (7) is PCI and PCI-e. So your info about IOMMU was very thoughtful.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
awk or sed to for this questions solution ? cs24 Programming 7 03-20-2010 06:23 AM
Redhat HPC solution - What is the general feedback manishgarg21 Linux - Enterprise 1 07-20-2009 02:24 AM


All times are GMT -5. The time now is 09:57 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration