Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] [PSPNG] Full sync of a single group

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] [PSPNG] Full sync of a single group


Chronological Thread 
  • From: Yoann Delattre <>
  • To: Jeffrey Williams <>
  • Cc: "Hyzer, Chris" <>, "" <>
  • Subject: Re: [grouper-users] [PSPNG] Full sync of a single group
  • Date: Mon, 23 Mar 2020 11:42:26 +0100
  • Arc-authentication-results: i=1; smtp.ac-lille.fr; auth=pass
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=ac-lille.fr; s=dkim201910; t=1584960156; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=tWA+8a9LmfX45PcZAhGE4Lij/zg7Y867ynyf8wX7bw4=; b=yJ7ML8v3OYWlUym2jM8IsEUIZy6Gb5mLd1F9IvkwnXeXjgFLZlZniIo7/d92MMQsqEdEsQ PenX5TqIIPEU/+U2TR8dF9g90p+2ukK9ok8vJpn45rDzN99ksAknLIRyC1OGtwpAyo06lm GcEpqcJLn9HCwpqS/P+ySQnj6I7gLAZkvhU0iJrNS4KCep4AGHppwUvVv4LyDZXZq761l6 UJphQVxFPqoBv3OVGiDZl1i0S5jLfbDBJB/R1K4Gi8HO7BK8LjetMv07eiWZBqDAQK3PdW AqNUtI2SfccU6bBE1ewOZkRZpFu8efWJKl6iBgnHgJSeSK4KyhlPiHNw0qCJ1g==
  • Arc-seal: i=1; s=dkim201910; d=ac-lille.fr; t=1584960156; a=rsa-sha256; cv=none; b=ojdCd6ZX0rCilZAnRbbhb5nc/bavZD0ioTZovnr2G2t/C0ZrQM8hsdezAt9Hb5gOG5m9xC 4SJlA9H+rbOpqE5CXF0XjKar8aFXFasT8XOwHfYWAykrXkq9pGHpq0K/tQcPf2l7GZUSVK yatagqFOlBHdzysdkyIFDgdyFVfCtOrmcseFnxwhl2AiirHD5SwuY8cWU0USlUH6jDcexd 6hIYzCWjXb5BNuRZBL80dTWYKzmSfoJYyisD7AReNkGI88mXDmVL19ZVCnQ6fzpbAu/4LG p/DgEbtmjJAqJkxca1nPX5K4f89k7OopmD6WzvKwir8u4jae3nPxf6x2vhg4kg==

Hello Jeffrey,

no it was pratically simultaneous.

But it took 40 minutes to have a return from the getFullSyncer method.

Yoann
Le 19/03/2020 à 17:36, Jeffrey Williams a écrit :
Hi Yoann,

Thanks for the feedback. For your 50k provisioner using the GrouperClient method, was there any significant lag between when you sent the message and when the group was synced?

On Thu, Mar 19, 2020 at 12:17 PM Yoann Delattre <> wrote:

Hi Jeffrey,

Thanks for your answer.

It's been 15minutes and i still have no return of this command :

full_provisioner=edu.internet2.middleware.grouper.pspng.FullSyncProvisionerFactory.getFullSyncer(provisioner_name);

The provisioner i used take care of 50k groups with a group selection _expression_. If i use a "lighter" provisioner (only hundred of groups), no problem, i have an answer to this command in few seconds. (i think it's the same problem explain in this JIRA : GRP-2348 ).

Maybe divide the "big" provisionner in smaller one could be a good idea.

Thanks,
Yoann
Le 18/03/2020 à 21:55, Jeffrey Williams (via grouper-users Mailing List) a écrit :
Hi Yoann,

I can confirm that the add you gave does allow it to run.  There's another method to do it that's more consistent with the rest of the doc and gives a little more influence into what's logged:

provisioner_name="xyz"// Whatever your provisioner is called in grouper_loader.properties
group_name="this:is:a:group";
 
gs = GrouperSession.startRootSession();
full_provisioner=edu.internet2.middleware.grouper.pspng.FullSyncProvisionerFactory.getFullSyncer(provisioner_name);
qt=edu.internet2.middleware.grouper.pspng.FullSyncProvisioner$QUEUE_TYPE;
full_provisioner.scheduleGroupForSync(qt.ASAP, group_name, "optExtReference""manualFullSync"); //optExtReference can be an issue tracking number or ""

Can you confirm that this works for you as well?


On Fri, Mar 13, 2020 at 4:43 AM Yoann Delattre <> wrote:

Grouper 2.4 with api patches 89 and pspng patches 12

Thanks,
Yoann
Le 12/03/2020 à 17:43, Hyzer, Chris a écrit :

What version of grouper exactly with what patches?

 

From: On Behalf Of Yoann Delattre
Sent: Thursday, March 12, 2020 11:16 AM
To:
Subject: [grouper-users] [PSPNG] Full sync of a single group

 

Hi everyone,

i needed to force a full sync for a single group. I followed the wiki (Full sync of a single group) but it didn't work.

To make it work, the message need to be send to pspng_full_sync_<provisioner_name>_asap and not anymore to pspng_full_sync_<provisioner_name>.

If someone of the grouper team can update the wiki (maybe i can do it ?)

Thanks !

Yoann.

--


--
Jeffrey Williams 
Identity Engineer
Identity & Access Services
https://its.uncg.edu




--
Jeffrey Williams 
Identity Engineer
Identity & Access Services
https://its.uncg.edu





Archive powered by MHonArc 2.6.19.

Top of Page