17.01 JMX not enabled by default except Cassandra?

rmishra
Participant V

Hello,

I just finished installing Apigee 4.17.01 on RHEL 7.3. All components are up and i can access them through UI or relevant API's but none of those components have any active JMX ports (except Cassandra)

For eg. I log into the management server node , perform a netstat but i do not see 1099 or 1100 port listening.The same thing goes for all other JMX enabled components except Cassandra(where i can bind and deliver metrics)

According to the official documentation, JMX should be enabled by default. http://docs.apigee.com/private-cloud/latest/how-monitor

My experience is similar to the behavior reported for

16.01 https://community.apigee.com/questions/25225/1601-jmx-not-enabled-for-all.html

Is this an error in the documentation or did i miss something during the setup?

Regards

Solved Solved
0 5 649
1 ACCEPTED SOLUTION

Not applicable

Hi @rmishra, You still need to enable it.

edit your

/opt/apigee/edge-management-server/bin/start to add

-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=1099 -Dcom.sun.management.jmxremote.local.only=false  -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false

once you restart you should those arguments in the process info.
you can check using ps -ef | grep edge-management-server.

Follow the same for other components. Let me know if it works.

View solution in original post

5 REPLIES 5

Not applicable

Hi @rmishra, You still need to enable it.

edit your

/opt/apigee/edge-management-server/bin/start to add

-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=1099 -Dcom.sun.management.jmxremote.local.only=false  -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false

once you restart you should those arguments in the process info.
you can check using ps -ef | grep edge-management-server.

Follow the same for other components. Let me know if it works.

This works, it would be nice of the official documentation to reflect that. The documentation is awesome but nuances like these drive us nuts 🙂

The documentation says "enabled by default". It should rather say "JMX MBeans set up by default" which can be enabled by...

Thanks Nonetheless, you saved me time.

@rmishra

Good to know that it worked. BTW you can send a docs feedback anytime which will notify the docs team like below.

Send Docs Feedback at the bottom.
cc @Floyd Jones @Stephen Gilson

4944-screen-shot-2017-05-26-at-102405-am.png

Thanks for the ping! We'll update the docs.

sgilson
Participant V

I updated the doc to add the instructions to enable JMX. For example:

http://docs.apigee.com/private-cloud/latest/how-monitor

Stephen