a.gheshlaghy_177282 avatar image
a.gheshlaghy_177282 asked Erick Ramirez commented

How do I configure remote JMX connections in LCM?


i ran into below issue:
fixed it with given solution, but what i found it whenever i configure nodes in LCM, LCM will delete entry that i used for resolving JMX issue and it does not preserve it plus there is no entry in Config profile for adding :

JVM_OPTS = "$JVM_OPTS -Djava.rmi.server.hostname=public name"

lifecycle manager
10 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Erick Ramirez avatar image
Erick Ramirez answered Erick Ramirez commented

In order to allow remote JMX connections on a cluster managed by LCM, you will need to edit the managed cluster's configuration profile under the JVM options section.

You will need to scroll down to the JMX pane and select the relevant jmx-connection-type. For details, see Configuring a JMX Connection to DSE using LCM.

As a side note, you stated that you "fixed [the issue] with the solution" in the Troubleshooting section of the DataStax Docs. I wanted to point out that remote JMX connections are not enabled by default. It is not "broken" since it is done for security reasons by design. Cheers!

4 comments Share
10 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

a.gheshlaghy_177282 avatar image a.gheshlaghy_177282 commented ·

i did according to the doc you linked. enabled Remote-JMX - DSE Unified Authentication.
now below command works if it runs locally(in this case
nodetool -u admin -pw admin -h status
but it won't work remotely.
I fixed the issue as per :
but what happens now is if i want to run a configuration job in LCM, it will delete the line i added in file.

0 Likes 0 ·
Erick Ramirez avatar image Erick Ramirez ♦♦ a.gheshlaghy_177282 commented ·

Could you confirm that you ran a "configure" job in LCM after you enabled remote JMX connections? If you did and it's still not working, please log a case with DataStax Support so one of our engineers can assist you directly. Cheers!

1 Like 1 ·
a.gheshlaghy_177282 avatar image a.gheshlaghy_177282 Erick Ramirez ♦♦ commented ·

yes i did,thanks for hint

0 Likes 0 ·
Show more comments