###############################################################
mesos-dns
###############################################################
http://www.zoues.com/index.php/2016/01/13/mesos-dns-1/
https://open.mesosphere.com/advanced-course/building-and-running-mesos-dns/
http://mesosphere.github.io/mesos-dns/docs/configuration-parameters.html
Install the Go programming language:
yum -y install golang git bind-utils
Then build the mesos-dns project:
mkdir ~/go
export GOPATH=$HOME/go
export PATH=$PATH:$GOPATH/bin
go get github.com/tools/godep
go get github.com/mesosphere/mesos-dns
cd $GOPATH/src/github.com/mesosphere/mesos-dns
godep go build .
cd /root/go/src/github.com/mesosphere/mesos-dns
mv config.json.sample config.json
[root@ctn-7-12 mesos-dns]# more config.json
{
"zk": "zk://172.16.7.11:2181,172.16.7.12:2181,172.16.7.13:2181/mesos",
"masters": ["172.16.7.11:5050","172.16.7.12:5050","172.16.7.13:5050"],
"refreshSeconds": 60,
"ttl": 60,
"domain": "mesos",
"port": 53,
"resolvers": ["219.150.32.132"],
"timeout": 5,
"httpon": true,
"dnson": true,
"httpport": 8123,
"externalon": true,
"listener": "172.16.7.12",
"SOAMname": "ns1.mesos",
"SOARname": "root.ns1.mesos",
"SOARefresh": 60,
"SOARetry": 600,
"SOAExpire": 86400,
"SOAMinttl": 60,
"IPSources": ["netinfo", "mesos", "host"]
}
./mesos-dns -config=config.json &
mesos 集群安装部署规划、准备(1)
mesos 集群安装部署zookeeper(2)
mesos 集群安装部署mesos-master(3)
mesos 集群安装部署marathon(4)
mesos 集群安装部署chronos(5)
mesos 集群安装部署mesos-slave(6)
mesos 集群安装部署mesos-dns(7)
mesos 集群基础功能测试(8)
mesos 集群清理(9)