Task #6204
closed
Registry Service, gCubeApps: add check tools
100%
Description
As done for the old node65.p.d4science.research-infrastructures.eu, it's need to :
- "transfer" the nagios check;
- add a cronjob for restarting the container every two days (before was set every day);
- add ganglia.
Updated by Andrea Dell'Amico over 8 years ago
- Status changed from New to In Progress
- % Done changed from 0 to 70
Roberto Cirillo wrote:
As done for the old node65.p.d4science.research-infrastructures.eu, it's need to :
- "transfer" the nagios check;
That was done yesterday, as I told you on skype.
- add a cronjob for restarting the container every two days (before was set every day);
Working on it, I'm adding a role so that we can use it to manage all these kind of necessities. Do the other recently installed registry/collectors need the same cron job?
- add ganglia.
Already done since when the VM was provisioned. The node is present here: http://ganglia.d4science.org/ganglia/?c=D4science%20gCore%20cluster&m=load_one&r=hour&s=by%20name&hc=4&mc=2 even if the ganglia server is losing many nodes.
Updated by Andrea Dell'Amico over 8 years ago
- Status changed from In Progress to Feedback
- % Done changed from 70 to 100
The cron job has been added. It will run at 3am on Sunday, Tuesday, Friday:
gcube@registry-gcubeapps:~$ crontab -l #Ansible: Restart the gcube gCore service 0 3 * * 0,2,4 echo '`date`' >/home/gcube/gcore_service_restart.log ; /home/gcube/stopContainer.sh >>/home/gcube/gcore_service_restart.log 2>&1 ; sleep 30 ; /home/gcube/startContainer.sh >>/home/gcube/gcore_service_restart.log 2>&1
Updated by Andrea Dell'Amico over 8 years ago
Also done on all the recently created registry servers:
registry-sbd.d4science.org
registry-edison.d4science.org
registry-d4research.d4science.org
Updated by Andrea Dell'Amico over 8 years ago
- Status changed from Feedback to Closed
The cron job is working.