Last Updated on Tuesday, August 19, 2014 at 15:42:16. by Author: Nigel George

Data Validation, General Information/Help

Contents

General introduction to how data validation works

Description of the steps

  1. Data is taken and written onto the DAQ disk  (/data/0 ,or, 1 ....3)
  2. Data is then handled by the data mover, and pedestals are run, and data is sunk to HPSS and data validation is run on "ALLBEAM" triggers.
  3. When data validation is finished, the output is put into $DV_OUT/pr01, disk on rcf. (This disk is viewable from any of the rcas400x nodes). The output includes , the hits file (with CMN correction applied and without), the trigger tree, dv tree, the object manager, a log file (shows output from macro), and an error file (shows error that occurred while running). A copy of the hit files is put into HPSS in the following location: /home/phobreco/pr01/recon
    Summary
    $DV_OUT/pr01
    err/DateXXXXX_TimeZZZZ_Set1_[Run Number]s[Seq Number]_ONLV_X_X_X.err
    log/DateXXXXX_TimeZZZZ_Set1_[Run Number]s[Seq Number]_ONLV_X_X_X.log
    trgtree/TrgTree[Run Number]s[Seq Number]_ONLV_X_X_X.root
    objmgr/PhoOM[Run Number]s[Seq Number]_ONLV_X_X_X.root
    dvtree/DVTree[Run Number]s[Seq Number]_ONLV_X_X_X.root
    HPSS:  /home/phobreco/pr00/recon
    PhoHit[Run Number]s[Seq Number]_ONLV_X_X_X.root
    PhoDST[Run Number]s[Seq Number]_ONLV_X_X_X.root
  4. When the job is finished, use the online, from phucsia, to view the dv tree. This file has the summary histograms. Examine each of these histograms (and compare them to their reference histograms)
  5. What ever you find out about the run, put into the comments associated with that run. Click here for how to do this.

The Data Monitor DeskTop

The data monitor window on phucsia, looks like

The CRS status window, gives info on the jobs in the cRS computer farm.

The "Runs to be investigated for data tracking problems", is the window that indicates runs that need to be investigated.

The "Runs to be Validated" is the window that indicates runs that need to be validated.

The Data Validation Desktop

How to monitor Data Validation Jobs running on CRS farm

Setting crs monitor up in counting house  (updated 7 June 01)

Description of CRS farm monitoring window

tk_CRS_status.gif (17606 bytes)

The window is divided into two sections: The top for monitoring the specific nodes (i.e computer, with dual processor). The bottom for monitoring each job currently running or queued for the farm.

Note: This window does not automatically refresh itself, therefore to see the current status hit the Refresh button.

Description of Top Window:

Description of Bottom Window

How to validate a run

How to check that data validation has been run on a particular run and sequence

Setting up data validation output checking in counting house

Starting the DV Gui program

Validating the run

How to put comments about run into database

How to find a log file and error file of a particular run and sequence

How to check error files for errors and warnings

Checklist Instructions

Go to "How to start the Data Validation Gui".

How to manually sink data from DAQ

  1. Goto the DAQ X-term
  2. Goto a window entitled "Sinking Window", if can't find it open the window (for instructions go here)
  3. Goto the directory where the data is located, via typing
    > cd /data/X   [ENTER] (where X= the data disk number, found from looking at comment in run log book)
  4. To sink a data file type
    > ~phobsink/bin/write_and_recon <filename> [ENTER]
    (This will output a lot of stuff to the screen, then leave you with a prompt, then you can submit your next file)
  5. Wait ~4 minutes and look at the window on phucsia entitled "CRS status for PHOBOS" (if windows not there goto  Setting crs monitor up in counting house)
    Hit the "refresh" button on each screen.
    You should see (use scroll bar) the filename DV[RUNNumber]s[SeqNumber]_Date........
    If you don't then file did not sink, call expert.

How to open the Sinking Window in DAQ X-term

  1. Open a window on the DAQ X-term
  2. In this window ,type
    > ssh phobos@phobosx.phobos.bnl.gov [ENTER]
    ...
    phobos@phobosx.phobos.bnl.gov
    : > {ENTER phobos password}
    .....
    passphrase> {ENTER the passphrase for phobos}
    (Note: Password and passphrase on DAQ monitor)
  3. You are now logged into phobos@phobosx. Type the following to open the "Sinking Window"
    > dtterm -name "Sinking Window" [ENTER]
  4. If asked in the "Sinking Window", for a pass phrase, enter the phassphrase for phobos  
  5. You can now iconize, the original window, and you now have a sinking window. Type
        > cd /data [ENTER]

