Results 1 to 19 of 19
Thread: What is needed for xen?
-
07-16-2009, 02:27 AM #1Web Hosting Master
- Join Date
- Sep 2008
- Location
- Dallas, TX
- Posts
- 4,568
What is needed for xen?
I know this is a very noobie question, I apologize. I've used google and seen many different answers.
Do you need LVM's or not for Xen? I was under the impression you did, but after reading up on a few other places I guess you don't?
If you don't need LVM's would this be okay?
Code:* /boot 200 MB (ext3) * swap 32GB~48GB * / 30GB (ext3) * /vm the rest (ext3)
Then I would do....
yum install kernel-xen xenvi /etc/grub.conf and select the correct kernel*reboot*
-
07-16-2009, 02:51 AM #2Web Hosting Evangelist
- Join Date
- Apr 2009
- Posts
- 481
Yep, CentOS 5.3 Xen install should be as simple as: yum install kernel-xen xen, and reboot into Xenified kernel. In general LVM storage is preferable for your VMs, but obviously you may have other specific requirements.
Exceptional VPS Hosting. With love, 6sync.
-
07-16-2009, 03:05 AM #3Intangible Asset Appraiser
- Join Date
- Mar 2009
- Location
- Austin Tx
- Posts
- 2,007
You only *need* LVM if you have a kernel that supports VT and plan on rolling out Windows based VEs.
Note that you can only do Windows virtualization w/ LVM + Processor w/ VT support.
Most workstation / desktop class machines hard-disable VT support, even if the installed chip technically supports it. Usually requires a server class box to get there.
You can, however, do *nix based VEs all day long with or without LVM / VT proc.
Your mounts look good, and yep, it's that easy to install.
If you don't need Windows, you can also try out OpenVZ if you haven't already.
It's worth a look, just to know the differences / similarities. I actually prefer OVZ for *nix based development clusters, but, that all depends on your needs, preferences, etc.
Hope that helpsThis is the best signature in the world....Tribute!
(It is not the best signature in the world, no. This is just a tribute)
-
07-16-2009, 03:07 AM #4Web Hosting Master
- Join Date
- Sep 2008
- Location
- Dallas, TX
- Posts
- 4,568
-
07-16-2009, 03:15 AM #5Intangible Asset Appraiser
- Join Date
- Mar 2009
- Location
- Austin Tx
- Posts
- 2,007
I hear ya on the licenses...I primarily use OpenVZ and Xen, both w/wo LVM/VT as a development environment for our 25 programmers. Our only license saving grace is our MSDN subscriptions, which allow us to run them in dev environments, although the subscription is still freekin' higher than my ex-wife's alimony.
For Dev, I'm moving from VMWare (ESX) to these platforms for much the same reason. You sure can't beat the price, and I can re-claim some SAN space.This is the best signature in the world....Tribute!
(It is not the best signature in the world, no. This is just a tribute)
-
07-16-2009, 06:25 AM #6Web Hosting Master
- Join Date
- Jun 2006
- Location
- United Kingdom
- Posts
- 1,776
File based storage DomU's will have slower disk access than if they were LVM.
Your also more likely to incur disk corruption.
Definitely use LVM.-- Adam
-
07-16-2009, 04:36 PM #7Junior Guru Wannabe
- Join Date
- Jun 2009
- Posts
- 45
-
07-16-2009, 06:21 PM #8Hosting Billing Master
- Join Date
- May 2003
- Location
- California, USA, Earth
- Posts
- 1,098
-
07-16-2009, 10:08 PM #9Rockin' the beer gut
- Join Date
- May 2006
- Location
- NJ, USA
- Posts
- 6,645
DO NOT USE FLAT FILE WITH XEN. Disaster.
DO NOT.
Filesystem corruptionAS395558
-
07-17-2009, 02:44 AM #10WHT Addict
- Join Date
- Feb 2008
- Location
- Jakarta
- Posts
- 154
Magnet Hosting | Layanan Hosting dan Server Indonesia
http://www.magnet-id.com Indonesian Data Center, Peering with IIX and openIXP
-
07-18-2009, 12:06 AM #11Web Hosting Master
- Join Date
- Aug 2004
- Location
- Shanghai
- Posts
- 1,475
That is a VERY silly and wrong answer. You can actually run Windows on a loopback (eg: an HDD image on a file), the issue is the same as for other VMs: speed mainly. Both HVM and pv_ops VM will run on file or LVM back end, and in fact, Xen doesn't care what type of device it will use, Xen just need a device, whatever it is, if ioctl calls are working, then it's fine... You can use ANY device.
ThomasGPLHost:>_ open source hosting worldwide (I'm founder, CEO & official Debian Developer)
Servers & our leading control panel and our Xen VPS hosting, which are already included in Debian and Ubuntu
Available in: Kuala Lumpur, Singapore, Sydney, Seattle, Atlanta, Paris, London, Barcelona, Zurich, Israel
-
07-18-2009, 12:18 AM #12Intangible Asset Appraiser
- Join Date
- Mar 2009
- Location
- Austin Tx
- Posts
- 2,007
This is the best signature in the world....Tribute!
(It is not the best signature in the world, no. This is just a tribute)
-
07-18-2009, 03:33 AM #13Web Hosting Master
- Join Date
- Aug 2004
- Location
- Shanghai
- Posts
- 1,475
Explain to me exactly what prevents you from using a file loopback or any other device?
I do agree that VT (or it's AMD equivalent) is required, but LVM is not (even though I would strongly advise for it).
ThomasGPLHost:>_ open source hosting worldwide (I'm founder, CEO & official Debian Developer)
Servers & our leading control panel and our Xen VPS hosting, which are already included in Debian and Ubuntu
Available in: Kuala Lumpur, Singapore, Sydney, Seattle, Atlanta, Paris, London, Barcelona, Zurich, Israel
-
07-18-2009, 03:46 AM #14Intangible Asset Appraiser
- Join Date
- Mar 2009
- Location
- Austin Tx
- Posts
- 2,007
Explain to me exactly why you want to be so arrogant with me?
I'm just going by Xen's requirements and how I got it to work. I just use it for our companies dev environment so we can run win cheaply for testing scenarios and new app builds. I'm much more of an OpenVZ guy myself, I'm no Xen expert. I'm sure there are many ways' to get esoteric about most technologies, but at the end of the day, we're just trying to simply answer OPs question and and make it as easy as possible.
Finding a nice way to get a point across is probably out of the question, hum?
Or is that idea silly, too?This is the best signature in the world....Tribute!
(It is not the best signature in the world, no. This is just a tribute)
-
07-18-2009, 07:02 AM #15Web Hosting Master
- Join Date
- Aug 2004
- Location
- Shanghai
- Posts
- 1,475
Why do you think I'm arrogant? Because I wrote that you were wrong? So, anyone saying you are wrong is arrogant?
Or is it the word "silly" that disturbed you? Relax man...
Anyway, I insist, using a file loopback for an HVM domU works, and is not at all something exotic (it's just the slow, and wrong, way to do things).
ThomasGPLHost:>_ open source hosting worldwide (I'm founder, CEO & official Debian Developer)
Servers & our leading control panel and our Xen VPS hosting, which are already included in Debian and Ubuntu
Available in: Kuala Lumpur, Singapore, Sydney, Seattle, Atlanta, Paris, London, Barcelona, Zurich, Israel
-
07-18-2009, 07:11 AM #16Intangible Asset Appraiser
- Join Date
- Mar 2009
- Location
- Austin Tx
- Posts
- 2,007
-
07-18-2009, 11:11 AM #17Web Hosting Master
- Join Date
- Aug 2004
- Location
- Shanghai
- Posts
- 1,475
Tsss... I said the answer was silly and wrong. I can say it again. I didn't say YOU were silly. Can't you make the difference?
ThomasGPLHost:>_ open source hosting worldwide (I'm founder, CEO & official Debian Developer)
Servers & our leading control panel and our Xen VPS hosting, which are already included in Debian and Ubuntu
Available in: Kuala Lumpur, Singapore, Sydney, Seattle, Atlanta, Paris, London, Barcelona, Zurich, Israel
-
07-18-2009, 11:26 AM #18WHT Addict
- Join Date
- Feb 2008
- Location
- Jakarta
- Posts
- 154
You Need VT to Run Windows DomU on Xen (and in every other case if you want to run Fully Virtualized DomU), but you can run it with file based storage (loop devices through tap:aio), doesn't have to be phy (LVM based). I confirmed that because I have tried it before.
Magnet Hosting | Layanan Hosting dan Server Indonesia
http://www.magnet-id.com Indonesian Data Center, Peering with IIX and openIXP
-
07-18-2009, 01:18 PM #19Intangible Asset Appraiser
- Join Date
- Mar 2009
- Location
- Austin Tx
- Posts
- 2,007
Similar Threads
-
HyperVM OpenVZ specialist needed - Modules Installation Needed
By DMEHosting in forum Employment / Job OffersReplies: 8Last Post: 05-31-2009, 08:20 AM -
Quick Help needed: DNS GURU, BIND, WHM, CENTOS, NETWORKING Expert needed $15.85 CAN
By StealthCentral in forum Employment / Job OffersReplies: 4Last Post: 08-05-2008, 09:17 PM -
Request: Server Admin Needed / Needed To Have Experience In Preventing Hacks
By SupportRep911 in forum Systems Management RequestsReplies: 9Last Post: 01-31-2008, 01:00 PM -
MYSQL expert needed ,WIndows 2003 ISS, Linux cpanel, Tweaking needed
By bacanak in forum Employment / Job OffersReplies: 2Last Post: 04-08-2006, 06:22 AM -
Programmer Needed, Single Pocket PC 2002 to 2003 Program Needed
By klcodec in forum Employment / Job OffersReplies: 2Last Post: 02-14-2005, 08:56 AM