on 04-18-2006 12:03 AM
Hi.
We have 4 portal server and did load balancing with L7 switch.
My problem is
"After I login to portal, I want to know server name that I logon"
Because of L7 switch, I got alway same URL name from portal.
Any idea to know server name that I logon.
Regards, Arnold.
You can check the JSESSIONID cookie by entering "javascript:alert(document.cookie);" in the address bar of your browswer. First few characters are the ID of the server you are logged on.
Best Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Have the same challenge here (6 servers) and it is a really pain to reproduce a problem. What we have is one cluster alias (external loadbalancer) and a dns host name for each of the six servers.
https://weblogs.sdn.sap.com/cs/weblog/view/wlg/564 describes how you can access a particular application server (we have four for each of the six servers) and I use together with the server host name to access a particular node (bypassing the load balancer because it doesn't understand the sapj2ee_ parameter.
If I go through the cluster addresse (thereby the load balancer) , the easiest way to check which node I am at is through the cookies. Type javascript:document.cookie in the addresse field and the saplb_* cookie should identify the id of the current node. (to find the ids, telnet to you installtion port 50008 (+instance nr * 1000) and enter the command lsc).
Hopes this helps
Dagfinn
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dagfinn Parnas.
We can't access bolg https://weblogs.sdn.sap.com/cs/weblog/view/wlg/564.
Please check URL.
Regards, Arnold.
Hi EP,
Use this code to get the current server name.
request.getServletRequest().getServerName();
Regards,
Karthick
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
From ur portal, goto Java Developer > Tools > Portal Support Desk > SAP WebAS System Information. You will all details you want.
PS: Reward point if useful
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.