Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- global_defs {
- notification_email {
- me@employer.fr
- }
- notification_email_from server1@employer.fr
- router_id mysql-ha-server1
- smtp_server 10.1.5.440
- smtp_connect_timeout 30
- }
- vrrp_script healthcheck {
- script "/usr/local/sbin/keepalived-healthcheck"
- interval 5
- }
- vrrp_instance probddwrite1 {
- interface prostore
- state SLAVE
- priority 101
- virtual_router_id 51
- smtp_alert
- authentication {
- auth_type PASS
- auth_pass xxx
- }
- virtual_ipaddress {
- 10.1.13.10
- }
- nopreempt
- track_script {
- healthcheck
- }
- }
- vrrp_instance probddread1 {
- interface prostore
- state BACKUP
- priority 100
- virtual_router_id 52
- smtp_alert
- authentication {
- auth_type PASS
- auth_pass xxx
- }
- virtual_ipaddress {
- 10.1.13.11
- }
- nopreempt
- track_script {
- healthcheck
- }
- }
- 18,19c18,19
- < state SLAVE
- < priority 101
- ---
- > state BACKUP
- > priority 100
- 36,37c36,37
- < state BACKUP
- < priority 100
- ---
- > state SLAVE
- > priority 101
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement