1. Make a copy of this directory in your local area: /afs/

2. Modify in the setup scripts (*.sh, *.csh) the default ASAP_LOCATION to be your asap directory.

3. Take a look in the directory in ASAP_LOCATION/service. in the file crontab.listing one can see which kind of crontab jobs you need to create for the monitor.

4. Remove from service/crontab.listing monitors 2, 3, 4 and clean with there configs.

5. Change paths in crontab.listing.

6. Change hostname in ASAP/conf/asap.conf

Example: host= url= (it means that you use a standard port).

7. Change directory names in conf/asap.conf:

Examples: rootdir=/data/asap2 --> /home/berejnoi/ASAP_INSTALLATION/ASAP

dir-user=/data/asap2/user --> /home/berejnoi/ASAP_INSTALLATION/ASAP/service

dir-trace=/data/asap2/tracing --> /home/berejnoi/ASAP_INSTALLATION/ASAP/service/tracing dir-unreg=/data/asap2/unregistered --> /home/berejnoi/ASAP_INSTALLATION/ASAP/service/unregistered dir-monitoring=/data/asap2/monitoring --> /home/berejnoi/ASAP_INSTALLATION/ASAP/service/monitoring dir-www=/data/asap2/www --> /home/berejnoi/ASAP_INSTALLATION/ASAP/service/www www-url= --> www-url=

8. Install apache.

9. Create a directory somewhere in /tmp for htmls. Example: /tmp/asap/www

10. Create symbolic links as follows: ln -s /tmp/asap/www /home/berejnoi/ASAP_INSTALLATION/ASAP/service/www ln -s /tmp/asap/www /var/www/html/asap

11. Change in,, directory names.

cd /home/berejnoi/ASAP_INSTALLATION/ASAP/service pushd /home/berejnoi/ASAP_INSTALLATION/ASAP > /dev/null

12. Write right new paths in crontab.listing

13. New version of is needed for correct work.

14. Use command crontab -e to run cron scripts you need.

Just put into a pico screen the schedule for cron scripts and save it.





58 * * * * /home/berejnoi/ASAP_INSTALLATION/ASAP/service/

59 * * * * /home/berejnoi/ASAP_INSTALLATION/ASAP/service/

10,25,40,55 * * * * /home/berejnoi/ASAP_INSTALLATION/ASAP/service/

* * * * * /home/berejnoi/ASAP_INSTALLATION/ASAP/service/

15. One can see what is happening with a job of user 'berejnoi' in file monitoring/berejnoi/systemExecLog

Example: tail -f monitoring/berejnoi/systemExecLog

16. To submit the job in config file you need to set FinalDataSystem=FS if you want to put file on AFS.


1. Setup LCG UI envaronment.

2. Set CMS_PATH variable value. It must be a path to the directory which contains the standart CMS directory "Releases" (as at CERN lxplus claster).

3. Set SCRAM_ARCH if you need ORCA_8_7_*: export SCRAM_ARCH=slc3_ia32_gcc323

4. pushd /afs/* eval `scram runtime -sh` popd


pushd /afs/ eval `scramv1 runtime -sh` popd

5. Correct a config file for ASAP (It is not the asap.conf file in the ASAP installation directory).


1) JobDir=/afs/

2) FinalDataSystem=FS (to store data on a disk, RFIO to store data in castor).

3) FinalDataSystemPath=/afs/ (for castor case must point to castor directory).

4) Application=ORCA


5) Executable=/afs/ (path to the Executable).

7. Create proxy:


8. Create long time proxy within ASAP:


9. Submit the jobs:

asap-job-make ConfigFile=config.arda Nevents=200 NoSubmit

10.Register the jobs:

asap-job-monitor TraceID=19665 Register=Submit ("Trace", not "Track")

TraceID is a number obtained during submission.

11.Now one can see what happens with the jobs on a web site with url, which has been setup in asap.conf (see item 6 of INSTALLATION).

12.Unregister the jobs:

asap-job-monitor TraceID=19665 UnRegister

-- Main.berejnoi - 06 Apr 2006

Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2006-04-06 - AlexanderBerezhnoy
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    LCG All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback