問題タブ [virtual-ip-address]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
failover - 時間が経過した場合にのみ IP をスキップする Keepalived
2 つのサーバー (A と B) があり、A がマスターです。重要な場合、これはhaproxyサーバーです。A が 15 秒以上ダウンしている場合にのみ、keepalived が A から B への VIP をスキップするようにします。オプションを見ましたadvert_int
が、間違って使用しない限り機能しません。また、ブロックのfall
、rise
、およびinterval
値を調整してみました。vrrp_script
これが私の設定です: