l4aStageGUI - GUI For Staging Procedure
Introduction
l4aStageGUI
is intended to copy daq and dst files from the OSM Robot
(currently /acs/data/) to the stage disk (currently
/hb/stage/) and remove files
from the stage disk and also to get some information
about existing runs, files
and stage disk. This GUI is implemented as
a Java application.
- Description
THIS GUI CAN BE RUN ONLY ON SUN PLATFORM !!!
The left window of GUI is a stage disk window.
The right window is a /hb/www/doc/subgroup/shiftinfo/herab/runlog/
directory window where information about all existing runs and files
can be found.Single click: on an entry of window - to change window.
Double click: on a directory - to open that directory,
on a file - to view the content of file.
on [Up to Parent] - to change to the parent directory.Copying files from the OSM Robot to the stage disk
To copy files, one has to fill in the following fields:
1. Run number
2. Numbers of files
3. Type of file ( daq/dst default=daq, test/real default=real)
4. Detector component name.Only "Run number" is mandatory.
Numbers of files must be separated by commas. If there are not
filled numbers of files, the first five files of the run will be copied.
To copy files from number n1 to n2 one should type n1-n2, where
n1 and n2 are existing file numbers and n1 must be less than n2.
To copy all files of the run 0 (zero) should be put in.
Finally - click on the "Stage" button.Removing files from the stage disk
To remove files, one has to fill in the following fields:
1. Run number
2. Numbers of files
3. Type of file ( daq/dst default=daq, test/real default=real)
4. Detector component name.Only "Run number" is mandatory.
Numbers of files, must be separated by commas, if there are not
filled numbers of files, the first five files of the run will be
removed. To remove all files of the run 0 (zero) should be put in.
To remove files from number n1 to n2 one should type n1-n2, where
n1 and n2 are existing file numbers and n1 must be less than n2.
Finally - click on the "Remove" button.
To get information about the stage disk click on the "Disk Info"
button.
To get information about a run, fill in Experiment and Run numbers
and click on the "Run Info" button.
By clicking on the "Status" button, one can get information about
status of staging process (e.g. how many files were already staged).
To kill staging process click on "Stop" button.
"Update" button - updates screen for active window.
Environment and Running Procedure
To start this GUI one
has to run script
$HBROOT/DATAMGR/dev/l4stgui/hbstage_gui
,
which sets up
the following environment variables
export HBROOT=/afs/desy.de/group/hera-b
export JAVA_HOME=/products/jdk/jdk1.1.6
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:\
$HBROOT/DATAMGR/dev/l4stgui/lib
export CLASSPATH=.:$JAVA_HOME/lib/classes.zip:\
$HBROOT/DATAMGR/dev/l4stgui/classes
export RUN_DB_PATH=/hb/www/doc/subgroup/shiftinfo/herab/runlog
export REM_EXEC_PATH=$HBROOT/DATAMGR/dev/Solaris_sparc/bin
and starts Java interpreter for l4aStageGUI.class
Comments and suggestions are welcome.