mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
ccf4d78e04
- use -n to specify node number in ctdb utility - change 'ctdb status' to 'ctdb statistics' - added 'ctdb status' which shows status - added netmask to public IPs, so you don't try a takeover on a foreign network - cleaned up tools/ctdb_control.c a lot - generate usage message at runtime (This used to be ctdb commit 28de71c03ace7d32a9fd9882fabbd5d668b97656)
10 lines
200 B
Bash
Executable File
10 lines
200 B
Bash
Executable File
#!/bin/sh
|
|
|
|
CTDB="./bin/ctdb"
|
|
export CTDB
|
|
|
|
$CTDB status | egrep "^vnn:" | sed -e "s/^vnn://" -e "s/ .*$//" | while read NODE; do
|
|
xterm -geometry 30x25 -e "watch -n1 \"$CTDB -n $NODE status\"" &
|
|
done
|
|
|