Authored by Ling
  1 +
  2 +USER=$(whoami)
  3 +if [[ "$USER" != "test" ]];then
  4 + echo "ERROR:需切换到test用户!"
  5 + exit 1
  6 +fi
  7 +
  8 +if [[ $1 ]];then
  9 +cd $1
  10 +git reset --hard origin/master
  11 +git pull;
  12 +else
  13 +echo "未输入路径"
  14 +fi
  15 +
  1 +#!/bin/bash
  2 +
  3 +
  4 +USER=$(whoami)
  5 +if [[ "$USER" != "test" ]];then
  6 + echo "ERROR:需切换到test用户!"
  7 + exit 1
  8 +fi
  9 +
  10 +if [[ $1 ]];then
  11 +cd $1
  12 +git add .
  13 +git commit -m "auto push by shell"
  14 +git push
  15 +else
  16 +echo "未输入路径"
  17 +fi
@@ -14,115 +14,115 @@ file.saveDir=/home/test @@ -14,115 +14,115 @@ file.saveDir=/home/test
14 14
15 15
16 # cobar 16 # cobar
17 -jdbc.mysql.cobar.username=yh_test  
18 -jdbc.mysql.cobar.password=9nm0icOwt6bMHjMusIfMLw== 17 +jdbc.mysql.cobar.username=yh_vpc_bak
  18 +jdbc.mysql.cobar.password=t5/oMgwUCmO/GeMHBAQ2Cg==
19 19
20 jdbc.mysql.yhwechat.master=write.passport.yohoops.org:3306 20 jdbc.mysql.yhwechat.master=write.passport.yohoops.org:3306
21 jdbc.mysql.yhwechat.slave=write.passport.yohoops.org:3306 21 jdbc.mysql.yhwechat.slave=write.passport.yohoops.org:3306
22 -jdbc.mysql.yhwechat.username=yh_test  
23 -jdbc.mysql.yhwechat.password=9nm0icOwt6bMHjMusIfMLw== 22 +jdbc.mysql.yhwechat.username=yh_vpc_bak
  23 +jdbc.mysql.yhwechat.password=t5/oMgwUCmO/GeMHBAQ2Cg==
24 24
25 -jdbc.mysql.yhresource.username=yh_test  
26 -jdbc.mysql.yhresource.password=9nm0icOwt6bMHjMusIfMLw== 25 +jdbc.mysql.yhresource.username=yh_vpc_bak
  26 +jdbc.mysql.yhresource.password=t5/oMgwUCmO/GeMHBAQ2Cg==
27 27
28 - jdbc.mysql.yhshops.username=yh_test  
29 -jdbc.mysql.yhshops.password=9nm0icOwt6bMHjMusIfMLw== 28 + jdbc.mysql.yhshops.username=yh_vpc_bak
  29 +jdbc.mysql.yhshops.password=t5/oMgwUCmO/GeMHBAQ2Cg==
30 30
31 # yh_orders 31 # yh_orders
32 -jdbc.mysql.yhorders.username=yh_test  
33 -jdbc.mysql.yhorders.password=9nm0icOwt6bMHjMusIfMLw== 32 +jdbc.mysql.yhorders.username=yh_vpc_bak
  33 +jdbc.mysql.yhorders.password=t5/oMgwUCmO/GeMHBAQ2Cg==
34 34
35 # yhb_operations 35 # yhb_operations
36 -jdbc.mysql.yhboperations.username=yh_test  
37 -jdbc.mysql.yhboperations.password=9nm0icOwt6bMHjMusIfMLw== 36 +jdbc.mysql.yhboperations.username=yh_vpc_bak
  37 +jdbc.mysql.yhboperations.password=t5/oMgwUCmO/GeMHBAQ2Cg==
38 38
39 # yh_comment 39 # yh_comment
40 -jdbc.mysql.yhcomment.username=yh_test  
41 -jdbc.mysql.yhcomment.password=9nm0icOwt6bMHjMusIfMLw== 40 +jdbc.mysql.yhcomment.username=yh_vpc_bak
  41 +jdbc.mysql.yhcomment.password=t5/oMgwUCmO/GeMHBAQ2Cg==
42 42
43 #yhb_promotion 43 #yhb_promotion
44 -jdbc.mysql.yhbpromotion.username=yh_test  
45 -jdbc.mysql.yhbpromotion.password=9nm0icOwt6bMHjMusIfMLw== 44 +jdbc.mysql.yhbpromotion.username=yh_vpc_bak
  45 +jdbc.mysql.yhbpromotion.password=t5/oMgwUCmO/GeMHBAQ2Cg==
46 46
47 #yoho_sms配置读写分离 47 #yoho_sms配置读写分离
48 -jdbc.mysql.yohosms.username=yh_test  
49 -jdbc.mysql.yohosms.password=9nm0icOwt6bMHjMusIfMLw== 48 +jdbc.mysql.yohosms.username=yh_vpc_bak
  49 +jdbc.mysql.yohosms.password=t5/oMgwUCmO/GeMHBAQ2Cg==
50 50
51 #yh_inbox配置读写分离 51 #yh_inbox配置读写分离
52 -jdbc.mysql.yhinbox.username=yh_test  
53 -jdbc.mysql.yhinbox.password=9nm0icOwt6bMHjMusIfMLw== 52 +jdbc.mysql.yhinbox.username=yh_vpc_bak
  53 +jdbc.mysql.yhinbox.password=t5/oMgwUCmO/GeMHBAQ2Cg==
54 54
55 #yoho_logs配置读写分离, 暂时将表存在yoho_sms中 55 #yoho_logs配置读写分离, 暂时将表存在yoho_sms中
56 -jdbc.mysql.yohologs.username=yh_test  
57 -jdbc.mysql.yohologs.password=9nm0icOwt6bMHjMusIfMLw== 56 +jdbc.mysql.yohologs.username=yh_vpc_bak
  57 +jdbc.mysql.yohologs.password=t5/oMgwUCmO/GeMHBAQ2Cg==
58 58
59 #yoho_passport读写数据分离 59 #yoho_passport读写数据分离
60 -jdbc.mysql.yohopassport.username=yh_test  
61 -jdbc.mysql.yohopassport.password=9nm0icOwt6bMHjMusIfMLw== 60 +jdbc.mysql.yohopassport.username=yh_vpc_bak
  61 +jdbc.mysql.yohopassport.password=t5/oMgwUCmO/GeMHBAQ2Cg==
62 62
63 #yh_operations配置读写分离 63 #yh_operations配置读写分离
64 -jdbc.mysql.yhoperations.username=yh_test  
65 -jdbc.mysql.yhoperations.password=9nm0icOwt6bMHjMusIfMLw== 64 +jdbc.mysql.yhoperations.username=yh_vpc_bak
  65 +jdbc.mysql.yhoperations.password=t5/oMgwUCmO/GeMHBAQ2Cg==
66 66
67 #yh_passport读写分离 67 #yh_passport读写分离
68 -jdbc.mysql.yhpassport.username=yh_test  
69 -jdbc.mysql.yhpassport.password=9nm0icOwt6bMHjMusIfMLw== 68 +jdbc.mysql.yhpassport.username=yh_vpc_bak
  69 +jdbc.mysql.yhpassport.password=t5/oMgwUCmO/GeMHBAQ2Cg==
70 70
71 #yh_setting读写分离 71 #yh_setting读写分离
72 -jdbc.mysql.yhsetting.username=yh_test  
73 -jdbc.mysql.yhsetting.password=9nm0icOwt6bMHjMusIfMLw== 72 +jdbc.mysql.yhsetting.username=yh_vpc_bak
  73 +jdbc.mysql.yhsetting.password=t5/oMgwUCmO/GeMHBAQ2Cg==
74 74
75 #yh_pay 75 #yh_pay
76 -jdbc.mysql.pay.username=yh_test  
77 -jdbc.mysql.pay.password=9nm0icOwt6bMHjMusIfMLw== 76 +jdbc.mysql.pay.username=yh_vpc_bak
  77 +jdbc.mysql.pay.password=t5/oMgwUCmO/GeMHBAQ2Cg==
78 78
79 #event 79 #event
80 -jdbc.mysql.yhevents.username=yh_test  
81 -jdbc.mysql.yhevents.password=9nm0icOwt6bMHjMusIfMLw== 80 +jdbc.mysql.yhevents.username=yh_vpc_bak
  81 +jdbc.mysql.yhevents.password=t5/oMgwUCmO/GeMHBAQ2Cg==
82 82
83 83
84 #event 84 #event
85 -jdbc.mysql.yhcoupons.username=yh_test  
86 -jdbc.mysql.yhcoupons.password=9nm0icOwt6bMHjMusIfMLw== 85 +jdbc.mysql.yhcoupons.username=yh_vpc_bak
  86 +jdbc.mysql.yhcoupons.password=t5/oMgwUCmO/GeMHBAQ2Cg==
87 87
88 #yh_consult 88 #yh_consult
89 -jdbc.mysql.yhconsult.username=yh_test  
90 -jdbc.mysql.yhconsult.password=9nm0icOwt6bMHjMusIfMLw== 89 +jdbc.mysql.yhconsult.username=yh_vpc_bak
  90 +jdbc.mysql.yhconsult.password=t5/oMgwUCmO/GeMHBAQ2Cg==
91 91
92 #unions 92 #unions
93 -jdbc.mysql.unions.username=yh_test  
94 -jdbc.mysql.unions.password=9nm0icOwt6bMHjMusIfMLw== 93 +jdbc.mysql.unions.username=yh_vpc_bak
  94 +jdbc.mysql.unions.password=t5/oMgwUCmO/GeMHBAQ2Cg==
95 95
96 #model 96 #model
97 -jdbc.mysql.yohopushcenter.username=yh_test  
98 -jdbc.mysql.yohopushcenter.password=9nm0icOwt6bMHjMusIfMLw== 97 +jdbc.mysql.yohopushcenter.username=yh_vpc_bak
  98 +jdbc.mysql.yohopushcenter.password=t5/oMgwUCmO/GeMHBAQ2Cg==
99 99
100 -jdbc.mysql.yhpush.username=yh_test  
101 -jdbc.mysql.yhpush.password=9nm0icOwt6bMHjMusIfMLw== 100 +jdbc.mysql.yhpush.username=yh_vpc_bak
  101 +jdbc.mysql.yhpush.password=t5/oMgwUCmO/GeMHBAQ2Cg==
102 102
103 #yoho-activity 103 #yoho-activity
104 -jdbc.mysql.yohoactivity.username=yh_test  
105 -jdbc.mysql.yohoactivity.password=9nm0icOwt6bMHjMusIfMLw== 104 +jdbc.mysql.yohoactivity.username=yh_vpc_bak
  105 +jdbc.mysql.yohoactivity.password=t5/oMgwUCmO/GeMHBAQ2Cg==
106 106
107 #yh_guang 107 #yh_guang
108 -jdbc.mysql.yhguang.username=yh_test  
109 -jdbc.mysql.yhguang.password=9nm0icOwt6bMHjMusIfMLw== 108 +jdbc.mysql.yhguang.username=yh_vpc_bak
  109 +jdbc.mysql.yhguang.password=t5/oMgwUCmO/GeMHBAQ2Cg==
110 110
111 #yhspecial 111 #yhspecial
112 -jdbc.mysql.yhspecial.username=yh_test  
113 -jdbc.mysql.yhspecial.password=9nm0icOwt6bMHjMusIfMLw== 112 +jdbc.mysql.yhspecial.username=yh_vpc_bak
  113 +jdbc.mysql.yhspecial.password=t5/oMgwUCmO/GeMHBAQ2Cg==
114 114
115 #yohood 115 #yohood
116 -jdbc.mysql.yohood.username=yh_test  
117 -jdbc.mysql.yohood.password=9nm0icOwt6bMHjMusIfMLw== 116 +jdbc.mysql.yohood.username=yh_vpc_bak
  117 +jdbc.mysql.yohood.password=t5/oMgwUCmO/GeMHBAQ2Cg==
118 118
119 #yohocrm 119 #yohocrm
120 -jdbc.mysql.yohocrm.username=yh_test  
121 -jdbc.mysql.yohocrm.password=9nm0icOwt6bMHjMusIfMLw== 120 +jdbc.mysql.yohocrm.username=yh_vpc_bak
  121 +jdbc.mysql.yohocrm.password=t5/oMgwUCmO/GeMHBAQ2Cg==
122 122
123 #erppassport 123 #erppassport
124 -jdbc.mysql.erppassport.username=yh_test  
125 -jdbc.mysql.erppassport.password=9nm0icOwt6bMHjMusIfMLw== 124 +jdbc.mysql.erppassport.username=yh_vpc_bak
  125 +jdbc.mysql.erppassport.password=t5/oMgwUCmO/GeMHBAQ2Cg==
126 # ================ 126 # ================
127 127
128 # yh_orders db split cobar的地址 128 # yh_orders db split cobar的地址
@@ -130,11 +130,11 @@ jdbc.mysql.yhorderssplit.master=cobar1.yohoops.org:8066 @@ -130,11 +130,11 @@ jdbc.mysql.yhorderssplit.master=cobar1.yohoops.org:8066
130 jdbc.mysql.yhorderssplit.slave=cobar2.yohoops.org:8066 130 jdbc.mysql.yhorderssplit.slave=cobar2.yohoops.org:8066
131 jdbc.mysql.yhorderssplit.slave2=cobar1.yohoops.org:8066 131 jdbc.mysql.yhorderssplit.slave2=cobar1.yohoops.org:8066
132 jdbc.mysql.yhorderssplit.slave3=cobar2.yohoops.org:8066 132 jdbc.mysql.yhorderssplit.slave3=cobar2.yohoops.org:8066
133 -jdbc.mysql.yhorderssplit.username=yh_test  
134 -jdbc.mysql.yhorderssplit.password=9nm0icOwt6bMHjMusIfMLw== 133 +jdbc.mysql.yhorderssplit.username=yh_vpc_bak
  134 +jdbc.mysql.yhorderssplit.password=t5/oMgwUCmO/GeMHBAQ2Cg==
135 135
136 -jdbc.mysql.yhresource.master=write.cms.yohoops.org:3306  
137 -jdbc.mysql.yhresource.slave=read.cms.yohoops.org:3306 136 +jdbc.mysql.yhresource.master=write.cms.yohoops.org:3307
  137 +jdbc.mysql.yhresource.slave=read.cms.yohoops.org:3307
138 138
139 jdbc.mysql.yhshops.master=write.shops.yohoops.org:3306 139 jdbc.mysql.yhshops.master=write.shops.yohoops.org:3306
140 jdbc.mysql.yhshops.slave=read.shops.yohoops.org:3306 140 jdbc.mysql.yhshops.slave=read.shops.yohoops.org:3306
@@ -144,20 +144,20 @@ jdbc.mysql.yhbpromotionsplit.master=cobar1.yohoops.org:8066 @@ -144,20 +144,20 @@ jdbc.mysql.yhbpromotionsplit.master=cobar1.yohoops.org:8066
144 jdbc.mysql.yhbpromotionsplit.slave=cobar2.yohoops.org:8066 144 jdbc.mysql.yhbpromotionsplit.slave=cobar2.yohoops.org:8066
145 jdbc.mysql.yhbpromotionsplit.slave2=cobar1.yohoops.org:8066 145 jdbc.mysql.yhbpromotionsplit.slave2=cobar1.yohoops.org:8066
146 jdbc.mysql.yhbpromotionsplit.slave3=cobar2.yohoops.org:8066 146 jdbc.mysql.yhbpromotionsplit.slave3=cobar2.yohoops.org:8066
147 -jdbc.mysql.yhbpromotionsplit.username=yh_test  
148 -jdbc.mysql.yhbpromotionsplit.password=9nm0icOwt6bMHjMusIfMLw== 147 +jdbc.mysql.yhbpromotionsplit.username=yh_vpc_bak
  148 +jdbc.mysql.yhbpromotionsplit.password=t5/oMgwUCmO/GeMHBAQ2Cg==
149 149
150 # yh_orders 150 # yh_orders
151 jdbc.mysql.yhorders.master=write.orders.yohoops.org:3307 151 jdbc.mysql.yhorders.master=write.orders.yohoops.org:3307
152 jdbc.mysql.yhorders.slave=read.orders.yohoops.org:3307 152 jdbc.mysql.yhorders.slave=read.orders.yohoops.org:3307
153 153
154 # yhb_operations 154 # yhb_operations
155 -jdbc.mysql.yhboperations.master=write.cms.yohoops.org:3306  
156 -jdbc.mysql.yhboperations.slave=read.cms.yohoops.org:3306 155 +jdbc.mysql.yhboperations.master=write.cms.yohoops.org:3307
  156 +jdbc.mysql.yhboperations.slave=read.cms.yohoops.org:3307
157 157
158 # yh_comment 158 # yh_comment
159 -jdbc.mysql.yhcomment.master=write.cms.yohoops.org:3306  
160 -jdbc.mysql.yhcomment.slave=read.cms.yohoops.org:3306 159 +jdbc.mysql.yhcomment.master=write.cms.yohoops.org:3307
  160 +jdbc.mysql.yhcomment.slave=read.cms.yohoops.org:3307
161 161
162 #yhb_promotion 162 #yhb_promotion
163 jdbc.mysql.yhbpromotion.master=write.orders.yohoops.org:3307 163 jdbc.mysql.yhbpromotion.master=write.orders.yohoops.org:3307
@@ -179,36 +179,36 @@ jdbc.mysql.yohopassport.master=write.passport.yohoops.org:3306 @@ -179,36 +179,36 @@ jdbc.mysql.yohopassport.master=write.passport.yohoops.org:3306
179 jdbc.mysql.yohopassport.slave=read.passport.yohoops.org:3306 179 jdbc.mysql.yohopassport.slave=read.passport.yohoops.org:3306
180 180
181 #yh_operations配置读写分离 181 #yh_operations配置读写分离
182 -jdbc.mysql.yhoperations.master=write.cms.yohoops.org:3306  
183 -jdbc.mysql.yhoperations.slave=read.cms.yohoops.org:3306 182 +jdbc.mysql.yhoperations.master=write.cms.yohoops.org:3307
  183 +jdbc.mysql.yhoperations.slave=read.cms.yohoops.org:3307
184 184
185 #yh_passport读写分离 185 #yh_passport读写分离
186 jdbc.mysql.yhpassport.master=write.passport.yohoops.org:3306 186 jdbc.mysql.yhpassport.master=write.passport.yohoops.org:3306
187 jdbc.mysql.yhpassport.slave=read.passport.yohoops.org:3306 187 jdbc.mysql.yhpassport.slave=read.passport.yohoops.org:3306
188 188
189 #yh_setting读写分离 189 #yh_setting读写分离
190 -jdbc.mysql.yhsetting.master=write.cms.yohoops.org:3306  
191 -jdbc.mysql.yhsetting.slave=read.cms.yohoops.org:3306 190 +jdbc.mysql.yhsetting.master=write.cms.yohoops.org:3307
  191 +jdbc.mysql.yhsetting.slave=read.cms.yohoops.org:3307
192 192
193 #yh_pay 193 #yh_pay
194 jdbc.mysql.pay.master=write.orders.yohoops.org:3307 194 jdbc.mysql.pay.master=write.orders.yohoops.org:3307
195 jdbc.mysql.pay.slave=read.orders.yohoops.org:3307 195 jdbc.mysql.pay.slave=read.orders.yohoops.org:3307
196 196
197 #event 197 #event
198 -jdbc.mysql.yhevents.master=write.cms.yohoops.org:3306  
199 -jdbc.mysql.yhevents.slave=read.cms.yohoops.org:3306 198 +jdbc.mysql.yhevents.master=write.cms.yohoops.org:3307
  199 +jdbc.mysql.yhevents.slave=read.cms.yohoops.org:3307
200 200
201 #event 201 #event
202 jdbc.mysql.yhcoupons.master=write.orders.yohoops.org:3307 202 jdbc.mysql.yhcoupons.master=write.orders.yohoops.org:3307
203 jdbc.mysql.yhcoupons.slave=read.orders.yohoops.org:3307 203 jdbc.mysql.yhcoupons.slave=read.orders.yohoops.org:3307
204 204
205 #yh_consult 205 #yh_consult
206 -jdbc.mysql.yhconsult.master=write.cms.yohoops.org:3306  
207 -jdbc.mysql.yhconsult.slave=read.cms.yohoops.org:3306 206 +jdbc.mysql.yhconsult.master=write.cms.yohoops.org:3307
  207 +jdbc.mysql.yhconsult.slave=read.cms.yohoops.org:3307
208 208
209 #unions 209 #unions
210 -jdbc.mysql.unions.master=write.cms.yohoops.org:3306  
211 -jdbc.mysql.unions.slave=read.cms.yohoops.org:3306 210 +jdbc.mysql.unions.master=write.cms.yohoops.org:3307
  211 +jdbc.mysql.unions.slave=read.cms.yohoops.org:3307
212 212
213 #push center 213 #push center
214 jdbc.mysql.yohopushcenter.master=write.passport.yohoops.org:3306 214 jdbc.mysql.yohopushcenter.master=write.passport.yohoops.org:3306
@@ -223,20 +223,20 @@ jdbc.mysql.yohoactivity.master=write.passport.yohoops.org:3306 @@ -223,20 +223,20 @@ jdbc.mysql.yohoactivity.master=write.passport.yohoops.org:3306
223 jdbc.mysql.yohoactivity.slave=read.passport.yohoops.org:3306 223 jdbc.mysql.yohoactivity.slave=read.passport.yohoops.org:3306
224 224
225 #yh_guang 225 #yh_guang
226 -jdbc.mysql.yhguang.master=write.cms.yohoops.org:3306  
227 -jdbc.mysql.yhguang.slave=read.cms.yohoops.org:3306 226 +jdbc.mysql.yhguang.master=write.cms.yohoops.org:3307
  227 +jdbc.mysql.yhguang.slave=read.cms.yohoops.org:3307
