Open asias opened 3 hours ago
Well we might be able to support dummy DCs
But it's a bit different to configure.
@vponomaryov
Can you point to the configuration dummy DC is used ?
So we can create such example for docker backend ?
SCT has a feature to run simulated
regions and racks
:
n_db_nodes: '3 3'
n_loaders: '1 1'
simulated_regions: 2
simulated_racks: 3 # not required, if not specified, then single "rack" will be used
Above will create 6 DB nodes: dc1-rack1
, dc1-rack2
, dc1-rack3
, dc2-rack1
, dc2-rack2
and dc2-rack3
.
And 2 loaders - 1 per each simulated DC. Meaning load will use preferred dc
.
I haven't tried it on docker. And I think no one have done it so far. So, there may be some obstacle at first attempt, but I don't expect some complex problems.
SCT has a feature to run
simulated
regions andracks
:n_db_nodes: '3 3' n_loaders: '1 1' simulated_regions: 2 simulated_racks: 3 # not required, if not specified, then single "rack" will be used
Above will create 6 DB nodes:
dc1-rack1
,dc1-rack2
,dc1-rack3
,dc2-rack1
,dc2-rack2
anddc2-rack3
. And 2 loaders - 1 per each simulated DC. Meaning load will usepreferred dc
.I haven't tried it on docker. And I think no one have done it so far. So, there may be some obstacle at first attempt, but I don't expect some complex problems.
there might one that I can think of, the way we configure docker backed, it spins right up, and we can pass along the rack/dc info, we need to mount it into place, and I don't think we have this option yet.
It is useful to support multiple dc test for developing sct test that runs multiple dc on aws.