Greenplum support multiple LDAP server in one pg_hba entry.
search cancel

Greenplum support multiple LDAP server in one pg_hba entry.

book

Article ID: 296927

calendar_today

Updated On:

Products

VMware Tanzu Greenplum

Issue/Introduction

Some users may prefer configure multiple LDAP server in one pg_hba entry, so when one LDAP server is unavailable, there is a standby LDAP server can be in use.

Environment

Product Version: 6.25

Resolution

To configure this, it only requires add multiple LDAP server name or IP address into the ldapserver setting, separted by space, like below:
 host      all         all           0.0.0.0/0    ldap ldapserver="192.168.31.245  192.168.31.44"  ldapport=389   ldapprefix="uid=" ldapsuffix=",ou=tanzu,dc=vc,dc=loca"

Once changed, gpstop -u to reload the parameter.