Find the answer to your Linux question:
Results 1 to 3 of 3
Dear All, I need some help from your end regarding clustering. The scenario is: I have two RHEL5 box with apache and mysql-5. I want to make clustering in between ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2004
    Location
    @EARTH
    Posts
    17

    [SOLVED] Simple active-passive clustering in HA


    Dear All,

    I need some help from your end regarding clustering.

    The scenario is: I have two RHEL5 box with apache and mysql-5. I want to make clustering in between them for the above two service.

    Now I installed HA in both and its running fine that is when master goes down slave takes over the virtual IP and services too.

    But the problem is with MySQL service. I did active-active clustering in both nodes for mysql as when master comes back it can take the updates from slave. But here the PROBLEM rises as HA stops/releases the resources in slave before master starts so MASTER can't take the updates from slave.

    Now how to get that update from slave and also I have to keep the mysql service running in both servers for synchronization which is not aligned with HA policy though.

    Please help.

  2. #2
    Linux Engineer jledhead's Avatar
    Join Date
    Oct 2004
    Location
    North Carolina
    Posts
    1,077
    I have never done mysql clustering but if I did this is how I would do it
    Mark's IT Blog: MySQL 5 High Availability with DRBD 8 and Heartbeat 2

    using drbd

  3. #3
    Just Joined!
    Join Date
    Apr 2004
    Location
    @EARTH
    Posts
    17
    wow. that was a great link.

    Anyway, I found the solution. Just keep the pain in this case mysql out of HA will solve the issue.

    [Inspired by House TV series.]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •