Project

General

Profile

Off-Site Procedures » History » Version 136

Sophie Berkman, 08/07/2019 03:54 PM

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 136 Sophie Berkman
-# Start the VPN client. For this you need to use your FNAL services account credentials.-
43 66 Christoph Rudolf von rohr
# Get a Kerberos Ticket by using your FNAL computing account (e.g. kinit <username>@FNAL.GOV)
44 1 Christoph Rudolf von rohr
45 124 Sophie Berkman
%{background:yellow; color:black}It is very important to regularly check that your VNC connections are up to date.%
46 122 Sophie Berkman
47 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.%-
48 66 Christoph Rudolf von rohr
49 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.
50 100 Pip Hamilton
51 66 Christoph Rudolf von rohr
h3. Start-up of the Run Control VNC
52 66 Christoph Rudolf von rohr
53 66 Christoph Rudolf von rohr
Before you start up the run control VNC for the first time please check out [[RC - Guide]].
54 1 Christoph Rudolf von rohr
55 100 Pip Hamilton
Open a terminal/shell **with key forwarding enabled** (option -K)
56 66 Christoph Rudolf von rohr
<pre>
57 108 Pip Hamilton
ssh -K -L 5903:localhost:5903 uboonedaq@ubdaq-prod-ws01.fnal.gov
58 66 Christoph Rudolf von rohr
</pre>
59 66 Christoph Rudolf von rohr
and on ws01, do
60 1 Christoph Rudolf von rohr
<pre>
61 1 Christoph Rudolf von rohr
ssh -L 5903:localhost:5903 uboonedaq@ubdaq-prod-evb.fnal.gov
62 66 Christoph Rudolf von rohr
</pre>
63 102 Pip Hamilton
64 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.%
65 1 Christoph Rudolf von rohr
66 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
67 66 Christoph Rudolf von rohr
<pre>
68 66 Christoph Rudolf von rohr
vncviewer localhost:5903
69 66 Christoph Rudolf von rohr
</pre>
70 110 Adrien Hourlier
*Use a separate terminal for this command, not in the ws01 or evb window!*
71 1 Christoph Rudolf von rohr
72 121 Sophie Berkman
Enter the standard DAQ password and wait for the VNC to appear.
73 66 Christoph Rudolf von rohr
74 66 Christoph Rudolf von rohr
If you are facing any problems read [[RC - Guide]] and [[RC - Troubleshooting]] before calling the expert.
75 66 Christoph Rudolf von rohr
76 1 Christoph Rudolf von rohr
h3. Start-up the Slow Monitoring/Control VNC
77 66 Christoph Rudolf von rohr
78 121 Sophie Berkman
If you are operating Slow Monitoring/Control for the first time make sure you read [[SLC - Guide]].
79 66 Christoph Rudolf von rohr
80 66 Christoph Rudolf von rohr
Open a terminal/shell
81 66 Christoph Rudolf von rohr
<pre>
82 127 Sophie Berkman
ssh -K -L 5902:localhost:5902 ubooneshift@ubdaq-prod-ws01.fnal.gov
83 66 Christoph Rudolf von rohr
</pre>
84 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
85 66 Christoph Rudolf von rohr
<pre>
86 66 Christoph Rudolf von rohr
vncviewer localhost:5902
87 66 Christoph Rudolf von rohr
</pre>
88 66 Christoph Rudolf von rohr
Enter the standard uBooNE password+smc
89 66 Christoph Rudolf von rohr
90 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.
91 66 Christoph Rudolf von rohr
92 66 Christoph Rudolf von rohr
h3. Start-up PUBS Monitoring GUI
93 66 Christoph Rudolf von rohr
94 66 Christoph Rudolf von rohr
For more information about PUBS read [[DM - Overview]] and [[DM - Shifters]]
95 66 Christoph Rudolf von rohr
96 66 Christoph Rudolf von rohr
Open a terminal/shell
97 66 Christoph Rudolf von rohr
<pre>
98 66 Christoph Rudolf von rohr
ssh -X uboonedaq@ubdaq-prod-ws01.fnal.gov
99 66 Christoph Rudolf von rohr
</pre>
100 66 Christoph Rudolf von rohr
while on ws01 do
101 66 Christoph Rudolf von rohr
<pre>
102 81 Christoph Rudolf von rohr
ssh -X uboonedaq@ubdaq-prod-evb.fnal.gov
103 66 Christoph Rudolf von rohr
</pre>
104 66 Christoph Rudolf von rohr
on this machine execute the following lines
105 1 Christoph Rudolf von rohr
<pre>
106 1 Christoph Rudolf von rohr
cd pubs
107 1 Christoph Rudolf von rohr
source config/setup.sh
108 1 Christoph Rudolf von rohr
setup pyqtgraph
109 1 Christoph Rudolf von rohr
python $PUB_TOP_DIR/pub_mongui/mongui.py
110 1 Christoph Rudolf von rohr
</pre>
111 1 Christoph Rudolf von rohr
112 66 Christoph Rudolf von rohr
When problems occur follow [[DM - Troubleshooting]] before calling an expert.
113 1 Christoph Rudolf von rohr
114 121 Sophie Berkman
h3. Open a Remote Desktop Session for iFix
115 1 Christoph Rudolf von rohr
116 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.
117 121 Sophie Berkman
-Once you have set up the usual VPN connection (above)- 
118 82 Christoph Rudolf von rohr
119 121 Sophie Berkman
Connect to ssh tunnel to iFix through ws01:
120 121 Sophie Berkman
<pre>
121 121 Sophie Berkman
ssh -C -N -K -L 13389:ppd-ifix2.fnal.gov:3389 ubooneshift@ubdaq-prod-ws01.fnal.gov
122 121 Sophie Berkman
</pre>
123 86 Corey Adams
124 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
125 121 Sophie Berkman
126 89 Corey Adams
The information you need for the connection using Remmina is: 
127 87 Corey Adams
128 87 Corey Adams
* Protocol = RDP (Remote Desktop Protocol)
129 121 Sophie Berkman
* Server = -ppd-ifix2.fnal.gov- localhost:13389
130 89 Corey Adams
* Username = [leave this blank for now]
131 89 Corey Adams
* Password = [leave this blank for now]
132 89 Corey Adams
* Domain = [leave this blank]
133 89 Corey Adams
134 89 Corey Adams
135 89 Corey Adams
Then, hit connect.  A windows log in screen should load, and you will be prompted to enter your account information:
136 1 Christoph Rudolf von rohr
* Username = [your own personal Fermi Domain account]
137 1 Christoph Rudolf von rohr
* Password = [your own personal Fermi Domain password]
138 87 Corey Adams
139 89 Corey Adams
140 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.  
141 86 Corey Adams
142 66 Christoph Rudolf von rohr
h3. Open SSH Tunnel for Web Interfaces
143 66 Christoph Rudolf von rohr
144 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
145 66 Christoph Rudolf von rohr
<pre>
146 66 Christoph Rudolf von rohr
ssh -D 8881 uboonedaq@ubdaq-prod-ws01.fnal.gov
147 66 Christoph Rudolf von rohr
</pre>
148 66 Christoph Rudolf von rohr
Now you are ready to start-up the web pages.
149 66 Christoph Rudolf von rohr
150 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
151 128 Sophie Berkman
152 128 Sophie Berkman
153 66 Christoph Rudolf von rohr
h3. Open Web Pages
154 66 Christoph Rudolf von rohr
155 66 Christoph Rudolf von rohr
The following web pages need to be open during the whole shift.
156 66 Christoph Rudolf von rohr
157 66 Christoph Rudolf von rohr
In the Opera browser open
158 66 Christoph Rudolf von rohr
159 66 Christoph Rudolf von rohr
* "uBooNE Online Monitor Lizard":http://ubdaq-prod-near2.fnal.gov/lizard/
160 66 Christoph Rudolf von rohr
161 109 Adrien Hourlier
* "MicroBooNE Trigger Page":https://microboone-exp.fnal.gov/at_work/beam/performance/trigger.html
162 66 Christoph Rudolf von rohr
163 97 David Martinez
* "MicroBooNE Run Catalogue":http://ubdaq-prod-near2.fnal.gov/RunCat/web/plots.html?run=10722
164 96 David Martinez
165 80 Christoph Rudolf von rohr
* "MicroBooNE Run Summary":http://ubdaq-prod-near2.fnal.gov/Pubs/RunSummary.html
166 79 Christoph Rudolf von rohr
167 80 Christoph Rudolf von rohr
* "MicroBooNE Run Statistics":http://ubdaq-prod-near2.fnal.gov/Pubs/RunStat.html
168 1 Christoph Rudolf von rohr
169 83 Christoph Rudolf von rohr
* "Network Weather Map":http://mrtg.fnal.gov/weathermap/wx-uboone.html
170 80 Christoph Rudolf von rohr
171 79 Christoph Rudolf von rohr
172 74 Christoph Rudolf von rohr
In any browser of your choice open
173 1 Christoph Rudolf von rohr
174 79 Christoph Rudolf von rohr
* "Ganglia Shifer View":http://ubdaq-prod-evb.fnal.gov:8080/gweb/?r=hour&cs=&ce=&tab=v&vn=shifter
175 1 Christoph Rudolf von rohr
176 79 Christoph Rudolf von rohr
* "MiniBooNE Monitor":http://www-boone.fnal.gov/monitor/
177 1 Christoph Rudolf von rohr
178 79 Christoph Rudolf von rohr
* "BNB Status Display":http://dbweb6.fnal.gov:8080/ifbeam/bmon/bnbmon/Display
179 1 Christoph Rudolf von rohr
180 79 Christoph Rudolf von rohr
* "NuMi Status Display":http://dbweb6.fnal.gov:8080/ifbeam/bmon/numimon/Display
181 1 Christoph Rudolf von rohr
182 79 Christoph Rudolf von rohr
* "Accelerator Division Notification Page":http://www-bd.fnal.gov/notifyservlet/www?project=&refresh=on&infolinks=top
183 66 Christoph Rudolf von rohr
184 79 Christoph Rudolf von rohr
* "Slow Monitoring Archiver Status":http://ubdaq-prod-smc.fnal.gov:4812/main
185 1 Christoph Rudolf von rohr
186 126 Sophie Berkman
* -"MicroBooNE Run Information Document":https://docs.google.com/spreadsheets/d/1aVGAZrCYizhmduY4pqx5k29pVjyPRO7ydBJj95i0XfA/edit#gid=0-
187 1 Christoph Rudolf von rohr
188 126 Sophie Berkman
* -"MicroBooNE Alarm Page":http://ubdaq-prod-smc.fnal.gov:4714/alarmpage.html-
189 66 Christoph Rudolf von rohr
190 79 Christoph Rudolf von rohr
* "MicroBooNE Operations Wiki":https://cdcvs.fnal.gov/redmine/projects/uboone-operations/wiki
191 66 Christoph Rudolf von rohr
192 79 Christoph Rudolf von rohr
* "MicroBooNE Run Plan":https://cdcvs.fnal.gov/redmine/projects/uboone-operations/wiki/Run_plan
193 66 Christoph Rudolf von rohr
194 119 Sophie Berkman
* "MicroBooNE Expert Call List":https://microboone-exp.fnal.gov/at_work/expert_call_list.html
195 79 Christoph Rudolf von rohr
196 117 Ray Neely
* "Shift Slack Channel":https://microboone.slack.com/messages/CHAD839HQ/
197 1 Christoph Rudolf von rohr
198 1 Christoph Rudolf von rohr
* "MicroBooNE Elog":http://dbweb0.fnal.gov/ECL/uboone/E/index
199 114 Glenn Horton-Smith
200 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 .)
201 66 Christoph Rudolf von rohr
202 66 Christoph Rudolf von rohr
If you face any problems with the online monitoring Lizard look into [[OM - Checklist]], [[OM - Guide]] and [[OM - Troubleshooting]].
203 66 Christoph Rudolf von rohr
204 66 Christoph Rudolf von rohr
When you have trouble with the BNB Beam monitor checkout [[Beam - Guide]].
205 66 Christoph Rudolf von rohr
206 66 Christoph Rudolf von rohr
h3. Communication with ROC West
207 66 Christoph Rudolf von rohr
208 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.]
209 94 Corey Adams
210 66 Christoph Rudolf von rohr
Communication with ROC West is an important part of your off-site shift, therefore:
211 66 Christoph Rudolf von rohr
212 78 Michael Mooney
* Connect to MicroBooNE's CERN Vidyo room using the instructions in [[Off-Site_System_Setup|Off-Site System Setup]].
213 66 Christoph Rudolf von rohr
214 117 Ray Neely
* Login to the MicroBooNE Slack and join the "shift" channel.
215 66 Christoph Rudolf von rohr
216 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.
217 66 Christoph Rudolf von rohr
218 66 Christoph Rudolf von rohr
h3. Get ready for Shift
219 66 Christoph Rudolf von rohr
220 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.
221 66 Christoph Rudolf von rohr
222 66 Christoph Rudolf von rohr
Now, you are ready for shift!
223 66 Christoph Rudolf von rohr
224 66 Christoph Rudolf von rohr
h2. Quick Start-up Guide
225 66 Christoph Rudolf von rohr
226 112 Glenn Horton-Smith
First start the VPN client using your FNAL services account credentials.
227 112 Glenn Horton-Smith
228 112 Glenn Horton-Smith
Next open a terminal/shell
229 66 Christoph Rudolf von rohr
<pre>
230 66 Christoph Rudolf von rohr
ssh -L 5903:localhost:5903 -L 5902:localhost:5902 -D 8881 uboonedaq@ubdaq-prod-ws01.fnal.gov
231 66 Christoph Rudolf von rohr
</pre>
232 66 Christoph Rudolf von rohr
and on ws01, do
233 66 Christoph Rudolf von rohr
<pre>
234 66 Christoph Rudolf von rohr
ssh -L 5903:localhost:5903 ubdaq-prod-evb.fnal.gov
235 1 Christoph Rudolf von rohr
</pre>
236 1 Christoph Rudolf von rohr
237 112 Glenn Horton-Smith
Now connect yout VNC client to localhost:5903 and localhost:5902.
238 112 Glenn Horton-Smith
239 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).