Commit c08adae5 authored by 白秀江's avatar 白秀江

更新project-deploy.sh

parent a7f0b8e7
......@@ -37,14 +37,13 @@ function check() {
#
# $1 方法名 暂停机器
# $2 ip
# $3 虚拟主机组
# $4 weight 权重
# $1 ip
# $2 虚拟主机组
# $3 weight 权重
#
function weight() {
echo "http://172.17.255.136:8084/api/deploy/slb/controlSLB?ipStrList=$2&vGroupId=$3&weight=$4"
curl http://172.17.255.136:8084/api/deploy/slb/controlSLB?ipStrList=$2&vGroupId=$3&weight=$4
echo "http://172.17.255.136:8084/api/deploy/slb/controlSLB?ipStrList=$1&vGroupId=$2&weight=$3"
curl http://172.17.255.136:8084/api/deploy/slb/controlSLB?ipStrList=$1&vGroupId=$2&weight=$3
exit 1
}
......
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