Ignore:
Timestamp:
Apr 2, 2008, 12:58:22 AM (17 years ago)
Author:
broder
Message:

Change to using conserver instead of ssh

Location:
trunk/packages/sipb-xen-remctl-auto
Files:
4 edited

Legend:

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

    r225 r386  
     1sipb-xen-remctl-auto (1.0.8) unstable; urgency=low
     2
     3  * Add support for updating conserver when VMs are turned on and off
     4
     5 -- Evan Broder <broder@sipb-xen-dev.mit.edu>  Wed,  2 Apr 2008 00:40:23 -0400
     6
    17sipb-xen-remctl-auto (1.0.7) unstable; urgency=low
    28
  • trunk/packages/sipb-xen-remctl-auto/debian/control

    r32 r386  
    33Priority: extra
    44Maintainer: SIPB Xen Project <sipb-xen@mit.edu>
    5 Build-Depends: cdbs (>= 0.4.23-1.1), debhelper (>= 4.1.0)
     5Build-Depends: cdbs (>= 0.4.23-1.1), debhelper (>= 4.2.0)
    66Standards-Version: 3.7.2
    77
    88Package: sipb-xen-remctl-auto
    99Architecture: all
    10 Depends: ${misc:Depends}, remctl-server
     10Depends: ${misc:Depends}, remctl-server, sipb-xen-console-server
    1111Description: Installs the SIPB Xen automatic remctl management system
    1212 This is our automatic remctl configuration management system.
  • trunk/packages/sipb-xen-remctl-auto/debian/control.in

    r32 r386  
    88Package: sipb-xen-remctl-auto
    99Architecture: all
    10 Depends: ${misc:Depends}, remctl-server
     10Depends: ${misc:Depends}, remctl-server, sipb-xen-console-server
    1111Description: Installs the SIPB Xen automatic remctl management system
    1212 This is our automatic remctl configuration management system.
  • trunk/packages/sipb-xen-remctl-auto/files/usr/sbin/sipb-xen-vmcontrol

    r224 r386  
    1515
    1616case "$ACTION" in
    17     list|vcpu-list|destroy|uptime|shutdown)
     17    list|vcpu-list|uptime)
    1818        xm "$ACTION" "$MACHINE"
     19        ;;
     20    destroy|shutdown)
     21        xm "$ACTION" "$MACHINE"
     22        rm "/etc/conserver/conf.d/$MACHINE"
     23        /usr/sbin/sipb-xen-update-conserver
    1924        ;;
    2025    install|create|reboot)
     
    2833        if [ "$ACTION" = "install" ]; then
    2934            xm create sipb-database machine_name="$ORIGMACHINE" installer="$ARG" installer_options="$MOREARGS"
     35#       elif [ "$ACTION" = "copy" ]; then
     36#           sipb-xen-duplicate ...etc...
    3037        elif [ -n "$ARG" ]; then
    3138            xm create sipb-database machine_name="$ORIGMACHINE" cdrom_image="$ARG"
     
    3340            xm create sipb-database machine_name="$ORIGMACHINE"
    3441        fi
     42        echo "console $ORIGMACHINE {}" >"/etc/conserver/conf.d/$MACHINE"
     43        /usr/sbin/sipb-xen-update-conserver
    3544        ;;
    3645    list-long)
Note: See TracChangeset for help on using the changeset viewer.