Current time: 11-17-2024, 11:37 PM Hello There, Guest! (LoginRegister)


Post Reply 
Need your advise for new Server setup
Author Message
robin Offline
Newbie
*

Posts: 9
Joined: Nov 2007
Reputation: 0
Post: #1
Need your advise for new Server setup
Im planning to set up a new server.

I have a AMD barcelona quad core, 4 GB DDR2 REG ECC RAM and a 2x 500 GB raid, redundant powersupply, remote management module.

The main goal of the new server is to get a high availabilty sever. Normally this can be done by using several servers on different locations but i would like to do this with virtualization.

So my idea was to setup up the following virtual servers:
Webserver1
Webserver2
MySQL server1 Master
MySQL server2 Slave
Email server

The webservers wil be loadbalanced and monitored using heartbeatand ultra monkey for example. I will use external nameservers that will have an 99,99% availabilty.

For virtualization im thinking about OpenVZ since it has a verry good performance.

Is this a good way to implement a high availabilty server? Is it difficult to setup ISPCP with this configuration?

I only have this one server and i dont want to setup another physical server at a different location yet.

Please give any suggentions u have, or maybe you have experience using virtualization or using ispcp in this kind of configuration.
11-13-2007 10:26 PM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #2
RE: Need your advise for new Server setup
Never did such a Project, but we have a HowTo in the Wiki about a part of it --> http://www.isp-control.net/ispcp/wiki/ho...dwebserver

OpenVZ is a good choice... Wink

Greez BeNe
11-13-2007 10:52 PM
Visit this user's website Find all posts by this user Quote this message in a reply
jmeyerdo Offline
Junior Member
*

Posts: 173
Joined: Oct 2007
Reputation: 2
Post: #3
RE: Need your advise for new Server setup
Hi!

I actually don't understand why you want to use two (virtualized) server on the same machine.

As I understand high-availability-servers (with heartbeat) are installed with two independent servers in general. So one server can switch over with any hardware-/system-error.

What should happen that it is an advantage to have another virtualized (fallback-) server on the same machine?

Kind regards, Jens
(This post was last modified: 11-13-2007 11:15 PM by jmeyerdo.)
11-13-2007 11:04 PM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #4
RE: Need your advise for new Server setup
@ robin
Do you really mean only one Server ?
All VE really on one Server ?

As jmeyerdo said - THIS make no sense.

Greez BeNe
(This post was last modified: 11-13-2007 11:07 PM by BeNe.)
11-13-2007 11:06 PM
Visit this user's website Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #5
RE: Need your advise for new Server setup
@jmeyerdo
I thought about the same - the only thing that comes in my mind: when a software is blocking or making high load - then the other server might be interesting - but if this is worth the overhead - I don't know...
(This post was last modified: 11-13-2007 11:08 PM by joximu.)
11-13-2007 11:08 PM
Visit this user's website Find all posts by this user Quote this message in a reply
jmeyerdo Offline
Junior Member
*

Posts: 173
Joined: Oct 2007
Reputation: 2
Post: #6
RE: Need your advise for new Server setup
joximu Wrote:@jmeyerdo
I thought about the same - the only thing that comes in my mind: when a software is blocking or making high load - then the other server might be interesting - but if this is worth the overhead - I don't know...

Hmm, I thought about any hacking-attempts. But as all filesystem-changes are sychnronized (and the IPs changes to new host) the same problems should occur on the other machine.

Perhaps it makes sense to separate the services on one machine in virtualized systems: mail, database, webspaces with priority, webspaces, ...
But keep in mind that you have to care about xx systems on the same machine. And I would suggest that it is not easy to install isp-CP in such an environment...
So I decided against such a solution for my server.

Kind regards, Jens
11-13-2007 11:21 PM
Find all posts by this user Quote this message in a reply
rbtux Offline
Moderator
*****
Moderators

Posts: 1,847
Joined: Feb 2007
Reputation: 33
Post: #7
RE: Need your advise for new Server setup
i have two well equiped servers providing each mail, dns, database in isolated vm...

the webservers are always standalone... if a customer wants high availabilty i do this with two vps serving the domain and without ispcp because these setups are always customized...
11-13-2007 11:42 PM
Visit this user's website Find all posts by this user Quote this message in a reply
robmorin Offline
Junior Member
*

Posts: 208
Joined: Apr 2007
Reputation: 0
Post: #8
RE: Need your advise for new Server setup
In a nut shell...

I am in the middle of a high(well sort of) availability project my self.... i am set up as follows(so far)

4 servers in all, will expand to 6 for full redundancy..

Server 1, named Megs, has 4 IPs on it, On for web related stuff(ftp,http, https), 1 for mail related stuff(pop,imap,smtp,mx,etc) one for its self, and one spare IP.

All services point to this Megs, then redirected to 2 backend servers Lois & Peter

Lois & Peter, mount NFS(/var/www/virtual & /var/mail/virtual) to server named Joe, Joe runs Omega, and all provisioning is on there...

Lois & peter also mount /etc/apache2 in read only mode
i rsync /etc/courier files over each minute from Joe(omega machine) to peter and lois.

I use HAproxy to load balance the http to peter & Lois

each back end server has 2 300 gig mirrored drives, one partion. If one server goes done other one takes over with no interruption at all ...

I wil then add another server as a Megs 2 and Joe2, when i am finished i wil post detailed docs on how i did it....

Have a nice day..
Rob..

rbtux Wrote:i have two well equiped servers providing each mail, dns, database in isolated vm...

the webservers are always standalone... if a customer wants high availabilty i do this with two vps serving the domain and without ispcp because these setups are always customized...
11-14-2007 12:36 AM
Find all posts by this user Quote this message in a reply
platzwart Offline
Junior Member
*

Posts: 100
Joined: Mar 2007
Reputation: 1
Post: #9
RE: Need your advise for new Server setup
are you crazy?!?!? why the hell do you need such a redundant system? this costs a lot...?!?
11-14-2007 03:26 AM
Find all posts by this user Quote this message in a reply
rbtux Offline
Moderator
*****
Moderators

Posts: 1,847
Joined: Feb 2007
Reputation: 33
Post: #10
RE: Need your advise for new Server setup
when the customers are willing to pay for the security/performance - this sounds like an interessting setup...
11-14-2007 03:28 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 3 Guest(s)