##puppet 後期整理 題綱 有道雲筆記, puppet 自動化管理html
1.1 架構git
實際流程圖:
github
1.2 puppet featurebash
多環境 puppet running environment http://docs.puppetlabs.com/guides/environment.html架構
分階段
負載均衡
2,install & configide
2.1 install
ui
##install a third party sourceserver
rpm -ivh http://mirrors.yun-idc.com/epel/6/i386/epel-release-6-8.noarch.rpmhtm
#master
yum install puppet-server -y
#agent
yum install puppet -y
##agent 申請證書
puppet agent --server master.puppet.com --test
/etc/init.d/puppet start
##mastet 簽署證書
puppet cert sign client.puppet.com
注: puppetmaster的主要配置文件是會重載的,不須手動重啓 使其生效。 默認master與agent的通訊時間 間隔是30分鐘(runinterval 這個參數來調節,不用帶單位,單位爲秒)
##源碼安裝:
wget --no-check-certificate https://raw.githubusercontent.com/colynn/puppet-manage/master/install/install_puppet_v2.sh
2.2 more config
3,puppet module
4,create yourself module
5,puppet report
dashboard
foreman smart-porxy
6,puppetmaster 負載均衡
7, mcollective調度器