{ Community }
  • Academy
  • Docs
  • Developers
  • Resources
    • Community Articles
    • Apigee on GitHub
    • Code Samples
    • Videos & eBooks
    • Accelerator Methodology
  • Support
  • Ask a Question
  • Spaces
    • Product Announcements
    • General
    • Edge/API Management
    • Developer Portal (Drupal-based)
    • Developer Portal (Integrated)
    • API Design
    • APIM on Istio
    • Extensions
    • Business of APIs
    • Academy/Certification
    • Adapter for Envoy
    • Analytics
    • Events
    • Hybrid
    • 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 Girish Gajria · Apr 25, 2018 at 08:13 AM · 225 Views Private Cloudautomationhealth checkscriptoperations

Edge private cloud connectivity checks

Is there any common tool, to check basic connectivity/sanity check, to validate, if all components can talk to each other? Sort of like a 1-click/1-command environment validator or a health check.

Or even a shell script, of the below sort:

apigee-all healthcheck (on the management server, but checks across the entire planet)


We are already aware of the management APIs like the below:

http://{{ms_host}}:{{ms_port}}/v1/servers?pod=[analytics|gateway|central]

If not, any tips on what tools, commands could be used to build out a shell script to perform. This could be useful baked into our apigee installation custom script as a post-install task.

Thanks,

Girish

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

1 Answer

  • Sort: 
avatar image
1
Best Answer

Answer by Rahul M · Apr 25, 2018 at 02:18 PM

Apigee bundles in a Apigee Validation Shell utility which has the capability to validate your Apigee infrastructure

https://docs.apigee.com/private-cloud/v4.17.05/test-install

I am not sure if it touches the analytics pod but you can validate the health of the analytics pod by making some curl calls(same things you originally included).

Another common pattern (lower latency, more real time) is to use HeartBeat URL/Health URL's . This can be used to check the health of the components in the gateway pod.

Comment
Add comment Show 4 · 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 Girish Gajria · Apr 25, 2018 at 03:33 PM 0
Link

Thanks @rmishra.

We are aware of the Apigee validate utility. I believe, it creates an org called VALIDATE, test env and couple of proxies. For this specific instance, I know there is still a connectivity issue being worked out, but in general, would help if there was a utility, that could perform this end to end validation and/or reachability test.


As we add more data centers and nodes, it will only get more complex. For example, if we add 2 more nodes, how do we know, whether they are participating in the runtime? A central utility/tool against which I could query about all the participating nodes.

Regards,

Girish

avatar image Rahul M Girish Gajria · Apr 25, 2018 at 04:00 PM 0
Link

It seems what you are trying to describe is largely the responsibility of a monitoring platform

Ensure your each of your apigee nodes is being monitored at a process level, over HTTP and JMX (as applicable), proprietary checks(e.g. cassandra nodetool) . Configure your monitoring system to Issue alerts when the system become unavailable

If you look at the port requirements among apigee components, you will realize that "Reachability" is a complex validation - Should we write rules for every single access point across every pair of components? IMHO, It's going to be painful and not very beneficial

Deep availability tests (across multiple protocols) should be good enough. You could write reachability tests (via heartbeat pings) for your gateway pod components to ensure that you get immediate alerts on live traffic disruption.

avatar image Girish Gajria Rahul M · Apr 25, 2018 at 04:51 PM 0
Link

Thanks again @rmishra

Yes, makes sense, a lot of moving parts and interactions with both Apigee and non-Apigee components involved (C*, PG, nginx, etc). Not as simple as I had hoped.

Though, sorry to be a bother, but don't all the components register themselves with ZooKeeper? Can we query ZK paths and identity the components, not yet registered to it? Apologies, if my understanding in this is naive. Just recently got into on-prem stuff.

Regards,

Girish

Show more comments

Follow this Question

Answers Answers and Comments

61 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 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

What tools are recommended to automate Cloud Ops? Any scripts / tools / best practices? 6 Answers

How do I update an existing VirtualHost with updated configuration? 1 Answer

Can I update an existing virtual host without having to delete/recreate it? 2 Answers

4.15.04.03 patch no analytics data 2 Answers

Apigee Edge OnPremises installation order for routers & mp's ? 1 Answer

  • 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
© 2021 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
  • Product Announcements
  • General
  • Edge/API Management
  • Developer Portal (Drupal-based)
  • Developer Portal (Integrated)
  • API Design
  • APIM on Istio
  • Extensions
  • Business of APIs
  • Academy/Certification
  • Adapter for Envoy
  • Analytics
  • Events
  • Hybrid
  • 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
  • Badges