How to improve failover mechanism on IPA client while adding users in IPA domain

Solution Verified - Updated -

Issue

  • Experiencing delay while adding users in IPA via CLI on ipa-client (when IPA master is down and replica is UP)

  • When IPA master is down, request goes to replica and delay is observed:

[root@ipa-client]# time ipa -v user-add testuser --first=test --last=user
ipa: INFO: trying https://master.example.com/ipa/session/xml
ipa: INFO: Connection to https://master.example.com/ipa/session/xml failed with NSPRError() argument 1 must be string or None, not int
ipa: INFO: trying https://replica.example.com/ipa/xml
ipa: INFO: Forwarding 'user_add' to server u'https://replica.example.com/ipa/xml'
-------------------
Added user "testuser"
-------------------

real    1m31.512s     <---------- Delay
user    0m0.807s
sys     0m0.126s

Environment

  • Red Hat Eenterprise Linux 6/7
  • IPA 3.x/4.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.