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
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.
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#
I. Overview of PupperPuppet, this is the current operation and maintenance of the mainstream automation tools, most operations managers have heard, or in use and in the consideration of use. Puppet can cooperate with Cobbler,puppet can also be implemented with Func operation and maintenance automation, simplification, complexity for the simple.1. What is puppetPuppet is a centralized configuration managemen
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
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,
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
I want to combine several Slides generated by Latex into a page with six PDF files and add borders to each Slides. I don't know how to do this? Someone suggested that I add it to the source file\ Shortdepdf [pages =-, nup = 2x3, frame = true, offset =. 25in 0] {20111117}, but the compiled file is still not very nice, and some content is out.
The solution is to set the offset and delta parameters\ Shortdepdf [pages =-, nup = 2x3, frame = true, offset
This article is a summary of the previous latex article. The previous articles described latex's typographical problem from several aspects of the paper. Here we have integrated the previous content,
The paper layout template is provided.
Template usage:
1. First, create a main. Tex file, which is used to manage the overall architecture of the paper. The file code is:
\ Documentclass [a4paper, 12pt] {book} \ usepackage {ctexcap} \ usepackage {amsmath}
Note: Puppet is best to create a snapshot before installation, need to be careful, the following is my installation processPuppet preparatory work1 installationYum-y Install puppet Puppet-server (service side to install this)[Email protected] puppet]# puppet-v2.7.26Add Host
CentOS6.5 64-bit installation and configuration of puppet Server
We will first prepare three centos 6.5 x86_64 machines to complete the pre-installation work.
OS: Centos 6.5 x86_64
Puppet master: master.com (192.168.37.72)
Puppet clients: client1.com (192.168.37.83)
Puppet clients: client2.com (192.168.37.82)
1. Prepar
This article refers to Yulaw's "puppet Combat", and get his guidance. Here, thank Yulaw.As mentioned in the previous article, Puppet is used to automatically generate files that are defined on the server by the client.We continue here to define the software that the client needs to install from the server.Here we install httpd for example.On the server side, we need to define the module, we define a httpd m
The puppet Update method based on C/s architecture generally has two kinds, one is the agent side set synchronization time active to puppet Master end pull configuration, the other is through the puppet master side use Puppet Kick command or trigger update configuration with mcollctive. 1. Proactive Updates Advantages:
How to Use Puppet and Augeas to manage Linux configurations
Although Puppet is a truly unique and useful tool, you can use it in some cases in a different way. For example, you need to modify several existing configuration files on the server, and they are slightly different from each other. People at the Puppet Lab also realized this. They integrated a great too
We first prepare three CentOS 6.5 x86_64 machines and do the work before installation.Os:centos 6.5 x86_64Puppet master:master.com (192.168.37.72)Puppet clients:client1.com (192.168.37.83)Puppet clients:client2.com (192.168.37.82)First, do the preparation of the installation:
Close selinux,iptables on both master and client:Stop Iptables [[emailprotected] ~] # service iptables stop Iptables: Clear fi
BeginIn a text editor-Vim,Emacs, OrNano-Create a file with the following contents and filename: written and applied your first Puppet manifest.[[Email protected] ~] # Useradd testuser[[Email protected] ~] # Cat/etc/passwd | grep testTestuser: x: 536: 536:/home/testuser:/bin/bash[[Email protected] ~] # Pwd/Root[[Email protected] ~] # Vim user-absent.pp.[[Email protected] ~] # Cat user-absent.ppUser {'testuser ':Ensure => absent, }[[Email pro
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.