Changeset 121


Ignore:
Timestamp:
Oct 7, 2007, 5:46:55 PM (17 years ago)
Author:
tabbott
Message:

Move things around and add web interface support code.

Location:
trunk/packages/sipb-xen-remctl-auto/sipb-xen-remctl-auto
Files:
13 added
2 deleted
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/sipb-xen-remctl-auto/sipb-xen-remctl-auto/debian/changelog

    r63 r121  
     1sipb-xen-remctl-auto (1.0.2) unstable; urgency=low
     2
     3  * Added web interface support code.
     4  * Move things from /etc/remctl/sipb-xen-auto/bin to /usr/sbin
     5  * Quoted lots of variables
     6
     7 -- Tim Abbott <tabbott@sipb-xen-dev.mit.edu>  Sun,  7 Oct 2007 17:23:40 -0400
     8
    19sipb-xen-remctl-auto (1.0.1) unstable; urgency=low
    210
  • trunk/packages/sipb-xen-remctl-auto/sipb-xen-remctl-auto/files/etc/cron.d/sipb-xen-remctl-auto

    r32 r121  
    33PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
    44MAILTO=root
     5UPDATE=/usr/sbin/remctl-update.sh
    56
    6 @reboot         root    if [ -x /etc/remctl/sipb-xen-auto/remctl-update.sh ]; then nice -n10 /etc/remctl/sipb-xen-auto/remctl-update.sh all; fi
    7 * * * * */15       root    if [ -x /etc/remctl/sipb-xen-auto/remctl-update.sh ]; then nice -n10 /etc/remctl/sipb-xen-auto/remctl-update.sh all; fi
     7@reboot         root    if [ -x "$UPDATE" ]; then nice -n10 "$UPDATE" all; fi
     8* * * * */15       root    if [ -x "$UPDATE" ]; then nice -n10 "$UPDATE" all; fi
    89
    910# EOF
  • trunk/packages/sipb-xen-remctl-auto/sipb-xen-remctl-auto/files/etc/remctl/conf.d/sipb-xen-auto

    r32 r121  
    11include /etc/remctl/sipb-xen-auto/machine.d
    2 remctl-auto-update all /etc/remctl/sipb-xen-auto/remctl-update.sh ANYUSER
  • trunk/packages/sipb-xen-remctl-auto/sipb-xen-remctl-auto/files/etc/remctl/sipb-xen-auto/README

    r32 r121  
    22configuration.
    33
    4 /etc/remctl/sipb-xen-auto/remctl-update.sh is the magic script.  Run
     4/usr/sbin/remctl-update.sh is the magic script.  Run
    55it with "all" as an argument, and it will update everything.
    66
     
    1919and then run
    2020
    21 /etc/remctl/sipb-xen-auto/remctl-update.sh all
     21/usr/sbin/remctl-update.sh all
    2222
    2323Everything else is autogenerated from that information.
     
    4242This package also includes a crontab to run
    4343
    44 /etc/remctl/sipb-xen-auto/remctl-update.sh all
     44/usr/sbin/remctl-update.sh all
    4545
    4646every 15 minutes or so to keep our Moira mapping up to date.  One can
    4747request an update of our Moira mapping for group X by running
    4848
    49 /etc/remctl/sipb-xen-auto/remctl-update.sh moiragroup X
     49/usr/sbin/remctl-update.sh moiragroup X
    5050
    5151The web interface should probably run this when it adds a group.  We
     
    5555the command:
    5656
    57 /etc/remctl/sipb-xen-auto/remctl-update.sh all
     57/usr/sbin/remctl-update.sh all
    5858
    5959using the following command from your favorite machine with remctl:
  • trunk/packages/sipb-xen-remctl-auto/sipb-xen-remctl-auto/files/etc/remctl/sipb-xen-auto/conf.template

    r32 r121  
    33destroy #MACHINENAME# #BINDIR#/dispatch.destroy.sh /etc/remctl/sipb-xen-auto/acl/#MACHINENAME#
    44list #MACHINENAME# #BINDIR#/dispatch.list.sh /etc/remctl/sipb-xen-auto/acl/#MACHINENAME#
     5list-long #MACHINENAME# #BINDIR#/dispatch.list-long.sh /etc/remctl/sipb-xen-auto/acl/#MACHINENAME#
    56vcpu-list #MACHINENAME# #BINDIR#/dispatch.vcpu-list.sh /etc/remctl/sipb-xen-auto/acl/#MACHINENAME#
    67uptime #MACHINENAME# #BINDIR#/dispatch.uptime.sh /etc/remctl/sipb-xen-auto/acl/#MACHINENAME#
     8vnc_get_port_auth #MACHINENAME# #BINDIR#/get_port /etc/remctl/acl/vnc
Note: See TracChangeset for help on using the changeset viewer.