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:
- 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)
- LanSystem = LAN (contains the launch optics and actuators to adjust them)
- LgswSystem = LGSW (contains all wavfront sensor devices: motors, pockles cells, CCD, BCU)
- 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 sited 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
- Check if the FLAO processes are stopped or running as user argos (TODO: HowToTroubleshootFLAO)
- monit must run
Procedure
After login on the desktop computer the ARGOS system GUI should appear. If not open it (
Applications->ARGOS common
).
- 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).
- 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
- Connect to
dx-lalas
.
- Start monit on
dx-lalas
: argos_dx_lalas_monit_start
- Start common services on
dx-lalas
: argos_dx_lalas_monit start -g LAS
- Check that common services are running:
argos_dx_lalas_monit summary | grep "'LAS."
Start DX LALAS Services Via Console
- Precondition: The common services on DX LALAS must be running
- Connect to
dx-lalas
.
- Start monit on
dx-lalas
: argos_dx_lalas_monit_start
- Start LAS services on
dx-lalas
: argos_dx_lalas_monit start -g DX.LAS
- Check that LAS services are running:
argos_dx_lalas_monit summary | grep "'DX.LAS."
- Start common LAN services on
dx-lalas
: argos_dx_lalas_monit start -g LAN
- Check that LAN services are running:
argos_dx_lalas_monit summary | grep "'LAN."
- Start LAN services on
dx-lalas
: argos_dx_lalas_monit start -g DX.LAN
- Check that LAN services are running:
argos_dx_lalas_monit summary | grep "'DX.LAN."
Start DX LGSW Services Via Console
- Precondition: The common services on DX LALAS must be running
- Connect to
dx-lgsw
.
- Start monit on
dx-lgsw
: argos_dx_lgsw_monit_start
- Start DX LGSW services on
dx-lgsw
: argos_dx_lgsw_monit start -g DX.LGSW
- Check that DX LGSW services are running:
argos_dx_lgsw_monit summary | grep "DX.LGSW."
- Start DX Tip Tilt services on
dx-lgsw
: argos_dx_lgsw_monit start -g DX.TIPTILT
- Check that DX Tip Tilt services are running:
argos_dx_lgsw_monit summary | grep DX.TIPTILT
Start DX Argos Arbitrator Via Console
- Precondition: None in theory but in currently (2015-02-24) the services on dx-lalas and dx-lgsw must run.
- Start DX Argos Arbitrator on
dx-lalas
: argos_dx_lalas_monit start DX.AARB
- Check that DX Argos Arbitator is running:
argos_dx_lalas_monit summary | grep DX.AARB
- 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)
- Open a VNC connection to dxlalas. Yes, even if you want to work on left side or on LGSW only. See here
- Click on
Start_DX_LAS_monit
to start MonitServiceManager, the ARGOS process manager
- Launch a browser and go to http://localhost:2812/ The browser will be locked by someone else: see HowToKickOthersOutOfFirefox
- Click on
Start LAS
- 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
- Follow the procedure for starting common software: see here
- In monit web page, click on
Start LAN
- In monit web page, click on
Start DX.LAS
- In monit web page, click on
Start DX.LAN
To start low level commissioning GUIs:
- On the desktop, click on
"DX LAS Controller GUI" to open the controller GUI.
- On the desktop, click on "DX LAS Status GUI" to open the engineering GUI.
- On the desktop, click on "DX LAN Controller GUI" to open the controller GUI.
- On the desktop, click on "DX LAN Lab GUI" to open the engineering GUI.
Start SX LALAS software
- Follow the procedure for starting common software: see here
- Open a VNC connection to sxlalas. See here
- Launch a browser and go to http://localhost:2812/ The browser will be locked by someone else: see HowToKickOthersOutOfFirefox
- In monit web page, click on
Start LAN
- In monit web page, click on
Start SX.LAS
- In monit web page, click on
Start SX.LAN
To start low level commissioning GUIs:
- On the desktop, click on
"SX LAS Controller GUI" to open the controller GUI.
- On the desktop, click on "SX LAS Status GUI" to open the engineering GUI.
- On the desktop, click on "SX LAN Controller GUI" to open the controller GUI.
- On the desktop, click on "SX LAN Lab GUI" to open the engineering GUI.
Start DX LGSW software
- Follow the procedure for starting common software: see here
- Open a VNC connection to dxlgsw. See here
- Launch a browser and go to http://localhost:2812/ The browser will be locked by someone else: see HowToKickOthersOutOfFirefox
- In monit web page, click on
Start DX.LGSW
- In monit web page, click on
Start DX.TIPTILT
To start low level commissioning GUIs:
- On the menu bar, click on the icon
of the "Controller GUI" to open the controller GUI.
- On the menu bar, click on the icon
of the "Lab GUI" to open the engineering GUI.
- On the menu bar, click on the icon
of the "CCD viewer" to open the WfsCamera CCD viewer.
Start SX LGSW software
- Follow the procedure for starting common software: see here
- Open a VNC connection to sxlgsw. See here
- Launch a browser and go to http://localhost:2812/ The browser will be locked by someone else: see HowToKickOthersOutOfFirefox
- In monit web page, click on
Start SX.LGSW
- In monit web page, click on
Start SX.TIPTILT
To start low level commissioning GUIs:
- On the menu bar, click on the icon
of the "Controller GUI" to open the controller GUI.
- On the menu bar, click on the icon
of the "Lab GUI" to open the engineering GUI.
- On the menu bar, click on the icon
of the "CCD viewer" to open the WfsCamera CCD viewer.</verbatim>
Start DX ARBITRATOR software
- Follow the procedure to start Argos software up to the DX LGSW (see here)
- In monit web page, click on
Start DX.AARB
- On the menu bar click on the icon
of the "Arbitrator GUI" to open the controller GUI.
Start SX ARBITRATOR software
- Follow the procedure to start Argos software up to the SX LGSW (see here)
- In monit web page, click on
Start SX.AARB
- On the menu bar click on the icon
of the "Arbitrator GUI" to open the controller GUI.