Install Puppet in Linux
I. Prepare the environment1. Set host name and hosts fileMaster Agent 2. Start the node ntpd service3. Create a local yum Repository
See this link.
4. Set up an FTP server and provide a custom yum repository access interface
[root@master ~]# cat /etc/vsftpd/vsftpd.conflisten=YESanonymous_enable=YESlocal_enable=YESwrite_enable=YESlocal_umask=022anon_upload_enable=YESanon_mkdir_write_enable=YESanon_other_write_enable=YESdirmessag
Puppet is a configuration management software designed to achieve automated database center management. 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 manifest, the client can configure the server based on the manifest, such as software package man
Label: Ruby puppet facter
1. Puppet IntroductionPuppet is an Automated System Configuration tool developed based on the ruby language. It can run in C/S mode or independently and supports configuration management for all UNIX and Unix-like systems, the latest version also supports limited management of Windows operating systems. Puppet is suitable for the whole p
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 no DNS server provides a domain name, you ca
Puppet Enterprise Architecture deployment
I have been preparing for Puppet. I have read the Puppet document these two days and simulated the deployment scheme of Puppet in the production environment:Test Machine:Server: 192.168.3.68Clinet: 192.168.3.67Command rules:Application _ IDC _ location _ IP address _ server sys
Recently I interviewed the O M of two major e-commerce websites. The company has high requirements on system automation management, virtualization, mysql cluster, system performance optimization, and shell and python programming, although the interview was not successful, I also understood my goal in 2013.As we all know, spring is the season of sowing, and the season of recovery of all things. Only the seeds of hope are planted in spring, summer can blossom, and autumn can produce results, in w
. logoutput: Whether the output is logged. The output is logged by default based on the log level (loglevel) of the exec resource. If defined as On_failure, the output is logged only when the command returns an error. The desirable values are: True,false and other legitimate log levels. onlyif: If this parameter is set, then exec will only be executed when the command set by Onlyif returns 0 o'clock. Path: The search path that the command executes. If path is not defined, the command needs to us
Common Types of resources:Notify, Cron, Exec, service, file, package, group, user (1) notify: Use puppet to define a message.Message: Information content of the notificationNotify {' Warning ':message=> "from warning notify resource.",}(2) CronEnsure: Target statusCommand: CommandsHourMinuteMonthMonthDayWeekdayName: NamesUser: Users receiving this taskEnvironment
1. Install puppet. Note: the client and server versions should be the same as possible. If they cannot be the same, the Client Version cannot be too old. The server version cannot be lower than the Client Version.
Installation and simple configuration steps:
Installation preparation (applicable to server and client ):
First, you need to change the computer name: Hostname puppet. nn. Local or: Hostname-F/et
;GID: Basic Group IDGroups: Additional groupsHome: Home DirectoryShell: Default shellName:namevarSystem: Is it user, True|falseUid:uidPasswordFileManage files and their content, dependencies, and permissions, which can be given directly through the content property or downloaded from the remote server path via the Source property;Indicate the source of the file content:Content: Direct file contents, support \ n (newline), \ t (tab);Source: Download the file from the specified location;Recurse:tr
I. Introduction of PuppetPuppet is a configuration management software designed for data Center Automation management that manages the entire lifecycle of your IT Infrastructure: provisioning (provisioning) provisioning (configuration), Linkage (orchestration) and reporting (reporting). Puppet is based on the C/s architecture, similar to Zabbiz, with the master and Agent node points. It is an open source (not really open source, because of the commerc
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 have begun to do some local automation work.
Puppet building notes
I. Introduction
Puppet is a C/S structure software that centrally manages files, packages, servers, cron, user, group, exec (execute shell commands), yumrepo, and other common resources of multiple servers.
Ii. puppet Workflow
Puppet client collects client information through facter (host name,
1.puppet Master Puppet master defaults to a daemon that runs in the background with Ruby's built-in Webrick, as well as using the most common Web server Apache and Nginx replacement Webrick to improve performance. Puppet Master main function is to compile the configuration file, files, templates, custom plugins for nodes. [Email protected]:nodes#
Operating system environment used for this installation: Centos6.5 x86_64,puppet3.8.3# #服务器端1. Modify the hostname (very important)The service side and each client should ensure that the domain name can be resolved to the corresponding server correctly!With the use of DNS services, this is simplified by the way the hosts are modified.#vim/etc/hosts192.168.0.26 maseter.puppet.com#vim/etc/sysconfig/networkModify hostnameHostname=maseter.puppet.comIf you don't want to restart, the temporary hostnam
Puppet is an open-source automated deployment tool. The following describes the installation and configuration of puppet.1. Operating System: redhat5.3 (64-bit System)2. System Architecture:192.168.0.200 Server192.168.0.201 Client192.168.0.202 Client
3. Install ruby. (the server and client must be installed before puppet is installed)# Rpm-Uvh http://download.fed
Puppet configures systems in two main stages:
Compile a catalog
Apply the catalog
The agent/Master Architecture
Puppet usually runs in an agent/Master architecture, where a puppet master server controls important configuration info and managed agent nodes request only their own configuration catalogs.Basics
In this architecture, managed nodes runPuppet agentAp
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.