Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] installing without a running database

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] installing without a running database


Chronological Thread 
  • From: James Babb <>
  • To: "Hyzer, Chris" <>, Scott Koranda <>
  • Cc: grouper-users <>
  • Subject: Re: [grouper-users] installing without a running database
  • Date: Thu, 03 Aug 2017 20:26:39 +0000
  • Accept-language: en-US
  • Authentication-results: spf=none (sender IP is ) ;
  • Ironport-phdr: 9a23:/Q+oAxXWJyC3UyWkHAM3xFfuzDLV8LGtZVwlr6E/grcLSJyIuqrYbRGFt8tkgFKBZ4jH8fUM07OQ6PGwHzRYqb+681k6OKRWUBEEjchE1ycBO+WiTXPBEfjxciYhF95DXlI2t1uyMExSBdqsLwaK+i764jEdAAjwOhRoLerpBIHSk9631+ev8JHPfglEnjSwbLdxIRmssQndqtQdjJd/JKo21hbHuGZDdf5MxWNvK1KTnhL86dm18ZV+7SleuO8v+tBZX6nicKs2UbJXDDI9M2Ao/8LrrgXMTRGO5nQHTGoblAdDDhXf4xH7WpfxtTb6tvZ41SKHM8D6Uaw4VDK/5KpwVhTmlDkIOCI48GHPi8x/kqRboA66pxdix4LYeZyZOOZicq/Ye94RWGhPUdtLVyFZDI2yb5YBAOgAPehGrIf9u1UOoACkCgWwAePvziNEimP00KA8zu8vERvG3AslH98WtHrbttD1O7kJUeuo0aTH1y7MYOhL0jr66ojHaBUhru+XXb5qasXe01IgGBjeg1SeqIzlJC+a2v4TvGeG8uptTOSigHMppQF2pzig3MYsio/Ri4IUzFDE6Tt2wJwzJdKmVE53f8SoH4VNuCGHMYZ9X8AsQ3lwtSonxbALtoS3cSwUxJg92hLSb/6Kf5KW7h79VeudOSl0iXN5dL+9ghuy/0atx+7/W8SxzllHqzZJn9zDu30MzBPe78eKR/pg8ku/3DuP2Rzc5+VKLE0xlafXN4Itz7oompYNrEjOHzX6lUvogKOMa0kp+fSk5/76brjnoJKXKpV6hRvkMqs0n8yyGeQ4PRYKX2ic4em8z7jj/VHhQLpQk/02jqnZvZ7AKcUVp665GBNa0oM55Ba+CzeqytoZnXgcLF1ZYh6IkZXmO0zWLPD5C/ewnUisnS92y/3JMbDtGJHAImbZnLv8ebtw6VRQxBQtwd1e/55UD6sOIPP3Wk//rtzYCRo5PhS2w+n9DdVyyJgeVXiUDaCDK6zdqkSF5+wuI+mXeIAZoijyJOU45/L2l382hUcdfbW13ZsQcH24Ee5mI0KEYXr0nNgBC34GvhclTOP0kl2CSiVeZ3KzX6In+jE7E5yqAZ3CRoCrnLyOwj27HptIaWBaFFyAC2nneJiZW6REVCXHaO9wgDEeEfCKS5Ugzlvm4Arxy6t1I/D8+zYT84/72d5zoeDfiEd2vQd/CNiBm0KKVWhykmpAEyQ127p2p0B04liG2Kl8xfdfEIoAyelOV1IYPJvR1KRQAtr4ElbDd9KEUxCsS9+sKS4wVdl3ztMTNRUuU+6+hwzOinL5S4QekKaGUdltqvrR
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

Yes, we download the api binary, ws, and ui without the installer and then patch accordingly with the grouper installer. The way we do it is the following (from our Dockerfile for the API):

 

---

 

RUN set -x \

    && echo 'Downloading Grouper Installer...' \

    && wget -q http://software.internet2.edu/grouper/release/2.3.0/grouperInstaller.jar \

   

# Download the Grouper API

    && echo 'Downloading Grouper API...'\

    && wget -q http://software.internet2.edu/grouper/release/2.3.0/grouper.apiBinary-2.3.0.tar.gz \

    && tar -zxf grouper.apiBinary-2.3.0.tar.gz -C /mst \

 

# Patch the API using the installer

    && echo 'Patching Grouper API...'\

    && mkdir /tmp/grp-api/ \

    && cp /mst/installer-scripts/grouper.installer-api.properties /mst/grouper.installer.properties \

    && ${JAVA_HOME}/bin/java -cp .:/mst/grouperInstaller.jar edu.internet2.middleware.grouperInstaller.GrouperInstaller \

 

# And some final cleanup

    && rm -rvf grouper.apiBinary-2.3.0.tar.gz /tmp/grp-api/  /mst/grouper.installer.properties \

 

---

 

And the grouper.install.properties file:

 

---

 

grouperInstaller.autorun.useDefaultsAsMuchAsAvailable = true

grouperInstaller.autorun.actionEgInstallUpgradePatch = patch

grouperInstaller.autorun.tarballDirectory = /tmp/grp-api

grouperInstaller.autorun.appToUpgrade = api

grouperInstaller.autorun.grouperWhereInstalled = /mst/grouper.apiBinary-2.3.0

grouperInstaller.autorun.patchAction = install

grouper.version = 2.3.0

download.server.url = "http://software.internet2.edu/grouper

 

---

 

Note that UI and WS require building with ant if you download the tar ball. They can be patched with the same sort of unattended properties file.

 

 

--

James Babb

Enterprise Identity Management Technologist

Division of Information Technology

University of Wisconsin-Madison

 

 

 

On 8/3/17, 2:20 PM, " on behalf of Hyzer, Chris" < on behalf of > wrote:

 

    Of course!  :)

   

    The patcher doesn't know or care how you installed.  And actually, the installer just does manual steps for you, you could do all that stuff manually and just skip the parts about configuring the hibernate config, starting things up, doing the DDL, etc.

   

    Thanks

    Chris

   

    -----Original Message-----

    From: Scott Koranda [mailto:]

    Sent: Thursday, August 03, 2017 3:14 PM

    To: Hyzer, Chris <>

    Cc: grouper-users <>

    Subject: Re: [grouper-users] installing without a running database

   

    > When you install you need a database, but you can temporarily use HSQLDB.

    >

    

    Thanks.

   

    Suppose I want to avoid having to use HSQLDB (or any database) at

   install time.

   

    Could I install from Java source files (not using grouperInstaller.jar)

    but then still use grouperInstaller.jar to deploy the patches?

   

    Thanks,

   

    Scott K

   




Archive powered by MHonArc 2.6.19.

Top of Page