Skip to content

Shutdown and startup

Unlike blackouts and power outages at OCM, shutdowns are planned and controlled step by step. You will have to perform them if:

  • OCM will be not working for a longer time (how long?)
  • electric works need to be done with the power circuit turned off

Shutdown

To perform a full shutdown you will need about 30 minutes.

BESO

Follow these steps before a planned shutdown or immediately following a power failure:

Warning

The up-to-date instruction of Deactivation and reactivation BESO is available on OCM website in Advanced Documentation. The steps below might be outdated. Please, check them and report to pkarczmarek if any changes must be made.

  1. Close valves labelled "PUMP VALVE and "CAMERA VALVE". These are located in the BESO room, slightly to the right when you enter the room (Fig 1.). Do not make them too tight when closing, a small resistance is enough. In case of an unexpected blackout this is the most important step that needs to be done with BESO as soon as possible (within first 30 minutes). CRITICAL: Do not touch the upper entrance valve labeled "KEEP CLOSED!"

    Pump valve and camera valve
    Fig. 1: Pump valve and camera valve.

  2. Turn off the turbomolelcular pump. This is the red box you see in lower shelf immediately in front of you when entering the BESO room (Fig 2.). The switch off button is on its right side. It will take about 3 minutes to stop completely.

    Warning

    Never open the vacuum trail when the turbomolelcular pump is off. If you cannot restart/reactivate the pump after a power loss, keep the valves closed.

    Pump power switch
    Fig. 2: Pump power switch.

  3. Switch off the spectrograph camera and computer. Power off the entire setup using the "TOTAL ON/OFF" switch located on the right side of the Energenie power manager strip, on the right side of the spectrograph, on a small table (Fig 3.).

    Soft power off

    Ideally, initiate a warmup of the camera via software first (requires a few hours), as the camera should regularly not be powered off while cold. But if an abrupt power loss occurs, the risk of damage is low. Shut down the PC via software if possible.

    Camera power switch
    Fig. 3: Camera, PC and calibration unit power switch.

  4. Turn off the chiller. The chiller is the big cabinet located outside the BESO room, to the left of the room entrance. Simply switch off its power button (Fig 4.).

    Chiller power switch
    Fig. 4: Chiller power switch.

  5. Turn off the air conditioning of BESO. The easiest way is by switching down the main fuse in the cabinet outside the BESO room (Fig 5.).

The main fuse in the cabinet outside the BESO room
Fig. 5: The main fuse in the cabinet outside the BESO room.

Based on the pdf document "Activation and deactivation of BESO system" by Stefan Kimeswenger.

