LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-10-2012, 07:48 AM   #1
ZackFair
LQ Newbie
 
Registered: Oct 2012
Location: Russia
Distribution: Arch, CentOS, RHEL, Debian, Ubuntu
Posts: 15

Rep: Reputation: Disabled
Which application should I use for redundancy?


Hi all.


I have a task to make a redundant system of 4 servers. Please see schema: http://i.imgur.com/ojzse.jpg

App servers are using Tomcat (called TVE on schema) to handle HTTP.
MySQL servers are in master-master replication (active-passive).

I got all working except one. I need only one "app" server to handle HTTP requests at a time. I do now need balancing, only redundancy. E.g. if currently active server will fall - switch activity for the second one and don't switch to 1st when it will come up.

HAProxy seemed as best solution until I found that it is incapable (or am I wrong?) of disabling balancing algorithms. With HAProxy I will get requests on both servers -> both servers will write to MySQL DB and this is bad.


Goal is to create schema with 2 app servers with redundancy, one active server at a time. I need to switch for the second server in case of:
1. Server will fail physically;
2. Application will fail (mysql or tomcat).

Last edited by ZackFair; 10-11-2012 at 07:14 AM.
 
Old 10-15-2012, 04:05 AM   #2
ZackFair
LQ Newbie
 
Registered: Oct 2012
Location: Russia
Distribution: Arch, CentOS, RHEL, Debian, Ubuntu
Posts: 15

Original Poster
Rep: Reputation: Disabled
Ok, for my scheme solution found - I can use "backup" directive and disable cookies for HAProxy.
 
  


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
FTP Redundancy alamr Linux - Server 6 07-15-2009 01:21 PM
server redundancy I_AM Linux - Software 2 07-24-2008 01:48 PM
How to do Mail Redundancy? shailesh_mishra Linux - Server 3 02-01-2007 12:58 AM
NIS and redundancy Iuconnu Linux - Networking 2 07-01-2005 08:07 AM
Linux and redundancy Graanco Linux - General 1 01-06-2002 11:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:43 AM.

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