Depending on your version of Knox you could also use PAM. You would need to make each one sufficient for success to avoid double lookups.
On Jan 23, 2017 10:50 PM, "Amin Abbaspour" <[email protected]> wrote: > but multiple realms mean multiple lookups. > > > On Tue, Jan 24, 2017 at 12:53 AM, larry mccay <[email protected]> wrote: > >> You can consider defining multiple realms in the topology. >> There is an example in the {GATEWAY_HOME}/templates directory >> "sandbox-knoxrealm2.xml" it is for a different usecase but may satisfy >> yours as well. >> >> On Sun, Jan 22, 2017 at 11:57 PM, Amin Abbaspour < >> [email protected]> wrote: >> >>> Hi All, >>> >>> I'm trying to connect my Knox servers to multiple LDAP server for the >>> sake of high-availability. >>> >>> What's the best way to define more than one host in contextFactory.url >>> of a topology? >>> >>> Comma separated list of URLs doesn't work and not intending to use DNS >>> failover. >>> >>> Kind Regards, >>> Amin >>> >>> >>> This email and any files transmitted with it are confidential and >>> intended solely for the use of the individual or entity to whom they are >>> addressed. If you have received this email in error please notify the >>> system manager. This message contains confidential information and is >>> intended only for the individual named. If you are not the named addressee >>> you should not disseminate, distribute or copy this e-mail. Please notify >>> the sender immediately by e-mail if you have received this e-mail by >>> mistake and delete this e-mail from your system. If you are not the >>> intended recipient you are notified that disclosing, copying, distributing >>> or taking any action in reliance on the contents of this information is >>> strictly prohibited. >> >> >> > > > -- > > Amin Abbaspour > > Senior AWS Consultant > > > > Phone +61 450 445 271 > > Email [email protected] <[email protected]> > > Website strutdigital.com > > Twitter @strutdigital <http://twitter.com/strutdigital> > > This email and any files transmitted with it are confidential and intended > solely for the use of the individual or entity to whom they are addressed. > If you have received this email in error please notify the system manager. > This message contains confidential information and is intended only for the > individual named. If you are not the named addressee you should not > disseminate, distribute or copy this e-mail. Please notify the sender > immediately by e-mail if you have received this e-mail by mistake and > delete this e-mail from your system. If you are not the intended recipient > you are notified that disclosing, copying, distributing or taking any > action in reliance on the contents of this information is strictly > prohibited. > > This email and any files transmitted with it are confidential and intended > solely for the use of the individual or entity to whom they are addressed. > If you have received this email in error please notify the system manager. > This message contains confidential information and is intended only for the > individual named. If you are not the named addressee you should not > disseminate, distribute or copy this e-mail. Please notify the sender > immediately by e-mail if you have received this e-mail by mistake and > delete this e-mail from your system. If you are not the intended recipient > you are notified that disclosing, copying, distributing or taking any > action in reliance on the contents of this information is strictly > prohibited.
