clustervision / trinityX

TrinityX is the new generation of ClusterVision's open-source HPC, A/I and cloudbursting platform. It is designed from the ground up to provide all services required in a modern HPC and A/I system, and to allow full customization of the installation.
GNU General Public License v3.0
67 stars 37 forks source link

HA-setup: Disable slapd.service #430

Closed mulderij closed 2 months ago

mulderij commented 2 months ago

When running openldap in an HA-setup, pacemaker takes care of starting (and stopping) slapd. Therefor it is not needed to enable the slapd service through systemd. Enabling this service will result in an failed service when a passive node comes up, because /etc/openldap/slapd.d is redirected to /trinity/ha/etc/openldap/slapd.d. When `/trinity/ha/ is only mounted on the active controller (ie using drbd), this mount is not available on the passive node. Also since ldap-clients should be using the VIP to connect to ldap, the local service would not have been used.

di3go-sona commented 2 months ago

Dear @mulderij, thanks for bringing this to our attention.

We are currently working on this, it will be there in the next release

-D