228 228
229 #yh_special 229 #yh_special
230 -jdbc.mysql.yhspecial.master=write.cms.yohoops.org:3306  
231 -jdbc.mysql.yhspecial.slave=read.cms.yohoops.org:3306 230 +jdbc.mysql.yhspecial.master=write.cms.yohoops.org:3307
  231 +jdbc.mysql.yhspecial.slave=read.cms.yohoops.org:3307
232 232
233 #yh_special 233 #yh_special
234 -jdbc.mysql.yhspecial.master=write.cms.yohoops.org:3306  
235 -jdbc.mysql.yhspecial.slave=read.cms.yohoops.org:3306 234 +jdbc.mysql.yhspecial.master=write.cms.yohoops.org:3307
  235 +jdbc.mysql.yhspecial.slave=read.cms.yohoops.org:3307
236 236
237 #yohood 237 #yohood
238 -jdbc.mysql.yohood.master=write.yohood.yohoops.org:3306  
239 -jdbc.mysql.yohood.slave=read.yohood.yohoops.org:3306 238 +jdbc.mysql.yohood.master=write.yohood.yohoops.org:3307
  239 +jdbc.mysql.yohood.slave=read.yohood.yohoops.org:3307
240 240
241 #yohocrm 241 #yohocrm
242 jdbc.mysql.yohocrm.master=write.passport.yohoops.org:3306 242 jdbc.mysql.yohocrm.master=write.passport.yohoops.org:3306
@@ -249,39 +249,39 @@ jdbc.mysql.erppassport.slave=write.erp.yohoops.org:3306 @@ -249,39 +249,39 @@ jdbc.mysql.erppassport.slave=write.erp.yohoops.org:3306
249 249
250 #erp_supplier 250 #erp_supplier
251 jdbc.mysql.platform.erp_supplier.master = write.erp.yohoops.org:3306 251 jdbc.mysql.platform.erp_supplier.master = write.erp.yohoops.org:3306
252 -jdbc.mysql.platform.erp_supplier.password = 9nm0icOwt6bMHjMusIfMLw==  
253 -jdbc.mysql.platform.erp_supplier.slave = read1.erp.yohoops.org:3306  
254 -jdbc.mysql.platform.erp_supplier.username = yh_test 252 +jdbc.mysql.platform.erp_supplier.password = t5/oMgwUCmO/GeMHBAQ2Cg==
  253 +jdbc.mysql.platform.erp_supplier.slave = read.erp.yohoops.org:3306
  254 +jdbc.mysql.platform.erp_supplier.username = yh_vpc_bak
255 #yohobuy_task 255 #yohobuy_task
256 jdbc.mysql.kisjob.datasources=yh_distributed_task 256 jdbc.mysql.kisjob.datasources=yh_distributed_task
257 -jdbc.mysql.kisjob.master=write.cms.yohoops.org:3306  
258 -jdbc.mysql.kisjob.slave=read.cms.yohoops.org:3306 257 +jdbc.mysql.kisjob.master=write.cms.yohoops.org:3307
  258 +jdbc.mysql.kisjob.slave=read.cms.yohoops.org:3307
259 259
260 260
261 #yhcommunity 261 #yhcommunity
262 jdbc.mysql.yhcommunity.master=write.uic.yohoops.org:3306 262 jdbc.mysql.yhcommunity.master=write.uic.yohoops.org:3306
263 jdbc.mysql.yhcommunity.slave=read.uic.yohoops.org:3306 263 jdbc.mysql.yhcommunity.slave=read.uic.yohoops.org:3306
264 -jdbc.mysql.yhcommunity.username=yh_test  
265 -jdbc.mysql.yhcommunity.password=9nm0icOwt6bMHjMusIfMLw== 264 +jdbc.mysql.yhcommunity.username=yh_vpc_bak
  265 +jdbc.mysql.yhcommunity.password=t5/oMgwUCmO/GeMHBAQ2Cg==
266 266
267 267
268 #yh social 268 #yh social
269 -jdbc.mysql.yhsocial.master=write.social.yohoops.org:3306  
270 -jdbc.mysql.yhsocial.slave=read.social.yohoops.org:3306  
271 -jdbc.mysql.yhsocial.username=yh_test  
272 -jdbc.mysql.yhsocial.password=9nm0icOwt6bMHjMusIfMLw== 269 +jdbc.mysql.yhsocial.master=write.social.yohoops.org:3308
  270 +jdbc.mysql.yhsocial.slave=read.social.yohoops.org:3308
  271 +jdbc.mysql.yhsocial.username=yh_vpc_bak
  272 +jdbc.mysql.yhsocial.password=t5/oMgwUCmO/GeMHBAQ2Cg==
273 273
274 #yh_cms 274 #yh_cms
275 -jdbc.mysql.yh_cms.master=write.cms.yohoops.org:3306  
276 -jdbc.mysql.yh_cms.slave=read.cms.yohoops.org:3306  
277 -jdbc.mysql.yh_cms.username=yh_test  
278 -jdbc.mysql.yh_cms.password=9nm0icOwt6bMHjMusIfMLw== 275 +jdbc.mysql.yh_cms.master=write.cms.yohoops.org:3307
  276 +jdbc.mysql.yh_cms.slave=read.cms.yohoops.org:3307
  277 +jdbc.mysql.yh_cms.username=yh_vpc_bak
  278 +jdbc.mysql.yh_cms.password=t5/oMgwUCmO/GeMHBAQ2Cg==