Monitoring HPSS status

HPSS Health and Status Page

This status page tells you what is the current status of HPSS. If it is all green, then HPSS, appears to be ok.

  1. Goto phucsia, find the Screen entitled "HPSS Health and Status" (If does not exist, goto "Setting Up HPSS Monitor Screen")
    health1.jpg (18828 bytes)
  2. For a detailed description, of the above status page goto the documentation page.
  3. To quit, Goto Menu "Session", and choose "Quit Sammi", and "Confirm Quit"
Test to see if HPSS is really working

To see if HPSS is really working,

  1. Login to on RCF interactive node as yourself(i.e. ssh rsshgw.rhic.bnl.gov, and then ssh phobint00)
  2. Type, at prompt,
    ~> rftp [ENTER]
  3. If the responce is like
        Connected to rmds01.rcf.bnl.gov
        220 rmds01 FTP server (.....) ready
        331 Password require for <Username>
        230 <Username> logged in
        200 COS set to 16.
        Remote system type UNIX
        Using binary mode to transfer files
        Multinode is Disabled
        ftp>

    Then HPSS is up. Otherwise HPSS is down with a problem.
Setting Up HPSS Monitor Screen
  1. Open a window on phucsia
  2. In this window type
    ssh PHBS_op [ENTER]
  3. At prompt, PHBS_op@hpss.rcf.bnl.gov's password:, enter the HPSS Monitor password (on phucsia)
  4. At prompt, Enter SAMMI User Name [PHBS_op]:, hit [ENTER]
  5. At prompt, Enter SAM2_DISPLAY variable [rmds01:21.0]:, hit [ENTER]
  6. You should see "Starting SAMMI session for user 'PHBS_op' ..." + other Staring type info, and then a login box, entitled "SSM Login" will appear. In this box, for User ID, enter PHBS_op, and the same Password as above.
  7. The "HPSS Health and Status " page will now appear.

How to monitor MDC sinking and reconstruction

There are two things to check are working, 1) sinking and 2)reconstruction (see above documentation)


How to check sinking is working ok
  1. On the DAQ computer, in window 4, there should be a window entitled "Sinking Window". If not following instructions on how to set it up.
  2. In this window you should see, Lines like
        "Writing PhoRaw000021s027.root to HPSS"
    and "Successfully submitted pass0 job for file PhoRaw000021s026.root"
    + other info, scrolling by at a rate of about 1 file per 2 minutes. If this is true then you are sinking ok.
  3. Also you can check the following page,
    http://ru10.rhic.bnl.gov/alarms/daq.html
    This shows the rate at which we are sinking.
  4. If this is not happening, and nothing is begin sunk, then you should first see if HPSS is functional, see here
  5. If HPSS is functional, do a CRTK-C in the sinking window, and start it again. If then does not work, report error to RCF.
  6. If not functional , report problem to RCF
  7. When they say ready to go restart sinking.

How to Report a Problem to RCF

  1. Goto the RCF web page. http://www.rhic.bnl.gov/RCF
  2. Follow the link, to Page-on-call RCF Staff
    This page will tell you the phone number to call (pager does not currently work) to get person on shift.
  3. If you don't get a responce, goto to the link from the RCF web page called RCF Monitoring, and follow link to RCF shift Schedule . Find the person on shift there and call their extension number, and leave a message and write them an email if you don't get hold of them.(RCF Emails Here)
  4. If after reasonable time don't get any responce, call Tom Throwe.
  5. Always submit a trouble ticket explaining the situation.

How do I know when to validate a run?

    There is a window on phucsia, entitled "Runs to be Validated".
If there are runs to validate, the window will look like:

wpe1.jpg (19662 bytes)

If you see this, you should then validate the runs shown.

If there are no runs to validate, then the window will look like:
dv_norunstovalidate.gif (5256 bytes)

How do I detect problems in the processing?

There is a window on phucsia, entitled "Runs to be Investigated for data tracking problems".

If there is a problem, the window will look like:

(Need snap shot of window)

If you see this window, then for each run, goto the

If there are no gross problems in the data processing, you should see a window like:
wpe14.jpg (13217 bytes)

Please send all comments and suggestions regarding this page to Nigel