Skip to Content.
Sympa Menu

grouper-users - RE: [grouper-users] Starting up... then what?

Subject: Grouper Users - Open Discussion List

List archive

RE: [grouper-users] Starting up... then what?


Chronological Thread 
  • From: Gagné Sébastien <>
  • To: Gagné Sébastien <>, "Dick Visser" <>
  • Cc: <>
  • Subject: RE: [grouper-users] Starting up... then what?
  • Date: Wed, 25 Jul 2012 09:40:53 -0400

URL for the Grouper Installer :
https://spaces.internet2.edu/display/Grouper/Grouper+Installer

I suggest you take a look at the Example Output, you will see all the steps
required to have a working Grouper installation


-----Message d'origine-----
De :


[mailto:]
De la part de Gagné Sébastien
Envoyé : 25 juillet 2012 09:37
À : Dick Visser
Cc :

Objet : RE: [grouper-users] Starting up... then what?

You need a database to store Group information (your Postgres one) and you
also need an other source (Database or LDAP directory) to store Subjects.
Subjects can be seen as users that will be members of the groups. In our
deployment the subject source is our already existing Active Directory LDAP
and the Grouper Database is new. These two could be in the same database if
they are in separate tables. I don't think Grouper has the ability to
create/delete users they will have to be managed externally (we'll be using
OIM and other tools here).

You can install the UI right now, but you won't be able to add members to
groups until you configure the subject source.

Did you take a look at the Grouper Installer ? If you want to test it will
create a subject source and an in-memory (hsql) database for you. I haven't
tried it personally, but many here did it with success.


I forgot : You also need to configure/start the Grouper Loader to take care
of various background tasks (changelog temp to changelog)



-----Message d'origine-----
De : Dick Visser
[mailto:]
Envoyé : 25 juillet 2012 09:14 À : Gagné Sébastien Cc :

Objet : Re: [grouper-users] Starting up... then what?

On 25 July 2012 14:29, Gagné Sébastien
<>
wrote:
> Well it all depends on what are your objectives with Grouper ;-)

I'd like to store group information :-)

But I'm a bit lost as to what is set-up by what.
Basically I did:

cd /opt
svn co http://anonsvn.internet2.edu/svn/i2mi/tags/GROUPER_2_1_1/
<install postgres, configure user/pass/database and edit
grouper.hibernate.properties> cd /opt/GROUPER_2_1_1/grouper ant dist
bin/gsh.sh -test -all bin/gsh.sh -registry -check gsh -registry -runsqlfile
/opt/GROUPER_2_1_1/grouper/ddlScripts/grouperDdl_20120725_13_14_17_596.sql

I thought I'd be done by now, and that I'd need to add the web UI part to be
able to add groups etc.
But from what you're saying I also need a 'Subject Source', which is another
database?

So one database for Grouper itself, and one for the group data?
I went through dozens of wiki pages and howtos but I'm afraid I still don't
grok it :(


We won't be auto loading any stuff just yet, everything is going to be
manually set-up to begin with.

Thanks


Dick

> I would suggest configuring a Subject Source (LDAP or SQL) and installing
> the Web UI. With these you'll be able to explore Grouper's functionalities
> by creating groups with members.
>
> After that there would be provisioning Grouper Groups to other
> resources like LDAP (if required) or a Loader-Type job to add an
> external directory's groups to Grouper. But this all depends on how
> you want to integrate Grouper with your org
>
> By the way, gsh has options for registry initialisation, for instance, we
> use the following command when the database is new, it will create the
> tables and all :
> $GROUPER_HOME/bin/gsh.sh -registry -runscript -check
>
> -----Message d'origine-----
> De :
>
> [mailto:]
> De la part de Dick Visser
> Envoyé : 25 juillet 2012 07:26 À :
>
> Objet :
> [grouper-users] Starting up... then what?
>
> Hi
>
> After adding the initial schema, it looks like things are OK:
>
> root@grouper:/opt/GROUPER_2_1_1/grouper#
> bin/gsh.sh -registry
> -runsqlfile
> /opt/GROUPER_2_1_1/grouper/ddlScripts/grouperDdl_20120725_13_14_17_596
> .sql
>
> Using GROUPER_HOME: /opt/GROUPER_2_1_1/grouper Using
> GROUPER_CONF: /opt/GROUPER_2_1_1/grouper/conf Using JAVA: java using
> MEMORY: 64m-750m (note, might need to type in your response multiple
> times (Java stdin is flaky)) (note, you can whitelist or blacklist db
> urls and users in the
> grouper.properties)
> Are you sure you want to run the sql file in db user 'grouper_user', db url
> 'jdbc:postgresql://ip6-localhost:5432/grouper'? (y|n):
> y
> Continuing...
> Script was executed successfully
>
> Grouper starting up: version: 2.1.1, build date: 2012/07/25 10:47:37,
> env: <no label configured>
> grouper.properties read from:
> /opt/GROUPER_2_1_1/grouper/conf/grouper.properties
> Grouper current directory is: /opt/GROUPER_2_1_1/grouper
> log4j.properties read from:
> /opt/GROUPER_2_1_1/grouper/conf/log4j.properties
> Grouper is logging to file:
> /opt/GROUPER_2_1_1/grouper/logs/grouper_error.log, at min level WARN
> for package: edu.internet2.middleware.grouper, based on
> log4j.properties
> grouper.hibernate.properties:
> /opt/GROUPER_2_1_1/grouper/conf/grouper.hibernate.properties
> grouper.hibernate.properties:
> grouper_user@jdbc:postgresql://ip6-localhost:5432/grouper
> sources.xml read from: /opt/GROUPER_2_1_1/grouper/conf/sources.xml
> sources.xml groupersource id: g:gsa
> sources.xml groupersource id: grouperEntities
> sources.xml jdbc source id: jdbc: GrouperJdbcConnectionProvider
>
>
> Nothing is running at this stage...
> What needs to be done now?
>
> Thanks
>
>
> --
> Dick Visser
> System & Networking Engineer
> TERENA Secretariat
> Singel 468 D, 1017 AW Amsterdam
> The Netherlands



--
Dick Visser
System & Networking Engineer
TERENA Secretariat
Singel 468 D, 1017 AW Amsterdam
The Netherlands



Archive powered by MHonArc 2.6.16.

Top of Page