Management Server(4.17.01-0.0.967) install issue , nodetool connection refused

Not applicable

edge-management-server: 4.17.01-0.0.967
java: 1.8.0_121
Centos: 7.2

I am having an issue installing edge management server. The install fails when nodetool tries connect to JMX on cassandra(192.168.1.3). There are no firewalls, and the socket is visible to the remote host.

Output from setup.sh

apigee-configutil: edge-management-server: # OK
nodetool: Failed to connect to '192.168.1.3:7199' - ConnectException: 'Connection refused (Connection refused)'.
Error: Unable to connect to 192.168.1.3
Error Processing schema file: /opt/apigee/edge-management-server-4.17.01-0.0.967/schema/cassandra/analytics-schema.txt
Error: setup.sh: /opt/apigee/apigee-service/bin/apigee-service exited with unexpected status 1

Cassandra Log:

system.log:INFO [main] 2017-02-28 12:44:47,765 CassandraDaemon.java:207 - JVM Arguments: [-Dorg.xerial.snappy.tempdir=/opt/apigee/data/apigee-cassandra/data/tmp, -Dorg.xerial.snappy.tempdir=/opt/apigee/data/apigee-cassandra/data/tmp, -ea, -javaagent:/opt/apigee/apigee-cassandra-2.1.16-0.0.1006/bin/../lib/jamm-0.3.0.jar, -XX:+CMSClassUnloadingEnabled, -XX:+UseThreadPriorities, -XX:ThreadPriorityPolicy=42, -Xms244M, -Xmx244M, -Xmn61M, -XX:+HeapDumpOnOutOfMemoryError, -Xss256k, -XX:StringTableSize=1000003, -XX:+UseParNewGC, -XX:+UseConcMarkSweepGC, -XX:+CMSParallelRemarkEnabled, -XX:SurvivorRatio=8, -XX:MaxTenuringThreshold=1, -XX:CMSInitiatingOccupancyFraction=75, -XX:+UseCMSInitiatingOccupancyOnly, -XX:+UseTLAB, -XX:CompileCommandFile=/opt/apigee/apigee-cassandra-2.1.16-0.0.1006/bin/../conf/hotspot_compiler, -XX:CMSWaitDuration=10000, -XX:+CMSParallelInitialMarkEnabled, -XX:+CMSEdenChunksRecordAlways, -XX:CMSWaitDuration=10000, -Djava.net.preferIPv4Stack=true, -Dcom.sun.management.jmxremote.port=7199, -Dcom.sun.management.jmxremote.rmi.port=7199, -Dcom.sun.management.jmxremote.ssl=false, -Dcom.sun.management.jmxremote.authenticate=false, -Dcom.sun.management.jmxremote.password.file=/opt/apigee/data/apigee-cassandra/jmxremote.password, -javaagent:/opt/apigee/apigee-cassandra-2.1.16-0.0.1006/bin/../lib/jolokia-jvm-1.3.5-agent.jar=host=0.0.0.0, -Dlogback.configurationFile=logback.xml, -Dcassandra.logdir=/opt/apigee/apigee-cassandra-2.1.16-0.0.1006/bin/../logs, -Dcassandra.storagedir=/opt/apigee/apigee-cassandra-2.1.16-0.0.1006/bin/../data, -Dcassandra-foreground=yes]

Need clue.

Thanks,

John

0 6 896
6 REPLIES 6

@archendra , Any help here ? Thank you.

Not applicable

John,

  • Make sure ports 9042, 9160, 7199 are open between the Management Server and each Cassandra node (all of them across all regions). 7199 is JMX port.
  • Also, validate JMX authentication is not enable in Cassandra.

Not able to connect to port 7199 should not block Management Server setup and startup.

Make sure, Management Servers are able to connect to Port 9160 to the local DC C* nodes.

How can we disable the communication between Management and Cassandra for 7199?

@John Bertrand did you end up getting a resolution for this ?

@John Bertrand

you need to edit the rmi.server.hostname=<hostname> entry on your cassandra nodes in the cassandra-env.sh file in the source directory