发布时间:2015-04-22 11:16:49
可能某些loadbalancer除了active/inactive(有的设备叫enable/disable)工作模式外,还有drain,初步看drain有点不明白,先看下这个单词的意思吧:drain |dre?n|verb [ with obj. ]1 cause the water or other liquid in (something) to run out, leaving it empty or dry: we drained the swimmi.........【阅读全文】
发布时间:2015-04-01 18:09:20
具体不解释了,在Docker上做测试,注释了一些没办法实现的功能如require/notify等。[root@localhost puppet]# tree modules/modules/└── apache ├── manifests │ └── init.pp └── templates └─.........【阅读全文】
发布时间:2015-04-01 17:41:52
# tree modules/foomodules/foo└── manifests └── init.ppclass foo ( $a = 'aaa', $b = 'bbb', $c = 'ccc',) { notify { "\na=${a}\nb=${b}\nc=${c} ": }}执行结果# puppet ap.........【阅读全文】
发布时间:2015-04-01 14:03:02
#!/bin/bashif [ $# -lt 1 ]; then echo "tomcat instance ID is required, e.g 01 02" echo "USAGE: $0 instanceID" exit 1fihost=`hostname`for id in $@do $jid =>process ID( PID) echo "saving jstack to tomcat inst.........【阅读全文】