wiki:GridCtlFiles

LIMS grid control (gridctl) consists of a combination of daemons and cron tasks. Actions are performed by PHP scripts in

	~us3/lims/bin

of the LIMS server.

The daemons running are:

	listen.php
	manage-us3-pipe.php

They are started, stopped, queried, or restarted with the following commands (as root):

	~us3/lims/bin/us3-listen  start
	~us3/lims/bin/us3-listen  stop
	~us3/lims/bin/us3-listen  status
	~us3/lims/bin/us3-listen  restart

The cron tasks run as user us3 are:

	gridctl_pro.php
	gridctl_dev.php
	cluster_status.php
	update_notice.php

The main cron task run as user root is:

	/root/backup-cauma-db.sh

The actual text to add to cron with "crontab -e" is one of:

	~us3/lims/bin/crontab_us3.txt
	~us3/lims/bin/crontab_root.txt

The us3 cron uses the "cronic" script which may be installed with a command such as

	sudo cp ~us3/lims/bin/cronic.txt /usr/bin/

A useful way of monitoring the state of gridctl is with the following alias I have set up:

	alias tailudp='tail -n 200 ~us3/lims/etc/udp.log;date'

which enables me to periodically issue the command

	tailudp
Last modified 5 months ago Last modified on Apr 23, 2019 4:08:55 PM