Friday, May 25, 2018

Service failure - End to End connectivity debug basics

1. Identify all nodes in the path - request initiator till the last node of the processing path
2. Test the connectivity between every two successive nodes(virtual or physical machines) separately to spot the chain-breakage
3. Fix the breakages and confirm the response

Ways to test connectivity between successive nodes:
1. Verify the logs for exceptions- Server and Application.
Eg: If the Ticket-Reservation system is running on Tomcat, the Tomcat is the server and Ticket-Reservation is the application.
2. Check if the network related nodes such as Firewalls, Load-balancers etc - are up and running.
3. Check if the database is running.
4. Connectivity test between one machine to another
Eg: If Client is on Node-1 and Server is on Node-2, and the client not receiving the response, then run the following:
ping
telnet
curl
the above will spot if there are any firewall blockers etc.

No comments:

How J2EE components work together in any Container - Spring or Application Server

In a Spring+Jersey+Hibernate RESTful webapplication, we can spot various J2EE components - JTA, JPA, Java Bean Validation, JSON-B API for B...