Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Content Management (Extended ECM)
API, SDK, REST and Web Services
Connection object through Load Balancer
Cisco_Developer_(ciscouser2_-_(deleted))
Hello , In our application, there are five instances of livelink servers. We are trying to use load balancer before LAPI request goes to any of the livelink servers for scalability and reliabilty.load balancer (load director)is used "host server" in order to obtain LLSession object.LLSession session = new LLSession ("load balancer",2099,"dft",userid , password);*userid / password is administrator userid and password now i call LAPI function via session object. But it throws LLException - could not access server or IO Excpetion.Instead of "load balancer" as host server if i use any livelink server as host server, it works fine.Please advice me , will it be possible to obtain the connection object using "load balancer" as host server. If not then how to use the load balancer to obtain the scalability using all 5 livelink instances.Thanks in advanceAshish
Find more posts tagged with
Comments
Ben_Shapiro
Message from Benjamin Shapiro via eLink The quickest (and I hope applicable) answer for you is that you must setthe load-balancer to balance that port as well - most people only considerbalancing the HTTP/S port/s. Benjamin--Benjamin J. Shapiro, BMathSenior Enterprise Consultant--> eLinkConnection object through Load Balancer Posted by CISCOUser2(Developer, Cisco) on 01/05/2004 09:28 AM>> Hello ,>> In our application, there are five instances of livelink servers. Weare trying to use load balancer before LAPI request goes to any of thelivelink servers for scalability and reliabilty.>> load balancer (load director)is used "host server" in order toobtain LLSession object.>> LLSession session = new LLSession ("load balancer",2099,"dft",userid, password);>> *userid / password is administrator userid and password>> now i call LAPI function via session object. But it throwsLLException - could not access server or IO Excpetion.>> Instead of "load balancer" as host server if i use any livelinkserver as host server, it works fine.>> Please advice me , will it be possible to obtain the connectionobject using "load balancer" as host server. If not then how to use the loadbalancer to obtain the scalability using all 5 livelink instances.>>> Thanks in advance> Ashish>>>> --------------------------------------------------------------------------------> [To reply to this thread, use your normal e-mail reply function.]> Discussion: LAPI Discussion> Livelink Server: Knowledge Center>
Cisco_Developer_(ciscouser2_-_(deleted))
Hello Benjamin, As per your suggestion load balancer is balanced at port 2099. Still during LAPI Call - pointing to load balancer as host server at port 2099 , does not get through. LLSession session = new LLSession ("load balancer",2099,"dft",userid , password); *userid / password is administrator userid and password.Could you please advice us , is there anything which needs to be configured.ThanksAshish
Ben_Shapiro
Message from Benjamin Shapiro via eLink Let's make sure that the groundwork is set:LLSession session = new LLSession ("load balancer",2099,"dft",userid,password);Assumptions:1) "load balancer" - this is the cluster name. i.e. the same "machine name"that the users would use for web requests.2) 2099 - this port on the load balancer sends the request to the Livelinkport on the Livelink servers (2099 is default, but you may have installed onanother port.)3) "dft" - this can be null.4) userid, password - assume this is correct.I will also assume you aren't using single-sign on or some otherauthentication other than the "regular" username/password. If all of the above is correct and you are still having problems, trychanging the connection to go directly to one machine and test the successof that. If a single machine is successful, then set it back to the loadbalancer, make a request, and examine the load balancer logs to see what itsays is happening. Cheers, Benjamin--Benjamin J. Shapiro, BMathSenior Enterprise Consultant--Open Text CorporationSuite 300, 515 Legget DriveOttawa, ON, Canada, K2K 3G4Telephone: +1 (613) 599-9335 x3238Toll Free: +1 (800) 267-9975Cellular: +1 (613) 797 9609Facsimile: +1 (613) 599-9177mailto:bshapiro@opentext.com----- Original Message ----- From: "eLink Discussion: LAPI Discussion" To: "eLink Recipient" Sent: Friday, January 09, 2004 3:55 AMSubject: Re Re Connection object through Load Balancer> eLinkRe Re Connection object through Load Balancer Posted byCISCOUser2 (Developer, Cisco) on 01/09/2004 02:28 AM> In reply to: Re Connection object through Load Balancer Postedby bshapiro (Shapiro, Ben) on 01/05/2004 11:55 AM>> Hello Benjamin,>> As per your suggestion load balancer is balanced at port 2099. Stillduring LAPI Call - pointing to load balancer as host server at port 2099 ,does not get through.>> LLSession session = new LLSession ("load balancer",2099,"dft",userid> , password);>> *userid / password is administrator userid and password.>> Could you please advice us , is there anything which needs to beconfigured.>> Thanks> Ashish
eLink User
Message from Sean M. Alderman via eLinkWhile by no means am I an expert here, I met someone (can't recall who)at LiveLinkUp 2003 who basically has one livelink server dedicated toprocessing lapi calls. They've got a loadbalanced cluster, but one oftheir front end boxes is dedicated for lapi. I'm not sure if theloadbalancer makes all the calls go to that one system or if there issome module or internal workings in livelink that allow for such athing.At anyrate, I seem to remember them being a rather large installation,but still pretty happy with lapi performance from that dedicatedserver. I realize it's not truly solving your problem the way you want,but it might be a solution worth looking into.On Fri, 2004-01-09 at 03:55, eLink Discussion: LAPI Discussion wrote:> Re Re Connection object through Load Balancer> Posted by Developer, Cisco on 01/09/2004 02:28 AM> > Hello Benjamin, > > As per your suggestion load balancer is balanced at port 2099. Still during LAPI Call - pointing to load balancer as host server at port 2099 , does not get through. > > LLSession session = new LLSession ("load balancer",2099,"dft",userid > , password); > > *userid / password is administrator userid and password.> > Could you please advice us , is there anything which needs to be configured.> > Thanks> Ashish> > > > [To reply to this thread, use your normal e-mail reply function.]> > ============================================================> > Topic: Connection object through Load Balancer>
https://knowledge.opentext.com/knowledge/livelink.exe?func=ll&objId=3301142&objAction=view>
; > Discussion: LAPI Discussion>
https://knowledge.opentext.com/knowledge/livelink.exe?func=ll&objId=765428&objAction=view>
; > Livelink Server:>
https://knowledge.opentext.com/knowledge/livelink.exe--Sean
M. AldermanITRACK Systems AnalystPACE/NCI - NASA Glenn Research Center(216) 433-2795Biology grows on you.
Cisco_Developer_(ciscouser2_-_(deleted))
Hello Benjamin, Thanks for your reply.Our application infact still unable to obtain the LAPI connection while hooking to load balancer. We have exact parameters passed to obtain the LLSession object.Could you please provide any sample code to have LLSession via load balancer or is there any specific configuration set up required for getting LAPI conenction via load balancer.Could you brief us also in the case of obtaining LLSession object - host name will be given the load balancer (cluster name ) then how exactly Load balancer finds the livelink server running at port 2099. Does it make CGI calls to livelink server.Thanks in advanceAshish
Ben_Shapiro
Message from Benjamin Shapiro via eLink Hi Ashish,> Could you please provide any sample code to have LLSession via loadbalancer or is there any specific configuration set up required for gettingLAPI conenction via load balancer. Your code looks valid to me. Connecting through the load balancer isthe same as connecting directly to a Livelink system, as long as the LoadBalancer is configured to balance the requests among the Livelink server asit does with the HTTP/S requests. Please test - can your LLSession connect directly to a Livelink serveron port 2099? Does your load-balancer currently balance port 2099 to all the servers(or at least one server) on their port "2099"s?> Could you brief us also in the case of obtaining LLSession object -host name will be given the load balancer (cluster name ) then how exactlyLoad balancer finds the livelink server running at port 2099. Does it makeCGI calls to livelink server. The Load-balancer will "find" the Livelink server only if you haveconfigured it to balance the Livelink ports. Please read through myprevious e-mail to get some troubleshooting tips (reading the logs, forexample). Alternatively, if you are using HTTP (and not HTTPS) you can set theLLSession to be: LLSession session = new LLSession ("load balancer",80,"",userid,password); And it will go through the existing CGI-load balancing that you haveset. Cheers, Benjamin--Benjamin J. Shapiro, BMathSenior Enterprise Consultant--Open Text CorporationSuite 300, 515 Legget DriveOttawa, ON, Canada, K2K 3G4Telephone: +1 (613) 599-9335 x3238Toll Free: +1 (800) 267-9975Cellular: +1 (613) 797 9609Facsimile: +1 (613) 599-9177mailto:bshapiro@opentext.com----- Original Message ----- From: "eLink Discussion: LAPI Discussion" To: "eLink Recipient" Sent: Monday, January 12, 2004 4:12 PMSubject: Re Re Re Re Connection object through Load Balancer> eLinkRe Re Re Re Connection object through Load Balancer Posted byCISCOUser2 (Developer, Cisco) on 01/12/2004 02:53 PM> In reply to: Re Re Re Connection object through Load BalancerPosted by bshapiro (Shapiro, Ben) on 01/09/2004 11:04 AM>> Hello Benjamin,>> Thanks for your reply.>> Our application infact still unable to obtain the LAPI connectionwhile hooking to load balancer. We have exact parameters passed to obtainthe LLSession object.>> Could you please provide any sample code to have LLSession via loadbalancer or is there any specific configuration set up required for gettingLAPI conenction via load balancer.>> Could you brief us also in the case of obtaining LLSession object -host name will be given the load balancer (cluster name ) then how exactlyLoad balancer finds the livelink server running at port 2099. Does it makeCGI calls to livelink server.>>> Thanks in advance> Ashish>