Changeset 672 for trunk/packages/sipb-xen-console-server
- Timestamp:
- Jul 13, 2008, 8:57:03 AM (16 years ago)
- Location:
- trunk/packages/sipb-xen-console-server
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/sipb-xen-console-server/debian/changelog
r403 r672 1 sipb-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 1 7 sipb-xen-console-server (2.02) unstable; urgency=low 2 8 -
trunk/packages/sipb-xen-console-server/debian/control
r386 r672 10 10 Provides: ${diverted-files} 11 11 Conflicts: ${diverted-files} 12 Depends: ${shlibs:Depends}, ${misc:Depends}, conserver-server 12 Depends: ${shlibs:Depends}, ${misc:Depends}, conserver-server, remctl-client 13 13 Description: SIPB Xen serial console server server 14 14 This configures the VMM for the server-side of the console server -
trunk/packages/sipb-xen-console-server/debian/control.in
r386 r672 10 10 Provides: ${diverted-files} 11 11 Conflicts: ${diverted-files} 12 Depends: ${shlibs:Depends}, ${misc:Depends}, conserver-server 12 Depends: ${shlibs:Depends}, ${misc:Depends}, conserver-server, remctl-client 13 13 Description: SIPB Xen serial console server server 14 14 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 4 4 import subprocess 5 5 import os 6 import socket 6 7 7 8 sipb_xen_database.connect('postgres://sipb-xen@sipb-xen-dev.mit.edu/sipb_xen') … … 19 20 20 21 if __name__ == '__main__': 22 hostname = socket.getfqdn().lower() 23 config = '\n'.join('console %s { master %s; }' % (vm, hostname) 24 for vm in live_vms()) 21 25 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) 23 27 f.close() 24 28 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])
Note: See TracChangeset
for help on using the changeset viewer.