TWiki
>
LCG Web
>
ARDA-CMS-ASAP
>
ARDA-CMS-ASAP-ASAPInstallation
(2006-04-06,
AlexanderBerezhnoy
)
(raw view)
E
dit
A
ttach
P
DF
INSTALLATION: 1. Make a copy of this directory in your local area: /afs/cern.ch/sw/arda/install/CMS/prototype/asap_2005_08_24/cms/ASAP 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= xarda1502a.cern.ch url=http://lxarda1502a.cern.ch (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=http://asap-monitor.cern.ch:8088/user/ --> www-url=http://lxarda1502a.cern.ch/asap/ 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 asap-check-services.sh, asap-run-job-monitor.sh, asap-run-myproxy-monitor.sh directory names. Example: 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 apmon.py 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. Examples: SHELL=/bin/bash MAILTO=berejnoi #ASAP 58 * * * * /home/berejnoi/ASAP_INSTALLATION/ASAP/service/asap-check-services.sh 59 * * * * /home/berejnoi/ASAP_INSTALLATION/ASAP/service/asap-run-myproxy-monitor.sh 10,25,40,55 * * * * /home/berejnoi/ASAP_INSTALLATION/ASAP/service/asap-run-job-monitor.sh * * * * * /home/berejnoi/ASAP_INSTALLATION/ASAP/service/asap-kill-hanging-edg.py 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. JOB SUBMISSION (Example) 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/cern.ch/cms/Releases/ORCA/ORCA_8_7_* eval `scram runtime -sh` popd or pushd /afs/cern.ch/cms/Releases/ORCA/ORCA_8_8_0 eval `scramv1 runtime -sh` popd 5. Correct a config file for ASAP (It is not the asap.conf file in the ASAP installation directory). Example: 1) JobDir=/afs/cern.ch/user/b/berejnoi/jobsubmit/workdir 2) FinalDataSystem=FS (to store data on a disk, RFIO to store data in castor). 3) FinalDataSystemPath=/afs/cern.ch/user/b/berejnoi/jobsubmit/data (for castor case must point to castor directory). 4) Application=ORCA ApplicationVersion=ORCA_8_7_3 5) Executable=/afs/cern.ch/cms/Releases/ORCA/ORCA_8_7_3/bin/slc3_ia32_gcc323/ExDigiStatistics (path to the Executable). 7. Create proxy: grid-proxy-init 8. Create long time proxy within ASAP: asap-myproxy-init 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
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r1
|
B
acklinks
|
V
iew topic
|
WYSIWYG
|
M
ore topic actions
Topic revision: r1 - 2006-04-06
-
AlexanderBerezhnoy
Log In
LCG
LCG Wiki Home
LCG Web Home
Changes
Index
Search
LCG Wikis
LCG Service
Coordination
LCG Grid
Deployment
LCG
Apps Area
Public webs
Public webs
ABATBEA
ACPP
ADCgroup
AEGIS
AfricaMap
AgileInfrastructure
ALICE
AliceEbyE
AliceSPD
AliceSSD
AliceTOF
AliFemto
ALPHA
ArdaGrid
ASACUSA
AthenaFCalTBAna
Atlas
AtlasLBNL
AXIALPET
CAE
CALICE
CDS
CENF
CERNSearch
CLIC
Cloud
CloudServices
CMS
Controls
CTA
CvmFS
DB
DefaultWeb
DESgroup
DPHEP
DM-LHC
DSSGroup
EGEE
EgeePtf
ELFms
EMI
ETICS
FIOgroup
FlukaTeam
Frontier
Gaudi
GeneratorServices
GuidesInfo
HardwareLabs
HCC
HEPIX
ILCBDSColl
ILCTPC
IMWG
Inspire
IPv6
IT
ItCommTeam
ITCoord
ITdeptTechForum
ITDRP
ITGT
ITSDC
LAr
LCG
LCGAAWorkbook
Leade
LHCAccess
LHCAtHome
LHCb
LHCgas
LHCONE
LHCOPN
LinuxSupport
Main
Medipix
Messaging
MPGD
NA49
NA61
NA62
NTOF
Openlab
PDBService
Persistency
PESgroup
Plugins
PSAccess
PSBUpgrade
R2Eproject
RCTF
RD42
RFCond12
RFLowLevel
ROXIE
Sandbox
SocialActivities
SPI
SRMDev
SSM
Student
SuperComputing
Support
SwfCatalogue
TMVA
TOTEM
TWiki
UNOSAT
Virtualization
VOBox
WITCH
XTCA
Welcome Guest
Login
or
Register
Cern Search
TWiki Search
Google Search
LCG
All webs
Copyright &© 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use
Discourse
or
Send feedback