There different AMI scanners running: at POCC on pcposp1, at CERN ams-vobox06 to fill DB at CERN and in Perugia.

If there are holes in the file directories, AMI could wait indefinitely for missing files. In that case, the easiest thing is to manage AMI processes by the ASM.jar interface to pause scanning and restart from the newest files:

1. Open ASM.jar: (java -jar ASM.jar)

2. select the server: ams-vobox06 for CERN and PG db, pcposp1 for POCC db.

3. click on RESCAN, two status boxes will appear, referring to AMI running at CERN and at the ams-farm in Perugia selecting ams-vobox06 as server, one status box referring to AMI running at POCC selecting pcposp1.

3. Pause the scanning

4. set the directory and the file to start from

5. restart the scanning.

In case you would like to manage from servers:

1. connect to ams-vobox06 as trkuser

2. kill the ami scanning processes (ami_scan_cern.py and ami_scan_pg.py)

3. cd AMI/

4. to start the scanning for the server in Perugia, execute go-scanner-pg.sh XXXX/YYY

5. to start the scanning for the server at CERN, execute go-scanner-cern.sh XXXX/YYY

6. connect to pcposp1 as ami

7. stop ami scan if they are still running

8. start the new scan from the directory /home/ami/scanner-pocc/:

/ami_scan.py -B /Data/BLOCKS/HKLR/CDP/ -f XXXX/YYY -e 40124 -X localhost:8081 -d

where XXXX/YYY is the Directory/file to start from.

Examples of AMI instances:

./ami_scan.py -B /Data/BLOCKS/HKLR/CDP/ -f 0521/183 -e 40124 -X localhost:8081 -d (on pcposp1)

./ami_scan_cern.py -B /Data/BLOCKS/HKBPB/RT/ -f 0444/840 -e 40125 -X pcamsj0.cern.ch:8081 -d -T (on ams-vobox06)

./ami_scan_pg.py -B /Data/BLOCKS/HKBPB/RT/ -f 0444/840 -e 40123 -X ams-farm.pg.infn.it:8081 -d (on ams-vobox06)

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r4 - 2018-08-15 - MauraGraziani
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Main All webs login

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