###############################################################
Slave node Installation configuration
###############################################################
1: Introduction to the deployment environment:
Server IP address host name installation service
172.16.7.12ctn-7-12.ptmind.com mesos-slave
172.16.7.13ctn-7-13.ptmind.com mesos-slave
172.16.7.14ctn-7-14.ptmind.com mesos-slave
2: Configuration instance (172.16.7.12)
cd/etc/mesos-slave/
Touch hostname
echo ctn-7-12.ptmind.com | sudo tee/etc/mesos-slave/hostname
3: Configure Mesos-slave (Mesos cluster needs to be configured to run Docker image)
Note: The order of the parameters to Containerizers is important. It specifies the priority to use when selecting Containerizer to start the task.
$ Echo ' Docker,mesos ' >/etc/mesos-slave/containerizers
Slave Execution Time-out
$ Echo ' 5mins ' >/etc/mesos-slave/executor_registration_timeout
echo ' Docker,mesos ' >/etc/mesos-slave/containerizers
echo ' 5mins ' >/etc/mesos-slave/executor_registration_timeout
4: Start the service, add boot boot
Systemctl Start Mesos-slave
Systemctl Status Mesos-slave
Systemctl Enable Mesos-slave
View service Ports
[Email protected] ~]# NETSTAT-TUNLP
Active Internet connections (only servers)
Proto recv-q send-q Local address Foreign address State Pid/program Name
TCP 0 0 0.0.0.0:5051 0.0.0.0:* LISTEN 3679/mesos-slave
Mesos cluster installation Deployment planning, preparation (1)
Mesos cluster Installation Deployment Zookeeper (2)
Mesos cluster Installation Deployment Mesos-master (3)
Mesos cluster Installation Deployment Marathon (4)
Mesos cluster Installation Deployment Chronos (5)
Mesos cluster Installation Deployment Mesos-slave (6)
Mesos cluster Installation Deployment Mesos-dns (7)
Mesos cluster basic function test (8)
Mesos cluster Cleanup (9)
This article from "Kang Jianhua" blog, reproduced please contact the author!
Mesos cluster Installation Deployment Mesos-slave (6)