279 279
280 #yhlottery 280 #yhlottery
281 -jdbc.mysql.yhlottery.master=192.168.103.36:3306  
282 -jdbc.mysql.yhlottery.slave=192.168.103.36:3306  
283 -jdbc.mysql.yhlottery.username=yh_test  
284 -jdbc.mysql.yhlottery.password=9nm0icOwt6bMHjMusIfMLw== 281 +jdbc.mysql.yhlottery.master=write.yhlottery.yohoops.org:3307
  282 +jdbc.mysql.yhlottery.slave=read.yhlottery.yohoops.org:3307
  283 +jdbc.mysql.yhlottery.username=yh_vpc_bak
  284 +jdbc.mysql.yhlottery.password=t5/oMgwUCmO/GeMHBAQ2Cg==
285 285
286 readOnlyInSlave=false 286 readOnlyInSlave=false
287 287
@@ -293,8 +293,8 @@ mongo.inbox.port = 27017 @@ -293,8 +293,8 @@ mongo.inbox.port = 27017
293 293
294 #search-db 294 #search-db
295 jdbc.mysql.yhbsearch.datasources=yhb_search 295 jdbc.mysql.yhbsearch.datasources=yhb_search
296 -jdbc.mysql.yhbsearch.master=192.168.103.83:3306  
297 -jdbc.mysql.yhbsearch.slave=192.168.103.83:3306 296 +jdbc.mysql.yhbsearch.master=write.yhsearch.yohoops.org:3307
  297 +jdbc.mysql.yhbsearch.slave=read.yhsearch.yohoops.org:3307
298 jdbc.mysql.yhbsearch.username=yh_vpc_bak 298 jdbc.mysql.yhbsearch.username=yh_vpc_bak
299 jdbc.mysql.yhbsearch.password=t5/oMgwUCmO/GeMHBAQ2Cg== 299 jdbc.mysql.yhbsearch.password=t5/oMgwUCmO/GeMHBAQ2Cg==
300 300
@@ -306,7 +306,7 @@ search.index.refresh_interval = 10s @@ -306,7 +306,7 @@ search.index.refresh_interval = 10s
306 search.index.translog.flush_threshold_ops = 5000 306 search.index.translog.flush_threshold_ops = 5000
307 307
308 # search-mq 308 # search-mq
309 -search.mq.server=192.168.102.209 309 +search.mq.server=rabbitmq-common.yohoops.org
310 search.mq.port=5672 310 search.mq.port=5672
311 search.mq.username=admin1 311 search.mq.username=admin1
312 search.mq.password=123qwe 312 search.mq.password=123qwe
@@ -318,19 +318,19 @@ jdbc.mysql.yohopassport.onlyslave=read.passport.yohoops.org:3306 @@ -318,19 +318,19 @@ jdbc.mysql.yohopassport.onlyslave=read.passport.yohoops.org:3306
318 jdbc.mysql.yhpassport.onlyslave=read.passport.yohoops.org:3306 318 jdbc.mysql.yhpassport.onlyslave=read.passport.yohoops.org:3306
319 jdbc.mysql.yhshops.onlyslave=read.passport.yohoops.org:3306 319 jdbc.mysql.yhshops.onlyslave=read.passport.yohoops.org:3306
320 jdbc.mysql.yhoperations.onlyslave=read.passport.yohoops.org:3306 320 jdbc.mysql.yhoperations.onlyslave=read.passport.yohoops.org:3306
321 -jdbc.mysql.yh.username=yh_test  
322 -jdbc.mysql.yh.password=9nm0icOwt6bMHjMusIfMLw== 321 +jdbc.mysql.yh.username=yh_vpc_bak
  322 +jdbc.mysql.yh.password=t5/oMgwUCmO/GeMHBAQ2Cg==
