Authored by qinchao

双中心切换不需要redis切换了

@@ -97,8 +97,8 @@ @@ -97,8 +97,8 @@
97 ===》 97 ===》
98 <button class="btn btn-large" id="switch_mysql-btn">mysql</button> 98 <button class="btn btn-large" id="switch_mysql-btn">mysql</button>
99 ===》 99 ===》
100 - <button class="btn btn-large" id="switch_redis-btn">redis(目标DC)</button>  
101 - ===》 100 + <%--<button class="btn btn-large" id="switch_redis-btn">redis(目标DC)</button>
  101 + ===》--%>
102 <button class="btn btn-large" id="switch_internel_dns-btn">内部DNS(目标DC)</button> 102 <button class="btn btn-large" id="switch_internel_dns-btn">内部DNS(目标DC)</button>
103 ===》 103 ===》
104 <button class="btn btn-large" id="switch_cobar-btn">cobar(目标DC)</button> 104 <button class="btn btn-large" id="switch_cobar-btn">cobar(目标DC)</button>
@@ -109,8 +109,8 @@ @@ -109,8 +109,8 @@
109 ===》 109 ===》
110 <button class="btn btn-large" id="java-btn">java重启(目标DC)</button> 110 <button class="btn btn-large" id="java-btn">java重启(目标DC)</button>
111 ===》 111 ===》
112 - <button class="btn btn-large" id="switch_redis_next-btn">redis(源DC)</button>  
113 - ===》 112 + <%-- <button class="btn btn-large" id="switch_redis_next-btn">redis(源DC)</button>
  113 + ===》--%>
114 <button class="btn btn-large" id="switch_internel_dns_next-btn">内部DNS(源DC)</button> 114 <button class="btn btn-large" id="switch_internel_dns_next-btn">内部DNS(源DC)</button>
115 ===》 115 ===》
116 <button class="btn btn-large" id="switch_cobar_next-btn">cobar(源DC)</button> 116 <button class="btn btn-large" id="switch_cobar_next-btn">cobar(源DC)</button>
@@ -193,22 +193,23 @@ @@ -193,22 +193,23 @@
193 var array_next = new Array(); 193 var array_next = new Array();
194 $(document).ready(function () { 194 $(document).ready(function () {
195 array.push("switch_mysql"); 195 array.push("switch_mysql");
196 - array.push("switch_redis"); 196 + //array.push("switch_redis");
197 array.push("switch_internel_dns"); 197 array.push("switch_internel_dns");
198 array.push("switch_cobar"); 198 array.push("switch_cobar");
199 array.push("switch_lua"); 199 array.push("switch_lua");
200 array.push("switch_dnspod"); 200 array.push("switch_dnspod");
201 201
202 - array_next.push("switch_redis_next"); 202 + //array_next.push("switch_redis_next");
203 array_next.push("switch_internel_dns_next"); 203 array_next.push("switch_internel_dns_next");
204 array_next.push("switch_cobar_next"); 204 array_next.push("switch_cobar_next");
205 }); 205 });
206 206
207 //执行切换 207 //执行切换
  208 + /*
208 function toDoExe(toCloud) { 209 function toDoExe(toCloud) {
209 array.splice(0,array.length);//清空数组 210 array.splice(0,array.length);//清空数组
210 //array.push("switch_mysql"); 211 //array.push("switch_mysql");
211 - array.push("switch_redis"); 212 + //array.push("switch_redis");
212 array.push("switch_internel_dns"); 213 array.push("switch_internel_dns");
213 array.push("switch_cobar"); 214 array.push("switch_cobar");
214 array.push("switch_lua"); 215 array.push("switch_lua");
@@ -237,11 +238,12 @@ @@ -237,11 +238,12 @@
237 } 238 }
238 }); 239 });
239 } 240 }
  241 + */
240 242
241 function toDoExeWithMysql(toCloud){ 243 function toDoExeWithMysql(toCloud){
242 array.splice(0,array.length);//清空数组 244 array.splice(0,array.length);//清空数组
243 array.push("switch_mysql"); 245 array.push("switch_mysql");
244 - array.push("switch_redis"); 246 + //array.push("switch_redis");
245 array.push("switch_internel_dns"); 247 array.push("switch_internel_dns");
246 array.push("switch_cobar"); 248 array.push("switch_cobar");
247 array.push("switch_lua"); 249 array.push("switch_lua");