blob: f7ce2740b1bdf4bc2b1cbcf31ef3741cd8abfa94 [file] [log] [blame]
./test/hs/hbal --print-nodes=name,pcnt -t $TESTDATA_DIR/hbal-migration-1.data
>>>2/Final cluster status:
Name pcnt
node-01 3
node-02 0
node-03 3
node-04 0/
>>>= 0
./test/hs/hbal --print-nodes=name,pcnt -t $TESTDATA_DIR/hbal-migration-2.data
>>>2/Final cluster status:
Name pcnt
node-01 2
node-02 2
node-03 2
node-04 0/
>>>= 0
./test/hs/hbal --print-nodes=name,pcnt -t $TESTDATA_DIR/hbal-migration-3.data
>>>2/Final cluster status:
Name pcnt
node-01 2
node-02 2
node-03 2
node-04 0/
>>>= 0
./test/hs/hbal --print-nodes=name,pcnt -t $TESTDATA_DIR/hbal-desiredlocation-1.data
>>>2/Final cluster status:
Name pcnt
node-01 0
node-02 1/
>>>= 0
./test/hs/hbal --print-nodes=name,pcnt -t $TESTDATA_DIR/hbal-desiredlocation-2.data
>>>2/Final cluster status:
Name pcnt
node-01 1
node-02 1
node-03 0/
>>>= 0
./test/hs/hbal --print-nodes=name,pcnt -t $TESTDATA_DIR/hbal-desiredlocation-3.data
>>>2/Final cluster status:
Name pcnt
node-01 0
node-02 0
node-03 1/
>>>= 0
./test/hs/hbal --print-nodes=name,pcnt -t $TESTDATA_DIR/hbal-desiredlocation-4.data
>>>2/Final cluster status:
Name pcnt
node-01 0
node-02 1/
>>>= 0
./test/hs/hbal -t $TESTDATA_DIR/hbal-location-1.data
>>>/Solution length=[1-9]/
>>>= 0
./test/hs/hbal --print-nodes=name,pcnt -t $TESTDATA_DIR/hbal-location-exclusion.data
>>>2/Final cluster status:
Name pcnt
node-1 0
node-2 1
node-3 1
node-4 0/
>>>= 0
./test/hs/hbal -t $TESTDATA_DIR/shared-n1-failure.data --ignore-dynu
>>>/Cluster is already well balanced/
>>>= 0
./test/hs/hbal -t $TESTDATA_DIR/shared-n1-failure.data --ignore-dynu -pname,pcnt -O nodeA
>>>2/Final cluster status:
Name pcnt
nodeA 0
nodeB 4
nodeC 2
nodeD 4/
>>>= 0
./test/hs/hbal -t $TESTDATA_DIR/shared-n1-failure.data --ignore-dynu -O nodeC
>>>/No solution found/
>>>= 0
./test/hs/hbal --print-nodes=name,pcnt -t $TESTDATA_DIR/hbal-location-2.data
>>>2/Final cluster status:
Name pcnt
node-01 1
node-02 0
node-03 1/
>>>= 0
./test/hs/hbal -t $TESTDATA_DIR/hbal-avoid-disk-moves.data --avoid-disk-moves=1.2
>>>/Solution length=1/
>>>= 0
./test/hs/hbal -t $TESTDATA_DIR/hbal-avoid-disk-moves.data --avoid-disk-moves=5
>>>/Solution length=2/
>>>= 0
./test/hs/hbal -t $TESTDATA_DIR/hbal-memory-over-commitment.data
>>>/No solution found/
>>>= 0
./test/hs/hbal -t $TESTDATA_DIR/hbal-memory-over-commitment-2.data
>>>/Solution length=1/
>>>= 0