how to bypass RPP and AM agent to get perfdump
Thursday Jan 01, 2009
Sometimes, you like to get perfdump (/.perf) from web or proxy servers, but the RPP or AM agent may prevent you from doing this. So, you can try below:
1. follow the steps of perfdump at
http://docs.sun.com/app/docs/doc/820-5719/abyaq?l=en&a=view&q=perfdump
2. if you got RPP in your web server, then
<Client match="none" uri="/.perf">
NameTrans fn="map" from="/" name="reverse-proxy-/" to="http:/"
</Client>
then both perf dump and rpp will work ok.
The above will map rpp if uri not equal to /.perf, and will skip rpp
if uri is /.perf
So, both requests to rpp and .perf will work ok.
3. if you got AM agent in your proxy server, then
................
NameTrans fn="assign-name" name="stats-xml" from="(/stats-xml|/stats-xml/.*)"
NameTrans fn="assign-name" name="statistics" from="/.abc/.statistics"
................
PathCheck fn="url-check"
<Client match="none" uri="/.abc(/.*|)">
PathCheck fn="validate_session_policy"
</Client>
Service fn="deny-service"
AddLog fn="flex-log" name="access"
</Object>
.........
<Object name="stats-xml">
Service fn="stats-xml"
</Object>
<Object name="statistics">
Service fn="service-dump"
</Object>
then a request to get the statistics will work ok without the AM agent Path Check .
Tags: .perf agent am client perfdump rpp statistics tag










