Last Updated on Tuesday, July 10, 2001 at 15:31:08. by Author: Nigel George

Data Validation, General Information/Help

Contents

 

 

How to monitor Data Validation Jobs running on CRS farm

tk_CRS_status.gif (17606 bytes)

 

If this window is not there, these are the necessary steps to open it:

<shift@phucsia:~> dvmonwin [ENTER]

(This should open a green window titled DATA VALIDATION MONITOR)

<shift@phucsia:~> ssh phobreco@rsshgw.rcf.bnl.gov [ENTER]

<rsshgw00:~ > ssh rcrsuser2 [ENTER]

<phobreco@rcrsuser2 > tk_CRS_status.pl & [ENTER]

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 check the monitoring part of the output of Data Validation

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

(To be updated...)

Setting up data validation output checking in counting house

Starting the Data Validation Gui program (aka How to validate a run)

                <phobreco@rcas4010> who -m [ENTER]

            if it returns  rcas4011.rcf.bnl.gov!phobreco  then you are in the correct window

                 <phobreco@rcas4010:data02/dv_out> cd $DV_OUT [ENTER]

                  <phobreco@rcas4010:data02/dv_out> phat 

                     root ~> TPhDVGui gui(350,200) [ENTER] 

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.

 

Please send all comments and suggestions regarding this page to Nigel