Instructions For Shifters
Note: Step #0 should be done one time only, not once per
shift. The other steps should be done once per shift.
- Register your grid subject in the DZero VOMS and register in all SAM groups.
- To register in all SAM groups go to:
http://d0db-prd.fnal.gov/sam_admin/cgi/autoRegister.py
- To register in the DZero VOMS see the User Instructions at:
http://www-d0.fnal.gov/VO/DZero_VO_Instructions.html
- Locate in the working directory.
$ cd /prj_root/2631/automc/daj
- Obtain bash shell if not already using it.
$ bash
- Set up the environment and get a grid proxy for submitting
jobs.
$ source setup_samgrid
If the shifter has a grid certificate (see note 10 below) a 14 day grid proxy is created from
it, else the shifter is prompted to get a 7 day Kerberos ticket
from which a grid proxy is created. Note that after this command
the shell will make all files created group writeable.
- Start a new automc daemon.
$ daj_daemon.py
The new daemon will wait until an
old running one finishes. This should take < 30 seconds except when
the old daemon is submitting jobs. In which case it may take as
long as an hour or more. There is no need to do anything except
monitor the old daemon's log files.
- When the new daemon starts the names of the new log files are
printed to the terminal. At least the run log should be monitored
in a terminal window with the command "tail -f" as in:
$ tail -f dajd_20061214204719_run.log
There is also an associated error log such as
dajd_20061214204719_error.log which should be consulted if there
are problems.
- A summary of requests being managed by auto mc is available at
http://www-d0.fnal.gov/computing/mcprod/dajd/dajd_status.html.
This page automatically updates every 62 minutes.
- Email notification of significant problems will go to the address
specified as the value of the email_errors_to keyword in the file
dajdrc. This defaults to the user who started the daemon at the local
host.
- More information on the auto mc daemon can be found in the
files dajd_howto.html
and daj_daemon.html
in this directory.
- Refer problems, bugs, suggestions to snow at fnal.gov.
- Caution: Do not modify the files dajdrc
(except the notify_user value), dajd_quotas, dajd_ignore, and
anything in the mcp17 directory unless you know what you are
doing.
Joel Snow
Created December 18, 2006
Revised January 11, 2007