Changeset 291423b
- Timestamp:
- Sep 15, 2008 5:35:11 PM (16 years ago)
- Branches:
- axis_example, compt_changes, info-ops, master, version-1.30, version-2.00, version-3.01, version-3.02
- Children:
- a8b42b5
- Parents:
- c52c48d
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
fedd/fedd_create_experiment.py
rc52c48d r291423b 32 32 scripts = ["fed_bootstrap", "federate.sh", "smbmount.FreeBSD.pl", 33 33 "smbmount.Linux.pl", "make_hosts", "fed-tun.pl", "fed-tun.ucb.pl", 34 "fed_evrepeater", "rc.accounts.patch"] 34 "fed_evrepeater", "rc.accounts.patch", "daemon.py", 35 "experiment-setup.py"] 35 36 36 37 def __init__(self, … … 940 941 raise service_error(service_error.internal, 941 942 "Error creating client config") 943 try: 944 cc = open("%s/%s/seer.conf" % 945 (self.tmpdir, self.current_gateways), 'w') 946 print >>cc, "ControlNode: %s" % \ 947 self.control_gateway 948 print >>cc, "ExperimentID: %s/%s" % \ 949 ( tbparams[self.master]['project'], \ 950 self.eid ) 951 cc.close() 952 except IOError: 953 raise service_error(service_error.internal, 954 "Error creating seer config") 942 955 else: 943 956 if self.trace_file: -
fedkit/federate.sh
rc52c48d r291423b 74 74 SMBUSER=`$PERL -ne '/ProjectUser:\s+(.*)/i && print "$1\n";' $SCRIPTDIR/client.conf` 75 75 SMBPROJECT=`$PERL -ne '/ProjectName:\s+(.*)/i && print "$1\n";' $SCRIPTDIR/client.conf` 76 77 # XXX: modified seer daemon to read a config file. Not in the tarfile yet. If 78 # we see one, and there's a /usr/seer/backend/daemon.py, replace that one with 79 # the local one. 80 if [ -e /usr/seer/backend/daemon.py ] && [ -e $SCRIPTDIR/daemon.py ]; then 81 /bin/cp $SCRIPTDIR/daemon.py /usr/seer/backend/daemon.py 82 fi 83 84 if [ -e /usr/seer/backend/experiment-setup.py ] && [ -e $SCRIPTDIR/experiment-setup.py ]; then 85 /bin/cp $SCRIPTDIR/experiment-setup.py /usr/seer/backend/experiment-setup.py 86 fi 87 88 # Copy the seer.conf to the local /tmp if there is one 89 90 if [ -e $SCRIPTDIR/seer.conf ]; then 91 /bin/cp $SCRIPTDIR/seer.conf /tmp 92 fi 76 93 77 94 GWIP=`host -N 10 $GATEWAY | $PERL -ne 's/.* has address // && print;'`
Note: See TracChangeset
for help on using the changeset viewer.