-
Notifications
You must be signed in to change notification settings - Fork 0
Differences between XnatInstaller and OmeroInstaller postgresql roles #1
Comments
Agreed this is the way forward. This step is done in the
Sounds like a good plan.
This wasn't required on Rocky 8, so again I think we need handle both scenarios, installing it when running on CentOS7.
In
My personal opinion is that database creation can be handled by the
It gets complicated because the Postgresql client and server both need to have certs generated and then the client needs access to the server cert and vice versa. In
In |
Closing as I think these issues have been handled in the current release of this role. Thanks for the explanations! |
There are some differences between the
XnatInstaller
and andOmeroInstaller
postgresql roles.I'll list them here and, where I have an idea of how to, suggest how to handle these differences in this standalone role.
XnatInstaller installs python libraries in the postgresql role. This could instead be done by the
mirsg.install_python
role.XnatInstaller handles some differences between RedHat 7/8 and whether the host is running on Azure. This could instead be handled by setting two variables:
postgres.rpm_rhel
could be set based on whether 7/8 is used;disable_postgres_rmp_gpg_check
could default tofalse
and set totrue
in the host file for any servers running on Azure.OmeroInstaller disables postgres and import the rpm key before using the
postgresql
role. This only needs to be done for Rocky 8, not Centos 7 (it errors for Centos 7 as there is no postgres running). XnatInstaller handles this within the postgres role when running Rocky 8. Would it be better to follow what OmeroInstaller does or what XnatInstaller does?XnatInstaller installs postgres contrib but OmeroInstaller doesn't. Is this needed? Should it be optional?
XnatInstaller generates a postgres server certificate but OmeroInstaller doesn't. Should this be part of the postgresql role or separate? If separate, where should it go?
OmeroInstaller has a task to create the database but XnatInstaller doesn't. Should this be made optional or done outside of the postgresql role?
The task to add the postgres client certificate to server is different for XnatInstaller and OmeroInstaller. Which one should we follow?
The text was updated successfully, but these errors were encountered: