Skip to main content

Thread: Production failover clustering


i need solution provide active fail-over single lamp server. needs actively share same data minimum amount of possible loss due fail. needs have same hostname and/or ip address if first box fails else interacts box can switch second box without noticing.

boxes:
dell 850 3.2ghz dual cores 4gb of memory
2 x 140gb ssd's software raid 1 swap partition , main partition.

both boxes same.

they're running ubuntu 10.04 lts

1 of boxes configured , set-up production box. has ip needs has apache2, php, mysql, , else configured how we'll need in production environment.

box 2 blank slate @ moment.

can use replicate box 2 exact clone of box one, keep date second , in case of box one's failure switch box 2 seamlessly.

i've looked @ drbd , seems i'm looking guides on setting seem deal partitions not created or populated data. box exists , can't rebuilt easily.

out there in community have solutions?

thank you.

i think first thing manage expectations -

it needs have same hostname and/or ip address if first box fails else interacts box can switch second box without noticing.

and

keep date second , in case of box one's failure switch box 2 seamlessly.
you find difficult reach level of failover. notice. take example case removes power cord server 1 while in middle of processing php code , waiting mysql update database. server 2 pickup in middle of that , carry on no 1 notices hard.

far know, , have done our production systems, use combination of things, third floating ip address, drbd replicate of partitions between servers, mysql replication copy database between servers , heartbeat handle switch over.

take mean server 1 setup , therefore can't add things drbd it. if case , server 2 blank suggest install server 2 same server 1 drbd in standalone mode. same take downtime , transfer active site on server 2. after can rebuild server 1 drbd , add server 2 standby machine. setup mysql replication server 2 server 1, configure heartbeat between systems , should go. can of course fail on server 1 active machine if want.

hope helps.


Forum The Ubuntu Forum Community Ubuntu Specialised Support Ubuntu Servers, Cloud and Juju Server Platforms [ubuntu] Production failover clustering


Ubuntu

Comments

Popular posts from this blog

Warning, the Safe Path is not accessible vm3 - Joomla! Forum - community, help and support

uppercase letters in url - Joomla! Forum - community, help and support

Joomla! Update is not offering Joomla 3 - Joomla! Forum - community, help and support