node, assigning resources to each executor.
Framework: Computing frameworks, such as Hadoop, spark, etc., can be accessed via mesosschedulerdiver.
Executor: Actuator, installed on master slave, to start a task in the compute frame.
Experimental requirements1. Must use CENTOS7 system, requires kernel 3.10 and above2. Virtual machine memory must be 2GB and aboveExperimental environment table
Host name
IP Address
Install
###############################################################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
/, you can choose the appropriate version to download, I use the jdk-8u91-linux-x64.tar.gz here.[[emailprotected] ~]# tar zxvf jdk-8u91-linux-x64.tar.gz -C /usr/local/#将jdk包解压到指定目录中[[emailprotected] ~]# vim /etc/profileexport JAVA_HOME=/usr/local/jdk1.8.0_91export PATH=$JAVA_HOME/bin:$PATHexport CLASSPATH=$JAVA_HOME/jre/lib/ext:$JAVA_HOME/lib/tools.jar[[emailprotected] ~]# source /etc/profile#将java添加到环境变量中,方便识别Installation related environment
Installing development tools[[emailprotected
clustered distributed INIT.D, capable of running any Linux binary release as-is, such as Tomcat play, and so on, can be clustered multi-process management. It is also a private pass that enables discovery of services, provides rest API services for deployment, has authorization and SSL, configuration constraints, and enables service discovery and load balancing through Haproxy.In this way, we can manage thousands of servers like a Linux host, and their corresponding principles, such as the use
/zookeeper/myid tail-6/etc/zookeeper/conf/zoo.cfg cat/etc/mesos/zk cat/e Tc/mesos-master/quorum cat/etc/mesos-master/hostname cat/etc/marathon/conf/hostname CAT/ETC/MARATHON/CONF/MASTERCAT/ETC/MARATHON/CONF/ZKYou can also create a/etc/mesos-master/cluster file to write to the alias of the cluster.2: Configure the
three instances, although you can Scale ( size ) Set as 3 The above but will continue to start new instances, and then continue to fail, and always start. Therefore, more than three instances should be guaranteed to occupy a different portsuch as a random portPython-m Simplehttpserver $PORT650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M01/79/55/wKiom1aOUr-SgQ21AADTdGJLvms000.png "title=" Image 11.png "alt=" Wkiom1aour-sgq21aadtdgjlvms000.png "/>Since the creation of the task is to supp
, NVIDIA GPU supports only works on Mesos Containerizer (not supported in Docker Containerizer). That is, when Mesos Containerizer can run in Docker Containerizer native, the previous item limit has no effect on most users.We also simulate the features of Nvidia's auto-mount in a Docker container. As a result, you can test GPU resources in Docker containers or deploy them without
firewallIptables-f
Master Nodes setuppackage InstallationIn order to simply get up, you will use Yum to install, of course, you can compile your own, the same effect. There are other Docker warehouses directly installed, many ways to see your environment.Setup repositoriesRPM-UVH http://repos.mesosphere.io/el/7/noarch/RPMS/mesosphere-el-repo-7-1.noarch.rpmInstallYum-y Install mesosphere-zookeeperyum-
, these CentOS server time synchronization (NTP time synchronization)Blog address:http://www.cnblogs.com/zhangmingcheng/p/6047052.html3. Set hostname to add mappingsModify The/etc/sysconfig/network configuration file to modify the host name:Restart machine Required: Shutdown-r nowModify the/etc/hosts file to add host mappings within the LAN:4, because to install Marathon, because the Mesos official document
Mesos if it is necessary to correspond to the Microsoft architecture, it is equivalent to split the was PAAs part, can support you to use Mesos to manage multiple containers, with Mesos, you can also use it to build PAAs platform publishing applications.Here's what we're going to say about the MESOS environment today:6
Write in front: This thing installs really slow, slow, slow ... Is my method wrong? Well, if it is my method is not correct, please expert message pointing.Mesos:Baidu EncyclopediaOfficial documentsInstallation steps:1. Download MesosExecute command:wget http://www.apache.org/dist/mesos/0.28.1/mesos-0.28.1.tar.gz2. After the download is complete:Execute command:#解压文件tar-zxf
) Install Libcurl4-nss-dev (Note: This is a mistake I encountered during my own installation)(4) Download spark binary package http://spark.apache.org/downloads.html(5) Spark driver can be installed on any machine, if the installation of Spark driver is already installed Mesos, you can find/usr/local/lib/libmesos.so this is the driver that spark mesos need to loa
###############################################################Chronos Installation Deployment###############################################################Chronos is a fault-tolerant job scheduler that can handle dependencies and ISO8601-based scheduling. Chronos is an open source product launched by Airbnb to replace Cron. You can use it to orchestrate jobs, support the use of Mesos as job actuators, and support interacting with Hadoop. You can def
This is a creation in
Article, where the information may have evolved or changed.
Mesos According to the official introduction, is the kernel of the distributed operating system. The goal is "program against your datacenter-like it's a single pool of resources" that can be used as a PC for the entire data center. It can be said that this goal is the common goal of all the systems that claim to be dcos, this article analyzes the
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.