Skip to Content.
Sympa Menu

grouper-users - RE: [grouper-users] how to restart grouper without running the installer again?

Subject: Grouper Users - Open Discussion List

List archive

RE: [grouper-users] how to restart grouper without running the installer again?


Chronological Thread 
  • From: Adam Chi-Lun Chang <>
  • To: "Hyzer, Chris" <>
  • Cc: " Mailing List" <>
  • Subject: RE: [grouper-users] how to restart grouper without running the installer again?
  • Date: Thu, 27 Jun 2019 23:53:45 +0000
  • Arc-authentication-results: i=1; test.office365.com 1;spf=none;dmarc=none;dkim=none;arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=testarcselector01; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=X5P+LQh3OgAAYeB7E4w4QSbKnEjB3MZAKgEn49LSbso=; b=g8oMbo3UQv+rzQTvtTHVYdmROgBaxvyRnl3aXHvz9n4UbGJHgoUOiHaPm1BIgqfsah3D54MAPPt+MSPnV7VWVXhwes5jwEl4M+j1eRB7SCuvec1fz17NlyFO3Jvd09PZw3fgzHtvLgYFuqViCfIR2Q9FQzu7S/fwDtiE7kpWbTA=
  • Arc-seal: i=1; a=rsa-sha256; s=testarcselector01; d=microsoft.com; cv=none; b=qQaBgY2+LrGmI/zuQT/L1mHoIkIGkztUbDrF9MOlRlZCqx2Ot14TjYLyPLTLGdlA+d2bwl3pN5XRebH32XNSpCY4jG6RESGFSlDinmOreJ7ueCpvFGijDKizO3hxupAN8h6mQoyt2gZl+7CXX499HQRkriu4PQ1RSD3S81z2olQ=

Thanks Chris.

 

