Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » Connecting to perfmonAgent
Connecting to perfmonAgent [message #77052] Tue, 11 July 2006 09:20 Go to next message
Eclipse User
Originally posted by: powerkleszcz.o2.pl

When I run the client he connect to AC create PerfmonAgent but can't connect
with him where can I get information why? What could be the reason?
Re: Connecting to perfmonAgent [message #77094 is a reply to message #77052] Tue, 11 July 2006 12:59 Go to previous messageGo to next message
Randy D. Smith is currently offline Randy D. Smith
Messages: 394
Registered: July 2009
Senior Member
Przemyslaw Kleszczewski wrote:
> When I run the client he connect to AC create PerfmonAgent but can't connect
> with him where can I get information why? What could be the reason?

You're not giving me a lot to work with here! There can be lots of
reasons. Reasons I've seen include two of an infinite number of
possibilities: (1) When I did the migrated PerfmonAgent (to the new tech
AC APIs), there was a brief time period where we ran into such problems
because the hashtable utilities in the resutil directory were not being
grabbed by the agent, as it was getting the new AC's hashtable utilities
instead. I think these both derived from the same origins, but at some
point PerfmonAgent had some "hash64" capability nailed down to
64-bit-ness, while the AC version was 32 bit. There was a mismatch in
data sent and data received. Tough to track down, and relatively easy to
fix. (2) During the migration effort, I occasionally ran into problems
when the client side that Vishnu was doing was the new stuff but somehow
we were launching the old PerfmonAgent, and vice versa. The two "command
protocols" that the two agent controllers use is quite different.

But there could be many more scenarios. Hmmm, just realized (3), but it
has a lot of variations: The agent is either having trouble registering
(check <ac_install>/config/servicelog.log and see if the agent
registered), or perhaps even has the wrong port info about where to
connect to (that would be strange unless it was a variation on (2) above
as the AC and the agent should be getting the config info from the same
place).


Once you've got the AC up, run the PerfmonAgent manually with "-v"
option to get some verbose output; let us know what it tells you. It
doesn't have to be launched by the client. And manually you have access
to the command line options (and the console output). If the agent is up
and "unused" when the client wants to talk to one, it will connect to
the existing one.

--
RDS

Randy D. Smith randy (dot) d (dot) smith (at) intel (dot) com
Eclipse TPTP Committer, Platform Proj (data collection/agent controller)
Re: Connecting to perfmonAgent [message #77187 is a reply to message #77094] Wed, 12 July 2006 03:30 Go to previous message
Eclipse User
Originally posted by: powerkleszcz.o2.pl

Randy D. Smith wrote:

> But there could be many more scenarios. Hmmm, just realized (3), but it
> has a lot of variations: The agent is either having trouble registering
> (check <ac_install>/config/servicelog.log and see if the agent
> registered), or perhaps even has the wrong port info about where to
> connect to (that would be strange unless it was a variation on (2) above
> as the AC and the agent should be getting the config info from the same
> place).
>

It has trouble with registering i have nothing in servicelog.log about
PerfmonAgent.What can it be connected with?


I also say that I could not compile PerfmonAgent with standard AC lib I have
to compile all libs requested by PerfmonAgent (only for compilation). Now
Perfmon use his libs (because AC don't want) and AC use standards libs. Can
this have something to do with this problem??
Previous Topic:ARM with AspectJ
Next Topic:Distributed testing question
Goto Forum:
  


Current Time: Thu Aug 21 18:06:29 EDT 2014

Powered by FUDForum. Page generated in 0.08746 seconds