Create and destroy conserver consoles through a Python script, sipb-xen-remctl-auto/1.0.9
authorEvan Broder <broder@mit.edu>
Wed, 2 Apr 2008 08:36:45 +0000 (04:36 -0400)
committerEvan Broder <broder@mit.edu>
Wed, 2 Apr 2008 08:36:45 +0000 (04:36 -0400)
instead of a shell script. Also run this script every 5 minutes or so

svn path=/trunk/packages/sipb-xen-remctl-auto/; revision=397

debian/changelog
files/usr/sbin/sipb-xen-vmcontrol

index a5f7e14..1394f74 100644 (file)
@@ -1,3 +1,9 @@
+sipb-xen-remctl-auto (1.0.9) unstable; urgency=low
+
+  * Change the way that conserver is updated
+
+ -- Evan Broder <broder@sipb-xen-dev.mit.edu>  Wed,  2 Apr 2008 04:36:04 -0400
+
 sipb-xen-remctl-auto (1.0.8) unstable; urgency=low
 
   * Add support for updating conserver when VMs are turned on and off
 sipb-xen-remctl-auto (1.0.8) unstable; urgency=low
 
   * Add support for updating conserver when VMs are turned on and off
index 4d055bb..1183134 100755 (executable)
@@ -19,7 +19,6 @@ case "$ACTION" in
        ;;
     destroy|shutdown)
        xm "$ACTION" "$MACHINE"
        ;;
     destroy|shutdown)
        xm "$ACTION" "$MACHINE"
-       rm "/etc/conserver/conf.d/$MACHINE"
        /usr/sbin/sipb-xen-update-conserver
        ;;
     install|create|reboot)
        /usr/sbin/sipb-xen-update-conserver
        ;;
     install|create|reboot)
@@ -39,7 +38,6 @@ case "$ACTION" in
        else
            xm create sipb-database machine_name="$ORIGMACHINE"
        fi
        else
            xm create sipb-database machine_name="$ORIGMACHINE"
        fi
-       echo "console $ORIGMACHINE {}" >"/etc/conserver/conf.d/$MACHINE"
        /usr/sbin/sipb-xen-update-conserver
        ;;
     list-long)
        /usr/sbin/sipb-xen-update-conserver
        ;;
     list-long)