grouper-users - RE: [grouper-users] RE: grouper-loader fail safe / threshold for failed connections
Subject: Grouper Users - Open Discussion List
List archive
RE: [grouper-users] RE: grouper-loader fail safe / threshold for failed connections
Chronological Thread
- From: "Hyzer, Chris" <>
- To: "Waldbieser, Carl" <>
- Cc: "Black, Carey M." <>, grouper-users <>, Emilio Recio <>
- Subject: RE: [grouper-users] RE: grouper-loader fail safe / threshold for failed connections
- Date: Thu, 14 Sep 2017 18:14:21 +0000
- Accept-language: en-US
- Authentication-results: spf=none (sender IP is ) ;
- Ironport-phdr: 9a23:KdlomxGg2ZUismNefcSVnZ1GYnF86YWxBRYc798ds5kLTJ7ypsmwAkXT6L1XgUPTWs2DsrQf2rqQ6/iocFdDyK7JiGoFfp1IWk1NouQttCtkPvS4D1bmJuXhdS0wEZcKflZk+3amLRodQ56mNBXdrXKo8DEdBAj0OxZrKeTpAI7SiNm82/yv95HJbQhFgDmwbaluIBmqsA7cqtQYjYx+J6gr1xDHuGFIe+NYxWNpIVKcgRPx7dqu8ZBg7ipdpesv+9ZPXqvmcas4S6dYDCk9PGAu+MLrrxjDQhCR6XYaT24bjwBHAwnB7BH9Q5fxri73vfdz1SWGIcH7S60/VC+85Kl3VhDnlCYHNyY48G7JjMxwkLlbqw+lqxBm3oLYfJ2ZOP94c6jAf90VWHBBU95RWSJfH428c4UBAekPPelaronyu1QAohSlCAmwH+zj1iNEimPq0aA41ekqDAHI3BYnH9ILqHnYotf7NacTUO+r1qnE1SjIYu1W2Tfn6YjIaR4tquyLULJ1bcXRyUkuFgLbgVWKsoHlPiiV2fgXv2iG9+pvS+Svi2g9pw5vvzev294hh4/UjYwbzVDE8D92wIczJdCgT057ecCrEJ1Uty6HLYR2WtkuQ2ZyuCY1zLANpJ21fDASxZg52xLSaeaLfoeJ7x75SeqcIDl1iGhmdb+/nxq+7EatxvHmWsSwzVpGtDRJnsTIu3wXyhDe6MmKR/1g9Um7wzmPzRrc6uRcLEA0i6XbL5khz6YomJcPtkrPAjH6lFzrgaGQaEko4++o5P/5bbn8oZ+cKpN0hRr5MqQznMywHP40MhAUX2ic5eSzyqHs/VH4QLVNiP06iK7ZsI3GJcQfoa65BAxV3pw/5Ba4CjeqyNUYnX8ZI1JZYB+LkZTlNlPULP33DPqzmUmgnTZlyvzcPbDsAo3BLn3Zn7fgebZ95VRcyA02zd1H4pJbFrEBIfLyW0DvrtzVFR45MxeozOr9FdV9zp0RWWSJAqODLqzdrEKI6vo1I+aQfI8VpCr9K/896v7hl385nkIdfbG30psNcXy4A+9mLFuDYXr3mdoBFWYKvhEiTOzxllGOSz9TZ3CuX60i/DE7DpypDZvdSoy3nrOOwTq7TdVqYTUMNVmIHX3pep6JQbNEQyuIJoUpxiMNUbSrSoIq/RWnugbrxqZ7I6zZ9jBO5rz5090grc3ChxwosXRfD96cyCvFG2R/nnIaSiUe3bt051Flx1GFl6V0nqoLRpRo+/pVX1JiZtbnxOtgBoW3A1qZcw==
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
Sometimes all, sometimes most, not a consistent number of results returned
when its most...
-----Original Message-----
From: Waldbieser, Carl
[mailto:]
Sent: Thursday, September 14, 2017 2:13 PM
To: Hyzer, Chris
<>
Cc: Black, Carey M.
<>;
grouper-users
<>;
Emilio Recio
<>
Subject: Re: [grouper-users] RE: grouper-loader fail safe / threshold for
failed connections
I believe some directories have limits on how many entries they will return.
For example: http://www.openldap.org/doc/admin24/limits.html
Thanks,
Carl Waldbieser
ITS Systems Programmer
Lafayette College
----- Original Message -----
From: "Chris Hyzer"
<>
To: "Black, Carey M."
<>,
"grouper-users"
<>
Cc: "Emilio Recio"
<>
Sent: Thursday, September 14, 2017 10:06:53 AM
Subject: [grouper-users] RE: grouper-loader fail safe / threshold for failed
connections
Btw, it takes that long since it is doing so much work on the memberships.
Does anyone know why a search filter in ldap would return successfully and
not return all data (~2/3)?
Thanks
Chris
-----Original Message-----
From: Black, Carey M.
[mailto:]
Sent: Wednesday, September 13, 2017 3:56 PM
To: Grouper Users Mailing List
<>
Cc: Hyzer, Chris
<>;
Emilio Recio
<>
Subject: RE: grouper-loader fail safe / threshold for failed connections
I have started putting the loader through some testing and I have observed a
few "partial load error" conditions.
An example:
A job runs every 35 minutes, and syncs some data (a single group on the order
of 300k members) from an LDAP_GROUPS_FROM_ATTRIBUTES job.
Sometimes the job takes as little as about 15 minutes to run. (and
appears to do all of the right things)
Other times the job takes much longer. Sometimes over 3 hours. ( and
does not do all of the right things)
Sometimes the job add/removes a few people as expected.
Other times the job will remove 1/3 of the population and then add
them back in on the next one, and sometime two, runs.
The data in the LDAP source is not changing this drastically
over this time period.
I have not yet found the right knob to detect the "LDAP search/session/handle
failed" during the loader process.
And this churn is causing pain at the RDBMS layer due to large, and
unnecessary, volumes of audit and change log activities.
I think the only reasonable interpretation of the data that I am seeing is
that the read of the LDAP data is failing at some point. Or maybe the loader
is failing to "record" all of the data it gets back from the LDAP data set.
I am not clear as to how the "diff" process works in the loader.
Does it get a set of data from LDAP, store it in a temp table in
grouper, then diff the memberships with SQL?
Does it get a set of data from LDAP, get a set of data from grouper
and diff it "in memory" then update grouper?
Does it do something else?
( The inner workings of the loader are opaque, at this moment, to me.
I have not yet really dug into that code....)
If it helps, I attached is a pdf file with some results of running this job
over time.
--
Carey Matthew
-----Original Message-----
From:
[mailto:]
On Behalf Of Hyzer, Chris
Sent: Wednesday, September 13, 2017 9:14 AM
To: Emilio Recio
<>;
Grouper Users Mailing List
<>
Subject: [grouper-users] RE: grouper-loader fail safe / threshold for failed
connections
If there is an error running the query, the loader will not remove all
members. Only if the database successfully returns no records. Are you sure
that is what happened?
-----Original Message-----
From:
[mailto:]
On Behalf Of Emilio Recio
Sent: Wednesday, September 13, 2017 7:20 AM
To: Grouper Users Mailing List
<>
Subject: [grouper-users] grouper-loader fail safe / threshold for failed
connections
So we had a network outage, and the connection between grouper-loader and our
oracle database failed. This caused zero entries to be returned when loader
ran. When pspng provisioned out to our ldap, it undid the attributes for the
people we expected from the back end oracle database.
Is there a way I can tell grouper that if grouper-loader experiences a
*connection* problem with the back end database, do not do anything; just
exit with an appropriate rc? Is there a way I can kick off a script before to
check for connectivity that stops the loader process based on its rc?
I've seen the threshold value, but don't know if it would make sense. We
expected only 40 peoples' data elements from the back end database. Say I put
the threshold to 40, then as far as I've seen in the docs, reaching this just
drops it into fullsynch mode. How does fullsynch mode know to apply a
failsafe? Is there a property for that?
--
Thanks,
E. Recio
The information contained in this transmission contains privileged and
confidential information. It is intended only for the use of the person named
above. If you are not the intended recipient, you are hereby notified that
any review, dissemination, distribution or duplication of this communication
is strictly prohibited. If you are not the intended recipient, please contact
the sender by reply email and destroy all copies of the original message.
CAUTION: Intended recipients should NOT use email communication for emergent
or urgent health care matters.
- [grouper-users] grouper-loader fail safe / threshold for failed connections, Emilio Recio, 09/13/2017
- [grouper-users] RE: grouper-loader fail safe / threshold for failed connections, Hyzer, Chris, 09/13/2017
- [grouper-users] RE: grouper-loader fail safe / threshold for failed connections, Black, Carey M., 09/13/2017
- [grouper-users] RE: grouper-loader fail safe / threshold for failed connections, Hyzer, Chris, 09/14/2017
- [grouper-users] RE: grouper-loader fail safe / threshold for failed connections, Redman, Chad, 09/14/2017
- Re: [grouper-users] RE: grouper-loader fail safe / threshold for failed connections, Waldbieser, Carl, 09/14/2017
- RE: [grouper-users] RE: grouper-loader fail safe / threshold for failed connections, Hyzer, Chris, 09/14/2017
- Re: [grouper-users] RE: grouper-loader fail safe / threshold for failed connections, Waldbieser, Carl, 09/14/2017
- RE: [grouper-users] RE: grouper-loader fail safe / threshold for failed connections, Black, Carey M., 09/14/2017
- Re: [grouper-users] RE: grouper-loader fail safe / threshold for failed connections, Waldbieser, Carl, 09/14/2017
- RE: [grouper-users] RE: grouper-loader fail safe / threshold for failed connections, Redman, Chad, 09/15/2017
- Re: [grouper-users] RE: grouper-loader fail safe / threshold for failed connections, Waldbieser, Carl, 09/14/2017
- RE: [grouper-users] RE: grouper-loader fail safe / threshold for failed connections, Hyzer, Chris, 09/14/2017
- [grouper-users] RE: grouper-loader fail safe / threshold for failed connections, Hyzer, Chris, 09/14/2017
- [grouper-users] RE: grouper-loader fail safe / threshold for failed connections, Black, Carey M., 09/13/2017
- [grouper-users] Re: grouper-loader fail safe / threshold for failed connections, Emilio Recio, 09/18/2017
- [grouper-users] RE: grouper-loader fail safe / threshold for failed connections, Hyzer, Chris, 09/18/2017
- [grouper-users] RE: grouper-loader fail safe / threshold for failed connections, Hyzer, Chris, 09/13/2017
Archive powered by MHonArc 2.6.19.