Advertisement
Guest User

Untitled

a guest
Jun 23rd, 2017
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. root@daos9demo:~# cat /opt/rweb/conf/keepalived/keepalived.conf
  2. global_defs {
  3. lvs_id LVS_MAIN
  4. }
  5.  
  6. vrrp_instance vrrp_eth1:100 {
  7. authentication {
  8. auth_type PASS
  9. auth_pass youkaidiyoukaida
  10. }
  11.  
  12. virtual_ipaddress {
  13. 192.168.52.111/24 dev eth1
  14. }
  15.  
  16. state MASTER
  17. interface eth1
  18. virtual_router_id 100
  19. priority 254
  20. notify_master "/opt/rweb/bin//manage_instances.sh start eth1"
  21. notify_backup "/opt/rweb/bin//manage_instances.sh stop eth1"
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement