Closed 1468ca0b-2a64-4fb4-8e52-ea5806644b4c closed 5 years ago
Created by: andriytk
Show comma-separated list of cluster nodes
Well... :)
Created by: vvv
The primary motive for adding h0 hosts
was to simplify pdsh
calls.
pdsh -w $(h0 hosts) ... # assuming ~/.m0-cluster.yaml exists
(I thought about adding h0 pdsh
, but decided not to go that far.)
Created by: vvv
I mean, ugh!
😃
Created by: vvv
No, thanks. :)
Created by: andriytk
Why not nodes
?
Created by: chumakd
alternative formatting:
for exe in dix/utils/m0dixinit \
mero/m0d \
utils/mkfs/m0mkfs \
utils/trace/m0traced \
utils/trace/m0tracedump
do
$M0_SRC_DIR/$exe -h &>/dev/null || true
done
Created by: vvv
hosts
command. Usage examples: