#D2Sphere DB Setup
new DB connection setup
- device-server will write into DB so no loadbalanceing only fallback
- d2sphere-admin will read only from DB so loadbalanceing is ok
stage
ds:
url: jdbc:mysql://10.21.31.2,10.21.31.4,10.21.31.3/ds_stage
admin:
url: jdbc:mysql:loadbalance://10.21.31.2,10.21.31.3,10.21.31.4/ds_stage
live
ds:
url: jdbc:mysql://10.21.31.2,10.21.31.4,10.21.31.3/ds_live
admin:
url: jdbc:mysql:loadbalance://10.21.31.2,10.21.31.3,10.21.31.4/ds_live
eval
ds:
url: jdbc:mysql://10.21.31.4,10.21.31.2,10.21.31.3/ds_beta
admin:
url: jdbc:mysql:loadbalance://10.21.31.2,10.21.31.3,10.21.31.4/ds_beta
custom
ds:
url: jdbc:mysql://10.21.31.4,10.21.31.2,10.21.31.3/ds_custom
admin:
url: jdbc:mysql:loadbalance://10.21.31.2,10.21.31.3,10.21.31.4/ds_custom