Puppet automated high-availability cluster deployment
As the company's application demand increases, the number of servers is also increasing. As the number of servers increases, we will find that a puppetmaster has slow response, high pressure, and slow resolution, are there any optimization solutions? You can use Puppetmaster to configure multiple ports and use Nginx web Proxy, so that the puppetmaster's affordability can be increased by at least 10
How the Linux server configures Linux Linux configuration management with puppet and Augeas management, puppet management configuration, Augeas management configuration Puppet is a centralized configuration management system for Linux, Unix, and Windows platforms, Using its own pup
Environment Description:192.168.153.133 Master.localdomain #Puppet Server192.168.153.134 Agent1.localdomain #Puppet AgentThe machine name here does not have the underline and other special services, otherwise it will be reported "the scheme puppet does not accept registry part" error message.1. Installing puppet
192.168.6.226 as the service side192.168.6.223 for clients1,puppet InstallationService sideTurn off selinux iptablesAdd HostsVim/etc/hosts127.0.0.1 localhost localhost.localdomain localhost4localhost4.localdomain4 web10:: 1 localhost localhost.localdomainlocalhost6 localhost6.localdomain6 web10127.0.0.1 www.test1.com www.aaa.com www.test.com192.168.6.223 web9.aming.com192.168.6.226 web10.aming.comVim/etc/sysconfig/networkHostname web10.aming.comYum In
As the 3.x Series no longer supports mongrel, nginx + passenger is used for load balancing. Previously, nginx + mongrel and puppet version were released in the 2.7 series, so they can still be used;
Environment Description:
Operating System: centos 5.8 64-bit
Puppet version: 3.1 Series
1, upgrade Ruby to 1.8.7, install rubygems # rpm-uvh http://rbel.frameos.org/rbel5 # Yum install-y Ruby rubygems ruby-devel
Basic Learning for Puppet
1. view official download sources
Https://docs.puppet.com/guides/puppetlabs_package_repositories.html
2. Select the download source for the corresponding system
Because the local machine is CentOS 7.1, select the YUM Source
Https://yum.puppetlabs.com/
3. Install Puppet
# Wget https://yum.puppetlabs.com/puppetlabs-release-el-7.noarch.rpm
# Rpm-ivh puppetlabs-release-el-7.noarch.rpm
Nginx combined with multiple sets of puppet implementations (APACH+FORMAN+PUPPT)This case is a multi-set puppet server (Puppet+apache+foreman+foreman-proxy) system, using Nginx load balancer to realize the unified service function. The use of Puppet+apache+foreman+foreman-pr
File resourceManage system Local Files
Set file permissions and owner
Manage file content and manage content based on templates
Support for managing catalogs
Copy entire directory from remote server to local
As the puppet manual mentions, we want you to manage content as sparingly as possible with the file type. Instead, it is replaced with a better wrapper resource type. If you fi
As an important tool in automated O M, puppet can be used for batch server or specified server software version updates and Configuration updates.
Let's talk less about theme.
Install puppet-server and puppet on the
' : Enable => False ;} Apache: vhost { ' Personal_site ' : Port => 80 , Docroot => ' /Var/www/personal ' , Options => ' Indexes Multiviews ' ,}}
Similarly, puppet can automatically load plug-ins defined in modules (such as custom behaviors and custom resource types ). Refer to "use plug-ins" for more details.
To write a module that can be used in puppet, you must put it in a director
Puppet Introduction
Puppet official website: http://www.puppetlabs.com/
Puppet Chinese wiki:http://puppet.chinaec2.com/
Puppet Chinese Forum: http://www.puppetfans.com/
Puppet is a Linux, UNIX platform centralized configuration management system, the so-called configurat
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 master
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
least several times, this is equivalent to greatly optimizing puppet's processing capabilities. 1. following the preceding environment settings, the server environment and software version here are: Server System: CentOS5.8 x86_64 Ruby Version: ruby-1.8.5 Puppet version: puppet-2.7.9 Nginx version: nginx-0.8.462.Mongr
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
Hostname slave.liuwenzhi.com
Vim/etc/sysconfig/network
Vim/etc/hosts192.168.1.100 m
First, installation environmentRequires two computers or virtual machines; one is server and one is client; the configuration is as follows:Cat/etc/hosts127.0.0.1 localhost.localdomain localhost192.168.*.200 server.example.com Server192.168.*.180 client.example.com ClientNote: The host name must be a combination of letters and numbers, no special symbols such as _;Note: All hosts require clock synchronizationYum Install NTPChkconfig NTP onNtpdate pool
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 maste
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.