Difference between revisions of "Rebooting and Resetting"

From Hall A Wiki
Jump to: navigation, search
(Remote Crate Resets)
(Remote Crate Resets)
Line 51: Line 51:
 
* Go to HALL-A tools screen on hacsbc2 (left-hand side of shift leader's computer)
 
* Go to HALL-A tools screen on hacsbc2 (left-hand side of shift leader's computer)
 
* Under "MISCELLANEOUS" section click on "Crate Resets" and under "Resets from the Electron Detector Stack (right) Crate" look for "Lower Fastbus AC" and click on "click to reset" button. For ROC1,the boot parameters will need to be re-entered in the portserver terminal window, check the "special note for ROC1/ROC3" in this document above [[https://hallaweb.jlab.org/wiki/index.php/Rebooting_and_Resetting#Special_Note_on_ROC3.2FROC1]].
 
* Under "MISCELLANEOUS" section click on "Crate Resets" and under "Resets from the Electron Detector Stack (right) Crate" look for "Lower Fastbus AC" and click on "click to reset" button. For ROC1,the boot parameters will need to be re-entered in the portserver terminal window, check the "special note for ROC1/ROC3" in this document above [[https://hallaweb.jlab.org/wiki/index.php/Rebooting_and_Resetting#Special_Note_on_ROC3.2FROC1]].
 +
* after rebooting, in the runcontrol GUI, click Abort, click Reset, and then click Download.
  
 
===TS0===
 
===TS0===
Line 56: Line 57:
 
* Go to HALL-A tools screen on hacsbc2 (left-hand side of shift leader's computer)
 
* Go to HALL-A tools screen on hacsbc2 (left-hand side of shift leader's computer)
 
* Under "MISCELLANEOUS" section click on "Crate Resets" and under "Resets from the Electron Detector Stack (right) Crate" look for "Trigger Supervisor" and click on "click to reset" button.
 
* Under "MISCELLANEOUS" section click on "Crate Resets" and under "Resets from the Electron Detector Stack (right) Crate" look for "Trigger Supervisor" and click on "click to reset" button.
 +
* after rebooting, in the runcontrol GUI, click Abort, click Reset, and then click Download.
  
 
=== ROC 26 ===
 
=== ROC 26 ===
Line 61: Line 63:
 
* Direct a webbrowser to [http://hareboot32 hareboot32], Click "Control Action" perform and select "Immediate Reboot" for Outlet 8 "happex7 RHRS(ROC 26)", then click "apply".
 
* Direct a webbrowser to [http://hareboot32 hareboot32], Click "Control Action" perform and select "Immediate Reboot" for Outlet 8 "happex7 RHRS(ROC 26)", then click "apply".
 
* The password is located near the white board.
 
* The password is located near the white board.
 +
* after rebooting, in the runcontrol GUI, click Abort, click Reset, and then click Download.
  
 
===ROC3/ROC4/ROC5===
 
===ROC3/ROC4/ROC5===
Line 66: Line 69:
 
* Go to HALL-A tools screen on hacsbc2 (left-hand side of shift leader's computer)
 
* Go to HALL-A tools screen on hacsbc2 (left-hand side of shift leader's computer)
 
* Under "MISCELLANEOUS" section click on "Crate Resets" and under "Resets from the Hadron Detector Stack (left) Crate" look for "Lower Fastbus AC" and click on "click to reset" button.For ROC3,the boot parameters will need to be re-entered in the portserver terminal window, check the "special note for ROC1/ROC3" in this document above [[https://hallaweb.jlab.org/wiki/index.php/Rebooting_and_Resetting#Special_Note_on_ROC3.2FROC1]].
 
* Under "MISCELLANEOUS" section click on "Crate Resets" and under "Resets from the Hadron Detector Stack (left) Crate" look for "Lower Fastbus AC" and click on "click to reset" button.For ROC3,the boot parameters will need to be re-entered in the portserver terminal window, check the "special note for ROC1/ROC3" in this document above [[https://hallaweb.jlab.org/wiki/index.php/Rebooting_and_Resetting#Special_Note_on_ROC3.2FROC1]].
 +
* after rebooting, in the runcontrol GUI, click Abort, click Reset, and then click Download.
  
 
===TS11===
 
===TS11===
Line 71: Line 75:
 
* Go to HALL-A tools screen on hacsbc2 (left-hand side of shift leader's computer)
 
* Go to HALL-A tools screen on hacsbc2 (left-hand side of shift leader's computer)
 
* Under "MISCELLANEOUS" section click on "Crate Resets" and under "Resets from the Hadron Detector Stack (left) Crate" look for "Trigger Supervisor" and click on "click to reset" button.
 
* Under "MISCELLANEOUS" section click on "Crate Resets" and under "Resets from the Hadron Detector Stack (left) Crate" look for "Trigger Supervisor" and click on "click to reset" button.
 +
* after rebooting, in the runcontrol GUI, click Abort, click Reset, and then click Download.
  
 
=== ROC 25 ===
 
=== ROC 25 ===
Line 76: Line 81:
 
* Direct a webbrowser to [http://hareboot28 hareboot28], Click "Control Action" perform and select "Immediate Reboot" for Outlet 1 "happex8 LHRS(ROC 25)", then click "apply".
 
* Direct a webbrowser to [http://hareboot28 hareboot28], Click "Control Action" perform and select "Immediate Reboot" for Outlet 1 "happex8 LHRS(ROC 25)", then click "apply".
 
* The password is located near the white board.
 
* The password is located near the white board.
 +
* after rebooting, in the runcontrol GUI, click Abort, click Reset, and then click Download.

Revision as of 01:50, 28 February 2012

There are a few ways to reboot and reset LHRS/RHRS DAQ crates.

Quick Resets

Problems with CODA 2.6.1 can usually be solved with a simple Reset (<< in rcgui) or with a Cold Start. Call an expert if you are stuck. Do NOT waste an hour stuck on resets.

If you reboot the ROC, or if something on the workstation is hung up, try pushing the ”Reset” button in runcontrol (<<” in rcgui). Then Configure, Download, and Start a run as usual. If a “quick” reset doesn’t work, try a Cold Start (see below)

Rebooting a ROC

If a ROC seems to be hung up, you can reboot it. To do this follow these steps:

  1. Type ”reboot” at the vxWorks prompt (− > reboot) in the ROC's xterm window.
    1. Another possibility is to type “ctrl-X” at the vxWorks prompt; this sometimes works when typing reboot does not work
  2. Wait 2 minutes and telnet back in to verify its alive.

The name of the ROC computer is normally written in the name of the xterm (hallasfi1, hallasfi2, etc). Finally, if the above does not work one can gain access to the cpu and press the reset button (or use the remote crate resets below).

Special Note on ROC3/ROC1

If the LHRS (RHRS) crate is power cycled, the boot parameters for ROC3(ROC1) will need to be re-entered. The boot parameters are located in doc/vmeram g2p.doc and also on the g2p Wiki[[1]]. To change the boot parameters do the following:

  1. Go to the vxWorks prompt for ROC3 and type ”c”.
  2. This will allow you to enter the parameters, one line at a time.
  3. When finished, type ”p” to print the boot parameters (and check that they are correct)
  4. Type ”@” to reboot the ROC.

Cold Restarts (Starting CODA from scratch)

  1. To perform a cold start of the processes on the Linux computer (adaql1 or adaql2), simply type “startcoda” on the a-onl account. This performs a “kcoda” for you, as well as starts all the components you need.
  2. Eventually runcontrol (rcgui) will pop up.
    1. In runcontrol press the Platform button and then ”connect”.
    2. After “connect”, verify you have the correct session (LHRS/RHRS) and configuration (LHRSHAP/RHRSBUFF). Usually you will, but if not you’ll need to select the session and config.
    3. You may now do the “configure” by pressing the button with crossed screwdriver and wrench in the upper left corner. Be patient, configure takes awhile.
    4. Then you may download, which is the next button to the right, it looks like a tape drive.
    5. In general, the button names can be discovered by putting the mouse on it and letting it sit there for a few seconds; a small box appears with the name of the button.
    6. To start a run, press the >> button.
    7. To end a run press the square box that’s sorta in the middle.
    8. To reset, press the << button.
  3. Start datamon by typing “datamon”


If you ever logout of the DAQ computer adaql1 or adaql2 or have rebooted it, here is how to restart the preferred setup. Login to the adaql1(adaql2) console as ”adaq” and then

ssh -l a-onl adaql1(adaql2) 
Reason is that if you login directly as a-onl, some GUI windows like start-run don’t pop up. Just do what I said. Start CODA by typing “startcoda” as explained above. Emacs the prescale file in the background:
emacs /prescale/prescaleL(or)R.dat 

Remote Crate Resets

Necessary when the crates get hung up, and cannot be rebooted. Do not power cycle the crates when it can be rebooted.

ROC1/ROC2/ROC6

  • Go to HALL-A tools screen on hacsbc2 (left-hand side of shift leader's computer)
  • Under "MISCELLANEOUS" section click on "Crate Resets" and under "Resets from the Electron Detector Stack (right) Crate" look for "Lower Fastbus AC" and click on "click to reset" button. For ROC1,the boot parameters will need to be re-entered in the portserver terminal window, check the "special note for ROC1/ROC3" in this document above [[2]].
  • after rebooting, in the runcontrol GUI, click Abort, click Reset, and then click Download.

TS0

  • Go to HALL-A tools screen on hacsbc2 (left-hand side of shift leader's computer)
  • Under "MISCELLANEOUS" section click on "Crate Resets" and under "Resets from the Electron Detector Stack (right) Crate" look for "Trigger Supervisor" and click on "click to reset" button.
  • after rebooting, in the runcontrol GUI, click Abort, click Reset, and then click Download.

ROC 26

  • Direct a webbrowser to hareboot32, Click "Control Action" perform and select "Immediate Reboot" for Outlet 8 "happex7 RHRS(ROC 26)", then click "apply".
  • The password is located near the white board.
  • after rebooting, in the runcontrol GUI, click Abort, click Reset, and then click Download.

ROC3/ROC4/ROC5

  • Go to HALL-A tools screen on hacsbc2 (left-hand side of shift leader's computer)
  • Under "MISCELLANEOUS" section click on "Crate Resets" and under "Resets from the Hadron Detector Stack (left) Crate" look for "Lower Fastbus AC" and click on "click to reset" button.For ROC3,the boot parameters will need to be re-entered in the portserver terminal window, check the "special note for ROC1/ROC3" in this document above [[3]].
  • after rebooting, in the runcontrol GUI, click Abort, click Reset, and then click Download.

TS11

  • Go to HALL-A tools screen on hacsbc2 (left-hand side of shift leader's computer)
  • Under "MISCELLANEOUS" section click on "Crate Resets" and under "Resets from the Hadron Detector Stack (left) Crate" look for "Trigger Supervisor" and click on "click to reset" button.
  • after rebooting, in the runcontrol GUI, click Abort, click Reset, and then click Download.

ROC 25

  • Direct a webbrowser to hareboot28, Click "Control Action" perform and select "Immediate Reboot" for Outlet 1 "happex8 LHRS(ROC 25)", then click "apply".
  • The password is located near the white board.
  • after rebooting, in the runcontrol GUI, click Abort, click Reset, and then click Download.