Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1070148
  • 博文数量: 186
  • 博客积分: 4939
  • 博客等级: 上校
  • 技术积分: 2075
  • 用 户 组: 普通用户
  • 注册时间: 2010-04-08 17:15
文章分类

全部博文(186)

文章存档

2018年(1)

2017年(3)

2016年(11)

2015年(42)

2014年(21)

2013年(9)

2012年(18)

2011年(46)

2010年(35)

发布时间: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.........【阅读全文】

阅读(1145) | 评论(0) | 转发(0)

发布时间:2015-04-01 18:09:20

具体不解释了,在Docker上做测试,注释了一些没办法实现的功能如require/notify等。[root@localhost puppet]# tree modules/modules/└── apache    ├── manifests    │   └── init.pp    └── templates        └─.........【阅读全文】

阅读(865) | 评论(0) | 转发(0)

发布时间: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.........【阅读全文】

阅读(1142) | 评论(0) | 转发(0)

发布时间: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.........【阅读全文】

阅读(1020) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册