> Hi,
> 
> I would like to build a HA Solution with 2 servers with 1 in hot-standy
> i.e. fail-over. The advice so far was to use GlusterFS (replicated) for
> the filesystem and mysql replication (master-slave) for the database. The
> purpose is a web server (apache) with a typo3 CMS.
> 
> In the event of a failure I need to run a script to perform the actual
> failover (switch ip via web request (Hetzner robot) and change mysql
> replication settings).
> 
> Would you recommend to use corosync/pacemaker to monitor the database,
> gluster and apache or should I simply check the availability of a DB
> generated Web Page from a script in a loop?
> 
> Any other recommendations?

Yes!
Set up real cluster, use DRBD to replicate the data between the nodes and 
pacamaker to monitor the resources (IP, filesystem, database and webserver). 
pacemaker will do the failover in case of problems.

See: http://www.linbit.at/training/webseminare-auf-abruf/mysql-replikation-
mit-pacemaker/

> Since I don't have a lot of corosync experience it seems to me like a huge
> task (overkill) for a simple monitoring of a failover scenario.
> 
> What do you think?

I heard there is a very good book from O'Reilly ;-)

Greetings,

-- 
Dr. Michael Schwartzkopff
Guardinistr. 63
81375 München

Tel: (0163) 172 50 98

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to