LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-21-2008, 05:19 AM   #1
Swakoo
Member
 
Registered: Apr 2005
Distribution: Red Hat / Fedora / CentOS
Posts: 508

Rep: Reputation: 30
Recommended specifications for Virtualization needs


Hi guys,

I'm planning a web infrastructure, with a mind to make use of virtualization (Using Xen with RHEL/CentOS) so as to make better use of each processor/box and to save rack space, power etc...

I'm also thinking.. for example... 2 web servers.. but each having 2 guest instances.

So for Server1, it will have instance A and instance B
For Server2, it will have instance A and instance B

so I can do load balancer on 1A with 2A, and 1B with 2B
Theoractically, I should be
- utilizing the hardware better
- getting better performance (somewhat) at the same time right?

But bottom question is: what specs should I beef up?
I do know I need to have ample ram and storage space

Thanks!
 
Old 08-22-2008, 07:43 AM   #2
crashmeister
Senior Member
 
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541

Rep: Reputation: 47
Depends a lot on what are you going to run there.There's a good read about virtualization here.

Short version:
Basically anything that does a lot of disk I/O sucks in virtualised machines no matter what the specs are.
 
Old 08-22-2008, 07:10 PM   #3
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
Are you *sure* you want to choose for virtualization? Do you have good reasons? Running 4 independent web sites in Linux does not require virtualization, even if you have different domains. Do you need your users to give full access to the complete machine, including rebooting etc?

jlinkels
 
Old 09-11-2008, 02:17 AM   #4
Swakoo
Member
 
Registered: Apr 2005
Distribution: Red Hat / Fedora / CentOS
Posts: 508

Original Poster
Rep: Reputation: 30
hi guys,

thanks for the tips

I'm just thinking of fully utilising the processing and creating a pseudo redundant environment?

like having 2 web servers, with 2 instances each to mirror each other... in a way, i get more performance.. right?

so does web server (application only) consider for a high I/O job?

I know database is...

do advice thanks!
 
Old 09-11-2008, 08:27 AM   #5
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
Then configure a HA Webserver with load balancing..

So you end up with

Load balancing
High availability
Fault tolerance - no single point of failure

http://www.howtoforge.com/high_avail...apache_cluster


Quote:
This tutorial shows how to set up a two-node Apache web server cluster that provides high-availability. In front of the Apache cluster we create a load balancer that splits up incoming requests between the two Apache nodes. Because we do not want the load balancer to become another "Single Point Of Failure", we must provide high-availability for the load balancer, too. Therefore our load balancer will in fact consist out of two load balancer nodes that monitor each other using heartbeat, and if one load balancer fails, the other takes over silently.

The advantage of using a load balancer compared to using round robin DNS is that it takes care of the load on the web server nodes and tries to direct requests to the node with less load, and it also takes care of connections/sessions. Many web applications (e.g. forum software, shopping carts, etc.) make use of sessions, and if you are in a session on Apache node 1, you would lose that session if suddenly node 2 served your requests. In addition to that, if one of the Apache nodes goes down, the load balancer realizes that and directs all incoming requests to the remaining node which would not be possible with round robin DNS.

Last edited by farslayer; 09-11-2008 at 08:30 AM.
 
Old 09-11-2008, 08:49 AM   #6
crashmeister
Senior Member
 
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541

Rep: Reputation: 47
You get less performance.

What virtualisation is good at is trying to utilise your hardware as good as possible.
If you take a hosting firm for example - if they would run one account per machine the box would hardly ever be fully used.So they throw depending on the hardware maybe 10 or more accounts on one machine and have it doing something instead having 10 boxes just sitting there and using space and power..
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Yoper System Specifications Chargh Yoper 1 09-28-2007 10:24 AM
LXer: SaaS Rapid Release Cycles Drive Virtualization Demand - No Surprise LinuxWorld Launches New Virtualization Track LXer Syndicated Linux News 0 07-16-2007 06:32 PM
LXer: Microsoft Releases New "Open Specifications Promise" on 20 Web Services Specifications LXer Syndicated Linux News 0 09-12-2006 09:54 PM
command which provides the specifications of my PC kpachopoulos Linux - General 3 11-03-2004 05:31 PM
Getting hardware specifications Bill Cosby Linux - Hardware 2 09-01-2004 01:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:26 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