323 323
324 ##### **************************************** common properties ****************************************************** 324 ##### **************************************** common properties ******************************************************
325 325
326 326
327 327
328 -cache.servers.gateway.level1.address = mem01.l1.yohoops.org:21211 328 +cache.servers.gateway.level1.address = mem01.l1.yohoops.org:12111,mem02.l1.yohoops.org:12111,mem03.l1.yohoops.org:12111,mem04.l1.yohoops.org:12111
329 cache.servers.gateway.level1.expire = 1800 329 cache.servers.gateway.level1.expire = 1800
330 -cache.servers.gateway.level2.address = mem01.l2.yohoops.org:21211 330 +cache.servers.gateway.level2.address = mem01.l2.yohoops.org:12112,mem02.l2.yohoops.org:12112,mem03.l2.yohoops.org:12112,mem04.l2.yohoops.org:12112
331 cache.servers.gateway.level2.expire = 43200 331 cache.servers.gateway.level2.expire = 43200
332 332
333 -cache.servers.union.address = memcache.union.yohoops.org:11211 333 +cache.servers.union.address = memcache.union.yohoops.org:12111
334 334
335 ip.port.search.server = search.yohoops.org:8080 335 ip.port.search.server = search.yohoops.org:8080
336 336
@@ -344,46 +344,46 @@ yoho.service.domain.url=http://service-test4.yohops.com:9999 @@ -344,46 +344,46 @@ yoho.service.domain.url=http://service-test4.yohops.com:9999
344 # old redis 344 # old redis
345 redis.proxy.address = write.redis.yohoops.org 345 redis.proxy.address = write.redis.yohoops.org
346 redis.proxy.auth = 346 redis.proxy.auth =
347 -redis.proxy.port = 6379 347 +redis.proxy.port = 63790
348 348
349 redis.readonly.proxy.address = read.redis.yohoops.org 349 redis.readonly.proxy.address = read.redis.yohoops.org
350 redis.readonly.proxy.auth = 350 redis.readonly.proxy.auth =
351 -redis.readonly.proxy.port = 6379 351 +redis.readonly.proxy.port = 63790
352 352
353 -redis.notsync.twemproxy.addresses = redis-no-sync-1.yohoops.org:6379 353 +redis.notsync.twemproxy.addresses = redis-no-sync-1.yohoops.org:63790,redis-no-sync-2.yohoops.org:63790,redis-no-sync-3.yohoops.org:63790,redis-no-sync-4.yohoops.org:63790
354 redis.notsync.twemproxy.auth= 354 redis.notsync.twemproxy.auth=
355 355
356 # union redis 356 # union redis
357 redis.union.address = classic.union-redis.yohoops.org 357 redis.union.address = classic.union-redis.yohoops.org
358 redis.union.auth = 358 redis.union.auth =
359 -redis.union.port = 6379 359 +redis.union.port = 63790
360 360
361 # outter big data redis 361 # outter big data redis
362 bigDataRedis.proxy.address=bigdata.redis.yohoops.org 362 bigDataRedis.proxy.address=bigdata.redis.yohoops.org
363 -bigDataRedis.proxy.port=6379 363 +bigDataRedis.proxy.port=63790
364 bigDataRedis.proxy.auth= 364 bigDataRedis.proxy.auth=
365 365
366 # outter big data redis push 366 # outter big data redis push
367 bigDataRedis-push.proxy.address=bigdata.redis.push.yohoops.org 367 bigDataRedis-push.proxy.address=bigdata.redis.push.yohoops.org
368 -bigDataRedis-push.proxy.port=6379 368 +bigDataRedis-push.proxy.port=63790
369 bigDataRedis-push.proxy.auth= 369 bigDataRedis-push.proxy.auth=
370 370
371 -redis.union.proxy.address=huodong.write.yohoops.org  
372 -redis.union.proxy.port=6379 371 +redis.union.proxy.address=union.write.yohoops.org
  372 +redis.union.proxy.port=63790
373 redis.union.proxy.auth= 373 redis.union.proxy.auth=
374 374
375 -redis.union.readonly.proxy.address=huodong.read.yohoops.org  
376 -redis.union.readonly.proxy.port=6379 375 +redis.union.readonly.proxy.address=union.read.yohoops.org
  376 +redis.union.readonly.proxy.port=63790
377 redis.union.readonly.proxy.auth= 377 redis.union.readonly.proxy.auth=
378 378
379 # search-redis 379 # search-redis
380 redis.search.proxy.address=127.0.0.1 380 redis.search.proxy.address=127.0.0.1
381 -redis.search.proxy.port=16379 381 +redis.search.proxy.port=163790
382 redis.search.proxy.auth= 382 redis.search.proxy.auth=
383 383
384 #bigDataRedis-search 384 #bigDataRedis-search
385 bigDataRedis-search.proxy.address=bigdata.redis.yohoops.org 385 bigDataRedis-search.proxy.address=bigdata.redis.yohoops.org
386 -bigDataRedis-search.proxy.port= 6379 386 +bigDataRedis-search.proxy.port= 63790
387 bigDataRedis-search.proxy.auth= 387 bigDataRedis-search.proxy.auth=
388 388
389 ## rabbitmq configure 389 ## rabbitmq configure
@@ -419,16 +419,22 @@ rabbit_message_center_user = yoho @@ -419,16 +419,22 @@ rabbit_message_center_user = yoho
419 rabbit_message_center_password = yoho 419 rabbit_message_center_password = yoho
420 rabbit_message_center_vhost = yoho 420 rabbit_message_center_vhost = yoho
421 421
  422 +
  423 +rabbit_union=rabbitmq-common.yohoops.org:5672
  424 +rabbit_union_user=yoho
  425 +rabbit_union_password=yoho
  426 +rabbit_union_vhost=yoho
  427 +
422 crf.service.url=https://osprec-ci.crfchina.com 428 crf.service.url=https://osprec-ci.crfchina.com
423 429
424 gateway.domain.url = http://api.yoho.cn 430 gateway.domain.url = http://api.yoho.cn
425 Gateway_URL=http://gateway.yohoops.org:8080/gateway 431 Gateway_URL=http://gateway.yohoops.org:8080/gateway
426 yoho.message.controller.url=http://message-controller.yohoops.org:8087/yoho-message-controller 432 yoho.message.controller.url=http://message-controller.yohoops.org:8087/yoho-message-controller
427 433
428 -zkAddress=192.168.102.216:2181 434 +zkAddress=zk01.yohoops.org:2181,zk02.yohoops.org:2181,zk03.yohoops.org:2181,zk04.yohoops.org:2181,zk05.yohoops.org:2181
429 435
430 # change to order.run-host.yohoops.org later 436 # change to order.run-host.yohoops.org later
431 -order.task.host=192.168.103.55 437 +order.task.host=192.168.104.20
432 438
433 APP_KEY = 1392109259 439 APP_KEY = 1392109259
434 APP_SECRET = 1e87e46f115cc813e27ef52eb9915f1e 440 APP_SECRET = 1e87e46f115cc813e27ef52eb9915f1e
@@ -436,22 +442,22 @@ UUC_DOMAIN = http://passport.test.yoho.cn @@ -436,22 +442,22 @@ UUC_DOMAIN = http://passport.test.yoho.cn
436 442
437 #从qcloud拷贝而来 443 #从qcloud拷贝而来
438 redis.brower.proxy.address = redis-brower.yohoops.org 444 redis.brower.proxy.address = redis-brower.yohoops.org
439 -redis.brower.proxy.port = 6379 445 +redis.brower.proxy.port = 63790
440 redis.brower.proxy.auth = 446 redis.brower.proxy.auth =
441 447
442 redis.brower.readonly.proxy.address = redis-brower.yohoops.org 448 redis.brower.readonly.proxy.address = redis-brower.yohoops.org
443 -redis.brower.readonly.proxy.port = 6379 449 +redis.brower.readonly.proxy.port = 63790
444 redis.brower.readonly.proxy.auth = 450 redis.brower.readonly.proxy.auth =
445 451
446 452
447 #single cloud not sync redis 453 #single cloud not sync redis
448 single.cloud.redis.proxy.address=redis-no-sync-1.yohoops.org 454 single.cloud.redis.proxy.address=redis-no-sync-1.yohoops.org
449 -single.cloud.redis.proxy.port=6379 455 +single.cloud.redis.proxy.port=63790
450 single.cloud.redis.proxy.auth= 456 single.cloud.redis.proxy.auth=
451 457
452 #single cloud not sync redis 458 #single cloud not sync redis
453 single.cloud.redis.readonly.proxy.address=redis-no-sync-1.yohoops.org 459 single.cloud.redis.readonly.proxy.address=redis-no-sync-1.yohoops.org
454 -single.cloud.redis.readonly.proxy.port=6379 460 +single.cloud.redis.readonly.proxy.port=63790
455 single.cloud.redis.readonly.proxy.auth= 461 single.cloud.redis.readonly.proxy.auth=
456 462
457 463
@@ -478,20 +484,20 @@ package.ticket.more.couponid=13268 @@ -478,20 +484,20 @@ package.ticket.more.couponid=13268
478 484
479 default.http.type = http 485 default.http.type = http
480 486
481 -erp.shop.web.url=http://192.168.103.82:9098 487 +erp.shop.web.url=http://192.168.104.44:9098
482 488
483 #yoho-message配置读写分离 489 #yoho-message配置读写分离
484 -jdbc.mysql.yhmessage.master=192.168.103.84:3306  
485 -jdbc.mysql.yhmessage.slave=192.168.103.84:3306  
486 -jdbc.mysql.yhmessage.username=yh_test  
487 -jdbc.mysql.yhmessage.password=9nm0icOwt6bMHjMusIfMLw== 490 +jdbc.mysql.yhmessage.master=write.message.yohoops.org:3306
  491 +jdbc.mysql.yhmessage.slave=read.message.yohoops.org:3306
  492 +jdbc.mysql.yhmessage.username=yh_vpc_bak
  493 +jdbc.mysql.yhmessage.password=t5/oMgwUCmO/GeMHBAQ2Cg==
488 494
489 -jdbc.mysql.platform.erp_orders.slave=192.1681.103.84 495 +jdbc.mysql.platform.erp_orders.slave=read.orders.yohoops.org:3307
490 496
491 #erp-orders配置读写分离 497 #erp-orders配置读写分离
492 jdbc.mysql.platform.erp_orders.master=write.orders.yohoops.org:3307 498 jdbc.mysql.platform.erp_orders.master=write.orders.yohoops.org:3307
493 jdbc.mysql.platform.erp_orders.slave=read.orders.yohoops.org:3307 499 jdbc.mysql.platform.erp_orders.slave=read.orders.yohoops.org:3307
494 -jdbc.mysql.platform.erp_orders.username=yh_test  
495 -jdbc.mysql.platform.erp_orders.password=9nm0icOwt6bMHjMusIfMLw== 500 +jdbc.mysql.platform.erp_orders.username=yh_vpc_bak
  501 +jdbc.mysql.platform.erp_orders.password=t5/oMgwUCmO/GeMHBAQ2Cg==
496 502
497 503
@@ -22,15 +22,13 @@ yoho.bigData.env.namespace = bigdata @@ -22,15 +22,13 @@ yoho.bigData.env.namespace = bigdata
22 yoho.bigData.env.serverport = 1 22 yoho.bigData.env.serverport = 1
23 yoho.bigData.env.webapphome = /home/test/yohoJavaApp/yohobuy-bigdata/deploy/target 23 yoho.bigData.env.webapphome = /home/test/yohoJavaApp/yohobuy-bigdata/deploy/target
24 24
25 -jdbc.mysql.bigdata.master=192.168.103.36:3306 25 +jdbc.mysql.bigdata.master=read.bigdata.yohoops.org:3306
26 jdbc.mysql.bigdata.username=yh_test 26 jdbc.mysql.bigdata.username=yh_test
27 #yoho@7Y$^YpNb7hp 27 #yoho@7Y$^YpNb7hp
28 jdbc.mysql.bigdata.password=9nm0icOwt6bMHjMusIfMLw== 28 jdbc.mysql.bigdata.password=9nm0icOwt6bMHjMusIfMLw==
29 29
30 bigdata.database.cluster.name = test 30 bigdata.database.cluster.name = test
31 31
32 -#bigDataRedis.proxy.address=test-bigdata-redis-1903805580.cn-north-1.elb.amazonaws.com.cn  
33 -#bigDataRedis.proxy.address=192.168.102.56  
34 32
35 bigDataRedis.proxy.address=123.206.17.17 33 bigDataRedis.proxy.address=123.206.17.17
36 bigDataRedis.proxy.port=16379 34 bigDataRedis.proxy.port=16379