Changeset 386 for trunk


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
Files:
20 added
3 deleted
10 edited

Legend:

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

    r384 r386  
     1sipb-xen-console (7) unstable; urgency=low
     2
     3  * Use conserver instead of ssh to connect to black-mesa
     4
     5 -- Evan Broder <broder@sipb-xen-dev.mit.edu>  Wed,  2 Apr 2008 00:52:05 -0400
     6
    17sipb-xen-console (6.2) unstable; urgency=low
    28
  • trunk/packages/sipb-xen-console/debian/control

    r380 r386  
    1010Provides: ${diverted-files}
    1111Conflicts: ${diverted-files}
    12 Depends: ${shlibs:Depends}, ${misc:Depends}, daemon, debathena-kerberos-config, fuse-utils, libnss-pgsql1, nscd, openssh-client, openssh-server, python-fuse, sipb-xen-chrony-config, sipb-xen-database-common
     12Depends: ${shlibs:Depends}, ${misc:Depends}, conserver-client, daemon, debathena-kerberos-config, fuse-utils, libnss-pgsql1, nscd, openssh-server, python-fuse, sipb-xen-chrony-config, sipb-xen-database-common
    1313Description: SIPB Xen serial console server
    1414 This package  should be installed on sipb-xen-console
  • trunk/packages/sipb-xen-console/debian/control.in

    r380 r386  
    1010Provides: ${diverted-files}
    1111Conflicts: ${diverted-files}
    12 Depends: ${shlibs:Depends}, ${misc:Depends}, daemon, debathena-kerberos-config, fuse-utils, libnss-pgsql1, nscd, openssh-client, openssh-server, python-fuse, sipb-xen-chrony-config, sipb-xen-database-common
     12Depends: ${shlibs:Depends}, ${misc:Depends}, conserver-client, daemon, debathena-kerberos-config, fuse-utils, libnss-pgsql1, nscd, openssh-server, python-fuse, sipb-xen-chrony-config, sipb-xen-database-common
    1313Description: SIPB Xen serial console server
    1414 This package  should be installed on sipb-xen-console
  • trunk/packages/sipb-xen-console/debian/rules

    r384 r386  
    99        /etc/nsswitch.conf \
    1010        /etc/pam.d/ssh \
    11         /etc/ssh/ssh_config \
    1211        /etc/ssh/sshd_config
    1312
  • trunk/packages/sipb-xen-console/files/etc/motd.sipb-xen

    r353 r386  
    11
    2 Type Ctrl-] to escape from the console
     2Type Ctrl-e, then c, then . to escape from the console
    33
  • trunk/packages/sipb-xen-console/files/usr/bin/sipb-xen-consolesh

    r382 r386  
    11#!/bin/bash
    2 
    3 export VM_NAME="$USER"
    4 ssh console@black-mesa
     2exec /usr/bin/console "$USER"
  • 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.