Commit 72bb4b91 authored by 白秀江's avatar 白秀江

更新project-deploy.sh

parent 19fa3ae3
......@@ -38,16 +38,18 @@ function check() {
#
# $1 方法名 恢复机器
# $2 项目目录
# $2 ip
#
function resume() {
curl -v http://172.17.173.227:28089/api/deploy/slb/controlSLB?ipStrList=$2&vGroupId=rsp-2zepb30byclb8&weight=100
return;
}
#
# $1 方法名 暂停机器
# $2 项目目录
# $2 ip
#
function pause() {
curl -v http://172.17.173.227:28089/api/deploy/slb/controlSLB?ipStrList=$2&vGroupId=rsp-2zepb30byclb8&weight=0
return;
}
if [ $1 -z ]; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment