linux cluster architecture (supplement)

(A) LVS DR mode structures:

1. First, the two RS gateway i change back. GATEWAY = 192.168.133.200

(Shortcut key ctrl + r, the history of commands entered before you can search)

2. On the server also need to edit the script dir

3.

4. For RS also needs two configuration script:

View the routing table, routing the VIP.

5. Test:

Clear rules:

(二)keepalived lvs

keepalived RS can detect whether the rear end of the down, if downtime. keepalived of dir will not forward the data to the RS in downtime. And simple LVS is no such function, problems may occur.

We need to replace the previous grid will be emptied, and then start

Guess you like

Origin blog.csdn.net/weixin_40876986/article/details/91126908