Centralized management tools puppet practical deployment and use

Source: Internet
Author: User
Tags ssl connection

Introduction  

Puppet is a centralized configuration management system for Linux, Unix, and Windows platforms, using its own puppet description language to manage profiles, users, cron tasks, packages, system services, and more. Puppet these system entities as resources, Puppet's design objective is to simplify the management of these resources and to properly handle the dependencies between resources.

The Puppet uses a C/s star-like structure, with all clients interacting with one or several servers. Each client cycle (the default half-hour) sends a request to the server for its most recent configuration information, guaranteeing synchronization with the configuration information. Each puppet client connects to the server side every half hour (can be set), downloads the latest configuration files, and configures the client in strict accordance with the configuration file. After the configuration is complete, the puppet client can feed back a message to the server. If an error occurs, a message is also given to the server side


Puppet working principle

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M02/79/90/wKioL1aUzEGhiwz6AAIK-EnMPnc107.png "title=" 1400445060926392.png "alt=" Wkiol1auzeghiwz6aaik-enmpnc107.png "/>

(1) The agent initiates an authentication request to master, or uses a signed certificate;

(2) Master authentication agent is legal;

(3) Agent calls Facter,facter probe host information (for example: HOSTNAME,MEM,IP, etc.), the agent sends this information through the SSL connection to master;

(4) Master check Agent side hostname, and then find the manifest inside the corresponding node configuration, and its resolution, the results of the analysis generated a "pseudo-code" (Catelog), and finally sent Catelog to the agent

(5) Agent receives Catelog, and executes;

(6) When the agent executes, it is judged that there is no file, and if so, sends the request to its fileserver;

(7) The agent determines whether to configure the report, if configured, then sends the execution result to master;

(8) Master writes the result of agent execution to log and sends the system report;


Topology diagram

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M00/79/92/wKiom1aU0urzFwFSAABNzqfXqho447.png "title=" QQ picture 20160112181512.png "alt=" Wkiom1au0urzfwfsaabnzqfxqho447.png "/>

Experimental environment

Os:centos 6.5 x86_64 Mini

Closed: Iptables,selinux

Installed components: Development Tools,server Platform Development


Puppet Deployment (master configuration)



This article is from the "Chun Blog" blog, please be sure to keep this source http://ssc4469.blog.51cto.com/6315913/1734330

Centralized management tools puppet practical deployment and use

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.