grouper-users - Re: [grouper-users] newbie installer question about database to use
Subject: Grouper Users - Open Discussion List
List archive
- From: Les LaCroix <>
- To: "Hyzer, Chris" <>
- Cc: " Mailing List" <>
- Subject: Re: [grouper-users] newbie installer question about database to use
- Date: Tue, 14 Apr 2020 08:02:09 -0500
Carleton College | 1 N. College St. | MS 3-ITS | Northfield, MN 55057
507.222.5455
> I am attempting to install on Centos 7. In Centos, I have most familiarity with
> MySQL/MariaDB, and no familiarity with Postgres or Oracle. (I am actually much
> more familiar with MS SQL than MySQL, but I didn't see any references to that in
We don’t support ms sql
> the Grouper installation guides.) Also, I know a lot of programming languages, but
> know virtually nothing about actually using Java. Finally, we don't use AWS yet; all
> of our cloud adventures have been in GCP or Azure.
You could use a mysql or postgres or oracle database in gcp or azure. Note the container must live near it to reduce latency performance issues.
>
> I installed MariaDB 10.4.12, and I don't think the Grouper container is talking to it.
> With "manually" the grouper.log starts with a Communications link failure.
Can you telnet to the port from the container server?
[root@ip-172-30-3-152 grouperInstaller]# telnet database-2.cstlzkqw179p.us-east-1.rds.amazonaws.com 3306
Trying 172.30.3.40...
Connected to database-2.cstlzkqw179p.us-east-1.rds.amazonaws.com.
Escape character is '^]'.
X
5.5.5-10.4.8-MariaDBK;&I~bLþ8pOz8H?EzW(\mysql_native_password^CConnection closed by foreign host.
[root@ip-172-30-3-152 grouperInstaller]#
> With "using
> installer", the docker_logs_init_db*.log file ends with "############## Running static
> SQL". And in neither case are there any tables in the grouper database.
Look in the files created in the installer directory, any log entries? What happens when you look in the README.txt and run those commands manually? What does “docker logs” return for the container?
> If I want to run the container without adding drivers to it, what MySQL/MariaDB should
> I install on my Centos 7 host?
The examples were mysql 5.7
> If I want to use MariaDB 10.4.12, what driver should I
> install into the container, and how would I do that? (Maybe if I knew more about Java
> I'd be able to answer these questions myself?)
I tried 10.4.8 mariadb and the built in driver with grouper created the tables fine with the installer. Note: the installer reports an error but it does succeed… just continue
Thanks
Chris
From: On Behalf Of Les LaCroix
Sent: Tuesday, April 14, 2020 12:18 AM
To:
Subject: [grouper-users] newbie installer question about database to use
Hello,
With the recent announcement of v2.5, I thought I'd take another stab at installing Grouper. I have tried following the sets of instructions "Install the Grouper v2.5 container with maturity level 0 manually" and "Install the Grouper v2.5 container with maturity level 0 using installer", and I think I am running into the same problem: choice of databases.
I am attempting to install on Centos 7. In Centos, I have most familiarity with MySQL/MariaDB, and no familiarity with Postgres or Oracle. (I am actually much more familiar with MS SQL than MySQL, but I didn't see any references to that in the Grouper installation guides.) Also, I know a lot of programming languages, but know virtually nothing about actually using Java. Finally, we don't use AWS yet; all of our cloud adventures have been in GCP or Azure.
I installed MariaDB 10.4.12, and I don't think the Grouper container is talking to it. With "manually" the grouper.log starts with a Communications link failure. With "using installer", the docker_logs_init_db*.log file ends with "############## Running static SQL". And in neither case are there any tables in the grouper database.
If I want to run the container without adding drivers to it, what MySQL/MariaDB should I install on my Centos 7 host? If I want to use MariaDB 10.4.12, what driver should I install into the container, and how would I do that? (Maybe if I knew more about Java I'd be able to answer these questions myself?)
Thanks, -Les
Les LaCroix '79 | Strategic Technologist
Carleton College | 1 N. College St. | MS 3-ITS | Northfield, MN 55057
507.222.5455
- [grouper-users] newbie installer question about database to use, Les LaCroix, 04/14/2020
- RE: [grouper-users] newbie installer question about database to use, Hyzer, Chris, 04/14/2020
- Re: [grouper-users] newbie installer question about database to use, Les LaCroix, 04/14/2020
- RE: [grouper-users] newbie installer question about database to use, Hyzer, Chris, 04/14/2020
- Re: [grouper-users] newbie installer question about database to use, Gettes, Michael, 04/14/2020
- Re: [grouper-users] newbie installer question about database to use, Gettes, Michael, 04/14/2020
- Re: [grouper-users] newbie installer question about database to use, Les LaCroix, 04/14/2020
- Re: [grouper-users] newbie installer question about database to use, Les LaCroix, 04/14/2020
- RE: [grouper-users] newbie installer question about database to use, Hyzer, Chris, 04/14/2020
Archive powered by MHonArc 2.6.19.