BNMR: Getting Started: Difference between revisions

From DaqWiki
Jump to navigation Jump to search
en>Suz
mNo edit summary
en>Suz
mNo edit summary
Line 10: Line 10:


== Starting from Scratch ==
== Starting from Scratch ==
If the {{bnmqr|join=or}} experiments have not been running previously (e.g. at the start of the beam period) you will need to start from scratch. Usually you will want to run both experiments during the beam period.
If the {{bnmqr|join=or}} experiments have not been running previously (e.g. at the start of the beam period) you will need to start from scratch. You will want to run the experiments [[#In the Counting Room]].


In the counting room, the linux boxes ''isdaq01'' and ''isdaq06'' are used to run the {{bnmqr|join=and}} experiments. They are located side-by-side and each have 2 screens. Note that the DAQ system for both experiments actually runs on ''isdaq01''. The second linux box ''isdaq06'' is used just to display the second experiment. To start one of the experiments while logged on to ''isdaq06'', one must first ssh to ''isdaq01'' as shown below. Both ''isdaq01'' and ''isdaq06'' are part of a NIS cluster (the master is ''isdaq00'' located in the computer room). Users access the same user and data disks from either machine.   
<small>Outside the beam period, "experts" may want to run the experiments for testing, not necessarily in the counting room. In this case, following instructions under [[#Experts]]. </small>
 
=== In the Counting Room ===
Usually you will want to run both experiments during the beam period. In the counting room, the linux boxes ''isdaq01'' and ''isdaq06'' are used to run the {{bnmqr|join=and}} experiments. They are located side-by-side and each have 2 screens. Note that '''the DAQ system for both experiments actually runs on ''isdaq01'' '''. The second linux box ''isdaq06'' is used just to display the second experiment. To start one of the experiments while logged on to ''isdaq06'', one must first ssh to ''isdaq01'' as shown below. Both ''isdaq01'' and ''isdaq06'' are part of a NIS cluster (the master is ''isdaq00'' located in the computer room). Users access the same user and data disks from either machine.   


In the following example, {{bnmr}} experiment is run on ''isdaq01'' console and {{bnqr}} on ''isdaq06'' console. It doesn't matter which experiment runs on which console. If only one of {{bnmqr|join=or}} is to be run, it is simpler to start it on ''isdaq01''.
In the following example, {{bnmr}} experiment is run on ''isdaq01'' console and {{bnqr}} on ''isdaq06'' console. It doesn't matter which experiment runs on which console. If only one of {{bnmqr|join=or}} is to be run, it is simpler to start it on ''isdaq01''.
Line 20: Line 23:


For {{bnmr}} experiment:
For {{bnmr}} experiment:
# Log onto isdaq01 as user ''bnmr''
# <b>Log onto isdaq01 console as user ''bnmr''</b>
# Start a web browser (firefox)
# Start a web browser (firefox)
# Start an xterm
# Start an xterm
Line 29: Line 32:


For {{bnqr}} experiment:
For {{bnqr}} experiment:
# Log onto ''isdaq06'' as user ''bnqr''
# <b>Log onto ''isdaq06'' console as user ''bnqr''</b>
# Bring up a web browser (firefox)
# Bring up a web browser (firefox)
# Start an xterm
# Start an xterm
## ssh bnqr@isdaq01
## <b>ssh bnqr@isdaq01</b>
## Type ''kill-all'' to clean up and remove any DAQ software components  
## Type ''kill-all'' to clean up and remove any DAQ software components  
## Type ''start-all'' to start all DAQ software components
## Type ''start-all'' to start all DAQ software components
Line 40: Line 43:


On the [[BNMR: EPICS page|EPICS page]], make sure that [[BNMR: EPICS page#Write access to Epics Parameters|''BNMR'' has Access]].
On the [[BNMR: EPICS page|EPICS page]], make sure that [[BNMR: EPICS page#Write access to Epics Parameters|''BNMR'' has Access]].
Once the webserver is started (by ''start-all'') the [[BNMR: Custom Status page|custom status page]] can be viewed from any browser (with username/password).


Proceed with [[BNMR: Starting a run]].
Proceed with [[BNMR: Starting a run]].
== Experts ==
Experts may want to start the experiment(s) '''outside the beam period''' for testing. This can be done from any machine.
;To start  <span style="color:#7b68ee; font-style=italic">bnmr </span> and experiment:
ssh bnmr@isdaq01
bnmr@isdaq01> kill-all
bnmr@isdaq01> start-all
Point a web browser to  <span style="color:#7b68ee; font-style=italic">bnmr</span> experiment status page ( https://isdaq01:8443 )
;To start  <span style="color:#20b2aa; font-style=italic">bnqr</span> experiment:
ssh bnqr@isdaq01
bnqr@isdaq01> kill-all
bnqr@isdaq01> start-all
Point a web browser to <span style="color:#20b2aa; font-style=italic">bnqr</span> experiment status page ( https://isdaq01:8444 )
Outside the beam period, you will normally be running in [[BNMR Dual Channel Mode#Single Channel Mode|Single Channel Mode]]. If running both experiments in single channel mode simultaneously, be sure to '''disable helicity switching''' and helicity checking on one of the experiments.


[[Category:BNMR]]
[[Category:BNMR]]

Revision as of 16:38, 8 September 2016

Links

Starting from Scratch

If the bnmr or bnqr experiments have not been running previously (e.g. at the start of the beam period) you will need to start from scratch. You will want to run the experiments #In the Counting Room.

Outside the beam period, "experts" may want to run the experiments for testing, not necessarily in the counting room. In this case, following instructions under #Experts.

In the Counting Room

Usually you will want to run both experiments during the beam period. In the counting room, the linux boxes isdaq01 and isdaq06 are used to run the bnmr and bnqr experiments. They are located side-by-side and each have 2 screens. Note that the DAQ system for both experiments actually runs on isdaq01 . The second linux box isdaq06 is used just to display the second experiment. To start one of the experiments while logged on to isdaq06, one must first ssh to isdaq01 as shown below. Both isdaq01 and isdaq06 are part of a NIS cluster (the master is isdaq00 located in the computer room). Users access the same user and data disks from either machine.

In the following example, bnmr experiment is run on isdaq01 console and bnqr on isdaq06 console. It doesn't matter which experiment runs on which console. If only one of bnmr or bnqr is to be run, it is simpler to start it on isdaq01.


If any other user is already logged on, log them out first.

For bnmr experiment:

  1. Log onto isdaq01 console as user bnmr
  2. Start a web browser (firefox)
  3. Start an xterm
    1. Type kill-all to clean up and remove any DAQ software components
    2. Type start-all to start all DAQ software components
  4. Point the web browser to the bnmr experiment status page ( https://isdaq01:8443 ) & enter username and password. The custom status page should then be displayed.
  5. Open the EPICS page on another desktop if desired.

For bnqr experiment:

  1. Log onto isdaq06 console as user bnqr
  2. Bring up a web browser (firefox)
  3. Start an xterm
    1. ssh bnqr@isdaq01
    2. Type kill-all to clean up and remove any DAQ software components
    3. Type start-all to start all DAQ software components
  4. Point the web browser to the bnqr experiment status page ( https://isdaq01:8444 ) & enter username and password. The custom status page should then be displayed.
  5. Open the EPICS page on another desktop if desired.


On the EPICS page, make sure that BNMR has Access.

Once the webserver is started (by start-all) the custom status page can be viewed from any browser (with username/password).

Proceed with BNMR: Starting a run.


Experts

Experts may want to start the experiment(s) outside the beam period for testing. This can be done from any machine.

To start bnmr and experiment
ssh bnmr@isdaq01
bnmr@isdaq01> kill-all
bnmr@isdaq01> start-all

Point a web browser to bnmr experiment status page ( https://isdaq01:8443 )

To start bnqr experiment
ssh bnqr@isdaq01
bnqr@isdaq01> kill-all
bnqr@isdaq01> start-all

Point a web browser to bnqr experiment status page ( https://isdaq01:8444 )

Outside the beam period, you will normally be running in Single Channel Mode. If running both experiments in single channel mode simultaneously, be sure to disable helicity switching and helicity checking on one of the experiments.