Authored by tiexin.yang

同步本地search中心切换配置

... ... @@ -34,7 +34,9 @@ db_ufo_read: 172.31.10.175
java:
inner_lb: internal-java-inner-lb-464503140.cn-north-1.elb.amazonaws.com.cn.
single_inner_lb: 10.66.4.112
search_lb: internal-java-inner-lb-464503140.cn-north-1.elb.amazonaws.com.cn.
# search lb
search_lb: internal-java-inner-lb-464503140.cn-north-1.elb.amazonaws.com.cn.
# rsyslog server
rsyslog_server: 172.31.9.252
... ...
... ... @@ -33,7 +33,9 @@ db_ufo_read: 10.66.6.52
java:
inner_lb: 10.66.4.112
single_inner_lb: 10.66.4.112
search_lb: 10.66.4.112
# search lb
search_lb: 10.66.4.112
# rsyslog server
rsyslog_server: 10.66.0.36
... ...
... ... @@ -33,7 +33,9 @@ db_ufo_read: 10.66.6.52
java:
inner_lb: 10.66.104.6
single_inner_lb: 10.66.4.112
search_lb: 10.66.104.6
# search lb
search_lb: 10.66.104.6
# rsyslog server
rsyslog_server: 10.66.0.36
... ...
... ... @@ -13,8 +13,7 @@
private: no
pre_tasks:
- set_fact:
java:
search_lb: internal-java-inner-lb-464503140.cn-north-1.elb.amazonaws.com.cn.
search_lb: internal-java-inner-lb-464503140.cn-north-1.elb.amazonaws.com.cn.
when: (search_center == 'AWS')
- set_fact:
... ...
... ... @@ -117,7 +117,7 @@ uic IN {{ A if ( java.inner_lb |
api.yoho IN {{ A if ( java.inner_lb | ipv4) else CNAME }} {{ java.inner_lb }}
service.yoho IN {{ A if ( java.inner_lb | ipv4) else CNAME }} {{ java.inner_lb }}
erp.yoho IN {{ A if ( java.inner_lb | ipv4) else CNAME }} {{ java.inner_lb }}
search IN {{ A if ( java.search_lb | ipv4) else CNAME }} {{ java.search_lb }}
search IN {{ A if ( search_lb | ipv4) else CNAME }} {{ search_lb }}
message-controller IN {{ A if ( java.single_inner_lb | ipv4) else CNAME }} {{ java.single_inner_lb }}
single IN {{ A if ( java.single_inner_lb | ipv4) else CNAME }} {{ java.single_inner_lb }}
gateway.erp IN {{ A if ( java.single_inner_lb | ipv4) else CNAME }} {{ java.single_inner_lb }}
... ...