#1  
Old 31st March 2011, 12:37
iceget iceget is offline
Member
 
Join Date: Feb 2008
Posts: 76
Thanks: 2
Thanked 0 Times in 0 Posts
Default ispconfig 3 with load balancing

dear team,

currently i have running a ispconfig 2 system with one great website.
the server load are sometimes up to 10.x (on the top times).

the most load are produced by mysqld and then by apache.

now i want transfer the website on a fresh install of ispconfig 3 and two (thress with one loadbalancer, or its not right?) servers.

my hardwaresetup:
3 x Servers with an Intel® Core™ i7-920 Quad-Core (2 x 750 GB SATA-II, 8GB RAM)

all three servers are connected with a second gigabit network card.

how i should choose the setup? virtual machine ore directly installed?

can i add a new server when the load are on this servers to high?


thank you!

kind regards
--
markus
Reply With Quote
Sponsored Links
  #2  
Old 31st March 2011, 17:16
i-chat i-chat is offline
Member
 
Join Date: Jan 2011
Posts: 31
Thanks: 3
Thanked 0 Times in 0 Posts
 
Default

hi,

what you want depends on so many things that a 'default answer' is simply not availeble.

i can however point you to a few interesting source / ideas about the options at your hand. from witch you could chose the most suited one for you.

you say that you want 2 or 3 servers for one single website, in my book that tells me that its big and it would probably have some budget.

first of all let me tell you that, running a single website on multiple hosts best requires centrall storage, this greatly simplifies your configuration.

this can be done on basicly 2 ways.
1> a cluster fs (like gluster).
2> an central storage server / nas / or san.

1. probably the cheapest way is to install 2 identical servers with both 2 network interface cards. a WAN inteface (uplink) and a Lan interface (for file replycation).

on the wan side of things you would now require some form of load-balancing, for instance you can setup round-robin (look that up on google). or you could invest in a firewall aplience that also supports load-balancing (hardware based).

on the lan side you would only require a utp-cross cable 2 internal ips (192.168.0.1 and 192.168.0.2) and configure your clusterfs to bind to that specific (internal) ip only

2 running centrall storage probaly is more versitile, its easily scalled up when your data requirements grow, and / or you could even easily ad aditionall servers later. - a downside is that i requires more space, an extra switch, and a dedicated nas / or fileerver. and preferable one that is redundant (making you need 2 of them).


there is however a 3rd option, if you can update your website to make diferent parts of it get serviced by diferent servers you may save enought resources to not have to cluster in the firt place.

emagine a website that servers its database from a dedecated sql server (witch requires no upline to the internet (just a private connection to your webserver).

now that alone could save you some resources.

for a second step you could even serve all your static data (like video, images (gifs jpegs, pdfs and downloads), from data.yourdamin.com rather than from the same webserver that serves www.yourdomain.com

the great advantage of servering static data from a diferent server than your dinamic data (like a cms), is that you can configure apache to not send coocky with every file its server, require a longer keep-alive signal and other tweaks that boost performance.

- this kind of server would out-perfom any default install of apache for static data, but would perfom horribly with php like websites ....
... but for your information, a default php-optimal server preforms horribly slow with static data also...


so in short: 3 options.

1: glusterfs
+ cheap,
+ easily setup,
+ minimal space required
- hard to upgrade later on
- costs lots of diskspace (data is mirrord on both servers)
- can cause high I/O on your servers.

2 central storage
+ easily extendeble
+ can run raid 5 (costs less disk drives per extra TB).
- cost more (rackspace) - an extra switch and aditional hardware like a nas or a server.
- harder to configure.

3 multi server multi purpose setup
+ easy to setup,
- must make changes your your website,
- non redundant.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Relay access denied when using SMTP to external recipients Kamran Shah Installation/Configuration 111 14th May 2014 18:10
Diagnose sporadic high load (ubuntu 9.10, ISPConfig 3 setup) salami Server Operation 6 11th June 2010 13:24
cannt load ISPCONFIG -- error falla httpd service ossarde Installation/Configuration 0 12th May 2009 19:58
ISPConfig 3.0.0.7 Beta released till General 78 24th December 2008 11:47
Question about the hardware requirement for mysql cluster with load balancing??? johN5Five^ HOWTO-Related Questions 3 12th April 2007 17:06


All times are GMT +2. The time now is 08:37.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.