Changeset 1176
- Timestamp:
- Oct 24, 2008, 12:00:00 AM (16 years ago)
- Location:
- trunk/packages/invirt-remote-server
- Files:
-
- 5 edited
- 13 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/invirt-remote-server/debian/changelog
r1163 r1176 1 invirt-remote-server (0.0.1) unstable; urgency=low 2 3 * sipb-xen -> invirt 4 5 -- Greg Price <price@mit.edu> Thu, 23 Oct 2008 23:58:36 -0400 6 1 7 sipb-xen-remote-server (0.10.2) unstable; urgency=low 2 8 -
trunk/packages/invirt-remote-server/debian/control
r982 r1176 1 Source: sipb-xen-remote-server1 Source: invirt-remote-server 2 2 Section: servers 3 3 Priority: important 4 Maintainer: sipb-xen@mit.edu4 Maintainer: invirt@mit.edu 5 5 Build-Depends: cdbs (>= 0.4.23-1.1), debhelper (>= 5) 6 6 Standards-Version: 3.7.2 7 7 8 Package: sipb-xen-remote-server8 Package: invirt-remote-server 9 9 Architecture: all 10 10 Provides: ${diverted-files} -
trunk/packages/invirt-remote-server/debian/control.in
r982 r1176 1 Source: sipb-xen-remote-server1 Source: invirt-remote-server 2 2 Section: servers 3 3 Priority: important 4 Maintainer: sipb-xen@mit.edu4 Maintainer: invirt@mit.edu 5 5 Build-Depends: @cdbs@ 6 6 Standards-Version: 3.7.2 7 7 8 Package: sipb-xen-remote-server8 Package: invirt-remote-server 9 9 Architecture: all 10 10 Provides: ${diverted-files} 11 11 Conflicts: ${diverted-files} 12 12 Depends: ${shlibs:Depends}, ${misc:Depends}, daemon, debathena-kerberos-config, fuse-utils, openssh-server, python-routefs, sipb-xen-chrony-config, sipb-xen-database-common, sipb-xen-base, remctl-server, remctl-client 13 Description: SIPB Xenremote-control server13 Description: Invirt remote-control server 14 14 This package should be installed to set up the remote-control server. -
trunk/packages/invirt-remote-server/debian/invirt-remote-server.init
r1175 r1176 1 1 #! /bin/sh 2 2 ### BEGIN INIT INFO 3 # Provides: sipb-xen-remote-server3 # Provides: invirt-remote-server 4 4 # Required-Start: $local_fs $remote_fs 5 5 # Required-Stop: $local_fs $remote_fs 6 6 # Default-Start: 2 3 4 5 7 7 # Default-Stop: 0 1 6 8 # Short-Description: sipb-xenremctl configuration filesystem8 # Short-Description: Invirt remctl configuration filesystem 9 9 # Description: 10 10 ### END INIT INFO 11 11 12 # Author: SIPB Xen Project <sipb-xen@mit.edu>12 # Author: SIPB Invirt Project <invirt@mit.edu> 13 13 14 14 # Do NOT "set -e" … … 16 16 # PATH should only include /usr/* if it runs after the mountnfs.sh script 17 17 PATH=/sbin:/usr/sbin:/bin:/usr/bin 18 DESC=" The sipb-xenremctl configuration filesystem"19 NAME= sipb-xen-remconffs20 DAEMON=/usr/sbin/ sipb-xen-remconffs18 DESC="the Invirt remctl configuration filesystem" 19 NAME=invirt-remconffs 20 DAEMON=/usr/sbin/invirt-remconffs 21 21 DAEMON_ARGS="/etc/remctl/remconffs" 22 22 PIDFILE=/var/run/$NAME.pid -
trunk/packages/invirt-remote-server/debian/rules
r502 r1176 2 2 3 3 DEB_AUTO_UPDATE_DEBIAN_CONTROL = 1 4 DEB_DIVERT_EXTENSION = . sipb-xen5 #DEB_DIVERT_FILES_ sipb-xen-remote-server += \4 DEB_DIVERT_EXTENSION = .invirt 5 #DEB_DIVERT_FILES_invirt-remote-server += \ 6 6 # /etc/init.d/bootmisc.sh \ 7 7 # /etc/nscd.conf \ -
trunk/packages/invirt-remote-server/files/etc/remctl/conf.d/sipb-xen-web
r619 r1176 1 web lvcreate /usr/sbin/ sipb-xen-remote-proxy-web /etc/remctl/acl/web2 web lvremove /usr/sbin/ sipb-xen-remote-proxy-web /etc/remctl/acl/web3 web lvrename /usr/sbin/ sipb-xen-remote-proxy-web /etc/remctl/acl/web4 web lvresize /usr/sbin/ sipb-xen-remote-proxy-web /etc/remctl/acl/web5 web lvcopy /usr/sbin/ sipb-xen-remote-proxy-web /etc/remctl/acl/web6 web listvms /usr/sbin/ sipb-xen-remote-proxy-web /etc/remctl/acl/web1 web lvcreate /usr/sbin/invirt-remote-proxy-web /etc/remctl/acl/web 2 web lvremove /usr/sbin/invirt-remote-proxy-web /etc/remctl/acl/web 3 web lvrename /usr/sbin/invirt-remote-proxy-web /etc/remctl/acl/web 4 web lvresize /usr/sbin/invirt-remote-proxy-web /etc/remctl/acl/web 5 web lvcopy /usr/sbin/invirt-remote-proxy-web /etc/remctl/acl/web 6 web listvms /usr/sbin/invirt-remote-proxy-web /etc/remctl/acl/web 7 7 test sleep /usr/bin/env /etc/remctl/acl/web 8 control help /usr/sbin/ sipb-xen-remctl-help ANYUSER9 help ALL /usr/sbin/ sipb-xen-remctl-help ANYUSER8 control help /usr/sbin/invirt-remctl-help ANYUSER 9 help ALL /usr/sbin/invirt-remctl-help ANYUSER -
trunk/packages/invirt-remote-server/files/usr/sbin/invirt-remconffs
r1175 r1176 31 31 self.fuse_args.add("allow_other", True) 32 32 33 openlog(' sipb-xen-remconffs ', LOG_PID, LOG_DAEMON)33 openlog('invirt-remconffs ', LOG_PID, LOG_DAEMON) 34 34 35 35 syslog(LOG_DEBUG, 'Init complete.') … … 58 58 """Build the master conf file, with all machines 59 59 """ 60 return '\n'.join("control %s /usr/sbin/ sipb-xen-remote-proxy-control"60 return '\n'.join("control %s /usr/sbin/invirt-remote-proxy-control" 61 61 " /etc/remctl/remconffs/acl/%s" 62 62 % (machine_name, machine_name) -
trunk/packages/invirt-remote-server/files/usr/sbin/invirt-remote-control
r1175 r1176 10 10 def main(argv): 11 11 if len(argv) < 3: 12 print >>sys.stderr, "usage: sipb-xen-remote-control <machine> <command>"12 print >>sys.stderr, "usage: invirt-remote-control <machine> <command>" 13 13 return 2 14 14 machine_name = argv[1] 15 15 command = argv[2] 16 16 17 p = Popen(['/usr/sbin/ sipb-xen-remote-proxy-web', 'listvms'], stdout=PIPE)17 p = Popen(['/usr/sbin/invirt-remote-proxy-web', 'listvms'], stdout=PIPE) 18 18 output = p.communicate()[0] 19 19 if p.returncode != 0: 20 20 raise RuntimeError("Command '%s' returned non-zero exit status %d" 21 % (' sipb-xen-remote-proxy-web', p.returncode))21 % ('invirt-remote-proxy-web', p.returncode)) 22 22 vms = yaml.load(output, yaml.CSafeLoader) 23 23 -
trunk/packages/invirt-remote-server/files/usr/sbin/invirt-remote-create
r1175 r1176 22 22 def main(argv): 23 23 if len(argv) < 3: 24 print >> sys.stderr, "usage: sipb-xen-remote-create <operation> <machine> [<other args...>]"24 print >> sys.stderr, "usage: invirt-remote-create <operation> <machine> [<other args...>]" 25 25 return 2 26 26 operation = argv[1] … … 38 38 return 1 39 39 40 p = Popen(['/usr/sbin/ sipb-xen-remote-proxy-web', 'listvms'], stdout=PIPE)40 p = Popen(['/usr/sbin/invirt-remote-proxy-web', 'listvms'], stdout=PIPE) 41 41 output = p.communicate()[0] 42 42 if p.returncode != 0: 43 43 raise RuntimeError("Command '%s' returned non-zero exit status %d" 44 % (' sipb-xen-remote-proxy-web', p.returncode))44 % ('invirt-remote-proxy-web', p.returncode)) 45 45 vms = yaml.load(output, yaml.CSafeLoader) 46 46 -
trunk/packages/invirt-remote-server/files/usr/sbin/invirt-remote-listhost
r1175 r1176 10 10 def main(argv): 11 11 if len(argv) < 2: 12 print >>sys.stderr, "usage: sipb-xen-remote-listhost <machine>"12 print >>sys.stderr, "usage: invirt-remote-listhost <machine>" 13 13 return 2 14 14 machine_name = argv[1] 15 15 16 p = Popen(['/usr/sbin/ sipb-xen-remote-proxy-web', 'listvms'], stdout=PIPE)16 p = Popen(['/usr/sbin/invirt-remote-proxy-web', 'listvms'], stdout=PIPE) 17 17 output = p.communicate()[0] 18 18 if p.returncode != 0: 19 19 raise RuntimeError("Command '%s' returned non-zero exit status %d" 20 % (' sipb-xen-remote-proxy-web', p.returncode))20 % ('invirt-remote-proxy-web', p.returncode)) 21 21 vms = yaml.load(output, yaml.CSafeLoader) 22 22 -
trunk/packages/invirt-remote-server/files/usr/sbin/invirt-remote-proxy
r1175 r1176 1 1 #!/bin/bash 2 # invoke as sipb-xen-remote-proxy-$TYPE, with "TYPE" in the remctl sense.2 # invoke as invirt-remote-proxy-$TYPE, with "TYPE" in the remctl sense. 3 3 4 4 klist -s || kinit -k … … 14 14 case "$TYPE/$SERVICE" in 15 15 web/listvms ) 16 sipb-xen-remote-listvms "$@" ;;16 invirt-remote-listvms "$@" ;; 17 17 control/create|control/install ) 18 sipb-xen-remote-create "$SERVICE" "$MACHINE" "$@" ;;18 invirt-remote-create "$SERVICE" "$MACHINE" "$@" ;; 19 19 control/listhost|control/list-host ) 20 sipb-xen-remote-listhost "$MACHINE" "$@" ;;20 invirt-remote-listhost "$MACHINE" "$@" ;; 21 21 control/* ) 22 22 # Everything but create must go where the VM is already running. 23 sipb-xen-remote-control "$MACHINE" "$SERVICE" "$@" ;;23 invirt-remote-control "$MACHINE" "$SERVICE" "$@" ;; 24 24 * ) 25 25 remctl "$(invirt-getconf hosts.0.hostname)" remote "$TYPE" "$SERVICE" "$@" ;; -
trunk/packages/invirt-remote-server/files/usr/sbin/invirt-remote-proxy-control
r1175 r1176 1 link sipb-xen-remote-proxy1 link invirt-remote-proxy -
trunk/packages/invirt-remote-server/files/usr/sbin/invirt-remote-proxy-web
r1175 r1176 1 link sipb-xen-remote-proxy1 link invirt-remote-proxy
Note: See TracChangeset
for help on using the changeset viewer.