Redirecting… Click here if you are not redirected.
![Redirecting…](https://cdn-ak-scissors.b.st-hatena.com/image/square/c7d11cacca2c085fef1a46436f31c58a19c22cea/height=288;version=1;width=512/https%3A%2F%2Fcdn-ak.f.st-hatena.com%2Fimages%2Ffotolife%2Fc%2Fcou_z%2F20170617%2F20170617215914.jpg)
Continuing to explore consul for service discovery, I added some health checks to the redis cluster from the previous post (World's quickest demo of consul). As you can see below if a health check is critical, then the service is removed from the DNS listing. If a health check is a warning, then it continues being included in the DNS listings. The demo shows there are two nodes advertising on host
先日(6/22/14)、6月なのにどういう分けか早めに開催されたJuly Tech Festa 2014でConsulについて発表してきた。そのユースケースの一つとしてMySQL failoverをちょっとだけ紹介したので、ここに詳しく書いておく。 MHA MySQLレプリケーションの障害時にフェールオーバーしたい場合、MHAを使うの結構ポピュラー(日本では)だと思います。MHAは最新binlogの適用、Slaveの昇格とレプリケーションの張替えまではやってくれますが、実際のフェールオーバーの部分はユーザに委ねられていて、master_ip_failover_scriptのテンプレートをカスタマイズするか独自実装する必要があり、一般的な実現方法としてはカタログデータベースの更新かVirtual IPの切替等があります。 Virtual IPだと居残りセッションの問題や切替の保証難しかったり
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く