...
|
...
|
@@ -122,11 +122,11 @@ bigdata.redis.push.aws IN A 10.67.3.135 |
|
|
bigdata.redis.push IN A 10.67.3.135
|
|
|
redis.nginx IN A 10.66.4.80
|
|
|
redis.global IN A 10.66.4.161
|
|
|
redis.java IN A 10.66.4.161
|
|
|
redis.gateway IN A 10.66.4.200
|
|
|
redis.java IN A {{ redis.java }}
|
|
|
redis.gateway IN A {{ redis.gateway }}
|
|
|
redis.bigdata IN A 10.66.4.156
|
|
|
redis.web IN A 10.66.105.49
|
|
|
search.redis IN A 10.66.4.249
|
|
|
search.redis IN A {{ redis.search }}
|
|
|
redis.push IN A 10.66.5.182
|
|
|
bigdata.rtrec.redis IN A 10.67.1.139
|
|
|
web.redis IN A 10.66.1.192
|
...
|
...
|
@@ -136,12 +136,12 @@ union.redis IN A 10.66.4.127 |
|
|
|
|
|
|
|
|
;hosts
|
|
|
gateway IN A 10.66.0.4
|
|
|
zk01 IN A 10.66.4.3
|
|
|
zk02 IN A 10.66.4.4
|
|
|
zk03 IN A 10.66.4.5
|
|
|
zk04 IN A 10.66.4.8
|
|
|
zk05 IN A 10.66.4.9
|
|
|
gateway IN A {{ groups['java-gateway'][0] }}
|
|
|
zk01 IN A {{ groups['zookeeper'][0] }}
|
|
|
zk02 IN A {% if groups['zookeeper'] | length > 1 %} {{ groups['zookeeper'][1] }} {% else %} {{ groups['zookeeper'][0] }}{% endif %}
|
|
|
zk03 IN A {% if groups['zookeeper'] | length > 2 %} {{ groups['zookeeper'][2] }} {% else %} {{ groups['zookeeper'][0] }}{% endif %}
|
|
|
zk04 IN A {% if groups['zookeeper'] | length > 3 %} {{ groups['zookeeper'][3] }} {% else %} {{ groups['zookeeper'][0] }}{% endif %}
|
|
|
zk05 IN A {% if groups['zookeeper'] | length > 4 %} {{ groups['zookeeper'][4] }} {% else %} {{ groups['zookeeper'][0] }}{% endif %}
|
|
|
|
|
|
;java rabbitmq
|
|
|
rabbit.order.dc1 IN A 10.66.4.234
|
...
|
...
|
|