Puppet扩展篇5-通过多进程增强master的负载均衡能力(nginx+mongrel)
2、增加puppet端口
PUPPETMASTER_PORTS=( 18140 18141 18142 18143 )
4、分别启动nginx服务和puppetmaster服务
[root@puppetserver1poc ~]# /etc/rc.d/init.d/nginx restart
Stopping nginx: [FAILED]
Starting nginx: [ OK ]
Starting puppetmaster:
Port: 18140 [ OK ]
Port: 18141 [ OK ]
Port: 18142 [ OK ]
6、通过日志查看运行状况
192.168.100.127 - - [25/Nov/2013:16:42:49 +0800] "POST /production/catalog/agent2.kisspuppet.com HTTP/1.1" 200 570 "-" "-"
192.168.100.127 - - [25/Nov/2013:16:42:52 +0800] "PUT /production/report/agent2.kisspuppet.com HTTP/1.1" 200 58 "-" "-"
192.168.100.126 - - [25/Nov/2013:16:42:54 +0800] "GET /production/file_metadatas/plugins?links=manage&checksum_type=md5&&ignore=---+%0A++-+%22.svn%22%0A++-+CVS%0A++-+%22.git%22&recurse=true HTTP/1.1" 404 56 "-" "-"
192.168.100.126 - - [25/Nov/2013:16:42:54 +0800] "GET /production/file_metadata/plugins? HTTP/1.1" 404 36 "-" "-"
192.168.100.126 - - [25/Nov/2013:16:42:55 +0800] "POST /production/catalog/agent1.kisspuppet.com HTTP/1.1" 200 570 "-" "-"
192.168.100.125 - - [25/Nov/2013:16:43:07 +0800] "GET