DM - Expert Documentation » History » Version 2

« Previous - Version 2/72 (diff) - Next » - Current version
Michael Kirby, 06/23/2015 04:23 PM

DM - Expert Documentation

Starting the PUBS daemon running

>ssh -Y

Once you are logged into ubdaq-prod-ws01, you can now access the online cluster. There are two machines where we run PUBS daemons, ubdaq-prod-evb and ubdaq-prod-near1. To start the daemon, you will want to log in as user uboonepro.
ws01>ssh -Y

Once there, you will need to setup the PUBS environment. The production version of PUBS is installed in /home/uboonepro/pubs/ and is the only version that should be run for production operations.
evb> cd pubs
evb> source config/
evb> conn_test

This last commands makes sure that the account can connect to the procdb database with the correct authorization. Everything should connect and disconnect successfully. Once you've done that, you need to make sure that the daemon is running on ubdaq-prod-evb and ubdaq-prod-near1. You can check the status of the daemon using these commands.
evb> list_log

And check each of the servers for the last time that they were updated. Note that if there are no projects enable on a server, the log won't update even if the daemon is running. And if you update the configuration of a project, you must restart the daemon.

In order to start and stop the daemon on each of the machines, evb, near1, and smc using the following commands as uboonepro.

evb>cd pubs
evb>source config/
evb> stop
evb> start

Then check again with list_log to make sure that the projects are updating.

Questions? Ask Kirby