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 master server holds all configuration code for the
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 Puppet,nginx,ruby, etc. 2, configure Yum so
Ansible + Corosync + Pacemaker + NFS for http High Availability
Directory:
(1) experiment environment(2) Preparations(3) Configure basic configurations for node1 and node2(4) deploying nfs using ansible(5) deploying corosync and pacemaker using ansible(6) Use ansible to install the crmsh Tool(7) Use crmsh to configure
First, ansible Management command
There are several ansible management commands:(1) Ansible: This command is one of the very high usage in daily work, mainly used for temporary one-time operation;(2) Ansible-doc:ansible module document description, for each module has detailed usage instructions and application case in
A concrete example to simply illustrate the specific structure of puppet create the first configurationA list of puppet that mainly contains these partsresources, files, templates, nodes, classes, definitionsPuppet in the definition of a module, this is more important, is basically the core of puppet, the module is mainly composed of resources, files, templates,
First, Introduction1) operation and maintenance work flowThe characteristics of high scalability and fault tolerance in the era of big data put forward higher requirements for operation and maintenance. System Management is no longer tired of installing the operating system, configuration and optimization of system parameters, patching, installing software, configuring software, adding a service era. To improve efficiency, avoid duplication of effort, reduce errors, accumulate knowledge, system
Idea: In a docker environment, directly pull down the author's image, directly start a usable container. This image provides a directly available puppet server (foreman/activemq/mcollective-client);Description: This image has been uploaded by the author of the Spirit Sparrow cloud, detailed documentation can refer to this article and the author GitHub and The Spirit Sparrow Cloud Image address.Files directly by the author of GitHub markdown direct
Puppet automated Nginx + Mongrel server load balancer configuration preface * as the company's application demand increases, the number of servers will also increase. when the number of servers increases, we will find that a puppetmaster is under great pressure and the resolution is slow. What are the optimization methods at this time... puppet automated Nginx + Mongrel server load balancer configuration pr
Ansible: a configuration management and IT automation tool
Today I will talk about ansible, a powerful configuration management solution compiled by Python. Although there are already many configuration management solutions available on the market, they have their own advantages and disadvantages, and ansible is characterized by its conciseness. What distinguish
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/puppet.conf[Agent]Report = TrueFirst,
Puppet automated Nginx + Mongrel Server Load balancer configuration preface * as the company's application demand increases, the number of servers will also increase. When the number of servers increases, we will find that a puppetmaster is under high pressure and has slow resolution. Is there any optimization method at this time? The answer is! The Puppet official website has a similar solution. puppetmast
Git version control puppet # git and puppet can be found in other documents # cd/etc/puppet/# git init # initialize git # git add * # add all files in the directory to git cache # mkdir-p/data/git/# git commit-m "/etc/puppet" # submit # git clone -- bare/etc/puppet/data/git/
puppet Getting StartedSkip to end of metadata 1puppet
Puppet is an open source software automation configuration and Deployment tool, and many large IT companies are using puppet to manage and deploy software in a cluster. 2. The Design architecture Puppet is based on the C/S architecture. The server side holds all the
I. Preparation of the first order
Ansible installation is complete, below learn how to use ansible.Just like learning a programming language, first write a Hello World sample program. We also write a ansible "Hello World":
Ansible 192.168.128.83-m Ping
This command means ping 192.168.128.83 through the admin hostThe "-M ping" in the command indicates that the pi
Nginx-to-(apache+foreman+puppet) Load BalancingFirst, the prerequisite preparationTest environment:Os:centos 6.5_x86puppet-server-3.8.3foreman-1.9.2foreman-proxy-1.9.2httpd-2.2.15The server is set up. Apache+foreman+puppet for details, please refer to:http://4709096.blog.51cto.com/4699096/1710697Second, modify the Pupeptmaster related configuration2.1 Modifying the puppetmaster port#vim/etc/sysconfig/puppet
How the puppet client cancels the active updateRunintervalHow often puppet agent applies the client configuration, in seconds. Note that a runinterval of 0 means "run continuously" rather than "never run." If you want puppet agent to Never run, you should start it with the--no-client option. Can be specified as a duration.default:30mroughly means that the
In the production environment, the puppet update needs the node to update automatically, there is need to push the update through the puppetmaster, and the node update time is discrete. Here are three ways to update
2.7 Puppet update mode
2.7.1 Node Timing update
[Root@agent1 ~]# vim/etc/puppet/puppet.conf
[Main]
Server=puppetserver.rsyslog.org #指向puppetserv
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
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:
*.example.com
3. Restart puppetmaster
The ab
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.