query generated smart files
[gnt-info] / gnt-instance-drbd-watch.sh
1 #!/bin/sh -xe
2
3 instance=$1
4
5 test -z "$instance" && echo "Usage: $0 instance" && exit 1
6
7 node=`gnt-instance list --no-headers -o pnode $instance`
8
9 ssh $node /srv/gnt-info/drbd-watch.sh