Commit ee63f1d1 authored by Klaus Aehlig's avatar Klaus Aehlig

Add an example for node evacuation

The configuration shows an unbalanced cluster with
a node being drained. The natural evacuation strategy
includes frf-moves.
Signed-off-by: default avatarKlaus Aehlig <aehlig@google.com>
Reviewed-by: default avatarHrvoje Ribicic <riba@google.com>
parent 59ab1599
......@@ -1229,6 +1229,7 @@ TEST_FILES = \
test/data/htools/hail-node-evac.json \
test/data/htools/hail-reloc-drbd.json \
test/data/htools/hbal-dyn.data \
test/data/htools/hbal-evac.data \
test/data/htools/hbal-excl-tags.data \
test/data/htools/hbal-split-insts.data \
test/data/htools/hspace-tiered-dualspec-exclusive.data \
......@@ -1258,6 +1259,7 @@ TEST_FILES = \
test/hs/shelltests/htools-dynutil.test \
test/hs/shelltests/htools-excl.test \
test/hs/shelltests/htools-hail.test \
test/hs/shelltests/htools-hbal-evac.test \
test/hs/shelltests/htools-hroller.test \
test/hs/shelltests/htools-hspace.test \
test/hs/shelltests/htools-invalid.test \
......
group-01|fake-uuid-01|preferred||
node-E|4000|0|2000|6000|3000|32|Y|fake-uuid-01|4
node-1|4000|0|3000|6000|4000|32|N|fake-uuid-01|4
node-2|4000|0|3000|6000|1000|32|N|fake-uuid-01|4
node-3|4000|0|2000|6000|2000|32|N|fake-uuid-01|4
inst-p1|1000|1000|1|running|Y|node-E|node-1|drbd||1
inst-p2|1000|1000|1|running|Y|node-E|node-3|drbd||1
inst-s1|1000|1000|1|running|Y|node-2|node-E|drbd||1
inst-12|1000|1000|1|running|Y|node-1|node-2|drbd||1
inst-32a|1000|1000|1|running|Y|node-3|node-2|drbd||1
inst-32b|1000|1000|1|running|Y|node-3|node-2|drbd||1
|128,1,1024,1,1,1|128,1,1024,1,1,1;32768,8,1048576,16,8,12|diskless,file,sharedfile,plain,blockdev,drbd,rbd,ext|4.0|32.0
group-01|128,1,1024,1,1,1|128,1,1024,1,1,1;32768,8,1048576,16,8,12|diskless,file,sharedfile,plain,blockdev,drbd,rbd,ext|4.0|32.0
./test/hs/hbal -t $TESTDATA_DIR/hbal-evac.data
>>>/inst-32. node-3:node-2 => node-2:node-1.*
(.|
)*Solution length=4/
>>>= 0
./test/hs/hbal --evac-mode -t $TESTDATA_DIR/hbal-evac.data
>>>/a=f r:node-1 f
(.|
)*Solution length=3/
>>>= 0
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment