Jump to content

how can i check for particular client request has gone two which particular server, in citrix ADC load balncing


Mahfooz Alam

Recommended Posts

Depends on what you are trying to do and whether you just need quick one-time info on current traffic or a historical record for all traffic , you might have a couple of options:

An nstrace filtered for source ip of your <client ip> and with "trace filtered traffics peer connection" enabled will show you the complete transaction client to vip/snip to srv ip and back again.  So if you need a point in time diagnosis you can do a trace.

 

IF you need ongoing logging for this, you could use NSWL (NetScaler Web Logging). Deploy the nswl.exe component on a separate system; and NS will log Web transaction logs to this system which can give you WCF or NCSA formatted web transaction logs (as this is about the only details the adc doesn't log to its own log files).   This will show you for each client ip, which destnation server they were directed to, timestampes and url request and associated web response code.   (IN system section of adc admin guides).  This has the benefit of allowing you to archive and track the logs over time, if you need more than just a one time diagnosis.

 

The rewrite policy header insertion that diego referenced, could be good for quick diagnosis...but you might not want to embed this in production/public facing traffic.

 

 And you still have the connection table, but if it isn't showing you what you want, we may need more info about what the connection table is or isn't showing you:

https://support.citrix.com/article/CTX126853

Example of cli connection table with filtering:  show ns connectiontable  "CONNECTION.LB_VSERVER.NAME.EQ(\"Web-VServer\")" 

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...