Changeset 672 for trunk


Ignore:
Timestamp:
Jul 13, 2008, 8:57:03 AM (16 years ago)
Author:
price
Message:

multiplex conserver across hosts

Location:
trunk/packages
Files:
10 added
8 edited

Legend:

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

    r403 r672  
     1sipb-xen-console-server (2.03) unstable; urgency=low
     2
     3  * Multiplex consoles on multiple hosts.
     4
     5 -- Greg Price <price@mit.edu>  Sun, 13 Jul 2008 08:35:17 -0400
     6
    17sipb-xen-console-server (2.02) unstable; urgency=low
    28
  • trunk/packages/sipb-xen-console-server/debian/control

    r386 r672  
    1010Provides: ${diverted-files}
    1111Conflicts: ${diverted-files}
    12 Depends: ${shlibs:Depends}, ${misc:Depends}, conserver-server
     12Depends: ${shlibs:Depends}, ${misc:Depends}, conserver-server, remctl-client
    1313Description: SIPB Xen serial console server server
    1414  This configures the VMM for the server-side of the console server
  • trunk/packages/sipb-xen-console-server/debian/control.in

    r386 r672  
    1010Provides: ${diverted-files}
    1111Conflicts: ${diverted-files}
    12 Depends: ${shlibs:Depends}, ${misc:Depends}, conserver-server
     12Depends: ${shlibs:Depends}, ${misc:Depends}, conserver-server, remctl-client
    1313Description: SIPB Xen serial console server server
    1414  This configures the VMM for the server-side of the console server
  • trunk/packages/sipb-xen-console-server/files/usr/sbin/sipb-xen-update-conserver

    r403 r672  
    44import subprocess
    55import os
     6import socket
    67
    78sipb_xen_database.connect('postgres://sipb-xen@sipb-xen-dev.mit.edu/sipb_xen')
     
    1920
    2021if __name__ == '__main__':
     22    hostname = socket.getfqdn().lower()
     23    config = '\n'.join('console %s { master %s; }' % (vm, hostname)
     24                       for vm in live_vms())
    2125    f = open('/etc/conserver/sipb-xen-consoles.cf', 'w')
    22     f.write('\n'.join('console %s {}' % vm for vm in live_vms()))
     26    f.write(config)
    2327    f.close()
    2428    reload_conserver()
     29    subprocess.call(['/usr/bin/kinit', '-k', '-t', '/etc/krb5.keytab',
     30                     'host/'+hostname+'@ATHENA.MIT.EDU'])
     31    subprocess.call(['/usr/bin/remctl', 'sipb-xen-console.mit.edu',
     32                     'console', 'update', config])
  • trunk/packages/sipb-xen-console/debian/changelog

    r395 r672  
     1sipb-xen-console (7.2) unstable; urgency=low
     2
     3  * Multiplex consoles on multiple hosts.
     4 
     5 -- Greg Price <price@mit.edu>  Sun, 13 Jul 2008 08:52:18 -0400
     6
    17sipb-xen-console (7.1) unstable; urgency=low
    28
  • trunk/packages/sipb-xen-console/debian/control

    r386 r672  
    1010Provides: ${diverted-files}
    1111Conflicts: ${diverted-files}
    12 Depends: ${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
     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, remctl-server
    1313Description: SIPB Xen serial console server
    1414 This package  should be installed on sipb-xen-console
  • trunk/packages/sipb-xen-console/debian/control.in

    r386 r672  
    1010Provides: ${diverted-files}
    1111Conflicts: ${diverted-files}
    12 Depends: ${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
     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, remctl-server
    1313Description: SIPB Xen serial console server
    1414 This package  should be installed on sipb-xen-console
  • trunk/packages/sipb-xen-console/files/etc/conserver/conserver.cf.sipb-xen

    r386 r672  
    11# default config for console
    22config * {
    3         master  black-mesa;
    4         port    3109;
    5         sslenabled yes;
     3        sslrequired yes;
    64}
     5default * {
     6        type exec;
     7}
     8access * {
     9        trusted 127.0.0.1;
     10        limited *;
     11}
     12
     13#include /etc/conserver/invirt-hosts.cf
Note: See TracChangeset for help on using the changeset viewer.