- Timestamp:
- Oct 24, 2009, 8:40:08 PM (15 years ago)
- Location:
- trunk/packages/invirt-remote
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/invirt-remote/debian/changelog
r2495 r2513 1 invirt-remote (0.4.3) unstable; urgency=low 2 3 * Minor cleanup of 0.4.2 4 5 -- Alex Dehnert <adehnert@mit.edu> Sat, 24 Oct 2009 17:12:33 -0400 6 1 7 invirt-remote (0.4.2) unstable; urgency=low 2 8 -
trunk/packages/invirt-remote/python/remote/monocast.py
r2495 r2513 5 5 hostnames = [ h.hostname for h in config.hosts ] 6 6 7 def monocast(args, host s = hostnames, randomize = True):7 def monocast(args, hostnames = hostnames, randomize = True): 8 8 """ 9 9 Given a command and a list of hostnames or IPs, issue the command to each … … 18 18 """ 19 19 if(randomize): 20 host s = random.sample(hosts, len(hosts))20 hostnames = random.sample(hostnames, len(hostnames)) 21 21 hostsdown = [] 22 for host in host s:22 for host in hostnames: 23 23 pipe = Popen(['remctl', host, 'remote', 'web'] + args, stdout=PIPE, stderr=PIPE) 24 24 output = pipe.communicate() … … 27 27 hostsdown.append(host) 28 28 else: 29 #raise RuntimeError("remctl to host %s returned non-zero exit status %d; stderr:\n%s"30 # % (host, pipe.returncode, output[1]))31 29 return (host, hostsdown, pipe.returncode,) + output 32 30 else: -
trunk/packages/invirt-remote/server/usr/sbin/invirt-remote-lvm
r2495 r2513 18 18 sys.stdout.write(result[3]) # stdout 19 19 sys.stderr.write(result[4]) # stderr 20 return 0 20 21 21 22 if __name__ == '__main__': 22 23 sys.exit(main(sys.argv)) 23 24 # vim:et:sw=4:ts=4 -
trunk/packages/invirt-remote/server/usr/sbin/invirt-remote-proxy
r2495 r2513 1 #!/bin/bash 2 # invoke as invirt-remote-proxy-$TYPE, with "TYPE" in the remctl sense. 1 #!/bin/bash 2 # invoke as invirt-remote-proxy-$TYPE, with "TYPE" in the remctl sense. 3 3 4 4 klist -s || kinit -k
Note: See TracChangeset
for help on using the changeset viewer.