• ϗετͷεςʔλεΛࢹ͢Δ
• ϗετεςʔλε Standby ͷDB(slave)αʔόΛ production ʹೖ
• ϝϯςφϯε࡞ۀͷͨΊϨϓϦέʔγϣϯ͕ࢭ·͍͕ͬͯͨɺ௨དྷͳ͍
Slide 22
Slide 22 text
App App
consul
consul DNS
consul consul
1) look up DNS
2) connect DB
check mysql uptime
before
slave slave slave
Slide 23
Slide 23 text
App App
consul
consul DNS
consul consul
1) look up DNS
2) connect DB
A) check mysql uptime
After
Mackerel
batch batch batch
B) check host status file
B’ ) update host status file by cron
slave slave slave
Slide 24
Slide 24 text
• Consul ͷαʔϏε͕༗ޮʹͳΔͨΊʹɺmackerelͷεςʔλεͷมߋ͕
ඞཁɻΞϥʔτʹؾ͕ͭ͘Մೳੑˢ
• ϗετεςʔλεΛϩʔΧϧͷͲ͔͜ʹॻ͖ࠐΉػೳɺ
mackerel-agent ʹ͋Δͱศར?