svn path=/trunk/packages/sipb-xen-remctl-auto/sipb-xen-remctl-auto/; revision=198
web lvremove /usr/sbin/sipb-xen-lvm /etc/remctl/acl/web
web lvrename /usr/sbin/sipb-xen-lvm /etc/remctl/acl/web
web lvresize /usr/sbin/sipb-xen-lvm /etc/remctl/acl/web
-web vmboot /usr/sbin/sipb-xen-boot /etc/remctl/acl/web
-web register /usr/sbin/remctl-update.sh /etc/remctl/acl/web
-web moveregister /usr/sbin/remctl-update.sh /etc/remctl/acl/web
-web unregister /usr/sbin/remctl-update.sh /etc/remctl/acl/web
-web remctl-moira-update /usr/sbin/remctl-update.sh /etc/remctl/acl/web
+web vmboot /usr/sbin/sipb-xen-vmcontrol /etc/remctl/acl/web
+web register /usr/sbin/sipb-xen-remctl-update /etc/remctl/acl/web
+web moveregister /usr/sbin/sipb-xen-remctl-update /etc/remctl/acl/web
+web unregister /usr/sbin/sipb-xen-remctl-update /etc/remctl/acl/web
+web remctl-moira-update /usr/sbin/sipb-xen-remctl-update /etc/remctl/acl/web
web listvms /usr/sbin/sipb-xen-listvms /etc/remctl/acl/web
This is Tim Abbott's initial draft at our automatic remctl
configuration.
-/usr/sbin/remctl-update.sh is the magic script. Run
+/usr/sbin/sipb-xen-remctl-update is the magic script. Run
it with "all" as an argument, and it will update everything.
The inputs to this system are as follows:
you simply need to create /etc/remctl/sipb-xen-auto/acl/MACHINENAME
and then run
-/usr/sbin/remctl-update.sh all
+/usr/sbin/sipb-xen-remctl-update all
Everything else is autogenerated from that information.
This package also includes a crontab to run
-/usr/sbin/remctl-update.sh all
+/usr/sbin/sipb-xen-remctl-update all
every 15 minutes or so to keep our Moira mapping up to date. One can
request an update of our Moira mapping for group X by running
-/usr/sbin/remctl-update.sh moiragroup X
+/usr/sbin/sipb-xen-remctl-update moiragroup X
The web interface should probably run this when it adds a group. We
may want to make this also available to users, but I've been lame.
This package includes a remctl interface available to anyone to invoke
the command:
-/usr/sbin/remctl-update.sh all
+/usr/sbin/sipb-xen-remctl-update all
using the following command from your favorite machine with remctl:
-create #MACHINENAME# #BINDIR#/dispatch.create.sh /etc/remctl/sipb-xen-auto/acl/#MACHINENAME#
-reboot #MACHINENAME# #BINDIR#/dispatch.reboot.sh /etc/remctl/sipb-xen-auto/acl/#MACHINENAME#
-destroy #MACHINENAME# #BINDIR#/dispatch.destroy.sh /etc/remctl/sipb-xen-auto/acl/#MACHINENAME#
-list #MACHINENAME# #BINDIR#/dispatch.list.sh /etc/remctl/sipb-xen-auto/acl/#MACHINENAME#
-shutdown #MACHINENAME# #BINDIR#/dispatch.shutdown.sh /etc/remctl/sipb-xen-auto/acl/#MACHINENAME#
-list-long #MACHINENAME# #BINDIR#/dispatch.list-long.sh /etc/remctl/sipb-xen-auto/acl/#MACHINENAME#
-vcpu-list #MACHINENAME# #BINDIR#/dispatch.vcpu-list.sh /etc/remctl/sipb-xen-auto/acl/#MACHINENAME#
-uptime #MACHINENAME# #BINDIR#/dispatch.uptime.sh /etc/remctl/sipb-xen-auto/acl/#MACHINENAME#
-vnc_get_port_auth #MACHINENAME# #BINDIR#/get_port /etc/remctl/acl/vnc
+control #MACHINENAME# #BINDIR#/sipb-xen-vmcontrol /etc/remctl/sipb-xen-auto/acl/#MACHINENAME#