Skip to Content.
Sympa Menu

grouper-users - [grouper-users] RE: High availability of Grouper's processes

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] RE: High availability of Grouper's processes


Chronological Thread 
  • From: Chris Hyzer <>
  • To: Gagné Sébastien <>
  • Cc: "" <>
  • Subject: [grouper-users] RE: High availability of Grouper's processes
  • Date: Tue, 14 Feb 2012 18:31:26 +0000
  • Accept-language: en-US

Yes, the status servlet checks the logs in the DB.  If you were using monitoring software, you can check that the process is running (SNMP or something?) and if it is not running or the server is not available then kick it off somewhere else. 

 

Ø  So, if the loader is running on any one server, the diagnostic Web Service application from ALL the servers will return that it is properly working, right ?

 

Yes

 

Ø  So there would be no problem using the monitoring app (like Nagios) with the load balancer in front of the webservers

 

Well, that servlet will return failure if any one job fails.  And a job could fail if the backend datasource wasn’t available or if it tried to feed in unresolvable subjects.  So if the servlet gives an error, it doesn’t mean that you could start the daemons somewhere else.  You need to check if the daemon process is running…

 

Thanks,

Chris

 

From: Gagné Sébastien [mailto:]
Sent: Tuesday, February 14, 2012 1:24 PM
To: Chris Hyzer
Subject: RE: High availability of Grouper's processes

 

Hi Chris

So I understand the web service properly : what does it check ? I thought it was checking the physical machine and seeing if the loader was running. But according to what Shilen told me, it checks the database for the traces left by the proper execution of the daemon/loader/provisioning, am I right ?

 

So, if the loader is running on any one server, the diagnostic Web Service application from ALL the servers will return that it is properly working, right ?

 

Based on this deployment :

·         Server1 is running UI, WS, loader

·         Server2 is running UI, WS

 

My initial thought was that a call to the diagnostic WS on server1 would return “Ok”, while the diagnostic call on server2 would return “Failure”. According to what Shilen said, a call to server1 or server2 will return “Ok” since it’s checking the database and both will return “Failure” if the loader fails on server1. So there would be no problem using the monitoring app (like Nagios) with the load balancer in front of the webservers

 

Thanks

 

 

De : Chris Hyzer [mailto:]
Envoyé : 10 février 2012 23:56
À : Gagné Sébastien;
Objet : RE: High availability of Grouper's processes

 

Our current solution is to monitor the processes with this WS servlet:

 

https://spaces.internet2.edu/display/Grouper/Grouper+diagnostics

 

At Penn we do this with nagios.  It will send an email if there is a job which doesn’t run within in allotted amount of time.  We have never had to run the daemons on another server, not sometimes if the loader job has unresolvable subjects we get an email and need to adjust the query and rerun the job manually.

 

It would be bad if the daemon was running on more than one server at one time, so the manual failover seems like the right thing to do (reduces chance of false positives).  But if you wanted it automatic I could picture checking the daemon loader process to see if it is running and if not kick it off somewhere else…  at some point we would like to run the loader in a webapp (WS?) fyi…

 

Thanks,

Chris

 

From: [mailto:] On Behalf Of Gagné Sébastien
Sent: Friday, February 10, 2012 4:06 PM
To:
Subject: [grouper-users] High availability of Grouper's processes

 

Hi,

We want to deploy Grouper in a High Availability environment and I have a few last questions regarding Grouper’s processes. Here I’m talking about provisioning (LDAPPCNG), the Grouper Deamon (Grouper Loader) and the Group Loader. Is there a way to have those in High Availability ?

 

What I found in previous discussion is people have the Ui/Tomcat on 2 load balanced Hosts, but only have one server running the Grouper Processes and, should a failure happen, they would start them on the second server. My guess is that it’s still the case, but maybe I’m wrong. Is there any new development or solution for this problem ? Any synchronisation available ?

 

Maybe one idea would be to have a scheduler/watcher check the first server’s health and if it fails it would automatically start the processes on the second one.

 

Thanks

 

PS. Will all this change with real-time provisioning ? From the quick glance I had from TomZ’s manual it seems the real-time provisioning is in the Grouper Loader so I think my question still stands for this.

 

 

Sébastien Gagné,     | Analyste en informatique

514-343-6111 x33844  | Université de Montréal,

                     | Pavillon Roger-Gaudry, local X-100-11

 




Archive powered by MHonArc 2.6.16.

Top of Page