How to start Software

There are multiple ways to start up the software and depending on situation one or the other is more appropriate. The ARGOS software has also some dependencies, which have to be followed especially when starting from scratch.

Software structure

Each hardware device is operated by a individual process. The general naming of such processes are basdard. Then there are for each subsystem a state machine coordinating the devices of the subsystem. Following subsystem exist for each side - DX and SX:
  1. LasSystem = LAS (contains the lasers, the laser foreoptics, some cameras to re-image the pupil and field of the lasers, some devices to trigger and monitor the lasers)
  2. LanSystem = LAN (contains the launch optics and actuators to adjust them)
  3. LgswSystem = LGSW (contains all wavfront sensor devices: motors, pockles cells, CCD, BCU)
  4. TipTiltSystem = TipTilt (not commissioned and out of service) *Best you never touch it.*
In addition there is the master controller, which is called ARGOS-Arbitrator (AArb).

In general the common devices of LAN and LAS have to be started first, then the sided devices and finally the AArb.

Start the easy way

This chapter describes the way how to start up the software as it should normally be done. This way is simple but also not so flexible and on a very high level.

Preconditions
  1. Check if the FLAO processes are stopped or running as user argos (TODO: HowToTroubleshootFLAO)
  2. monit must run
Procedure

After login on the desktop computer the ARGOS system GUI should appear. If not open it (Applications->ARGOS common).
  1. Press the blue status buttons. This will open firefox with the monit page. Tabs will be added for each additional status. If monit is not running you will see page not found (StartViaConsol).
  2. Press "Re-start all processes". This will start or if already up re-start all ARGOS processes in the right order for and it will start the FLAO processes, both for DX and SX.

Start Via Console

Start Common Services On DX LALAS Via Console

  1. Connect to dx-lalas.
  2. Start monit on dx-lalas:
    argos_dx_lalas_monit_start
  3. Start common services on dx-lalas:
    argos_dx_lalas_monit start -g LAS
    1. Check that common services are running:
      argos_dx_lalas_monit summary | grep "'LAS."

Start DX LALAS Services Via Console

  1. Precondition: The common services on DX LALAS must be running
  2. Connect to dx-lalas.
  3. Start monit on dx-lalas:
    argos_dx_lalas_monit_start
  4. Start LAS services on dx-lalas:
    argos_dx_lalas_monit start -g DX.LAS
    1. Check that LAS services are running:
      argos_dx_lalas_monit summary | grep "'DX.LAS."
  5. Start common LAN services on dx-lalas:
    argos_dx_lalas_monit start -g LAN
    1. Check that LAN services are running:
      argos_dx_lalas_monit summary | grep "'LAN."
  6. Start LAN services on dx-lalas:
    argos_dx_lalas_monit start -g DX.LAN
    1. Check that LAN services are running:
      argos_dx_lalas_monit summary | grep "'DX.LAN."

Start DX LGSW Services Via Console

  1. Precondition: The common services on DX LALAS must be running
  2. Connect to dx-lgsw.
  3. Start monit on dx-lgsw:
    argos_dx_lgsw_monit_start
  4. Start DX LGSW services on dx-lgsw:
    argos_dx_lgsw_monit start -g DX.LGSW
    1. Check that DX LGSW services are running:
      argos_dx_lgsw_monit summary | grep "DX.LGSW."
  5. Start DX Tip Tilt services on dx-lgsw:
    argos_dx_lgsw_monit start -g DX.TIPTILT
    1. Check that DX Tip Tilt services are running:
      argos_dx_lgsw_monit summary | grep DX.TIPTILT

Start DX Argos Arbitrator Via Console

  1. Precondition: None in theory but in currently (2015-02-24) the services on dx-lalas and dx-lgsw must run.
  2. Start DX Argos Arbitrator on dx-lalas:
    argos_dx_lalas_monit start DX.AARB
    1. Check that DX Argos Arbitator is running:
      argos_dx_lalas_monit summary | grep DX.AARB
  3. Start DX Argos Arbitrator GUI on dx-lalas:
    argos_dx_arbitrator_engineering_gui

Start Via GUIs on the ARGOS server machines

Start common software

Some pieces of software are needed by all the ARGOS subsystems (SX and DX)
  1. Open a VNC connection to dxlalas. Yes, even if you want to work on left side or on LGSW only. See here
  2. Click on Start_DX_LAS_monit to start MonitServiceManager, the ARGOS process manager
  3. Launch a browser and go to http://localhost:2812/ The browser will be locked by someone else: see HowToKickOthersOutOfFirefox
  4. Click on Start LAS
  5. Check that the processes named LAS.xxx are in Running state. (Don't mind about DX.LAS.xxx nor SX.LAS.xxx)

Start DX LALAS software

  1. Follow the procedure for starting common software: see here
  2. In monit web page, click on Start LAN
  3. In monit web page, click on Start DX.LAS
  4. In monit web page, click on Start DX.LAN

To start low level commissioning GUIs:
  1. On the desktop, click on IconLgswController.png "DX LAS Controller GUI" to open the controller GUI.
  2. On the desktop, click on "DX LAS Status GUI" to open the engineering GUI.
  3. On the desktop, click on "DX LAN Controller GUI" to open the controller GUI.
  4. On the desktop, click on "DX LAN Lab GUI" to open the engineering GUI.

Start SX LALAS software

  1. Follow the procedure for starting common software: see here
  2. Open a VNC connection to sxlalas. See here
  3. Launch a browser and go to http://localhost:2812/ The browser will be locked by someone else: see HowToKickOthersOutOfFirefox
  4. In monit web page, click on Start LAN
  5. In monit web page, click on Start SX.LAS
  6. In monit web page, click on Start SX.LAN

To start low level commissioning GUIs:
  1. On the desktop, click on IconLgswController.png "SX LAS Controller GUI" to open the controller GUI.
  2. On the desktop, click on "SX LAS Status GUI" to open the engineering GUI.
  3. On the desktop, click on "SX LAN Controller GUI" to open the controller GUI.
  4. On the desktop, click on "SX LAN Lab GUI" to open the engineering GUI.

Start DX LGSW software

  1. Follow the procedure for starting common software: see here
  2. Open a VNC connection to dxlgsw. See here
  3. Launch a browser and go to http://localhost:2812/ The browser will be locked by someone else: see HowToKickOthersOutOfFirefox
  4. In monit web page, click on Start DX.LGSW
  5. In monit web page, click on Start DX.TIPTILT

To start low level commissioning GUIs:
  1. On the menu bar, click on the icon IconLgswController.png of the "Controller GUI" to open the controller GUI.
  2. On the menu bar, click on the icon IconLgswLab.png of the "Lab GUI" to open the engineering GUI.
  3. On the menu bar, click on the icon IconLgswViewer.png of the "CCD viewer" to open the WfsCamera CCD viewer.

Start SX LGSW software

  1. Follow the procedure for starting common software: see here
  2. Open a VNC connection to sxlgsw. See here
  3. Launch a browser and go to http://localhost:2812/ The browser will be locked by someone else: see HowToKickOthersOutOfFirefox
  4. In monit web page, click on Start SX.LGSW
  5. In monit web page, click on Start SX.TIPTILT

To start low level commissioning GUIs:
  1. On the menu bar, click on the icon IconLgswController.png of the "Controller GUI" to open the controller GUI.
  2. On the menu bar, click on the icon IconLgswLab.png of the "Lab GUI" to open the engineering GUI.
  3. On the menu bar, click on the icon IconLgswViewer.png of the "CCD viewer" to open the WfsCamera CCD viewer.</verbatim>

Start DX ARBITRATOR software

  1. Follow the procedure to start Argos software up to the DX LGSW (see here)
  2. In monit web page, click on Start DX.AARB
  3. On the menu bar click on the icon IconAarb.png of the "Arbitrator GUI" to open the controller GUI.

Start SX ARBITRATOR software

  1. Follow the procedure to start Argos software up to the SX LGSW (see here)
  2. In monit web page, click on Start SX.AARB
  3. On the menu bar click on the icon IconAarb.png of the "Arbitrator GUI" to open the controller GUI.
Topic attachments
I Attachment Action Size Date Who Comment
ARGOS-icons.pngpng ARGOS-icons.png manage 7 K 22 Oct 2015 - 01:26 MarcoBonaglia  
IconAarb.pngpng IconAarb.png manage 812 bytes 22 Oct 2015 - 01:30 MarcoBonaglia  
IconArgosTerminal.pngpng IconArgosTerminal.png manage 946 bytes 22 Oct 2015 - 01:30 MarcoBonaglia  
IconLgswController.pngpng IconLgswController.png manage 935 bytes 22 Oct 2015 - 01:30 MarcoBonaglia  
IconLgswLab.pngpng IconLgswLab.png manage 1014 bytes 22 Oct 2015 - 01:30 MarcoBonaglia  
IconLgswViewer.pngpng IconLgswViewer.png manage 935 bytes 22 Oct 2015 - 01:30 MarcoBonaglia  
Topic revision: r8 - 03 Mar 2021, GustavoRahmer
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback