IPOT/TPTP port forwarding [message #37993] |
Fri, 28 October 2005 06:07  |
Eclipse User |
|
|
|
Originally posted by: david.king.uk.ibm.com
Just wondering if anyone out there has successfully used port forwarding to
connect to a remote agent to retrieve Performance Related information?
I have tried to set it up using the isDataMultiPlexed flag in the IPOT
configuration which should ensure that data is only sent along 1 connection
(to port 10002). I then create a tunnel from my local machine (using putty)
to the remote machine which is to be monitored on port 10002. I can test
the connection from the workbench, and see the relevant connection
information in the servicelog.log file, but I cannot retrieve any
statistical information or remote log files (in my case the timed heap dumps
I wish to retrieve, even though I can see that they have been created on the
server). There are no more entries in the log file after the initial report
that the server............
<CommonBaseEvent creationTime="2005-10-28T09:39:25.000000Z"
globalInstanceId="k361F1CD0001F2D80210782546B555D3" msg="Using control
channel for data transfer" severity="10" version="1.0.1">
<extendedDataElements name="file" type="string">
<values>framework/RAServer/RACommS.c</values>
</extendedDataElements>
<extendedDataElements name="line" type="int">
<values>2584</values>
</extendedDataElements>
<extendedDataElements name="severity" type="string">
<values>INFORMATION</values>
</extendedDataElements>
<sourceComponentId component="Data Collection Engine"
componentIdType="Application" location="10.136.146.77" locationType="IPV4"
processId="557282" subComponent="framework/RAServer/RACommS.c"
componentType="Eclipse_TPTP"/>
<situation categoryName="ReportSituation">
<situationType
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="ReportSituation" reasoningScope="INTERNAL" reportCategory="LOG"/>
</situation>
</CommonBaseEvent>
All help greatly appreciated.
Thanks in advance
Dave
|
|
|
|
Re: IPOT/TPTP port forwarding [message #38090 is a reply to message #38027] |
Fri, 28 October 2005 10:09   |
Eclipse User |
|
|
|
Alternatively, there is an option to multiplex the data onto the command
channel. That gets around the ephemeral port issue.
(How is the option turned on? I don't know off the top of my head, which
means I'd have to do the same thing as you... dig into the
documentation, or ask a RAC expert. I think it's specified in the
configuration file, so that's where I'd start digging.)
Yet more alternatively is to use the new (technology preview) AC, which
uses no ephemeral ports, keeping data and command separate, but both
incoming to the AC on port 10002.
--
RDS
Qiyan Li wrote:
> David,
>
> I think this problem is a limitation of the agent controller itself.
> The way it works is that a data channel (TCP) will be opened in the
> reversed direction from the agent controller to the workbench.
> Unfortunately, it means that this connection is opened on an ephemeral
> port. In other words, you will need to open all connection from the
> agent controller to the workbench host.
>
> Hope this helps.
>
>
> Qiyan
>
> David King wrote:
>
>> Just wondering if anyone out there has successfully used port
>> forwarding to
>> connect to a remote agent to retrieve Performance Related information?
>
>
>> I have tried to set it up using the isDataMultiPlexed flag in the IPOT
>> configuration which should ensure that data is only sent along 1
>> connection
>> (to port 10002). I then create a tunnel from my local machine (using
>> putty)
>> to the remote machine which is to be monitored on port 10002. I can test
>> the connection from the workbench, and see the relevant connection
>> information in the servicelog.log file, but I cannot retrieve any
>> statistical information or remote log files (in my case the timed heap
>> dumps
>> I wish to retrieve, even though I can see that they have been created
>> on the
>> server). There are no more entries in the log file after the initial
>> report
>> that the server............
>
>
>> <CommonBaseEvent creationTime="2005-10-28T09:39:25.000000Z"
>> globalInstanceId="k361F1CD0001F2D80210782546B555D3" msg="Using control
>> channel for data transfer" severity="10" version="1.0.1">
>> <extendedDataElements name="file" type="string">
>> <values>framework/RAServer/RACommS.c</values>
>> </extendedDataElements>
>> <extendedDataElements name="line" type="int">
>> <values>2584</values>
>> </extendedDataElements>
>> <extendedDataElements name="severity" type="string">
>> <values>INFORMATION</values>
>> </extendedDataElements>
>> <sourceComponentId component="Data Collection Engine"
>> componentIdType="Application" location="10.136.146.77"
>> locationType="IPV4"
>> processId="557282" subComponent="framework/RAServer/RACommS.c"
>> componentType="Eclipse_TPTP"/>
>> <situation categoryName="ReportSituation">
>> <situationType
>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>> xsi:type="ReportSituation" reasoningScope="INTERNAL"
>> reportCategory="LOG"/>
>> </situation>
>> </CommonBaseEvent>
>
>
>
>
>
>> All help greatly appreciated.
>
>
>
>> Thanks in advance
>
>
>> Dave
>
>
|
|
|
|
|
Re: IPOT/TPTP port forwarding [message #38481 is a reply to message #38415] |
Tue, 01 November 2005 11:53   |
Eclipse User |
|
|
|
Your original message also said "All help greatly appreciated", but I
bet you didn't realize how shoddy my help could be when you said that!
:-) I really apologize for responding to a response without reading the
original as carefully as I should have.
Sorry, no, I'm not seeing why this isn't working. I would have assumed
it was all or none... either you would have gotten nothing through, or
it all would have gone through okay. At first I went down the path of
thinking that perhaps file xfer was on a separate port, even when
multiplexed (as file xfer appears to be treated somewhat like a
different "service" with its own port number and all), but perusing the
code a bit and looking (futilely) online at the TPTP website for some
documentation on the data multiplexing feature convinced me that file
xfer is multiplexed as well (based on one obscure reference in a
JavaDoc... those things really are just about useless as best I can
tell!). Besides, that wouldn't have explained not being able to retrieve
the statistical information, which I know would have gone over the data
channel even if file xfer hadn't.
The Putty tunneling itself would be the last place I would suspect.
Plenty of Putty tunneling going on out there, so I assume it's rock solid.
Sorry to have been a disservice initially, and no service at all
finally! But perhaps this will cause others to go back to the original
message and take another crack at it.
--
RDS
David King wrote:
> As per my Original post, I have set the isDataMultiplexed attribute to
> true, but without any luck.
>
> Dave
>
> <Navid_Mehregani_nmehrega@ca.ibm.com
> <mailto:Navid_Mehregani_nmehrega@ca.ibm.com>> wrote in message
> news:dk645f$jjl$1@news.eclipse.org...
>
> >> How is the option turned on? I don't know off the top of my head
>
> You'll have to set the 'isDataMultiplexed' attribute of the
> 'AgentControllerConfiguration' element in config/serviceconfig.xml
> to true.
>
> Navid Mehregani
> IBM Canada
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.06061 seconds