Forum Discussion

draco's avatar
draco
Icon for Nimbostratus rankNimbostratus
Mar 27, 2017

F5 LTM oracle http server

Dear All

 

We are trying to do loadbalancing for oracle http server (OHS), which runs different services .For eg. Business intelligence on port 9797 , hyperion on port 8080 etc. So the request comes for https://sso.com.qa:9797/bi -> it initiates with BI service , similarly traffic comes for hyperion for eg : https://sso.com.qa:8080/hp -> it initiates with hyperion service . So this does the SSO authentication and then initiates the traffic to the service.Has anyone done this before ?

 

5 Replies

  • No, but should work without problems. Configure a virtual server per required port. Also, make sure you match the persistence for the different virtual servers. Check this solution about that:

     

    https://support.f5.com/csp/article/K5837

     

    I am assuming the SSO part is done by the servers, otherwise you need APM to be able to do that in the F5.

     

    • draco's avatar
      draco
      Icon for Nimbostratus rankNimbostratus

      Hey Leonardo

       

      Thanks for your reply.But i was going through fiddler to see the communication and saw that for SSO, First , session is established to the OHS on port 9797 and then the client talks with the Oracle Access manager on port 14100 , which comes back to F5 again and had to created virtual server for that as well.After that, this setup started working.Currently i have done only 9797 service.if am doing 8080 as well, i will use irule for the SSO virtual server right ? and based on uri, i can redirect to the pool ?

       

      switch -glob [HTTP::uri] {

       

      "/index.html" - "/benefits/" - "/analytics/" - "/xmlpserver/" - "/ui" - "/mapviewer/" - "/bicomposer" - "/bisearch/" - "/console/" - "/biacm/" - "/bimiddleware/" - {

       

      / URI b URI

      pool URI_b_pool } default {

       

      non-/site a URI

      pool URI_default_pool }

       

      }

       

      I had gone through irule, am kind of new but this should work right ? when i use this in irule, it gives error at 'default' .I am not sure why. I need to use this , because there is multiple uri which needs to be redirected to the same pool, and if not these, then go to default .

       

    • draco's avatar
      draco
      Icon for Nimbostratus rankNimbostratus

      Thank you leonardo ...switch statement wasnt working as was required , so tried with if elseif. I have one more question, can i under http request event , check if the server port is 7777 and uri is something specific and then redirect accordingly ?