mesos 集群安装部署mesos-dns

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了mesos 集群安装部署mesos-dns相关的知识,希望对你有一定的参考价值。

###############################################################

                                                        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



[[email protected] 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)


本文出自 “康建华” 博客,转载请与作者联系!

以上是关于mesos 集群安装部署mesos-dns的主要内容,如果未能解决你的问题,请参考以下文章

mesos 集群安装部署mesos-master

mesos 集群安装部署规划准备

mesos 集群安装部署zookeeper

mesos 集群安装部署chronos

mesos 集群安装部署marathon

Elastic Mesos服务实现EC2中集群自动化部署