Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » IPOT/TPTP port forwarding
IPOT/TPTP port forwarding [message #37993] Fri, 28 October 2005 10:07 Go to next message
Eclipse UserFriend
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 #38027 is a reply to message #37993] Fri, 28 October 2005 13:46 Go to previous messageGo to next message
Qiyan Li is currently offline Qiyan LiFriend
Messages: 4
Registered: July 2009
Junior Member
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 #38090 is a reply to message #38027] Fri, 28 October 2005 14:09 Go to previous messageGo to next message
Randy D. Smith is currently offline Randy D. SmithFriend
Messages: 394
Registered: July 2009
Senior Member
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 #38349 is a reply to message #38090] Mon, 31 October 2005 22:00 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Navid_Mehregani_nmehrega.ca.ibm.com

This is a multipart message in MIME format.
--=_alternative 0078DEEB852570AB_=
Content-Type: text/plain; charset="US-ASCII"

>> 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
--=_alternative 0078DEEB852570AB_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">&gt;&gt; </font><font size=2><tt>How
is the option turned on? I don't know off the top of my head</tt></font>
<br>
<br><font size=2 face="sans-serif">You'll have to set the 'isDataMultiplexed'
attribute of the 'AgentControllerConfiguration' element in config/serviceconfig.xml
to true.</font>
<br>
<br><font size=2 face="sans-serif">Navid Mehregani<br>
IBM Canada</font>
--=_alternative 0078DEEB852570AB_=--
Re: IPOT/TPTP port forwarding [message #38415 is a reply to message #38349] Tue, 01 November 2005 10:19 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: david.king.uk.ibm.com

This is a multi-part message in MIME format.

------=_NextPart_000_0027_01C5DECD.B5E3E300
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

As per my Original post, I have set the isDataMultiplexed attribute to =
true, but without any luck.

Dave
<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=20

You'll have to set the 'isDataMultiplexed' attribute of the =
'AgentControllerConfiguration' element in config/serviceconfig.xml to =
true.=20

Navid Mehregani
IBM Canada
------=_NextPart_000_0027_01C5DECD.B5E3E300
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1515" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>As per my Original post, I have set the =

isDataMultiplexed attribute to true, but without any luck.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Dave</FONT></DIV>
<BLOCKQUOTE=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV>&lt;<A=20
=
href=3D"mailto:Navid_Mehregani_nmehrega@ca.ibm.com">Navid_Mehregani_nmehr=
ega@ca.ibm.com</A>&gt;=20
wrote in message <A=20
=
href=3D"news:dk645f$jjl$1@news.eclipse.org">news:dk645f$jjl$1@news.eclips=
e.org</A>...</DIV><BR><FONT=20
face=3Dsans-serif size=3D2>&gt;&gt; </FONT><FONT size=3D2><TT>How is =
the option=20
turned on? I don't know off the top of my head</TT></FONT> =
<BR><BR><FONT=20
face=3Dsans-serif size=3D2>You'll have to set the 'isDataMultiplexed' =
attribute of=20
the 'AgentControllerConfiguration' element in config/serviceconfig.xml =
to=20
true.</FONT> <BR><BR><FONT face=3Dsans-serif size=3D2>Navid =
Mehregani<BR>IBM=20
Canada</FONT></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_0027_01C5DECD.B5E3E300--
Re: IPOT/TPTP port forwarding [message #38481 is a reply to message #38415] Tue, 01 November 2005 16:53 Go to previous messageGo to next message
Randy D. Smith is currently offline Randy D. SmithFriend
Messages: 394
Registered: July 2009
Senior Member
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
Re: IPOT/TPTP port forwarding [message #38546 is a reply to message #38415] Tue, 01 November 2005 18:36 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Navid_Mehregani_nmehrega.ca.ibm.com

This is a multipart message in MIME format.
--=_alternative 00663766852570AC_=
Content-Type: text/plain; charset="US-ASCII"

David,

This works in the latest version of TPTP. I can't really talk on behalf
of the IPOT team though. Please note that the isDataMultiplexed option
only redirects the data channel to the control channel and not the console
channel. If the application being profiled requires user input, you're
still going to have problems getting through the firewall.

Navid Mehregani
IBM Canada
--=_alternative 00663766852570AC_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">David,</font>
<br>
<br><font size=2 face="sans-serif">This works in the latest version of
TPTP. &nbsp;I can't really talk on behalf of the IPOT team though. &nbsp;Please
note that the isDataMultiplexed option only redirects the data channel
to the control channel and not the console channel. &nbsp;If the application
being profiled requires user input, you're still going to have problems
getting through the firewall.</font>
<br>
<br><font size=2 face="sans-serif">Navid Mehregani<br>
IBM Canada</font>
--=_alternative 00663766852570AC_=--
Re: IPOT/TPTP port forwarding [message #38579 is a reply to message #38415] Tue, 01 November 2005 20:36 Go to previous message
Eclipse UserFriend
Originally posted by: Navid_Mehregani_nmehrega.ca.ibm.com

This is a multipart message in MIME format.
--=_alternative 00713B57852570AC_=
Content-Type: text/plain; charset="US-ASCII"

Also note that there are problems with this feature on certain platforms.
See https://bugs.eclipse.org/bugs/show_bug.cgi?id=101737
--=_alternative 00713B57852570AC_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">Also note that there are problems with
this feature on certain platforms. &nbsp;See </font><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=101737"><font size=1 color=blue><u>https://bugs.eclipse.org/bugs/show_bug.cgi?id=101737</u></font></a>
--=_alternative 00713B57852570AC_=--
Previous Topic:AutoGUI and deployments
Next Topic:Failed to start agent controller
Goto Forum:
  


Current Time: Tue Apr 16 09:46:01 GMT 2024

Powered by FUDForum. Page generated in 0.60651 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top