Authored by qinchao

双中心切换去掉redis

... ... @@ -94,8 +94,8 @@
===》
<button class="btn btn-large" id="switch_mysql-btn">mysql</button>
===》
<button class="btn btn-large" id="switch_redis-btn">redis(目标DC)</button>
===》
<%-- <button class="btn btn-large" id="switch_redis-btn">redis(目标DC)</button>
===》--%>
<button class="btn btn-large" id="switch_internel_dns-btn">内部DNS(目标DC)</button>
===》
<button class="btn btn-large" id="switch_cobar-btn">cobar(目标DC)</button>
... ... @@ -106,8 +106,8 @@
===》
<button class="btn btn-large" id="java-btn">java重启(目标DC)</button>
===》
<button class="btn btn-large" id="switch_redis_next-btn">redis(源DC)</button>
===》
<%--<button class="btn btn-large" id="switch_redis_next-btn">redis(源DC)</button>
===》--%>
<button class="btn btn-large" id="switch_internel_dns_next-btn">内部DNS(源DC)</button>
===》
<button class="btn btn-large" id="switch_cobar_next-btn">cobar(源DC)</button>
... ... @@ -190,13 +190,13 @@
var array_next = new Array();
$(document).ready(function () {
array.push("switch_mysql");
array.push("switch_redis");
//array.push("switch_redis");
array.push("switch_internel_dns");
array.push("switch_cobar");
array.push("switch_lua");
array.push("switch_dnspod");
array_next.push("switch_redis_next");
//array_next.push("switch_redis_next");
array_next.push("switch_internel_dns_next");
array_next.push("switch_cobar_next");
});
... ... @@ -205,7 +205,7 @@
function toDoExeWithMysql(toCloud){
array.splice(0,array.length);//清空数组
array.push("switch_mysql");
array.push("switch_redis");
//array.push("switch_redis");
array.push("switch_internel_dns");
array.push("switch_cobar");
array.push("switch_lua");
... ...