Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Penn is using it in production to load membership for groups, and for groups of groups (in Penn's case, org lists).

Gliffy Diagram
sizeL
nameloaderSqlArchitecture

Image Added

Ad hoc groups with the Grouper Loader

Gliffy Diagram
sizeL
nameloaderAdHoc

Image Added

Image Added


Loader manages simple group or a list of groups in one job

Gliffy Diagram
sizeL
nameloaderTypes

Image Added

One-time setup in your Grouper database

...

No Format
loaderGroup = GroupFinder.findByName(GrouperSession.startRootSession(), "school:orgs:orgGroup");
loaderRunOneJob(loaderGroup);
loaderRunOneJob("MAINTENANCE_cleanLogs");

...


Note that as of Grouper 2.3, if you create a new loader job, you can have it scheduled without restarting the daemon by using an option in the New UI.  If you're an admin of the group, under "More actions", there's an option named "Schedule loader process".  This option can also be used if you change the loader's schedule.

...

## Log debug info on loader to see progress etc
log4j.logger.edu.internet2.middleware.grouper.app.loader = INFO
-or-
log4j.logger.edu.internet2.middleware.grouper.app.loader = DEBUG 


Misc

  • You can set transaction level in the grouper-loader.properties.  It defaults to not use transaction since for huge groups, you might have memory or db problems
  • By default only wheel group members can edit the grouperLoader type or attributes.  You can edit these settings in the grouper.properties in the type security part.

...