Results 1 to 5 of 5

Thread: Can HAE Ip balance two servers? (EVAL Help)

Hybrid View

  1. #1

    Can HAE Ip balance two servers? (EVAL Help)

    Looking at the HAE to solve an issue, not sure if it is capable of it.....

    Need it to do the following:

    load balance 2 ldap servers running on physical hardware, the server running the HAE extension is running on a VMWARE server. All servers are in the same subnet

    SITREP: Built a SLES 11 SP3 box at 10.0.0.163, went into IPLB and configured a "virtual server" at IP 10.0.0.166:636, added in real servers at 10.0.0.89:636 , and 10.0.0.88:636

    Saved the config, checked that ldirectord was running...

    can't ping the virtual server, can't access the ldap service, google fu fail since the LVS docs tend to refer to files overwritten by YAST, also tried a real IP on the server as the virtual also as 10.0.0.163:0 and 10.0.0.166:0

    any ideas?

  2. Re: Can HAE Ip balance two servers? (EVAL Help)

    Hi dbgallo,

    > google fu fail since the LVS docs tend to refer to files overwritten by YAST

    despite YaST maintaining the config files (which you could do without, for a test - just don't call the appropriate YaST module during your manual tests), have you checked the resulting setup?

    To assess your current situation, we'd need to see some details of your running configuration, especially the ldirectord setup.

    Then the debugging results: How did you test ldap service access - via "ldapsearch"? What do you see that makes you believe you cannot access the service? What's in the logs (i.e. slapd logs on the real servers, ldirectord log on that server), have you done any network traces to see what's actually happening on the ldirectord host? What does it report regarding the status of the connection(s)?

    Regards,
    Jens
    From the times when today's "old school" was "new school"

    If you find this post helpful and are logged into the web interface, show your appreciation and click on the star below...

  3. #3

    Re: Can HAE Ip balance two servers? (EVAL Help)

    so the results are , can't ping the VIP, can't access LDAP via the VIP (Apache Directory Studio times out)

    here is the ldirectord.cf file
    Code:
    logfile = "/var/log/LVS.log"
    virtual = 10.0.0.166:636
            checktype = ping
            real = 10.0.0.88:636 gate
            real = 10.0.0.89:636 gate
            real = 10.0.0.242:636 gate
    I can access the reals directly, and they can be pinged by the server hosting HAE. No communication showing up in iftop or iptraf referring to the VIP

  4. Re: Can HAE Ip balance two servers? (EVAL Help)

    Hi dbgallo,
    Quote Originally Posted by dbgallo View Post
    so the results are , can't ping the VIP, can't access LDAP via the VIP (Apache Directory Studio times out)

    here is the ldirectord.cf file
    Code:
    logfile = "/var/log/LVS.log"
    virtual = 10.0.0.166:636
            checktype = ping
            real = 10.0.0.88:636 gate
            real = 10.0.0.89:636 gate
            real = 10.0.0.242:636 gate
    I can access the reals directly, and they can be pinged by the server hosting HAE. No communication showing up in iftop or iptraf referring to the VIP
    since you already quote that there's a log file - anything in there that might help track this down?

    Regards,
    Jens
    From the times when today's "old school" was "new school"

    If you find this post helpful and are logged into the web interface, show your appreciation and click on the star below...

  5. #5

    Re: Can HAE Ip balance two servers? (EVAL Help)

    I wish there was, here's the output to that logs following a. /etc/init.d/ldirectord stop and . /etc/init.d/ldirectord start
    Code:
    [Tue Jun  2 13:27:40 2015|ldirectord|32171] Purged virtual server (stop): 10.0.0.166:636
    [Tue Jun  2 13:27:40 2015|ldirectord|32171] Linux Director Daemon terminated on signal: TERM
    [Tue Jun  2 13:27:50 2015|ldirectord|32297] Invoking ldirectord invoked as: /usr/sbin/ldirectord start
    [Tue Jun  2 13:27:50 2015|ldirectord|32297] Starting Linux Director v1.186-ha as daemon
    [Tue Jun  2 13:27:50 2015|ldirectord|32299] Added virtual server: 10.0.0.166:636
    [Tue Jun  2 13:27:50 2015|ldirectord|32299] Added real server: 10.0.0.88:636 (10.0.0.166:636) (Weight set to 1)
    [Tue Jun  2 13:27:50 2015|ldirectord|32299] Deleted real server: 10.0.0.88:636 (10.0.0.166:636)
    [Tue Jun  2 13:27:50 2015|ldirectord|32299] Added real server: 10.0.0.242:636 (10.0.0.166:636) (Weight set to 1)
    [Tue Jun  2 13:27:50 2015|ldirectord|32299] Deleted real server: 10.0.0.242:636 (10.0.0.166:636)
    [Tue Jun  2 13:27:50 2015|ldirectord|32299] Added real server: 10.0.0.89:636 (10.0.0.166:636) (Weight set to 1)
    [Tue Jun  2 13:27:50 2015|ldirectord|32299] Deleted real server: 10.0.0.89:636 (10.0.0.166:636)
    [Tue Jun  2 13:27:50 2015|ldirectord|32299] Resetting soft failure count: 10.0.0.88:636 (tcp:10.0.0.166:636)
    [Tue Jun  2 13:27:50 2015|ldirectord|32299] Added real server: 10.0.0.88:636 (10.0.0.166:636) (Weight set to 1)
    [Tue Jun  2 13:27:50 2015|ldirectord|32299] Resetting soft failure count: 10.0.0.89:636 (tcp:10.0.0.166:636)
    [Tue Jun  2 13:27:50 2015|ldirectord|32299] Added real server: 10.0.0.89:636 (10.0.0.166:636) (Weight set to 1)
    [Tue Jun  2 13:27:50 2015|ldirectord|32299] Resetting soft failure count: 10.0.0.242:636 (tcp:10.0.0.166:636)
    [Tue Jun  2 13:27:50 2015|ldirectord|32299] Added real server: 10.0.0.242:636 (10.0.0.166:636) (Weight set to 1)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •