Thank you every one for the input. Really appreciate everybody's idea.

-Bong



________________________________
 From: Michael Tinsay <[email protected]>
To: Philippine Linux Users' Group (PLUG) Technical Discussion List 
<[email protected]> 
Sent: Wednesday, March 6, 2013 11:40 PM
Subject: Re: [plug] HIgh availability requirements
 

For an active-passive (Hot Backup) setup, an alternative would be:

1.  scheduled rsync for replicating static files (.php, .css, .html, etc)
2.  MySQL master-slave (one-way) replication for the DB
3.  Ucarp for ip failover.


--- mike t.


________________________________
 From: Zak Elep <[email protected]>
To: Caloocan Gangsta <[email protected]>; Philippine Linux Users' Group 
(PLUG) Technical Discussion List <[email protected]> 
Sent: Wednesday, 6 March 2013, 11:33
Subject: Re: [plug] HIgh availability requirements
 
On Fri, Mar 1, 2013 at 2:48 PM, Caloocan Gangsta <[email protected]> wrote:
> Hi Holden,
>
> Ok, here's the requirements.
>
> I have 2 servers with identical specs.
> 1U server with single processor
> 2 sata hardrives each having 1 terabyte capacity.(Raid1 or volgroup
> whichever is preferable)
>
> Application that will run are the following:
> Php webserver, Mysql
>
>
> Both servers should replicate each other, if one server fail, the other
> server take over and the services are still running.

I'd do something like this:

  - One frontend webserver proxying for those two PHP app servers (or
more depending on load and availability of redundant
 connectivity)
  - MySQL taken out from those app servers and put in a separate
server (in another duo probably so I can do replication/clustering)
  - If applicable, compartmentalize the PHP and web servers so they
can be made into virtual machines later (e.g. if you want to throw it
to EC2 or to a private cloud)

Generally I'd spread the workload to more machines to reduce single
point of failure (and allow for future extensions implementing HA.)
As others have pointed out, there's quite a lot of HA/failover
solutions out there, so you may have to evaluate a few to determine if
they fit your requirements.

-- 
Zak B. Elep  ||  zakame.net
1486 7957 454D E529 E4F1  F75E 5787 B1FD FA53 851D
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
http://lists.linux.org.ph/mailman/listinfo/plug
Searchable Archives: http://archives.free.net.ph/



_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
http://lists.linux.org.ph/mailman/listinfo/plug
Searchable Archives: http://archives.free.net.ph
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
http://lists.linux.org.ph/mailman/listinfo/plug
Searchable Archives: http://archives.free.net.ph

Reply via email to