Authored by chunhua.zhang

add

1 # inventory file for az2 1 # inventory file for az2
2 -# auto generated at 2019-04-26 11:09:00 2 +# auto generated at 2019-04-29 08:33:16
3 3
4 [nameservers] 4 [nameservers]
5 172.31.9.217 5 172.31.9.217
1 # inventory file for az1 1 # inventory file for az1
2 -# auto generated at 2019-04-26 11:09:00 2 +# auto generated at 2019-04-29 08:33:16
3 3
4 [nameservers] 4 [nameservers]
5 10.66.4.18 5 10.66.4.18
@@ -16,9 +16,6 @@ @@ -16,9 +16,6 @@
16 10.66.4.40 16 10.66.4.40
17 10.66.4.71 17 10.66.4.71
18 10.66.4.196 18 10.66.4.196
19 -10.66.4.190  
20 -10.66.4.30  
21 -10.66.4.138  
22 19
23 20
24 [cobar-server] 21 [cobar-server]
@@ -42,9 +39,6 @@ @@ -42,9 +39,6 @@
42 [java-brower] 39 [java-brower]
43 10.66.70.223 40 10.66.70.223
44 10.66.70.42 41 10.66.70.42
45 -10.66.70.44  
46 -10.66.70.190  
47 -10.66.70.196  
48 42
49 43
50 [java-crm] 44 [java-crm]
@@ -55,9 +49,6 @@ @@ -55,9 +49,6 @@
55 [java-erpgateway] 49 [java-erpgateway]
56 10.66.70.223 50 10.66.70.223
57 10.66.70.42 51 10.66.70.42
58 -10.66.70.44  
59 -10.66.70.190  
60 -10.66.70.196  
61 52
62 53
63 [java-extendstore] 54 [java-extendstore]
@@ -70,11 +61,6 @@ @@ -70,11 +61,6 @@
70 10.66.70.146 61 10.66.70.146
71 10.66.70.86 62 10.66.70.86
72 10.66.70.143 63 10.66.70.143
73 -10.66.70.134  
74 -10.66.70.202  
75 -10.66.70.185  
76 -10.66.70.205  
77 -10.66.70.243  
78 64
79 65
80 [java-inbox] 66 [java-inbox]
@@ -85,18 +71,11 @@ @@ -85,18 +71,11 @@
85 [java-message] 71 [java-message]
86 10.66.70.26 72 10.66.70.26
87 10.66.70.57 73 10.66.70.57
88 -10.66.70.144  
89 -10.66.70.33  
90 -10.66.70.36  
91 74
92 75
93 [java-order] 76 [java-order]
94 10.66.70.154 77 10.66.70.154
95 10.66.70.157 78 10.66.70.157
96 -10.66.70.30  
97 -10.66.70.218  
98 -10.66.70.39  
99 -10.66.70.95  
100 79
101 80
102 [java-platform-cms] 81 [java-platform-cms]
@@ -110,26 +89,16 @@ @@ -110,26 +89,16 @@
110 [java-product] 89 [java-product]
111 10.66.70.26 90 10.66.70.26
112 10.66.70.57 91 10.66.70.57
113 -10.66.70.144  
114 -10.66.70.33  
115 -10.66.70.36  
116 92
117 93
118 [java-promotion] 94 [java-promotion]
119 10.66.70.154 95 10.66.70.154
120 10.66.70.157 96 10.66.70.157
121 -10.66.70.30  
122 -10.66.70.218  
123 -10.66.70.39  
124 -10.66.70.95  
125 97
126 98
127 [java-resources] 99 [java-resources]
128 10.66.70.148 100 10.66.70.148
129 10.66.70.45 101 10.66.70.45
130 -10.66.70.153  
131 -10.66.70.13  
132 -10.66.70.172  
133 102
134 103
135 [java-risk] 104 [java-risk]
@@ -144,9 +113,6 @@ @@ -144,9 +113,6 @@
144 [java-sns] 113 [java-sns]
145 10.66.70.26 114 10.66.70.26
146 10.66.70.57 115 10.66.70.57
147 -10.66.70.144  
148 -10.66.70.33  
149 -10.66.70.36  
150 116
151 117
152 [java-social] 118 [java-social]
@@ -158,8 +124,6 @@ @@ -158,8 +124,6 @@
158 10.66.70.77 124 10.66.70.77
159 10.66.70.63 125 10.66.70.63
160 10.66.70.84 126 10.66.70.84
161 -10.66.70.120  
162 -10.66.70.217  
163 127
164 128
165 [java-ufo-platform] 129 [java-ufo-platform]
@@ -169,9 +133,6 @@ @@ -169,9 +133,6 @@
169 [java-uic] 133 [java-uic]
170 10.66.70.223 134 10.66.70.223
171 10.66.70.42 135 10.66.70.42
172 -10.66.70.44  
173 -10.66.70.190  
174 -10.66.70.196  
175 136
176 137
177 [java-union] 138 [java-union]
@@ -182,23 +143,14 @@ @@ -182,23 +143,14 @@
182 [java-users] 143 [java-users]
183 10.66.70.148 144 10.66.70.148
184 10.66.70.45 145 10.66.70.45
185 -10.66.70.153  
186 -10.66.70.13  
187 -10.66.70.172  
188 146
189 147
190 [java-wechat] 148 [java-wechat]
191 10.66.70.223 149 10.66.70.223
192 10.66.70.42 150 10.66.70.42
193 -10.66.70.44  
194 -10.66.70.190  
195 -10.66.70.196  
196 151
197 152
198 [search-service] 153 [search-service]
199 10.66.5.4 154 10.66.5.4
200 10.66.5.5 155 10.66.5.5
201 -10.66.70.83  
202 -10.66.70.151  
203 -10.66.70.130  
204 156
1 # remove micro service 1 # remove micro service
2 # run: ansible-playbook -i inventories/remove_az1.ini playbooks/java.remove_service.yml --extra-vars "service=erp-gateway" 2 # run: ansible-playbook -i inventories/remove_az1.ini playbooks/java.remove_service.yml --extra-vars "service=erp-gateway"
3 [order] 3 [order]
4 -10.66.70.41  
5 -10.66.70.170 4 +10.66.70.30
  5 +10.66.70.218
  6 +10.66.70.39
