{ Community }
  • Academy
  • Docs
  • Developers
  • Resources
    • Community Articles
    • Apigee on GitHub
    • Code Samples
    • Videos & eBooks
    • Accelerator Methodology
  • Support
  • Ask a Question
  • Spaces
    • General
    • Edge/API Management
    • Developer Portal
    • API Design
    • APIM on Istio
    • Extensions
    • Business of APIs
    • Academy/Certification
    • Analytics
    • Events
    • Integration (AWS, PCF, Etc.)
    • Microgateway
    • Monetization
    • Private Cloud Deployment
    • Insights
    • IoT Apigee Link
    • BaaS/Usergrid
    • BaaS Transition/Migration
    • Apigee-127
    • New Customers
    • Topics
    • Questions
    • Articles
    • Ideas
    • Leaderboard
    • Badges
  • Log in
  • Sign up

Get answers, ideas, and support from the Apigee Community

  • Home /
  • Private Cloud Deployment /
avatar image
0
Question by Ashokkumar Ks · Dec 12, 2017 at 12:21 PM · 262 Views management serverinstallation errorjmxcassandra node

Connection timeout between (7199) Management server and Cassandra

Hi Team,

We are doing the 10 hosts customized installation in that 3 CZ and 1 Management Server.

Management server is getting the connection timeout error for 7199 port when doing the installation. we have checked the firewall matrix and all ports are listening well. we are not able to find any clues.

[root@xxxx ~]# /opt/apigee/apigee-cassandra/bin/nodetool status
Datacenter: dc-1
================
Status=Up/Down
|/ State=Normal/Leaving/Joining/Moving
--  Address         Load       Tokens  Owns (effective)  Host ID                               Rack
UN  x.x.x.x  47.33 KB   1       66.7%             e2ce4251-b762-41c1-a315-39c57c99b211  ra-1
UN  x.x.x.x  71.4 KB    1       66.7%             e2544148-102a-4579-b7a2-58fa96a9bde1  ra-1
UN  x.x.x.x  56.73 KB   1       66.7%             c405205c-2e42-4348-adff-96ea7e06c08f  ra-1
Checking for optional variables
Found optional variable CASS_USERNAME...OK
Found optional variable CASS_PASSWORD...OK
updated property schema_cassandra_keyspace_strategy_options in file /opt/apigee/token/application/management-server.properties
apigee-configutil: edge-management-server: # OK
nodetool: Failed to connect to 'x.x.x.x:7199' - ConnectException: 'Connection timed out (Connection timed out)'.
Error: Unable to connect to x.x.x.x
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

Note: 7199 is listening on 0.0.0.0 in Cassandra node.

Comment
Add comment
10 |5000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by Apigeeks only
  • Viewable by the original poster
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Close

3 Answers

· Add your answer
  • Sort: 
avatar image
0

Answer by rakeshapi · Dec 14, 2017 at 03:04 PM

Ashok, From Management server node do the following to each of the cassandra nodes.

telnet cass_ip 7199

You should be able to connect on this port. If not, then you know where the problem is.

Comment
Add comment Show 1 · Link
10 |5000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by Apigeeks only
  • Viewable by the original poster
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Ashokkumar Ks · Dec 14, 2017 at 04:16 PM 0
Link

its open and we can do the telnet, but we can't make it from nodetool

avatar image
0

Answer by Ashokkumar Ks · Dec 14, 2017 at 04:23 PM

Our infrastructure is based on multiple network interface with restrictions so if the Cassandra is bind with 0.0.0.0 we can't able to reach from neighbour server. We mimic this and update the default.sh to add this line -Djava.rmi.server.hostname=IP and restart now after these changes I can able to connect.

Comment
Add comment · Link
10 |5000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by Apigeeks only
  • Viewable by the original poster
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by Aruljothi Sivakurunathan · Jan 24 at 05:40 AM

Currently -Djava.rmi.server.hostname=<cassandra node ip> has to be updated on <apigee cassandra root folder>/conf/cassandra-env.sh file, but this will be overwritten on cassandra service restart.

To make this change persistent after restart, update cassandra-env.sh file under <apigee cassandra root folder>/source/conf/cassandra-env.sh

Comment
Add comment · Link
10 |5000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by Apigeeks only
  • Viewable by the original poster
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 5 attachments (including images) can be used with a maximum of 5.0 MB each and 25.0 MB total.

Follow this Question

Answers Answers and Comments

44 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Error Installing management-server, management-server failed to answer on 127.0.0.1 port 8080 1 Answer

"Application-datastore" not registered for central pod. 1 Answer

Unable to get uuid for management-server. 1 Answer

Unable to authenticate with Management Server 1 Answer

Your credentials are valid. but you are not a member of an organization. Issue after installed on premises setup. 2 Answers

  • Products
    • Edge - APIs
    • Insights - Big Data
    • Plans
  • Developers
    • Overview
    • Documentation
  • Resources
    • Overview
    • Blog
    • Apigee Institute
    • Academy
    • Documentation
  • Company
    • Overview
    • Press
    • Customers
    • Partners
    • Team
    • Events
    • Careers
    • Contact Us
  • Support
    • Support Overview
    • Documentation
    • Status
    • Edge Support Portal
    • Privacy Policy
    • Terms & Conditions
© 2019 Apigee Corp. All rights reserved. - Apigee Community Terms of Use - Powered by AnswerHub
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Create an article
  • Post an idea
  • Spaces
  • General
  • Edge/API Management
  • Developer Portal
  • API Design
  • APIM on Istio
  • Extensions
  • Business of APIs
  • Academy/Certification
  • Analytics
  • Events
  • Integration (AWS, PCF, Etc.)
  • Microgateway
  • Monetization
  • Private Cloud Deployment
  • Insights
  • IoT Apigee Link
  • BaaS/Usergrid
  • BaaS Transition/Migration
  • Apigee-127
  • New Customers
  • Explore
  • Topics
  • Questions
  • Articles
  • Ideas
  • Members
  • Badges