SAP Community Network Forums » SAP NetWeaver » SAP NetWeaver Administrator

Thread: Determining which Java instance user is on a Hardware load balancer system

This question is not answered.


Permlink Replies: 6 - Pages: 1 - Last Post: Nov 4, 2009 6:55 PM Last Post By: Matt Kangas
Javed Sapstar

Posts: 24
Registered: 10/21/09
Forum Points: 38
 
Determining which Java instance user is on a Hardware load balancer system  
Posted: Nov 3, 2009 12:41 PM
Click to report abuse...   Click to reply to this thread Reply
Hi

Suppose I have a hardware load balancer installed for JAVA only system. There is no URL redirection, so looking at the address bar, I wouldn't know which instance I was redirected, Is there any way by which I can find out which instance I am really in?

Thanks
Javed
Vamshi Polasa

Posts: 1,336
Registered: 1/30/09
Forum Points: 1,730
 
Re: Determining which Java instance user is on a Hardware load balancer system  
Posted: Nov 3, 2009 1:01 PM   in response to: Javed Sapstar in response to: Javed Sapstar
Click to report abuse...   Click to reply to this thread Reply
Hi,

You can know this by using your url, you will try to access your system using the 5XX00 where xx is your instance number.
Also you can check using visual admin, server-services-security provider-session.

Regards,
Vamshi.

Javed Sapstar

Posts: 24
Registered: 10/21/09
Forum Points: 38
 
Re: Determining which Java instance user is on a Hardware load balancer sys  
Posted: Nov 3, 2009 2:26 PM   in response to: Javed Sapstar in response to: Javed Sapstar
Click to report abuse...   Click to reply to this thread Reply
Vamshi

You haven't got my requirement. I have 4 dialog instances of a java only server. My hardware load balancer is set to divert users to any of the four app servers based on its internal logic. In the adress bar of browser, I only enter the link pointing to hardware load balancer, rest is taken care by it. And since the URL in the browser does not change (after redirection) to the logged in instance, I cannot make out from the address bar which app server I have been redirected to. I want to know this information somehow.

Thanks
Javed
Olivier CHRETIEN

Posts: 2,581
Registered: 3/31/04
Forum Points: 3,764
 
Re: Determining which Java instance user is on a Hardware load balancer sys  
Posted: Nov 3, 2009 2:40 PM   in response to: Javed Sapstar in response to: Javed Sapstar
Click to report abuse...   Click to reply to this thread Reply
Hi,

You have to check the HTTP logs of each java application server.

Regards,
Olivier
Javed Sapstar

Posts: 24
Registered: 10/21/09
Forum Points: 38
 
Re: Determining which Java instance user is on a Hardware load balancer sys  
Posted: Nov 3, 2009 3:09 PM   in response to: Javed Sapstar in response to: Javed Sapstar
Click to report abuse...   Click to reply to this thread Reply
Isn't there any other way around?
Olivier CHRETIEN

Posts: 2,581
Registered: 3/31/04
Forum Points: 3,764
 
Re: Determining which Java instance user is on a Hardware load balancer sys  
Posted: Nov 3, 2009 4:16 PM   in response to: Javed Sapstar in response to: Javed Sapstar
Click to report abuse...   Click to reply to this thread Reply
It depends if your hardware load balancer is able to display this information...
Matt Kangas  Moderator  SAP Employee

Posts: 789
Registered: 2/25/04
Forum Points: 1,294
 
Re: Determining which Java instance user is on a Hardware load balancer sys  
Posted: Nov 4, 2009 6:55 PM   in response to: Javed Sapstar in response to: Javed Sapstar
Click to report abuse...   Click to reply to this thread Reply
Hi Javed,

I do not quite understand your requirement. You have installed a load balancer to specifically abstract and proxy the java server connection, and now you want to find the very information that you are attempting to hide in the first place? Naturally, this would only be available on the balancer or java servers, no?

Best Regards,
Matt

Point your RSS reader here for a feed of the latest messages in all forums