Introduction to Puppet: 1. installation and configuration, and puppet Configuration Management
Puppet is a configuration management tool. This article describes how to install and set Puppet.What is Puppet?
Deployment and testing for cloud management tool puppetSystem Environment:
650) this. width = 650; "border =" 0 "src =" http://www.bkjia.com/uploads/allimg/131227/1U1405Z6-0.jpg "/>
[root@rhel6u3-102puppet]#uname-r
2.6.32-279.el6.x86_64
[root@rhel6u3-102puppet]#cat/etc/redhat-release
RedHatEnterpriseLinuxServerrelease6.3(Santiago)
1. Preparations 1. The host name can be resolved to the DNS or th
Puppet centralized Configuration Management System
Puppet is a configuration management tool. It is typical that puppet is a C/S structure. Of course, there can be a lot of C here, so it can be said that it is a star structure. all puppe
on the client
User created
Add the following to edit the site. pp file:
User {"xp": uid => 900, # Create a user
Home => "/home/test ",
Shell => "/bin/bash ",
Provider => useradd,
Managehome => true,
Ensure => present,
Password => westos
}
# Exec {"echo westos | passwd -- stdin xp": # change the password encryption method. in this way, the password in/etc/shadow is encrypted in plaintext.
# Path => "/usr/bin:/usr/sbin:/bin ",
# Onlyif => "id xp"
#}
Client verification
Crontab task
Continue
Puppet centralized Configuration Management SystemPuppet is a configuration management tool. It is typical that puppet is a C/S structure. Of course, there can be a lot of C here, becauseThis can also be said to be a star structure. All puppet clients communicate with
Install the latest Puppet configuration management tool on CentOS6.4
Install puppet 3.1.1 on CentOS6.4 system. For more information, see chenshake.OS: centso 6.4 X64Puppet 3.1.1Puppet master: master. canghai. comPuppet clients: node1-5.canghai.com
Puppet requires that all machines have a complete domain name (FQDN). If
Puppet centralized Configuration Management SystemPuppet is a configuration management tool. It is typical that puppet is a C/S structure. Of course, there can be a lot of C here, becauseThis can also be said to be a star structure. All puppet clients communicate with
Puppet is a configuration management software designed to achieve automated management of data centers. Based on the C/S architecture. The puppet server stores all the configuration code for the client server, which is called manifest in puppet. after downloading the manifes
The characteristics of high scalability and fault tolerance in large data age put forward higher requirements for operational dimension. System Management is no longer tired of installing the operating system, configuring and optimizing the parameters of the system, patching, installing software, configuring software, adding a service. In order to improve efficiency, avoid duplication of work, reduce errors, accumulate knowledge, system administrators
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,
/disabled/g'/etc/selinux/configsetenforce 0
Stop iptables
Chkconfig ip6tables offchkconfig iptables off/etc/init. d/ip6tables stop/etc/init. d/iptables stop
Set ntp
Ntpdate pool. ntp. orgchkconfig ntp onservice ntpd start
2. install the puppet servicePuppet is not in the basic CentOS Source. you must add the official sources provided by PuppetLabs:
Wget http://yum.puppetlabs.com/el/6/products/x8
Redhat under puppet centralized configuration management
A brief introduction to puppet
Puppet is a configuration management tool, typically, Puppet is a C/s structure, and of course, here's a lot,
This can also be said to be a st
Tag: Puppet Apache modules class node regular expression => creating the httpd Base module #mkdir/etc/puppet/modules/httpd/{files,manifests,templates}-pv# tree/etc/puppet/modules/httpd//etc/puppet/modules/httpd/├──files//the configuration file called by the base module, The agent can download the files defined by the
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)
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
Console management ToolsPuppet foreman and PuppetdashboardPuppet Foreman PuppetdashboardForeman is an integrated data center cycle management tool that provides for puppet users to add a graphicalService provisioning, configuration management, and reporting capabilities. puppetmaster and agent information cannot be dis
Problems with memory management in C Language heap, memory leakage, usage of wild pointers, illegal release of pointers, and memory management pointers
Problems with memory management in C Language heap, memory leakage, usage of wild pointers, illegal release of pointers
(
running, the code has not been implemented to [pool release], even if there are many objects no longer needed, But the memory they occupy is not really released.
4, do not put a lot of cyclic operation between the same nsautoreleasepool, the same reason, so that the pool has a large number of objects, causing the program to occupy more memory at run time. For example, the following code:
int main (int argc, const char * argv[]) {
NSAutoreleasePoo
Part of the content is taken from objective-C basic tutorial and the InternetReference count
Cocoa uses the reference counting mechanism. Each object has an associated "integer retaincount" to record the usage of the object. Retaincount + 1 when the object is referenced, retainCount-1 after the use of the external environment end object. When retaincount is 0, the object is destroyed.
When we use alloc, new, or copy, we need to destroy this object. The relea
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.