Finding real server from session ID cookie
Greetings,
running Weblogic express, 8.1.4, with 3 servers in a cluster.
How can I determine which server handled a request when looking at a tcpdump from in front of a load balancer?
I know the jsessionid cookie has the primary server ID at the end, but I can't find the ID value in any of the config files.
Example cookie ID's are:
-193723663
242986410
253184977
They don't seem to be an obvious IP address/port conversion. Is there another way to find which server handled a request based on these cookie ID's?
--Kurt
Thank you for the quick reply.
Do you know if the JVM id's are persistent? Meaning once I do figure out which id for which server, will they stay the same through reboots/restarts, etc.?
Also, if there is an easy way to have the server set a separate cookie value, like "server=IP", then I would not need to worry about the session ID. I'm not that familiar with weblogic to know how to do this.
Regards,
--Kurt
Similar Messages
-
ACE 4710: Find out the response time of a real server
Hi to everyone,
I have a couple of ACE 4710 and I need to find out what is the response time of a real server.
Is there a way for this?
Thank you for any answer!
giorgio romanoHi,
Kindly add the following line in your serverfarm configuration:
predictor response syn-to-synack
Suppose your serverfarm looks like this:
serverfarm host AAA_FARM
predictor response syn-to-synack
probe HTTP_PROBE
probe TCP9001_PROBE
rserver SC106
inservice
rserver SC107
inservice
rserver SC108
inservice
rserver SC109
inservice
rserver SC110
inservice
rserver SC111
inservice
rserver SC112
inservice
rserver SC113
inservice
rserver SC114
inservice
rserver SC120
inservice
rserver SC131
inservice
And then use the following command to see the average response time from your rserver as follows:
ACE1/prod# show serverfarm AAA_FARM detail
serverfarm : AAA_FARM, type: HOST
total rservers : 11
active rservers: 11
description : ServerFarm AAA
state : ACTIVE
predictor : RESPONSE
method : syn-to-synack
samples : 8
failaction : -
back-inservice : 0
partial-threshold : 0
num times failover : 0
num times back inservice : 0
total conn-dropcount : 0
Probe(s) :
HTTP_PROBE, type = HTTP
TCP9001_PROBE, type = TCP
----------connections-----------
real weight state current total failures
---+---------------------+------+------------+----------+----------+---------
rserver: SC106
x.x.x.x.:0 8 OPERATIONAL 2 1125 0
max-conns : 4000000 , out-of-rotation count : 0
min-conns : 4000000
conn-rate-limit : - , out-of-rotation count : -
bandwidth-rate-limit : - , out-of-rotation count : -
retcode out-of-rotation count : -
load value : 0
average response time (usecs) : 81 ----> thats what you might be looking for
From other day :
rserver: SC114
x.x.x.x:0 8 OPERATIONAL 70 10903 2
max-conns : 4000000 , out-of-rotation count : 0
min-conns : 4000000
conn-rate-limit : - , out-of-rotation count : -
bandwidth-rate-limit : - , out-of-rotation count : -
retcode out-of-rotation count : -
load value : 0
average response time (usecs) : 1334 ----> thats what you might be looking for
For Serverfarm BBB_FARM
serverfarm : BBB_FARM, type: HOST
total rservers : 1
active rservers: 1
description : ServerFarm BBB
state : ACTIVE
predictor : RESPONSE
method : syn-to-synack
samples : 8
failaction : -
back-inservice : 0
partial-threshold : 0
num times failover : 1
num times back inservice : 1
total conn-dropcount : 0
Probe(s) :
----------connections-----------
real weight state current total failures
---+---------------------+------+------------+----------+----------+---------
rserver: SC208
x.x.x.x:0 8 OPERATIONAL 0 0 0
max-conns : 4000000 , out-of-rotation count : 0
min-conns : 4000000
conn-rate-limit : - , out-of-rotation count : -
bandwidth-rate-limit : - , out-of-rotation count : -
retcode out-of-rotation count : -
load value : 0
average response time (usecs) : 0 ----> thats what you might be looking for
Use more detials for response predictor:
http://www.cisco.com/en/US/docs/app_ntwk_services/data_center_app_services/ace_appliances/vA3_1_0/configuration/slb/guide/rsfarms.html#wp1068831
Configuring the Application Response Predictor
To instruct the ACE to select the server with the lowest average response time for the specified response-time measurement based on the current connection count and server weight (if configured), use the predictor response command in server farm host or redirect configuration mode. This predictor is considered adaptive because the ACE continuously provides feedback to the load-balancing algorithm based on the behavior of the real server.
To select the appropriate server, the ACE measures the absolute response time for each server in the server farm and averages the result over a specified number of samples (if configured). With the default weight connection option configured, the ACE also takes into account the server's average response time and current connection count. This calculation results in a connection distribution that is proportional to the average response time of the server.
The syntax of this command is as follows:
predictor response {app-req-to-resp | syn-to-close | syn-to-synack}[samples number]
The keywords and arguments are as follows:
•app-request-to-resp—Measures the response time from when the ACE sends an HTTP request to a server to the time that the ACE receives a response from the server for that request.
•syn-to-close—Measures the response time from when the ACE sends a TCP SYN to a server to the time that the ACE receives a CLOSE from the server.
•syn-to-synack—Measures the response time from when the ACE sends a TCP SYN to a server to the time that the ACE receives the SYN-ACK from the server.
•samples number—(Optional) Specifies the number of samples over which you want to average the results of the response time measurement. Enter an integer from 1 to 16 in powers of 2. Valid values are 1, 2, 4, 8, and 16. The default is 8.
For example, to configure the response predictor to load balance a request based on the response time from when the ACE sends an HTTP request to a server to when the ACE receives a response back from the server and average the results over four samples, enter:
host1/Admin(config)# serverfarm SFARM1
host1/Admin(config-sfarm-host)# predictor response app-req-to-resp
samples 4
To reset the predictor method to the default of round-robin, enter:
host1/Admin(config-sfarm-host)# no predictor
To configure an additional parameter to take into account the current connection count of the servers in a server farm, use the weight connection command in server farm host predictor configuration mode. By default, this command is enabled. The syntax of this command is as follows:
weight connection
For example, enter:
host1/Admin(config)# serverfarm SF1
host1/Admin(config-sfarm-host)# predictor response app-request-to-resp
samples 4
host1/Admin(config-sfarm-host-predictor)# weight connection
To remove the current connection count from the calculation of the average server response time, enter:
host1/Admin(config-sfarm-host-predictor)# no weight connection
You can use threshold milliseconds parameter which is optional Specifies the required minimum average response time for a server. If the server response time is greater than the specified threshold value, the ACE removes the server from the load-balancing decision process (takes the server out of service).
Enter an integer from 1 to 300000 milliseconds (5 minutes). The default is no threshold (servers are not taken out of service).
In case if you have measures the response time from when the ACE sends a TCP SYN to a server to the time that the ACE receives a CLOSE from the server use syn-to-close (already discussed previously)
If you have to measures the response time from when the ACE sends a TCP SYN to a server to the time that the ACE receives the SYN-ACK from the server use syn-to-synack (already discussed previously)
SAMPLES parameter is optional and specifies the number of samples that you want to average from the results of the response time measurement and response time is used to select the server with the lowest response time for the requested response-time measurement. If you do not specify a response-time measurement method, the ACE uses the HTTP app-req-to-response method.
Whenever a server's load reaches zero, by default, the ACE uses the autoadjust feature to assign a maximum load value of 16000 to that server to prevent it from being flooded with new incoming connections. The ACE periodically adjusts this load value based on feedback from the server's SNMP probe and other configured options.
Using the least-loaded predictor with the configured server weight and the current connection count option enabled, the ACE calculates the final load of a real server as follows:
final load = weighted load × static weight × current connection count
where:
•weighted load is the load reported by the SNMP probe
•static weight is the configured weight of the real server
•current connection count is the total number of active connections to the real server
The ACE recalculates the final load whenever the connection count changes, provided that the (config-sfarm-host-predictor) weight connection command is configured. If the (config-sfarm-host-predictor) weight connection command is not configured, the ACE updates the final load when the next load update arrives from the SNMP probe.
If two servers have the same lowest load (either zero or nonzero), the ACE load balances the connections between the two servers in a round-robin manner.
HTH
Plz rate if u find it useful.
Sachin -
Cannot ping REAL server IP addresses from CSM 6500
I have a dual 6500/CSM routed topology in which the traffic from clients to the server VIP works fine. However, in preparation for some upcoming work, I find that I cannot ping the REAL server IP addresses. This would seem to be an important troubleshooting step. Any ideas why this wouldn't work?
Gilles, followup question. If I understand this, what you outlined above will allow traffic external coming into the 6500/CSM to be forwarded thru to the REAL server IPs. If it wasn't clear, I was trying to ping from the native-mode 6500 that contains the CSM. I've tried regular and extended pings using the CSM-configured server VLAN's IP and alias IP, but get no response back from any of the REAL server IP addresses.
Is what you've indicated required to ping even if I'm on the 6500 which contains the CSM? -
How can I find out the mail server from email address?
Hi:
How can I find out the mail server from email address?
for example: If I know the email address is [email protected],
how to find the pop3 and smtp mail server?
THANK YOUYou can't tell by the email address since you can pretty much put whatever you want in there (especially if the SMTP server is not filtering anything).
The header may be able to tell you something. There is a Received header value which looks like it has the routing information although I am not sure if this is a complete trace or just the last hop the message took.
Sean -
How to mount a sharepoint server from the finder
Can anyone help me with how to mount a microsoft sharepoint services server from the finder. I need to do this because I want to use the collaboration features in Acrobat 8. In order to create a shared review I need to be able to open the document from the sharepoint site with the full version of acrobat and I cannot do that from the web browser. From a PC I would choose to add a network location and the wizard creates a network location in the explorer, then I can access the sharepoint site (across the internet) like another file folder on my local network. I cannot seem to figure out how to accomplish the same thing on the mac. When I put in the URL for the share point site in the connect dialog from the finder it opens a webdave dialog box asking for a domain name and I have no idea what that is and it tells me the password or user name is not correct. Any help would be appreciated
You might want to pose this question in the networking forum too.
-
I have a Mac on my home network and also a Systemline music server on same network. My PC was able to find the server but my MAC cannot. I can ping the server from the mac, but cannot actually connect . Also can't add the mac as a location from server, despite following the Systemline instructions that impy this can be done.
Can anyone please advise what I am doing wrong?Hi LowLuster
Thanks for reply. I am not an expert on these sharing protocols but I think I have turned on SMB sharing but still wont connect. I tried adding netwrik drive by using cntrl K in finder and using smb\\network address but nothing. It is driving me mad!! -
ACE- From one real server to another VIP
Hi,
I have a problem with ACE;
We have multiple serverfarms configured in the ACE module based on the application and different VIPs related to it. We are running the ACE in bridging mode. Now the requirement is from one serverfarm real server wants communicate to the VIP of the second serverfarm...Is this possible..???? Wil some NATing help in this situation. Below is the configuration.
======================
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-qformat:yes;
mso-style-parent:"";
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-para-margin:0in;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:"Times New Roman";
mso-fareast-theme-font:minor-fareast;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:"Times New Roman";
mso-bidi-theme-font:minor-bidi;}
access-list LAN_Traffic remark For all IP Traffic
access-list LAN_Traffic line 10 extended permit ip any any
access-list LAN_Traffic line 20 extended permit icmp any any
probe http PORTAL_HTTP
passdetect interval 20
passdetect count 2
request method get url http://portal
expect status 0 600
probe http RMS_HTTP
request method get url /_wmcs
expect status 0 600
rserver host PORTAL1
ip address 172.22.11.241
inservice
rserver host PORTAL2
ip address 172.22.11.243
rserver host QGLRSPW1
inservice
rserver host RMS01
ip address 172.22.10.12
inservice
rserver host RMS02
ip address 172.22.10.8
inservice
serverfarm host PORTAL
failaction purge
probe PORTAL_HTTP
rserver PORTAL1
inservice
rserver PORTAL2
inservice
serverfarm host RMS
failaction purge
probe RMS_HTTP
rserver RMS01
inservice
rserver RMS02
inservice
class-map match-any PORTAL
2 match virtual-address 172.22.10.166 tcp any
class-map match-any RMS
2 match virtual-address 172.22.10.52 tcp eq www
3 match virtual-address 172.22.10.52 tcp eq https
policy-map type loadbalance first-match RMS-POLICY
class class-default
serverfarm RMS
policy-map type loadbalance first-match PORTAL-POLICY
class class-default
serverfarm PORTAL
policy-map multi-match SFARM-LB-POLICY
class RMS
loadbalance vip inservice
loadbalance policy RMS-POLICY
loadbalance vip icmp-reply active
class PORTAL
loadbalance vip inservice
loadbalance policy PORTAL-POLICY
loadbalance vip icmp-reply active
interface vlan 800
description ACE Client Interface
bridge-group 1
mac-sticky enable
service-policy input SFARM-LB-POLICY
no shutdown
interface vlan 898
description ACE Server Interface
bridge-group 1
mac-sticky enable
no shutdown
interface bvi 1
ip address 172.22.11.151 255.255.252.0
alias 172.22.11.153 255.255.252.0
peer ip address 172.22.11.152 255.255.252.0
description Bridge Group for 800 and 898 Interfaces
no shutdown
ip route 0.0.0.0 0.0.0.0 172.22.8.17
===================================
Pleae help..Thanks in advanceHello!
Well yes it would work. BUT...you have to change your config a bit. First you need to apply your accesslist to both interfaces, or the ACE will reject it, because it is acting as a firewall by default. And second you have to apply the policymap to both interfaces as well or you put the policymap globally on the ACE. -
Windows 8.1 MDM not responding to more than one SyncML from MDM server per session
Here is the behaviour i see, which was not expected by Windows 8.1.
1) Device is enrolled
2) Client initiates the connection with the MDM server defined in provisioning XML during enrollment.
3) MDM Server sends some commands as a SyncML response.
4) Client accepts the commands and sends Status and results.
5) Again MDM Server sends some commands as a SyncML response.
6) Client doesn't respond to these commands or not sending any SyncML. Here is the problem that i am referring to.
We are capturing the traffic in fiddler and found that device is not sending the next request where we are expecting the status for these commands.
The same is being repeated in all the requests client initiates. DM Client responds back only for one syncML sent by the MDM server per session.
Is this the expected behaviour with Windows 8.1? Or are we doing something wrong to see this behaviour?
Below is the SyncML for which I am expecting the response from the DM client. (Note: I got the response for the same SyncML in the first connection, but not in the second.)
<SyncML xml:lang="en" xmlns="syncml:SYNCML1.2">
<SyncHdr>
<VerDTD>1.2</VerDTD>
<VerProto>DM/1.2</VerProto>
<SessionID>1</SessionID>
<MsgID>1</MsgID>
<Target>
<LocURI>0</LocURI>
</Target>
<Source>
<LocURI>https://####</LocURI>
<LocName>AfariaWinPhoneProvider</LocName>
</Source>
<RespURI>https://####</RespURI>
</SyncHdr>
<SyncBody>
<Status>
<CmdID>1</CmdID>
<MsgRef>2</MsgRef>
<CmdRef>0</CmdRef>
<Cmd>SyncHdr</Cmd>
<TargetRef>https://####</TargetRef>
<SourceRef>0</SourceRef>
<Data>200</Data>
</Status>
<Get>
<CmdID>2</CmdID>
<Item>
<Target>
<LocURI>./cimv2/Win32_ComputerSystemProduct</LocURI>
</Target>
</Item>
</Get>
<Final />
</SyncBody>
</SyncML>Hello Sreekanth,
I am facing similar issue, here is the behaviour description:
1) Device is enrolled
2) Client initiates the connection with the MDM server defined in provisioning XML during enrollment.
3) MDM Server sends some commands as a SyncML response.
4) Client doesn't respond to these commands or not sending any SyncML.
The same is being repeated in all client request.
Below is the SyncML
for which I am expecting the response from the DM client:
<SyncML xmlns="SYNCML:SYNCML1.2">
<SyncHdr>
<VerDTD>1.2</VerDTD>
<VerProto>DM/1.2</VerProto>
<SessionID>1</SessionID>
<MsgID>1</MsgID>
<Target>
<LocURI>9302116</LocURI>
</Target>
<Source>
<LocURI>https://#####</LocURI>
</Source>
</SyncHdr>
<SyncBody>
<Status>
<CmdID>1</CmdID>
<MsgRef>1</MsgRef>
<CmdRef>0</CmdRef>
<Cmd>SyncHdr</Cmd>
<TargetRef>9302116</TargetRef>
<Data>212</Data>
</Status>
<Status>
<CmdID>2</CmdID>
<MsgRef>1</MsgRef>
<CmdRef>2</CmdRef>
<Cmd>Alert</Cmd>
<Data>200</Data>
</Status>
<Status>
<CmdID>3</CmdID>
<MsgRef>1</MsgRef>
<CmdRef>3</CmdRef>
<Cmd>Replace</Cmd>
<TargetRef>./devinf12</TargetRef>
<Data>200</Data>
</Status>
<Get>
<CmdID>75</CmdID>
<Item>
<Target>
<LocURI>./DevDetail/SwV</LocURI>
</Target>
</Item>
</Get>
</SyncBody>
</SyncML>
Here
we had tried sending
<Target>
<LocURI>0</LocURI>
</Target>
But it didn't worked. -
ALLOWED Cookies Exception List does not retain entries from session to session.
YES, I've searched the KB for an answer...no joy. I want to manage my cookies by adding the few sites that I want to allow cookies for, with all other sites being denied, and me being prompted every time a site wants to dnld a cookie. I believe I understand all the available settings, but I can't bet FF to retain the list of allowed sites from session to session, and sometimes FF won't retain them even immediately after I save them. I never had a problem with FF3, but now I'm having this problem with FF4.
Issue unsolved. Hoping to receive deeper analysis.
Thank you cor-el, that's a good suggestion, but, something I already knew. I didn't execute Clear Recent History...Clear Recent History is NOT the cause of the problem.
Additional Information: In Options\Privacy\History my settings are: "Use custom settings for history", Permanent Private Browsing mode = ON, Accept cookies from sites = OFF. Should I expect to be able to click on the Exceptions button, and enter urls into the exceptions pop up window as ALLOW, and expect them to be there in subsequent FF sessions? I've noticed that the Exceptions pop up window does not have an "OK" button as I would expect from observed FF convention...should there be one? After entering a url, my only choice is a "Close" button or the Red "X".
Follow on question: Is it possible that a data error occurred during install, preventing an applet from loading correctly, which would prevent the retention of list entries into the permissions.sqlite file? My permissions.sqlite file is located where the KB says it should be, shows a size of 2K, and a Date Modified of today. Note: I have continued to try to enter and save urls into the Exceptions List with an ALLOW value with no success.
Or, perhaps I should migrate back to FF 3.xx? -
Can't download find my friends from server. Any help ? Says try again later but never works.
I have the same issue. I restored an iPhone 4 for my 16 year old niece. Only stipulation was she use Find My Friends. While I was getting the apps for the phone I was unable to download one of the most important features. It would be great if they allowed 2 versions or incorporated support for iOS 7.1.2. I'm sure I'm not the only one who decided to give up the $200 trade in offers to keep a perfectly good phone (looks new still from case use) in the family.
-
I can not copy any files from the server & from the Finder. System MAC OS 10.7.5
<Email Edited by Host>Hi, what is the no boot directory found about???
Can you give details step by step of what you're trying? -
How to find the server connected from multiple switched netwtwork
I have one server connected to distrubted switch or acces switch in network .
They were 45 switches in netwrok and need help how to find that server connected switch from Core switch ?
How many mehtodes and process we can use to find that connected physical switch ?
Thanks in advance !!!It's a bit of a tedious process. but if you ping the IP address of the server from the core switch and then check the ARP entry to get its MAC address, you can then trace the address tables in the switches to find the switch that the server is physically connected to. Once you have the MAC address, you'll have to check the address table in each switch in the path between the core and the server to find it.
-
I have an account that is used by several people with ipod touches. Someone spent $50 on an app and no one will confess. How can I figure out who's ipod it was from the internet? or What is an email or phone number to contact a REAL person from Apple?
" How can I figure out who's ipod it was from the internet? "
You cannot. You can look at your purchase history and see more details.
"What is an email or phone number to contact a REAL person from Apple?"
There is no phone number and they cannot tell you either. You can contact them if you like:
http://www.apple.com/support/contact/ -
''''''When I click on my gmail to get a wall post I get this message ...Server not found Firefox can't find the server at permalink.php. PLEASE HELP ME FIX THIS! I just updated to firefox 6.0. THANK YOU
Try resetting your proxy server. Go to Tools, Options, Advanced, Settings and select one. I must do this every time I restart Firefox -- but at least after that, I'm okay until the next restart.
-
Finding user name from sessionID
Hi,
I have two systems working together. I am passing session ID between these
two systems. I have an session ID. And I want to find which personalization
server user owns this session.
How can I find username from the session ID?
Thanks
Ali RýzaHi again,
I am currently using this solution . I am sending WebLogicSession to a
servlet which returns username that I set while this session starts. But I
need to make an http request to get the user name.
I am trying to find a different solution which I don't need to make a http
request.
Thanks
Ali Riza
Muhtar Akbulut <[email protected]> wrote in message
news:[email protected]..
WebLogic puts a cookie called "WebLogicSession", which contains thesession id.
>
>
>
"Ali Rýza Soðukpýnar" wrote:
Hi,
I have two systems working together. I am passing session ID between
these
two systems. I have an session ID. And I want to find whichpersonalization
server user owns this session.
How can I find username from the session ID?
Thanks
Ali Rýza
Maybe you are looking for
-
Is there any hope of apple adding a 're-link with media folder'-type function to iTunes?
Is there any hope of apple adding a 're-link with media folder'-type function to iTunes? I have 1000s of broken links after installing the latest version of iTunes and updating some files in my media folder. The location of my itunes library has not
-
How do I dump videos from Sony handycam onto Mac?
Just purchased a Sony Handycam. Seems I am unable to dump video onto my macbook pro. It's not a new macbook pro, but I upgraded my OS a few months ago to 10.6.8. Any advice? Though this would be easy. Not so much.
-
Installation problem - urgent, PLEASE help!!
I'm trying to install Java3D and somehow it doesn't seem to be working. I'm not sure whether I should be installing the opengl or the directx version, but I've tried both with no luck. I'm running Windows M.E. I downloaded the JSDK beta 1.4 version (
-
Can't open some Programs, Shared Lib Error
Just ran the latest security update (2009-004), which didn't finish. That's the first problem. I tried repairing permissions etc, but it still wouldn't finish. Now, when I try to open some programs, notably Quicken and TechTools Deluxe, I get the fol
-
How can I uninstall Bridge CS5 after purchasing Bridge CS6
Hi, I have downloaded photoshop CS5 trial. It came with Bridge CS5.1. Now, I have subscribed to Adobe Cloud with Photoshop and bridge CS6. But I still have Bridge CS5.1. How can I uninstall it please ?