Project

General

Profile

Off-Site Procedures » History » Version 138

Glenn Horton-Smith, 08/20/2019 03:45 PM
Add supernova Run Cat link. Remove old run number from ordinary Run Cat link.

1 66 Christoph Rudolf von rohr
h1. Off-Site Procedures
2 70 Christoph Rudolf von rohr
3 134 Sophie Berkman
Before familiarizing yourself with the procedures please read the [[Off-Site Shifting Requirements]].
4 66 Christoph Rudolf von rohr
5 66 Christoph Rudolf von rohr
{{toc}}
6 66 Christoph Rudolf von rohr
7 111 Glenn Horton-Smith
This page describes how to start up and perform your off-site shift.
8 111 Glenn Horton-Smith
For how to set up your off-site remote operations center, see [[Off-Site System Setup]].
9 111 Glenn Horton-Smith
10 66 Christoph Rudolf von rohr
h2. Off-Site Shifting Procedure
11 66 Christoph Rudolf von rohr
12 120 Sophie Berkman
In general an off-site shifter is obliged to follow the procedures described on the "Wiki main page":https://cdcvs.fnal.gov/redmine/projects/uboone-operations/wiki/. There are also some special procedures an off-site shifters will need to follow.
13 66 Christoph Rudolf von rohr
14 66 Christoph Rudolf von rohr
h3. Starting your Off-Site Shift
15 66 Christoph Rudolf von rohr
16 120 Sophie Berkman
First,arrange enough time to start up your off-site shift system. Under normal conditions it takes about 15 minutes to set everything up and you also want to have an overlap with previous shifter. (You are required to contact the previous shifter 10 minutes prior to the start of your shift block, remember).  You will also need time to follow the shift turnover procedures, including verifying that the call forwarding to your shift station is working.
17 66 Christoph Rudolf von rohr
18 66 Christoph Rudolf von rohr
* Follow the start-up or quick start-up guide below.
19 66 Christoph Rudolf von rohr
20 117 Ray Neely
* Get in touch with the previous shifter, usually via Slack, and exchange information on the detector status. Follow the [[Shift_turnover]] procedures.
21 66 Christoph Rudolf von rohr
22 66 Christoph Rudolf von rohr
* Exchange information with previous shifters.
23 66 Christoph Rudolf von rohr
24 92 Corey Adams
* Call MCR (use your landline). Inform them that you are off-site, and tell them what station you are at.
25 66 Christoph Rudolf von rohr
26 120 Sophie Berkman
%{background:yellow; color:black}If you encounter problems setting up your system, inform the Run Coordinator. In case of severe connection difficulties such that you cannot fulfill the requirements of shifting, you may also have to inform the backup shifter.%
27 66 Christoph Rudolf von rohr
28 66 Christoph Rudolf von rohr
h3. During your Off-Site Shift
29 66 Christoph Rudolf von rohr
30 120 Sophie Berkman
Although you may be thousands of miles away from the detector, it is very important that the communication between the shifters and experts works out well. Therefore please try to stick to these rules
31 1 Christoph Rudolf von rohr
32 120 Sophie Berkman
* Off-Site shifters must monitor the Slack chat carefully and should use it any time they have questions.
33 99 Pip Hamilton
34 120 Sophie Berkman
* If you need to step out, you can take quick breaks (few minutes) but if you'll be gone for longer arrange for shift coverage by someone who is also shift-trained. Ensure that anyone covering for you knows who to call in case of an emergency (experts and the run coordinator).
35 66 Christoph Rudolf von rohr
36 66 Christoph Rudolf von rohr
h2. Start-up Guide
37 66 Christoph Rudolf von rohr
38 120 Sophie Berkman
This guide lists all steps necessary for starting up your off-site remote shift system. All steps in this guide might change, so if steps in this guide do not work, please look up the information on the "Wiki main page":https://cdcvs.fnal.gov/redmine/projects/uboone-operations/wiki.
39 66 Christoph Rudolf von rohr
40 66 Christoph Rudolf von rohr
h3. Establish Connection to FNAL
41 66 Christoph Rudolf von rohr
42 137 Sophie Berkman
###. -# Start the VPN client. For this you need to use your FNAL services account credentials.-
43 137 Sophie Berkman
44 66 Christoph Rudolf von rohr
# Get a Kerberos Ticket by using your FNAL computing account (e.g. kinit <username>@FNAL.GOV)
45 1 Christoph Rudolf von rohr
46 124 Sophie Berkman
%{background:yellow; color:black}It is very important to regularly check that your VNC connections are up to date.%
47 122 Sophie Berkman
48 121 Sophie Berkman
-%{background:yellow; color:black}It is very important to connect by VPN *before* any SSH tunnel is opened. If you do it later, you will end up having broken pipes and VNC freezes after some time.%-
49 66 Christoph Rudolf von rohr
50 121 Sophie Berkman
Please remember to kinit **as yourself** at the start of each remote shift. Coasting on old credentials can cause you to lose connection when they unexpectedly expire.
51 100 Pip Hamilton
52 66 Christoph Rudolf von rohr
h3. Start-up of the Run Control VNC
53 66 Christoph Rudolf von rohr
54 66 Christoph Rudolf von rohr
Before you start up the run control VNC for the first time please check out [[RC - Guide]].
55 1 Christoph Rudolf von rohr
56 100 Pip Hamilton
Open a terminal/shell **with key forwarding enabled** (option -K)
57 66 Christoph Rudolf von rohr
<pre>
58 108 Pip Hamilton
ssh -K -L 5903:localhost:5903 uboonedaq@ubdaq-prod-ws01.fnal.gov
59 66 Christoph Rudolf von rohr
</pre>
60 66 Christoph Rudolf von rohr
and on ws01, do
61 1 Christoph Rudolf von rohr
<pre>
62 1 Christoph Rudolf von rohr
ssh -L 5903:localhost:5903 uboonedaq@ubdaq-prod-evb.fnal.gov
63 66 Christoph Rudolf von rohr
</pre>
64 102 Pip Hamilton
65 121 Sophie Berkman
%{background:yellow; color:black} *Do not kinit as yourself* on ws01 (or ws02, or evb). These machines have special principals; if you overwrite them you will lock the DAQ experts out of the system.%
66 1 Christoph Rudolf von rohr
67 121 Sophie Berkman
Now, connect your VNC client to localhost:5903. If you are using RealVNC, open a new terminal and start the VNC session locally on your machine with the command
68 66 Christoph Rudolf von rohr
<pre>
69 66 Christoph Rudolf von rohr
vncviewer localhost:5903
70 66 Christoph Rudolf von rohr
</pre>
71 110 Adrien Hourlier
*Use a separate terminal for this command, not in the ws01 or evb window!*
72 1 Christoph Rudolf von rohr
73 121 Sophie Berkman
Enter the standard DAQ password and wait for the VNC to appear.
74 66 Christoph Rudolf von rohr
75 66 Christoph Rudolf von rohr
If you are facing any problems read [[RC - Guide]] and [[RC - Troubleshooting]] before calling the expert.
76 66 Christoph Rudolf von rohr
77 1 Christoph Rudolf von rohr
h3. Start-up the Slow Monitoring/Control VNC
78 66 Christoph Rudolf von rohr
79 121 Sophie Berkman
If you are operating Slow Monitoring/Control for the first time make sure you read [[SLC - Guide]].
80 66 Christoph Rudolf von rohr
81 66 Christoph Rudolf von rohr
Open a terminal/shell
82 66 Christoph Rudolf von rohr
<pre>
83 127 Sophie Berkman
ssh -K -L 5902:localhost:5902 ubooneshift@ubdaq-prod-ws01.fnal.gov
84 66 Christoph Rudolf von rohr
</pre>
85 121 Sophie Berkman
now, connect your VNC client to localhost:5902. If you are using RealVNC, open a new terminal and start the VNC session locally on your machine with the command
86 66 Christoph Rudolf von rohr
<pre>
87 66 Christoph Rudolf von rohr
vncviewer localhost:5902
88 66 Christoph Rudolf von rohr
</pre>
89 66 Christoph Rudolf von rohr
Enter the standard uBooNE password+smc
90 66 Christoph Rudolf von rohr
91 66 Christoph Rudolf von rohr
If you face any issues while starting up or during operations check [[SLC - Guide]] and [[SLC - Troubleshooting]] before calling the expert.
92 66 Christoph Rudolf von rohr
93 66 Christoph Rudolf von rohr
h3. Start-up PUBS Monitoring GUI
94 66 Christoph Rudolf von rohr
95 66 Christoph Rudolf von rohr
For more information about PUBS read [[DM - Overview]] and [[DM - Shifters]]
96 66 Christoph Rudolf von rohr
97 66 Christoph Rudolf von rohr
Open a terminal/shell
98 66 Christoph Rudolf von rohr
<pre>
99 66 Christoph Rudolf von rohr
ssh -X uboonedaq@ubdaq-prod-ws01.fnal.gov
100 66 Christoph Rudolf von rohr
</pre>
101 66 Christoph Rudolf von rohr
while on ws01 do
102 66 Christoph Rudolf von rohr
<pre>
103 81 Christoph Rudolf von rohr
ssh -X uboonedaq@ubdaq-prod-evb.fnal.gov
104 66 Christoph Rudolf von rohr
</pre>
105 66 Christoph Rudolf von rohr
on this machine execute the following lines
106 1 Christoph Rudolf von rohr
<pre>
107 1 Christoph Rudolf von rohr
cd pubs
108 1 Christoph Rudolf von rohr
source config/setup.sh
109 1 Christoph Rudolf von rohr
setup pyqtgraph
110 1 Christoph Rudolf von rohr
python $PUB_TOP_DIR/pub_mongui/mongui.py
111 1 Christoph Rudolf von rohr
</pre>
112 1 Christoph Rudolf von rohr
113 66 Christoph Rudolf von rohr
When problems occur follow [[DM - Troubleshooting]] before calling an expert.
114 1 Christoph Rudolf von rohr
115 121 Sophie Berkman
h3. Open a Remote Desktop Session for iFix
116 1 Christoph Rudolf von rohr
117 121 Sophie Berkman
To access iFix, you need to have previously activated your Fermi Domain account and arranged for it to be granted access to the ifix machine by contacting the Run Coordinators and providing your username.
118 121 Sophie Berkman
-Once you have set up the usual VPN connection (above)- 
119 82 Christoph Rudolf von rohr
120 121 Sophie Berkman
Connect to ssh tunnel to iFix through ws01:
121 121 Sophie Berkman
<pre>
122 121 Sophie Berkman
ssh -C -N -K -L 13389:ppd-ifix2.fnal.gov:3389 ubooneshift@ubdaq-prod-ws01.fnal.gov
123 121 Sophie Berkman
</pre>
124 86 Corey Adams
125 121 Sophie Berkman
Connect to iFix using a Remote Desktop Protocol client.  On Ubuntu, the default is Remmina.  Some users have suggested the following page for guidelines for mac: https://technet.microsoft.com/en-us/library/dn473012(v=ws.11).aspx
126 121 Sophie Berkman
127 89 Corey Adams
The information you need for the connection using Remmina is: 
128 87 Corey Adams
129 87 Corey Adams
* Protocol = RDP (Remote Desktop Protocol)
130 121 Sophie Berkman
* Server = -ppd-ifix2.fnal.gov- localhost:13389
131 89 Corey Adams
* Username = [leave this blank for now]
132 89 Corey Adams
* Password = [leave this blank for now]
133 89 Corey Adams
* Domain = [leave this blank]
134 89 Corey Adams
135 89 Corey Adams
136 89 Corey Adams
Then, hit connect.  A windows log in screen should load, and you will be prompted to enter your account information:
137 1 Christoph Rudolf von rohr
* Username = [your own personal Fermi Domain account]
138 1 Christoph Rudolf von rohr
* Password = [your own personal Fermi Domain password]
139 87 Corey Adams
140 89 Corey Adams
141 91 Corey Adams
You should see a windows computer load, and ifix will start automatically.  Be mindful to only observe the microboone alarm status, and do not make any alterations to any settings in the ifix.  When you first load the ifix, you may notice an message: "The alarm queue SUMMARY LIST has overflowed. At least one alarm may have been lost."  You can safely dismiss this message, the cryo experts have verified that none of the alarms are lost.  In general, if there are alarms right at the start up of the ifix session (red lights, warning messages, etc.) you can safely dismiss them.  
142 86 Corey Adams
143 66 Christoph Rudolf von rohr
h3. Open SSH Tunnel for Web Interfaces
144 66 Christoph Rudolf von rohr
145 84 Xiao Luo
In order to view the Online Monitoring Lizard, Ganglia and the PUBS status pages one needs to open the following SSH tunnel. This can be done in a separate Terminal by
146 66 Christoph Rudolf von rohr
<pre>
147 66 Christoph Rudolf von rohr
ssh -D 8881 uboonedaq@ubdaq-prod-ws01.fnal.gov
148 66 Christoph Rudolf von rohr
</pre>
149 66 Christoph Rudolf von rohr
Now you are ready to start-up the web pages.
150 66 Christoph Rudolf von rohr
151 128 Sophie Berkman
Remember that for this to work you will need to have the browser settings using the automatic proxy: https://cdcvs.fnal.gov/redmine/attachments/download/24625/lartf.pac
152 128 Sophie Berkman
153 128 Sophie Berkman
154 66 Christoph Rudolf von rohr
h3. Open Web Pages
155 66 Christoph Rudolf von rohr
156 66 Christoph Rudolf von rohr
The following web pages need to be open during the whole shift.
157 66 Christoph Rudolf von rohr
158 66 Christoph Rudolf von rohr
In the Opera browser open
159 66 Christoph Rudolf von rohr
160 66 Christoph Rudolf von rohr
* "uBooNE Online Monitor Lizard":http://ubdaq-prod-near2.fnal.gov/lizard/
161 66 Christoph Rudolf von rohr
162 109 Adrien Hourlier
* "MicroBooNE Trigger Page":https://microboone-exp.fnal.gov/at_work/beam/performance/trigger.html
163 66 Christoph Rudolf von rohr
164 138 Glenn Horton-Smith
* "MicroBooNE Run Catalogue":http://ubdaq-prod-near2.fnal.gov/RunCat/web/
165 138 Glenn Horton-Smith
166 138 Glenn Horton-Smith
* "MicroBooNE Supernova Run Catalog":http://ubdaq-prod-near2.fnal.gov/RunCat/web/recent_sn.cgi
167 96 David Martinez
168 80 Christoph Rudolf von rohr
* "MicroBooNE Run Summary":http://ubdaq-prod-near2.fnal.gov/Pubs/RunSummary.html
169 79 Christoph Rudolf von rohr
170 80 Christoph Rudolf von rohr
* "MicroBooNE Run Statistics":http://ubdaq-prod-near2.fnal.gov/Pubs/RunStat.html
171 1 Christoph Rudolf von rohr
172 83 Christoph Rudolf von rohr
* "Network Weather Map":http://mrtg.fnal.gov/weathermap/wx-uboone.html
173 80 Christoph Rudolf von rohr
174 79 Christoph Rudolf von rohr
175 74 Christoph Rudolf von rohr
In any browser of your choice open
176 1 Christoph Rudolf von rohr
177 79 Christoph Rudolf von rohr
* "Ganglia Shifer View":http://ubdaq-prod-evb.fnal.gov:8080/gweb/?r=hour&cs=&ce=&tab=v&vn=shifter
178 1 Christoph Rudolf von rohr
179 79 Christoph Rudolf von rohr
* "MiniBooNE Monitor":http://www-boone.fnal.gov/monitor/
180 1 Christoph Rudolf von rohr
181 79 Christoph Rudolf von rohr
* "BNB Status Display":http://dbweb6.fnal.gov:8080/ifbeam/bmon/bnbmon/Display
182 1 Christoph Rudolf von rohr
183 79 Christoph Rudolf von rohr
* "NuMi Status Display":http://dbweb6.fnal.gov:8080/ifbeam/bmon/numimon/Display
184 1 Christoph Rudolf von rohr
185 79 Christoph Rudolf von rohr
* "Accelerator Division Notification Page":http://www-bd.fnal.gov/notifyservlet/www?project=&refresh=on&infolinks=top
186 66 Christoph Rudolf von rohr
187 79 Christoph Rudolf von rohr
* "Slow Monitoring Archiver Status":http://ubdaq-prod-smc.fnal.gov:4812/main
188 1 Christoph Rudolf von rohr
189 126 Sophie Berkman
* -"MicroBooNE Run Information Document":https://docs.google.com/spreadsheets/d/1aVGAZrCYizhmduY4pqx5k29pVjyPRO7ydBJj95i0XfA/edit#gid=0-
190 1 Christoph Rudolf von rohr
191 126 Sophie Berkman
* -"MicroBooNE Alarm Page":http://ubdaq-prod-smc.fnal.gov:4714/alarmpage.html-
192 66 Christoph Rudolf von rohr
193 79 Christoph Rudolf von rohr
* "MicroBooNE Operations Wiki":https://cdcvs.fnal.gov/redmine/projects/uboone-operations/wiki
194 66 Christoph Rudolf von rohr
195 79 Christoph Rudolf von rohr
* "MicroBooNE Run Plan":https://cdcvs.fnal.gov/redmine/projects/uboone-operations/wiki/Run_plan
196 66 Christoph Rudolf von rohr
197 119 Sophie Berkman
* "MicroBooNE Expert Call List":https://microboone-exp.fnal.gov/at_work/expert_call_list.html
198 79 Christoph Rudolf von rohr
199 117 Ray Neely
* "Shift Slack Channel":https://microboone.slack.com/messages/CHAD839HQ/
200 1 Christoph Rudolf von rohr
201 1 Christoph Rudolf von rohr
* "MicroBooNE Elog":http://dbweb0.fnal.gov/ECL/uboone/E/index
202 114 Glenn Horton-Smith
203 114 Glenn Horton-Smith
(Note the "PUBS Resource Monitoring":http://ubdaq-prod-near2.fnal.gov/Pubs/ page is "no longer needed":/redmine/projects/uboone-operations/wiki/OpsWikiUpdates#10th-April-2018 .)
204 66 Christoph Rudolf von rohr
205 66 Christoph Rudolf von rohr
If you face any problems with the online monitoring Lizard look into [[OM - Checklist]], [[OM - Guide]] and [[OM - Troubleshooting]].
206 66 Christoph Rudolf von rohr
207 66 Christoph Rudolf von rohr
When you have trouble with the BNB Beam monitor checkout [[Beam - Guide]].
208 66 Christoph Rudolf von rohr
209 66 Christoph Rudolf von rohr
h3. Communication with ROC West
210 66 Christoph Rudolf von rohr
211 94 Corey Adams
[We do not staff ROC west continuously anymore, so this section is no longer relevant.  It's kept here for reference in case we have period where we staff ROC west and a remote center again.]
212 94 Corey Adams
213 66 Christoph Rudolf von rohr
Communication with ROC West is an important part of your off-site shift, therefore:
214 66 Christoph Rudolf von rohr
215 78 Michael Mooney
* Connect to MicroBooNE's CERN Vidyo room using the instructions in [[Off-Site_System_Setup|Off-Site System Setup]].
216 66 Christoph Rudolf von rohr
217 117 Ray Neely
* Login to the MicroBooNE Slack and join the "shift" channel.
218 66 Christoph Rudolf von rohr
219 77 Michael Mooney
If the Vidyo connection fails, connect to Skype using your local shifting account and call ubooneshift.  If both fail, use your landline to communicate with ROC West. Also inform ROC West if you have trouble with your off-site system.
220 66 Christoph Rudolf von rohr
221 66 Christoph Rudolf von rohr
h3. Get ready for Shift
222 66 Christoph Rudolf von rohr
223 95 Corey Adams
If you successfully performed all of the above steps, you are *almost* ready for shift. Call MCR using your landline, give inform them about the off-site shift and leave them your phone number.
224 66 Christoph Rudolf von rohr
225 66 Christoph Rudolf von rohr
Now, you are ready for shift!
226 66 Christoph Rudolf von rohr
227 66 Christoph Rudolf von rohr
h2. Quick Start-up Guide
228 66 Christoph Rudolf von rohr
229 112 Glenn Horton-Smith
First start the VPN client using your FNAL services account credentials.
230 112 Glenn Horton-Smith
231 112 Glenn Horton-Smith
Next open a terminal/shell
232 66 Christoph Rudolf von rohr
<pre>
233 66 Christoph Rudolf von rohr
ssh -L 5903:localhost:5903 -L 5902:localhost:5902 -D 8881 uboonedaq@ubdaq-prod-ws01.fnal.gov
234 66 Christoph Rudolf von rohr
</pre>
235 66 Christoph Rudolf von rohr
and on ws01, do
236 66 Christoph Rudolf von rohr
<pre>
237 66 Christoph Rudolf von rohr
ssh -L 5903:localhost:5903 ubdaq-prod-evb.fnal.gov
238 1 Christoph Rudolf von rohr
</pre>
239 1 Christoph Rudolf von rohr
240 112 Glenn Horton-Smith
Now connect yout VNC client to localhost:5903 and localhost:5902.
241 112 Glenn Horton-Smith
242 113 Glenn Horton-Smith
After that follow the steps to "start up PUBS":/redmine/projects/uboone-operations/wiki/Off-Site_Procedures#Start-up-PUBS-Monitoring-GUI above and open the all the needed pages with your browser(s).