Skip to main content

VBE 5.2.1: What are the VPort and CPort shown in the Smart Agent debug output

  • February 16, 2013
  • 0 replies
  • 0 views

Problem:

  • Product Name: VisiBroker
  • Product Version: 5.2.1
  • Product Component: OSAgent
  • Platform/OS Version: ALL

In the VBE 5.2.1, new debug option is available to the Smart Agent. In the new
debug ouput, (a sample shown here)

==>> Wed Sep 15 23:37:15 2004, UDPCLIENT, Dbg, 1095305835

areYouAlive() Received from client at

Host : 192.123.123.123

User : java

PID : 87947831

CAddr : 192.123.123.123

VPort : 55134

CPort : 55134

"VPort" and "CPort" are shown here. What are they? When doing a "netstat"
command, the output shows that this is an UDP port, which does not exit even
when the Smart Agent is shut down.

Resolution:

The "VPort" and "CPort" means the same thing. They are essentially the client's admin port. The word "client" used here means a client to the osagent (which could be a CORBA server or a client process).
The admin port is opened by the client processes of an osagent to receive "hearbeat" messages from the osagent. These ports are used by the CORBA processes, not by the osagent.
That is the reason why these ports still show up on the netstat output even when the Smart Agent exits.

#Security
#VisiBroker