Changeset 121
- Timestamp:
- Oct 7, 2007, 5:46:55 PM (17 years ago)
- 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 1 sipb-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 1 9 sipb-xen-remctl-auto (1.0.1) unstable; urgency=low 2 10 -
trunk/packages/sipb-xen-remctl-auto/sipb-xen-remctl-auto/files/etc/cron.d/sipb-xen-remctl-auto
r32 r121 3 3 PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin 4 4 MAILTO=root 5 UPDATE=/usr/sbin/remctl-update.sh 5 6 6 @reboot root if [ -x /etc/remctl/sipb-xen-auto/remctl-update.sh ]; then nice -n10 /etc/remctl/sipb-xen-auto/remctl-update.shall; fi7 * * * * */15 root if [ -x /etc/remctl/sipb-xen-auto/remctl-update.sh ]; then nice -n10 /etc/remctl/sipb-xen-auto/remctl-update.shall; fi7 @reboot root if [ -x "$UPDATE" ]; then nice -n10 "$UPDATE" all; fi 8 * * * * */15 root if [ -x "$UPDATE" ]; then nice -n10 "$UPDATE" all; fi 8 9 9 10 # EOF -
trunk/packages/sipb-xen-remctl-auto/sipb-xen-remctl-auto/files/etc/remctl/conf.d/sipb-xen-auto
r32 r121 1 1 include /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 2 2 configuration. 3 3 4 / etc/remctl/sipb-xen-auto/remctl-update.sh is the magic script. Run4 /usr/sbin/remctl-update.sh is the magic script. Run 5 5 it with "all" as an argument, and it will update everything. 6 6 … … 19 19 and then run 20 20 21 / etc/remctl/sipb-xen-auto/remctl-update.sh all21 /usr/sbin/remctl-update.sh all 22 22 23 23 Everything else is autogenerated from that information. … … 42 42 This package also includes a crontab to run 43 43 44 / etc/remctl/sipb-xen-auto/remctl-update.sh all44 /usr/sbin/remctl-update.sh all 45 45 46 46 every 15 minutes or so to keep our Moira mapping up to date. One can 47 47 request an update of our Moira mapping for group X by running 48 48 49 / etc/remctl/sipb-xen-auto/remctl-update.sh moiragroup X49 /usr/sbin/remctl-update.sh moiragroup X 50 50 51 51 The web interface should probably run this when it adds a group. We … … 55 55 the command: 56 56 57 / etc/remctl/sipb-xen-auto/remctl-update.sh all57 /usr/sbin/remctl-update.sh all 58 58 59 59 using 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 3 3 destroy #MACHINENAME# #BINDIR#/dispatch.destroy.sh /etc/remctl/sipb-xen-auto/acl/#MACHINENAME# 4 4 list #MACHINENAME# #BINDIR#/dispatch.list.sh /etc/remctl/sipb-xen-auto/acl/#MACHINENAME# 5 list-long #MACHINENAME# #BINDIR#/dispatch.list-long.sh /etc/remctl/sipb-xen-auto/acl/#MACHINENAME# 5 6 vcpu-list #MACHINENAME# #BINDIR#/dispatch.vcpu-list.sh /etc/remctl/sipb-xen-auto/acl/#MACHINENAME# 6 7 uptime #MACHINENAME# #BINDIR#/dispatch.uptime.sh /etc/remctl/sipb-xen-auto/acl/#MACHINENAME# 8 vnc_get_port_auth #MACHINENAME# #BINDIR#/get_port /etc/remctl/acl/vnc
Note: See TracChangeset
for help on using the changeset viewer.