Environment Description:Os:centos 5.4 i386puppetmaster 192.168.0.12 hostname:puppetmaster.info.comClient 192.168.0.64 hostname:client1.info.comschematic diagram:1) client collects client information via Facter and sends to server2) Connect to the server and request catalog log3) Information for the request nodes (node)4) Instances from the server-side receive node5) Compile code (including grammar checking, etc.)6) query whether there are exported virtual resources7) If available, receive virtua
1.Puupet Introduction
Puppet is an open source automation configuration and Deployment tool, Puppet is based on the C/S architecture, the server is called Puppet Master, the client software is called Puppet Agent,puppet The
client
Puppet agent -- server cahoa.linux.net -- Test -- verbose -- debug -- no-daemonize
# Apply for authentication from the server, obtain files, enable verbose, debug, and re-output information # redirect to Console mode (no-daemonize)
8. You can see that the above command is run, and the final output is:
Exiting; no certificate found and waitforcert is disabled
The agent sends a certificate verification request to the
The puppet path is:/etc/puppetSoftware version: Gitweb-1.7.1-3.el6_4.1.noarchGit-1.7.1-3.el6_4.1.x86_64Fcgi-2.4.0-12.el6.x86_64Spawn-fcgi-1.6.3-1.el6.x86_64Nginx version:nginx/1.6.2lighttpd/1.4.35 (SSL)-a light and fast webserverFirst, build puppet git Warehouse1. Enter the Puppet directory#cd/etc/puppet2. Initialize and add files to Repository#git Init#git Add *
Http://puppet.wikidot.com/puppet1
You can also use puppet init. PP to use puppet. however, this cannot take advantage of puppet. the biggest advantage of puppet is the C/S mode configuration. all managed machines get their configuration files from the same puppet
Puppet uses ENC to report 'could not load external node results'
This problem has occurred for a while. At the beginning, there were more than 10 alarm emails from about 3-5 times a day to the last day...
Because the Puppet synchronization adopts two policies: Active triggering and timed synchronization, almost every error occurs during timed synchronization...
The Pupp
Puppet is a tool used in ruby developmentHow to achieve basic automation with an exampleTwo machine master and slaveOne defines hostname and hosts on master
Hostname master.liuwenzhi.com
Vim/etc/sysconfig/network
Vim/etc/hosts192.168.1.100 master.liuwenzhi.com192.168.1.101 slave.liuwenzhi.com
Define hostname and hosts on the slave
H
Foreman Architecture:
This paper mainly describes the construction of foreman, and integration into the nginx process
Environment Description:
CentOS 5.8 x86_64
Puppet version:3.1.1
Master hostname:server.domain.com
Client hostname:client.test.com
1,puppet,nginx environment is installed by the previous article Puppe
puppet Certificate Automatic certification of learning summaryThis article mainly introduces briefly puppet Certificate automatic authentication, due to manual authentication is more cumbersome. puppet installation is not described here, refer to the previous document "puppet Introduction and based on httpd instance D
parsed, and other code that is not involved is not parsed. Parsing is divided into several stages, grammar checking, and error if grammatical errors. If the syntax is correct, continue to parse, the result of the resolution generates an intermediate "pseudo-code", and then send the pseudo-code to the client;
(3) The client receives "pseudo-code" and executes, the client sends the execution result to the server;
(4) The server side writes the execution result of the client to the log.
:
Puppet kick–d–host ' Cat Puppet.txt '
Cat Puppet.txt content is the host name of the client that needs to be synchronized:
192-9-117-163-tdt.com
192-9-117-164-tdt.com
192-9-117-165-tdt.com
Iv. Summary of Puppet
This article is for reference only, through understanding and learning, we can more in-depth understanding of puppet working principles and in-de
PuppetFeatures and introduction: Batch management and deployment for multiple serversRequired Package: facter-1.6.18.tar.gz puppet-2.7.22.tar.gz (Facter package is Puppet's dependent package)Steps:server-ip:192.168.13.54 Domain name www.wyx1.comclient-ip:192.168.13.55 Domain name www.wyx2.comServerIptables-fSetenforce 0Hostname www.wyx1.comVim/etc/hosts192.168.13.54 www.wyx1.com192.168.13.55 www.wyx2.com1. Time synchronization, and write crontab, serv
First, IntroductionBy installing and deploying the Puppet/C/S model, puppet server manages the entire lifecycle of all the controllers: from initialization to software upgrades, from profile creation to test deployment, from system maintenance to server migrations, and more. Puppet is able to continuously interact with the controlled machine to enable timely dete
Dashboard is the puppet console for displaying information about puppet Master and puppet agents. This article provides Web services with the default Webrick. DashBoard installed in master.test.com. And in the client configuration file do the following configuration#vim/etc/puppet
Tags: puppet push pullSSH by default using the Tcp22 port, in order to protect the Linux 22-side xxx break, we sometimes need to change the port of SSH, however, in the enterprise environment, the number of servers is huge, one can imagine the workload modification. The use of puppet can be a good solution to such problems, for operations and maintenance personnel to alleviate the burden of work.The case to
exist to create
2.2 Owner|user => Root, user, can also use UID
2.3 Group => Puppet, Group of users, can also use GID
2.4 Mode => 0644, permission attributes, four-bit octal number
2.5 Source => "Puppet:///modules/ssh/etc/ssh/sshd_config" | Soure => "/etc/passwd" file gets the address, starts with the puppet:///and downloads from
First, view the official download sourceHttps://docs.puppet.com/guides/puppetlabs_package_repositories.htmlSecond, select the corresponding system download sourceSince this machine is CentOS 7.1, choose Yum Sourcehttps://yum.puppetlabs.com/Third, installation puppet# wget https://yum.puppetlabs.com/puppetlabs-release-el-7.noarch.rpm# RPM-IVH puppetlabs-release-el-7.noarch.rpm# yum Install Puppet-y#
Modify the puppet configuration file to automatically sign the client.1. edit/etc/puppet. conf.Add the following content:
[master]autosign=trueautosign = /etc/puppet/autosign.conf
2. edit/etc/puppet/autosign. conf.Adding * indicates all or adding a domain name. For example:
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.