I have followed the subject API wiki (https://spaces.at.internet2.edu/display/Grouper/Subject+API) to try to get the subject store setup from a public ldap.  Then I tried to restart the grouper instance (installed by the grouper installer) with these 2 commands but it does not seem to return any person from the ldap when I search to add a new member. 

 

"c:\Program Files\Java\jdk1.8.0_212\bin\java" -cp c:\OITDevEnv\Grouper\gi\grouper.apiBinary-2.4.0\lib\jdbcSamples\* org.hsqldb.Server -database.0 file:c:\OITDevEnv\Grouper\gi\grouper.apiBinary-2.4.0\grouper -dbname.0 grouper -port 9001

 

c:\OITDevEnv\Grouper\gi\apache-tomcat-8.5.12\bin\startup.bat

 

Any idea what I have missed?  Thanks.

 

~Adam

 

From: Hyzer, Chris <>
Sent: Wednesday, June 26, 2019 8:24 AM
To: Adam Chi-Lun Chang <>
Cc: Mailing List <>
Subject: RE: [grouper-users] how to restart grouper without running the installer again?

 

https://spaces.at.internet2.edu/display/Grouper/Grouper+-+Loader+LDAP

https://spaces.at.internet2.edu/display/Grouper/Grouper+Loader+LDAP+examples

https://spaces.at.internet2.edu/display/Grouper/Grouper+Messaging+with+ActiveMQ

 

Let me know if you have issues

 

Thanks

Chris

 

From: Adam Chi-Lun Chang <>
Sent: Tuesday, June 25, 2019 2:26 PM
To: Hyzer, Chris <>
Cc: Mailing List <>
Subject: RE: [grouper-users] how to restart grouper without running the installer again?

 

Thank you Chris.

 

After checking with my manager Warren Leung, we decide to experiment installing/configuring Grouper with the traditional way since Docker is not supported at UCI yet. 

 

What I would like to try is install & configure Grouper in a linux (Centos) box which can

-          import subjects (from ldap)

-          perform grouping functionalities

-          manage it through UI

-          let other app access it through WS/MQ

 

I assume it requires

-          Grouper Loader

-          DB configuration (using Maria DB)

-          Grouper API

-          Grouper UI

-          Grouper Client

-          Grouper WS

-          Grouper ActiveMQ Messaging

 

I found this page but it does not seem to cover the LDAP loader (configure to LDAP) and the ActiveMQ part.  https://spaces.at.internet2.edu/display/Grouper/Grouper+Getting+Started+Quickly

 

If there are no other documents then I will try it out first and definitely ask for help here.  Thanks. J

 

Regards,

~Adam

 

 

 

 

From: Hyzer, Chris <>
Sent: Monday, June 24, 2019 12:59 PM
To: Adam Chi-Lun Chang <>; Bill Thompson <>; Crawford, Jeffrey <>
Cc: Mailing List <>
Subject: RE: [grouper-users] how to restart grouper without running the installer again?

 

If you can install and use docker that is best.  If we need to update certain docs let us know 😊

 

Thanks

Chris

 

From: Adam Chi-Lun Chang <>
Sent: Monday, June 24, 2019 3:19 PM
To: Hyzer, Chris <>; Bill Thompson <>; Crawford, Jeffrey <>
Cc: Mailing List <>
Subject: RE: [grouper-users] how to restart grouper without running the installer again?

 

Hi Chris, Bill, Jeff,

 

Thank you so much for your responses.

 

Yes I ran through the installer again and recorded the print out.  After several trial and error I did get the commends I need to restart my grouper instance without rerun the installer all over again.  While installer provided me a quick way to play around the Grouper, is using the installer also the best way to move forward and start a pre-production environment in a Linux box?  This page (https://spaces.at.internet2.edu/pages/viewpage.action?pageId=15729363) indicated starting 2019 using docker container is the suggested method for installing grouper but there is only source code in the link (https://spaces.at.internet2.edu/display/ITAP/InCommon+Trusted+Access+Platform+Release).  Do I need to build and deploy docker to somewhere?  I guess my question is what’s the best/easiest/fastest way to just start up the grouper (api, ui, ws) out of the box?  There is also grouper.apiBinary-2.4.0 and this is what’s in the readme.

- Generally:

1. configure the non-example files in the conf dir

2a. If you are using hsqldb, start your database:

[windows]: java -cp lib\jdbcSamples\hsqldb-2.3.5.jar org.hsqldb.Server -database.0 file:grouper -dbname.0 grouper -port 9001

    [unix]: java -cp lib/jdbcSamples/hsqldb-2.3.5.jar org.hsqldb.Server -database.0 file:grouper -dbname.0 grouper -port 9001

2b. init your registry: [windows]: bin\gsh -registry -check -runscript

                          [unix]: bin/gsh -registry -check -runscript

3. start gsh: [windows]: bin\gsh

                [unix]: bin/gsh

https://spaces.internet2.edu/pages/viewpage.action?pageId=14517859

4. install the ui quickstart, or web services

 

 

 

 

Do I need to install apache tomcat first and then dump the whole apiBinary-2.4.0 folder somewhere in the apache? 

 

Sorry I don’t have too much of experience in grouper nor initiate an app like grouper in linux except deploy jars into tomcat.  Any help will be greatly appreciated.  Thanks.

 

Regards,

~Adam

 

 

 

From: Hyzer, Chris <>
Sent: Monday, June 24, 2019 7:46 AM
To: Bill Thompson <>;
Cc: Mailing List <>
Subject: RE: [grouper-users] how to restart grouper without running the installer again?

 

The commands to do everything are printed out when you do the installer.  Did you happen to keep the output?

 

If you run the installer again, but instead of “install”, you type “admin”, it should let you stop and start things.  Does it work?

 

Or in the tomcat dirs. There is “bin/shutdown.bat” and “bin/startup.bat”.  In the grouper dir is start-hsql.bat

 

Thanks!

Chris

 

From: <> On Behalf Of Bill Thompson
Sent: Monday, June 24, 2019 10:03 AM
To:
Cc: Grouper Users <>
Subject: Re: [grouper-users] how to restart grouper without running the installer again?

 

Adam,

 

If you are looking to easily spin up an environment with all the components so that you can evaluate and learn about Grouper, I'd recommend taking a look at the Grouper Training Environment.

 

Try this:

docker run -d -p 389:389 -p 8443:443 -p 3306:3306 \
  --name 101.1.1 tier/gte:101.1.1-201906

All of the GTE docker images you can run are here: https://hub.docker.com/r/tier/gte/tags

Account/passwords and other info about the GTE is here: https://github.internet2.edu/docker/grouper_training/tree/201906

 

I'd also recommend starting with the docker release packages instead of the Grouper installer.

 

Best,

Bill

 

 

 

 

 

 

-----Original Message-----
From: Crawford, Jeffrey <>
Sent: Monday, June 24, 2019 7:32 AM
To: ;
Subject: Re: [grouper-users] how to restart grouper without running the installer again?

 

Hi Adam,

 

I'm not sure if the installer does this for you but I think you can use apache commons daemon to register java applications as windows services. Otherwise they should be listed as a service already.

 

Jeffrey C.

 

 

 

On Mon, Jun 24, 2019 at 9:43 AM <> wrote:

Hi,  I tried to experiment the grouper by running the installer in my windows
box and it worked fine.  However I have trouble restarting all the services
after that.  Is there a way to just start all the grouper components instead
of installing it all over again?  I tried to search the archive or wiki but
can't find an answer.  I am new to the grouper and any help will be greatly
appreciated.  Thanks.
~Adam




Archive powered by MHonArc 2.6.19.

Top of Page