Top Banner
Topology All clients access virtual IP(192.168.42.20)
14
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Linux HA + Apache Rewrite Rules

Topology

• All clients access virtual IP(192.168.42.20)

Page 2: Linux HA + Apache Rewrite Rules

Scenario 1

• All clients access MASTER through virtual IP(192.168.42.20)• SLAVE is stand-by

Page 3: Linux HA + Apache Rewrite Rules

Scenario 2

• All clients access SLAVE through virtual IP(192.168.42.20)• MASTER is down

Page 4: Linux HA + Apache Rewrite Rules

Pre-installation

• PLS install these 2 RPMs and Apache Http web server. 

• - yum update (as usual ...  )

• - yum install heartbeat drbd kmod-drbd (available in the extras repository)

Page 5: Linux HA + Apache Rewrite Rules

Master(hearbeat)

Page 6: Linux HA + Apache Rewrite Rules

Master(hearbeat)

Page 7: Linux HA + Apache Rewrite Rules

Master(Apache HTTP)

Page 8: Linux HA + Apache Rewrite Rules

Master(Apache HTTP)

Page 9: Linux HA + Apache Rewrite Rules

Master(Apache HTTP)

Page 10: Linux HA + Apache Rewrite Rules

Slave(Heartbeat)

Page 11: Linux HA + Apache Rewrite Rules

Slave(Heartbeat)

Page 12: Linux HA + Apache Rewrite Rules

Slave(Apache HTTP)

Page 13: Linux HA + Apache Rewrite Rules

Slave(Apache HTTP)

Page 14: Linux HA + Apache Rewrite Rules

Slave(Apache HTTP)