2 # sipb-xen-remote TYPE SERVICE [ARGS...]
4 # We carry out the remctl command proxied to us by the remote-control server.
12 # $SERVICE is hostname
13 COMMAND=/usr/sbin/sipb-xen-vmcontrol
17 lvcreate|lvremove|lvrename|lvresize)
18 COMMAND=/usr/sbin/sipb-xen-lvm
21 COMMAND=/usr/sbin/sipb-xen-lvcopy
24 COMMAND=/usr/sbin/sipb-xen-vmcontrol
27 COMMAND=/usr/sbin/sipb-xen-install
29 register|moveregister|unregister|remctl-moira-update)
30 COMMAND=/usr/sbin/sipb-xen-remctl-update
33 COMMAND=/usr/sbin/sipb-xen-listvms
39 echo "ERROR: invalid subcommand"
45 echo "ERROR: invalid command"
50 #echo $COMMAND "$SERVICE" "$@"
51 $COMMAND "$SERVICE" "$@"