Considering a case of restarting an MP. Check the following after the server comes up:
1. tailf /var/log/apigee/logs/system.log
- Should see this recent message in the log 'MicroKernel started successfully, proceeding to wait indefinitely.'
sudo tail -1000f /var/log/apigee/logs/system.log | grep --color -i microkernel
2. curl -s 0:8080/v1/servers/self
- The fields rPMName shouldn't be empty, the values for 'isUp' and 'reachable' must be true, 'type' should have the value as 'message-processor' (or router if its a router), the 'uUID' field should have a value.
3. curl -s 0:8080/v1/runtime/organizations should return the names of the orgs associated with the MP.
Nice tips . I check if the ports 8080 , 8081 , 8082 and 8998 are listening or not too.
A few more tips:
1. curl 0:8080/v1/runtime/metrics
- This should list all the associated metrics
2. curl 0:8080/v1/runtime/metrics/HTTP
- Lists stats about HTTP. Number of 2xx, 4xx, etc.