Topology <ul><li>All clients access virtual IP(192.168.42.20) </li></ul>
Scenario 1 <ul><li>All clients access MASTER through virtual IP(192.168.42.20) </li></ul><ul><li>SLAVE is stand-by </li></ul>
Scenario 2 <ul><li>All clients access SLAVE through virtual IP(192.168.42.20) </li></ul><ul><li>MASTER is down </li></ul>
Pre-installation <ul><li>PLS install these 2 RPMs and Apache Http web server.  </li></ul><ul><li>- yum update (as usual .....
Master(hearbeat)
Master(hearbeat)
Master(Apache HTTP)
Master(Apache HTTP)
Master(Apache HTTP)
Slave(Heartbeat)
Slave(Heartbeat)
Slave(Apache HTTP)
Slave(Apache HTTP)
Slave(Apache HTTP)
Upcoming SlideShare
Loading in …5
×

Linux HA + Apache Rewrite Rules

2,847 views

Published on

Published in: Technology
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
2,847
On SlideShare
0
From Embeds
0
Number of Embeds
11
Actions
Shares
0
Downloads
57
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

Linux HA + Apache Rewrite Rules

  1. 1. Topology <ul><li>All clients access virtual IP(192.168.42.20) </li></ul>
  2. 2. Scenario 1 <ul><li>All clients access MASTER through virtual IP(192.168.42.20) </li></ul><ul><li>SLAVE is stand-by </li></ul>
  3. 3. Scenario 2 <ul><li>All clients access SLAVE through virtual IP(192.168.42.20) </li></ul><ul><li>MASTER is down </li></ul>
  4. 4. Pre-installation <ul><li>PLS install these 2 RPMs and Apache Http web server.  </li></ul><ul><li>- yum update (as usual ...  ) </li></ul><ul><li>- yum install heartbeat drbd kmod-drbd (available in the extras repository) </li></ul>
  5. 5. Master(hearbeat)
  6. 6. Master(hearbeat)
  7. 7. Master(Apache HTTP)
  8. 8. Master(Apache HTTP)
  9. 9. Master(Apache HTTP)
  10. 10. Slave(Heartbeat)
  11. 11. Slave(Heartbeat)
  12. 12. Slave(Apache HTTP)
  13. 13. Slave(Apache HTTP)
  14. 14. Slave(Apache HTTP)

×