IRIS

  1. In the control room, log in to irisp via Remmina and turn it off from the context menu (it's a regular Ubuntu).
  2. Go to IRIS dome, open it with the key.
  3. Turn off IRIS electronics cabinet. For that turn the lever, located at the waist level in front of the cabinet, counter-clockwise by 90° to a horizontal position. The rack will go silent.
  4. Turn off 2 computers in the IRIS computer rack: irisc and irisccd (they are labeled). Press and hold their power buttons for about 5 seconds until they go silent.
  5. Leave the IRIS dome, lock it with the key.

Remember to refill the nitrogen every day regardgless of IRIS working or not.

ASA telescopes

We don't shut them down manually, because then we have to turn them back on manually, too. Some of computers are located deep inside telescopes' forks or mounts and they are very hard to reach. If they die on their own, we hope they will get back up on their own, too.

Control room

  1. Turn off computers: nadir, zenith, zora, aux. Use the context menu. When off, they red LED diod will be shining on their front.
  2. Turn off monitos: nadir, zenith, aux, OCAM big, OCAM tablet.
  3. Unplug HALina.

Server room

  1. Turn off computers on the rack to the right: maja-kvm, nawia-kvm, box05, perun, pieron; on the same rack but behind: swarog
  2. As the very last one computer to turn off: Router #1
Importance of Router #1

Router #1 runs DNS (Domain Name System) for OCM. DNS translates human-readable domain names (like google.com) into machine-readable IP addresses (like 192.0.2.1). Since computers communicate using numbers, DNS eliminates the need to memorize complex numerical addresses to access websites. When Router #1 goes down, all computers cannot recognize each other and themselves, and cannot communicate.

Router #1 is the last thing to be turn off and the first one to turn on.

Even after complete shutdown there still should be "OCA-Elon" wifi from Starlink, which has its own UPS.

Shutdown assisted by the small generator

Small generator can be turned on to supply the whole building (server room, control room, bedrooms and bathrooms, guest room, minus kitchen and bodega) with energy for as long as it runs, and the energy demand is less than 5kW (the efficiency of the small generator). It is recommended to stop the small generator after 1-1.5h.

Instructions on how to turn the small generator on and off are in the Electric system documentation.

Startup

It takes up to 30 min, be patient

The startup takes about 30 minutes. If not all the systems get up immediately, don't worry until you reach the 30-minute mark.

Server room

  1. First and foremost, turn on Router #1. Wait about 5 min before you do anything else. If Router #1 came back, you should have internet and wifi.
  2. Turn on computers on the rack to the right: maja-kvm, nawia-kvm, box05, perun, pieron; on the same rack but behind: swarog.

Control room

  1. Turn on computers: nadir, zenith, zora, aux.
  2. Turn on monitors: nadir, zenith, aux.
  3. On aux start:

    1. OCAM big

      cd src/oca_monitor
      poetry run ocam
      
      Allsky, water level, telemetry take about 15 min to get up, so they might be initially unavailable on OCAM. Be patient. when the measurements come back they are totally out of any reasonable range: wind speed of 114 m/s, humidity of 255%. This is an expected (though not desired) behavior and comes from a glitch in receiving the data just after the startup. Later these values will disappear and their presence won't affect the axis range.

      If allsky doesn't come back – contact Piotrek W. If water measurement doesn't come back – contact Piotrek Ż.

    2. OCAM small

      cd src/oca_monitor
      poetry run ocam --env aux
      

  4. Turn on the tablet and start OCAM there.

  5. Plug back in HALina.
  6. On nadir (or any other computer) open terminal and check if Router #1 and Zotac are alive and responsive:
    ping 192.168.7.1
    ping 192.168.7.2
    
  7. Still in the terminal check if DNS works, by pinging computers by their names not IPs:

    ping router.oca.lan
    

    If pinging router doesn't work, restart Router #1 (shoudnown 2s / start by button). If calling machines by their names doesn't work (but it works with IP), you can expect that all machines will have the same problem.

  8. In the terminal ping the following:

    ping perun-kvm.oca.lan
    ping pieron-kvm.oca.lan
    ping nawia-kvm.oca.lan
    ping majka-gnc.oca.lan
    ping box05.oca.lan
    
    If any of them doesn't ping, localize the computer in the server room rack and restart it (shutdown 2s / start by button).

  9. In the terminal ping the Virtual Machine (VM) that crates NFS network (/data/...)

    ping perun.oca.lan
    

  10. Ping the remaining machines:

    ping docker.oca.lan
    ping tic.oca.lan
    ping nats.oca.lan
    ping ofp.oca.lan
    ping halina.oca.lan
    ping services01.oca.lan
    ping tcs.oca.lan
    
    If one of them does not ping - ask for advice oca-operations.

    Be patient with docker and tic

    docker.oca.lan and tic.oca.lan need more time to start-up. Give it additional 10 minutes before you deem them not-responding.

    Alternatively to pinging, you can open a web browser and access Grafana (http://dashboard.oca.lan:3000), choose "OCA VMs" and see on the right side of the window how many systems got back up (Fig 8, yellow frame). For some of them it might take up to 20 minutes.

    grafana
    Fig. 8. Grafana and the list of virtual machines..

    The complete list of services is in section Software.

ASA telescopes

  1. Check if telescopes got back up by themselves by pinging them:
    ping wk06-power.oca.lan
    ping wk06-dome.oca.lan
    ping wk06-tcu.oca.lan
    ping wk06-ccd.oca.lan
    
    ping zb08-power.oca.lan
    ping zb08-dome.oca.lan
    ping zb08-tcu.oca.lan
    ping zb08-adh.oca.lan
    
    ping jk15-power.oca.lan
    ping jk15-dome.oca.lan
    ping jk15-tcu.oca.lan
    ping jk15-ccd.oca.lan
    ping jk15-adh.oca.lan
    ping jk15-fw.oca.lan
    ping jk15-ups.oca.lan
    ping jk15-beso.oca.lan
    
  2. If some of them don't ping back, but their power computers do ping back, start them from their respective power pages.
    1. On nadir, open a web browser and type:
      wk06-power.oca.lan
      
    2. Log in with saved credentials.
    3. Turn on all the sockets by a click of a mouse.
    4. Do the same for jk15 (jk15-power.oca.lan) and zb08 (zb08-power.oca.lan). For zb08 the procedure is a little bit different: click top tab "PDU" → left menu "Outlet Action" → "Control" → Drop-down menu "Control Action: Turn on" → tick everything → "Next" → "Turn on"
    5. All machines that didn't respond earlier, should respond now. If the TCU/CCD computers still do not ping but are available in DWService, restart them from DWService.
  3. Log in on machines via DWService, start ASA/ASCOM software as usual.
  4. Check if you can operate wiht TOI, set the ccd cooling on and set ccd temperatures, set readout and gain modes to our default. Turn the motors on if needed. If the telescopes can not be operated via TOI or oca text CLI, the machines can have wrong IP.
  5. Check all Windows machines and other telescope-related devices if anything looks wrong:

Check fuses

If some machines do not come back, check fuses inside rack of respective telescopes. E.g. if the fuse labeled "ASA" in thw wk06 rack is down, pull it up.

The rest of the house

  1. Turn on tablet OCAMs in the kitchen, lounge, and bedrooms.
  2. Shutters. Three automatized shutters/blinders should get back online: kitchen, lounge (TV room), and bodega. If they didn't:

    1. Localize their electric plug (Fig. 9, plugs are obvious/marked/labeled), unplug them, count to 3, and plug them back.
    2. Wait about 5 minutes, if a shutter is active in wBox, that's all. The shutters are scheduled to automatically open and close at sunrise/sunset. However, if the startup happenned after sunset, you must lower the shutter by yourself from wBox.
    3. If a shutter is inactive (in grey) in wBox, oen wifi on oca-phone and connect to the inactive shutter (no password required). Next, in wBox choose this shutter, go to Settings → Connection and choose from available connections "oca vlan". If the shutter cannot connect, try alternatively "oca internet". Once the connection is established, disconnect OCA-phone from the shutter and reconnect with a regular wifi. The shutter is now active in wBox.

    Blinds in bodega and location of their their plug
    Blinds in kitchen and location of their their plug
    Blinds in lounge and location of their their plug
    Fig. 9. Shutters/blinds in the bodega, kitchen and lounge (TV room), and locations of their their plugs.

  3. Lights, temperature and humidity sensors. Analogously to the shutters, use wBox to learn if they are active, and activate the inactive ones.

  4. Red LED lights around the ceiling shutter in the lounge. If they don't turn on after sunset, try unplug them and plug them back. Their socket is in the same place as for the ceiling blinds (Fig. 9, bottom image).
  5. If window/ceiling shutters, LED lights, or temperature/humidity sensors won't go back, even after un-plugging and plugging back, contact Piotrek W.

IRIS

  1. Go to IRIS dome, open it with the key.
  2. Turn on back the IRIS electronics cabinet: turn the lever, located at the waist level in front of the cabinet, clockwise by 90° back to its vertical position. The cabinet will start humming and clacking - this is expected and a sign that everything works fine.
  3. Turn on 2 computers in the rack: irisp and irisccd (they are labeled). Press their power buttons. irisc should be already running on its own, but if it's not, turn it on, too.
  4. For irisp, locate the monitor and keyboard (also labeled), turn on the monitor. Ubuntu should have started by now. Open the terminal. Type:
    vncserver-x11
    
  5. If you see small resolution on irisp monitor, go to Settings and change the resolution of a display. Just clicking on the display settings should immediately set up the desired, higher resolution. This step is necessary, because a program you will start on this computer is designed for a higher resolution and in the lower resolution not all buttons are reachable.
  6. You're all set to connect to irisp from the control room. Turn off the monitor.
  7. For irisccd, locate the monitor and keyboard (also labeled), turn on the monitor. You should see the prompt asking you to log in. Provide the login irisuser and the password. Next, type:

    vncserver -kill :1
    rm /tmp/.X11-unix/X1
    vncserver :1 -geometry 1280x800
    
    vncserver -kill :2
    rm /tmp/.X11-unix/X2
    vncserver :2 -geometry 1280x800
    
    Now you'll be able to connect to irisccd from the control room. Turn off the monitor.

    Should you encounter any problem, consult Troubleshooting.

  8. Leave the IRIS dome, lock it with the key.

  9. In the control room, follow the standard starting procedure for IRIS.

BESO

Follow these steps to safely power on and re-establish the vacuum environment.

Warning

The up-to-date instruction of Deactivation and reactivation BESO is available on OCM website in Advanced Documentation. The steps below might be outdated. Please, check them and report to pkarczmarek if any changes must be made.

Phase 1: Vacuum re-activation

  1. Start the turbomolecular pump.

    1. Use the switch on the right side of the pump to feed power to the pump.
    2. Wait till parameters are loaded on the turbomolecular pump screen. This is a normal step after after the pump was powered down.
    3. Press the power symbol on the pump panel to start the rotator (Fig. 2). At first, green and orange lights are on. When parameters are loaded, the orange light switches off.
    4. On the pump panel press the right arrow symbol repeatedly (up to 50 screens) until the display shows the rotation speed in Hz (parameter 309).
    5. Wait until the pump achieves its maximum rotating speed which is 1500 Hz. The light on the pump should be green.
    6. On the pump panel press the right arrow symbol until the display shows the pressure reading in hPa (parameter 309). It won't show the true pressure at this point, because the pressure sensor for the system is behind the PUMP VALVE.
    7. Wait for about 30 minutes, this is the time it takes for pumping the first stage of the system (the pipe before PUMP VALVE) to reach the pressure of 1E-05 hPa (parameter 309).

    Warning

    Never open the vacuum trail when the turbomolelcular pump is off or hasn't reached the pressure of 1E-05 hPa. If you cannot restart/reactivate the pump after a power loss, keep the valves closed.

  2. Open the pump valve

    1. Wait for the pump to reach the pressure of 1E-05 hPa (parameter 309).
    2. Slowly open the "PUMP VALVE". Closely monitor the pressure on the display – it should start increasing, indicating the pressure in the system. It shouldn't go above 1E-3 hPa. Be careful not to increase the pressure in the pump too rapidly, it might stop the pump or possibly damage it.
    3. Keep pumping until the pressure is a few times 1E-5 hPa.
  3. Open the camera valve.
    1. Wait for the pump to again reach the pressure of a few 1E-05 hPa (parameter 309).
    2. Slowly open the "CAMERA VALVE". Closely monitor the pressure on the display – it should start increasing, but shouldn't go above 1E-3 hPa. Be careful not to increase the pressure in the pump too rapidly, it might stop the pump or possibly damage it.
    3. Keep pumping the camera until it reaches the operational pressure of about a few times 1E-6 hPa – it might take several hours up to a day.

Phase 2: System cooling

  1. When the pressure drops below 5E-4 hPa, start the chiller in the rack next to the BESO room, on the ground floor of jk15 dome.

    1. Verify on the front panel that the temperature is set to its normal operating value of 13°C.
    2. Make sure that the level of the coolant is between the marked min/max values. Cooling operation should not be started at pressures above 5E-4 hPa even for testing.

      Ignore 'liquid missing' warning

      The front panel will always display a false "liquid missing" warning because transparent European/Chilean coolant cannot be read by the US-configured detector. Visually inspect the semi-transparent white plastic box on the chiller to confirm liquid level is between min and max.

  2. Power up the computer and calibration unit (black Energenie power manager strip). Switch on the "TOTAL ON/OFF" switch on the right side of the strip.

    1. The computer is configured to automatically boot when electricity returns. Test if it is online by pinging jk15-beso.oca.lan from another computer. If the computer does not boot automatically, press the physical power button located in the center of the front panel (hidden under a dark tape).
  3. Switching Energenie on will begin the cooling process. The cooling can be monitored via BESO_cli using the command GET TEMP.
  4. Once the temperature reaches -75°C, the camera is operational.
Ricardo's notes kept here for archival purposes
  1. Power up the turbomolecular pump, with the switch on the right side of the pump (See Fig. 2 above)

  2. Wait till parameters are loaded on the turbomolecular pump screen. This is a normal step after after the pump was powered down.

  3. Turn the pump ON, using the button in front of the pump. At first, green and orange lights are on. When parameters are loaded, the orange light switches off.

  4. Wait until the pump achieves its maximum rotating speed which is 1500 Hz (parameter 309). The light on the pump should be green.

  5. On the pump screen, move with the right arrow until you find parameter 340: Pressure (expressed in hPa). It won't show the true pressure at this point, because the pressure sensor for the system is behind the PUMP VALVE.

  6. Wait for about 30 minutes, this is the time it takes for pumping the first stage of the system (the pipe before PUMP VALVE).

  7. Slowly open PUMP VALVE - observe the pressure on the display. It shouldn't go above 1E-3 hPa. Be careful not to increase the pressure in the pump too rapidly, it might stop the pump or possibly damage it.

  8. Now check on the screen the parameter 340: Pressure will start to change (increase?), indicating the pressure in the system.

  9. Pump the second stage of the system, until the pressure will be about a few times 1E-5 hPa.

  10. Very slowly open CAMERA VALVE. Observe the pressure on the display. It shouldn't go above 1E-3 hPa. Be careful not to increase the pressure in the pump too rapidly, it might stop the pump or possibly damage it.

  11. Keep pumping the camera until it reaches the operational pressure of about a few times 1E-6 hPa – it might take several hours up to a day.

  12. When the pressure is below 5E-4 hPa, start the chiller in the jk15 ground room, in the rack next to the BESO room. Make sure that the level of the coolant is between the marked min/max values. Cooling operation should not be started at pressures above 5E-4 hPa even for testing.

  13. Power up the computer and calibration unit (black extension cord). This will begin the cooling process. The cooling can be monitored via BESO_cli using the command GET TEMP. Once the temperature reaches -75°C, the camera is operational.

Based on the pdf document "Activation and deactivation of BESO system" by Stefan Kimeswenger.