我们的业务系统都是JAVA开发的,新功能或者系统的升级都要等到深夜用户量少了时来做,更新的过程就是停止业务应用程序,更新jar包,然后再启动,每周都要有一次左右的升级操作,搞得人很疲惫,puppet能否智能的实现此功能,从而让我在白天也可以不停服务、平滑的升级?如果puppet不能实现此功能那么有没有其他的好的解决方案?
摘要:puppet是目前十分流行的自动化运维的工具,今年一月,VMware对puppet的出品方puppet Labs投资3000万美元,并成为其最大的投资方。VMware此番动作将会对puppet带来哪些影响,运维工程师们该如何在puppet、Chef和其它软件之中作出选择? 【CSDN报道】今年一月底,VMware宣布对 puppet Labs投资3000万美元,此前, VMware还参与了对puppet Labs的850万美元的C轮投资。puppet Labs其他投资方还包括True Ventures、思科、Google ...
[code][root@clent opt]# cat lgh.sh #!/bin/bash mkdir aabv [root@clent opt]# ll 总计 4 -rw-r--r-- 1 root root 23 04-18 18:11 lgh.sh [root@clent opt]# puppetd --test --server master.com notice: Ignoring --listen on onetime run info: Caching catalog for clent.com info: Applying configuration version '1366280041' notice: /Stage[main]//Exec[exec-mkdir123]/returns: executed successfully notice: Finishe...
puppet为什么要使用虚拟资源。一直没有搞清楚,例如我现在有两台主机,node27节点要添加tomcat用户,node28用户要添加nagios用户。 我这样表示不可以了: node 'node28.puppet.com' { include user::nagios } node 'node27puppet.com' { include user::tomcat } user文件: [root@node25 manifests]# ll 总计 16 -rw-r--r-- 1 puppet puppet 89 08-02 10:01 init.pp -rw-r--r-- 1 puppet puppet 296 08-22 11:11...
本帖最后由 liu-shaobo 于 2012-08-08 17:11 编辑 写的一个nginx、mysql、php 批量安装的模块,大家可以参考一下,欢迎指正 目录如下: |-- mysql | |-- files | | `-- my.cnf | |-- manifests | | |-- config.pp | | |-- init.pp | | |-- install.pp | | `-- service.pp | `-- templates |-- nginx | |-- files | | |-- fcgi.conf | | `-- nginx.conf | |-- manifests | | |-- c...
由于客户机比较多,想把puppet做成集群,但是好像实现起来遇到很多麻烦 启用mongrel模式,nginx和puppet只能放在同一台机器上是可行的,分开了就有问题了 有什么样的方案可以让puppet可以做成集群?
本帖最后由 kofpet 于 2014-08-06 16:23 编辑 环境: centos 5.7 64位 内核:2.6.39 内存:8G CPU:E5620 puppet version:2.7.25 通过使用puppet来管理节点服务器,在服务器上开启了四个puppetmasterd进程服务,但是老是过一段时间就报内存溢出,需要重启puppetmasterd才能解决。 有遇到这样情况的大神吗?
我写了一个pp文件 file1.pp 内容为 file {'/tmp/1': ensure => directory } file {'/tmp/1/1.txt': content => 'this is 1.txt file' } file {'/tmp/1/2.txt': content => 'this is 2.txt file' } file {'/tmp/1': ensure => absent, force => true } 然后,执行puppet apply file1.pp 报错:提示/tmp/1重复定义 求解决?