I. Overview of Puppet
Puppet is an Open-source, Ruby based system Configuration management tool based on C/S deployment architecture. It is a configuration management software designed to realize the automation management of data center, it uses the Cross-platform language specification, manages the configuration file, the user, the software package, the system service and so on. The client communicates wi
A small example shows how Debug puppet runs slowly.
A small example shows how Debug puppet runs slowly.
The agent of a machine is slow. First, let's look at the overall performance of the puppet Server:
Puppet server uses the passenger + nginx structure, which has stable performance and connects about 1200 machines. Pa
Demand analysis
1), require openssh-server in the installed state
2), the request in the configuration file/etc/ssh/sshd_config correct situation, the SSHD service is in the running state
2), requirements/etc/ssh/sshd_config file attributes are not changed (permissions, owner, group, etc.)
3, request/etc/ssh/sshd_config file is modified or deleted will be automatically repaired
4), the request through Puppetserver to modify/etc/ssh/sshd_config, sshd service can automatically restart.
Defin
Puppet Dasshboard is created by the company Puppetlabs that supports Puppet development, and is the Ruby on Rails program. Can serve as a enc (external node classifier) and a reporting tool, and is increasingly becoming an integrated interface that includes many puppet new features, such as auditing and resource management capabilities.Puppet Dashboard is a ruby
Puppet installation and configuration-preparation workTwo machines: 192.168.205.20 (server side) 192.168.205.21 (client)Two machines close SELinux, empty iptables rules, and save, set hostnameVim/etc/selinux/configSelinux=disabledIptables-fService Iptables Save20 on hostname web9.aming.com, vi/etc/sysconfig/network definition hostname (permanent)21 on hostname web10.aming.com,vi/etc/sysconfig/network definition hostnameEdit the Hosts file, 20 and 21 a
Centos is one of the most widely used linux server systems. It is convenient to use yum for software package management, and is also liked by everyone who uses centos. I am also more and more fond of using yum to install software packages. Unless necessary, software is rarely compiled and installed.
There are also many centos extension sources (repo), such as the well-known EPEL and the two introduced in the previous yum source sharing article by mosquitoes.
However, it is not easy to use centos
2. Server-side InstallationInstall the puppet source #会在repo. D to generate the puppet sourceRpm-ivh "http://yum.puppetlabs.com/el/6/products/x86_64/puppetlabs-release-6-7.noarch.rpm"Installing the server-side programYum install-y puppet-serverStart the serviceService puppetmaster StartBoot upChkconfig puppetmaster on3. Client InstallationInstalling the
Before one months of Zabbix, basically can be skilled use, but in the deployment of the time found that this thing in the deployment of the time the machine less line, the machine more manual installation hand will be disabled. The first reaction was to use the puppet, and then Master took the puppet directly. Simply learn a wave of their own, after all, this is an automated operation and maintenance of the
Recently in learning Puppet installation, configuration and use. Download official documents from the website. Because it is also just beginning to learn puppet, so I look at the official website of the document step by step. The official documents are also downloaded and uploaded to 51.http://down.51cto.com/data/1975148 the document address.Experiment Preparation:1, pre-preparation1)
First, puppetmaster configuration:1. Add environment variables to test whether the variables written are in effect.[[email protected] ~]# Vi/etc/profile Add the following: #puppet facterexport facterlib=/etc/puppet/modules/facts/lib/facter/ #自定义变量文件存放路径 [[email protected] ~]# Source/etc/profile2. Custom variable file path in:/etc/puppet/modules/$NAME/lib/facter #
1, at the beginning of the configuration certificate matching,/etc/hosts hostname,/etc/sysconfig/network hostname to puppet cert list--all display client hostname to the same, The server in the client's puppet configuration is to point to the hostname on the server, otherwise the certificate cannot be matched successfully and cannot be sent from S to C650) this.width=650; "id=" aimg_5844 "src=" http://www.a
System environment:
[Root@rhel6u3-102 puppet]# Uname-r
2.6.32-279.el6.x86_64
[Root@rhel6u3-102 puppet]# Cat/etc/redhat-release
Red Hat Enterprise Linux Server release 6.3 (Santiago)
First, preparatory work
1, the host name can resolve each other (DNS or hosts file can resolve each other)
Puppet Master (rhel6u3-102.rsyslog.org 192.168.100.102)
Tags: puppet system management follow ASE PUP product host authentication startUbuntu 16.04 build Puppet service:Puppet is a configuration management tool that enables system administrators to automate the configuration and management of server infrastructure.First, install the softwareMasterCurl-o Https://apt.puppetlabs.com/puppetlabs-release-pc1-xenial.debdpkg-i Puppetlabs-release-pc1-xenial.debapt-get up
Many enterprises use cloud services, automated operations tools are getting more and more fire, the installation and use of three automated operations toolsPuppet, Saltstack, ansible personal point of view;puppet C/S Framework Server puppet master Client Puppet agent process launcher using Ruby processThere is a listening port Master 8140 Agent 8139The principle
1). Get puppet module to install Apt-cacher-ngPuppet Module Install MARKHELLEWELL-APTCACHERNGThen,edit nodes.pp and put the ' aptcacherng ' class into the repo nodeclass {' Aptcacherng ':}2). Apply to all clientsCreate a manifest file including these codes as below on puppet master which would share the configuration on all others MA Chines,then These machines would use the local repository as proxy to apt-
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.