Skip to content

Home

winebarrel edited this page Jan 22, 2012 · 12 revisions
Clone this wiki locally

Murakumo 

叢雲 -Murakumo-

http://www.slideshare.net/winebarrel/ss-10433600

Description

Murakumo is the internal DNS server which manages name information using a gossip protocol.

(and it has a backup redundancy function like keepalived or heatbeat. see http://d.hatena.ne.jp/winebarrel/20120122/p1)

Gem Info

Dependency

  • RubyDNS
  • SQLite
  • rgossip2
    • MessagePack
  • optopus

Port

  • DNS: 53/TCP
  • Gossip: 10870/UDP

Install

shell> gem install murakumo
shell> murakumo-install-init-script
shell> /etc/init.d/murakumo configure
shell> /etc/init.d/murakumo start
shell> dig @127.0.0.1 <hostname>

display of a list of a record

  shell> mrkmctl -L
  IP address       TTL     Priority  Weight  Activity  Hostname
  ---------------  ------  --------  ------  --------  ----------
  10.11.12.13          60  Origin         -  Active    my-host

addition of a record

  shell> mrkmctl -A foo.bar,300,master,100
  shell> mrkmctl -L
  IP address       TTL     Priority  Weight  Activity  Hostname
  ---------------  ------  --------  ------  --------  ----------
  10.11.12.13          60  Origin         -  Active    my-host
  10.11.12.13         300  Master       100  Active    foo.bar

deletion of a record

  shell> mrkmctl -D foo.bar
  shell> mrkmctl -L
  IP address       TTL     Priority  Weight  Activity  Hostname
  ---------------  ------  --------  ------  --------  ----------
  10.11.12.13          60  Origin         -  Active    my-host

addition of a node

  shell> mrkmctl -a 10.11.12.14
  shell> mrkmctl -L
  IP address       TTL     Priority  Weight  Activity  Hostname
  ---------------  ------  --------  ------  --------  ----------
  10.11.12.13          60  Origin         -  Active    my-host
  10.11.12.14          60  Origin         -  Active    other-host

Building redundant networks

make the cluster of DNS

Usually, a DNS node returns the IP address of Master

If MySQL of Master dies, a DNS node will return the IP address of Backup.

If a Master server dies, a DNS node will return the IP address of Backup.

Configuration File

More Info

Something went wrong with that request. Please try again.