6 10.66.70.95 7 10.66.70.95
7 -  
8 8
9 [promotion] 9 [promotion]
10 -10.66.70.41  
11 -10.66.70.170 10 +10.66.70.30
  11 +10.66.70.218
  12 +10.66.70.39
12 10.66.70.95 13 10.66.70.95
13 14
14 [product] 15 [product]
15 -10.66.70.47  
16 -10.66.70.96  
17 - 16 +10.66.70.144
  17 +10.66.70.33
  18 +10.66.70.36
18 19
19 20
20 [message] 21 [message]
21 -10.66.70.47  
22 -10.66.70.96 22 +10.66.70.144
  23 +10.66.70.33
  24 +10.66.70.36
23 25
24 -  
25 -  
26 -  
27 [sns] 26 [sns]
28 -10.66.70.47  
29 -10.66.70.96  
30 - 27 +10.66.70.144
  28 +10.66.70.33
  29 +10.66.70.36
31 30
32 31
33 [users] 32 [users]
34 -10.66.70.9  
35 -10.66.70.128  
36 - 33 +10.66.70.172
  34 +10.66.70.153
  35 +10.66.70.13
37 36
38 [resources] 37 [resources]
39 10.66.70.9 38 10.66.70.9
40 10.66.70.128 39 10.66.70.128
41 40
42 [bigdata] 41 [bigdata]
43 -10.66.70.207  
44 -10.66.70.72 42 +
45 43
46 [activity] 44 [activity]
47 -10.66.70.207  
48 -10.66.70.72 45 +
49 46
50 [risk] 47 [risk]
51 -10.66.70.207  
52 -10.66.70.72 48 +
53 49
54 50
55 [uic] 51 [uic]
56 -10.66.70.64  
57 -10.66.70.75 52 +10.66.70.44
  53 +10.66.70.190
  54 +10.66.70.196
58 55
59 [brower] 56 [brower]
60 -10.66.70.64  
61 -10.66.70.75 57 +10.66.70.44
  58 +10.66.70.190
  59 +10.66.70.196
62 60
63 [wechat] 61 [wechat]
64 -10.66.70.64  
65 -10.66.70.75 62 +10.66.70.44
  63 +10.66.70.190
  64 +10.66.70.196
66 65
67 [erp-gateway] 66 [erp-gateway]
68 -10.66.70.64  
69 -10.66.70.75 67 +10.66.70.44
  68 +10.66.70.190
  69 +10.66.70.196
70 70
71 71
72 72
73 [union] 73 [union]
74 -10.66.70.60  
75 -10.66.70.220  
76 -10.66.70.120  
77 -10.66.70.13  
78 -10.66.70.90  
79 -10.66.70.164