IBM Support

Ports used by activemq in HPC

Question & Answer


Question

Which ports are being used by activemq and its purpose?

Answer

Check the ports used by activemq :

a. Check the PID(process id)


# ps -eaf |grep -v grep|grep activemq
root 3172 1 0 Aug12 ? 00:29:43 /opt/pcm/web-portal/perf/jre/linux-x86_64/bin/java -Xms256M -Xmx1G -Dorg.apache.activemq.UseDedicatedTaskRunner=true -Djava.util.logging.config.file=logging.properties -Dcom.sun.management.jmxremote -Dactivemq.classpath=/opt/pcm/activemq/conf; -Dactivemq.home=/opt/pcm/activemq -Dactivemq.base=/opt/pcm/activemq -jar /opt/pcm/activemq/bin/run.jar start

b. Check what ports are being used by the activemq pid :
# netstat -tulnp |grep 3172
tcp 0 0 :::37551 :::* LISTEN 3172/java
tcp 0 0 :::61616 :::* LISTEN 3172/java
tcp 0 0 :::8161 :::* LISTEN 3172/java

 

There are three ports used by activemq : 61616 , 8181 and a random port.

a. 61616 is the activemq port which is connected by PCMD(Platform Cluster Manager core daemon).

b. 8161 is the internal port used by activemq NIO(Non-Blocking IO) communication.

c. Any random port like 37551, 35134 etc. : This port is used to communicate with already connected clients.

 

[{"Product":{"code":"SSZUCA","label":"IBM Spectrum Cluster Foundation"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Misc","Platform":[{"code":"PF016","label":"Linux"}],"Version":"4.2","Edition":"Standard","Line of Business":{"code":"LOB10","label":"Data and AI"}},{"Product":{"code":"SSZUCA","label":"IBM Spectrum Cluster Foundation"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":null,"Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
16 September 2018

UID

isg3T1022653