We have 2 MPs configured for our org/environments, but why are we seeing the traffic (requests) only on one of the MPs ?

 
Solved Solved
1 4 104
1 ACCEPTED SOLUTION

  • Checked the nginx router configuration for the specific org/environment/virtual host combination
    • Looked into the Config File:
    /opt/apigee/nginx/conf.d/myorg_myenv_default.conf
    • Property Name:
    proxy_pass http://MP1_IPaddress_port#_MP2_IPaddress_port#
  • This confirmed that the router is configured to send the requests to both the MPs
  • Next logged onto the MP boxes and checked if the port was blocked using the below command:
iptables -L
  • Noticed that one of the MP was blocked on the port # through which router was talking to the MP, while the other was not blocked.
  • Removed the iptable rule to unblock the port. With this change, we started observing the traffic being routed to both the MPs.

    View solution in original post

    4 REPLIES 4

    • Checked the nginx router configuration for the specific org/environment/virtual host combination
      • Looked into the Config File:
      /opt/apigee/nginx/conf.d/myorg_myenv_default.conf
      • Property Name:
      proxy_pass http://MP1_IPaddress_port#_MP2_IPaddress_port#
    • This confirmed that the router is configured to send the requests to both the MPs
    • Next logged onto the MP boxes and checked if the port was blocked using the below command:
    iptables -L
    
  • Noticed that one of the MP was blocked on the port # through which router was talking to the MP, while the other was not blocked.
  • Removed the iptable rule to unblock the port. With this change, we started observing the traffic being routed to both the MPs.

    @AMAR DEVEGOWDA , Is above question & answer related to Private Cloud ? If yes, you can move the question into right space. Thank you.

    @Anil Sagar,

    This was related to a problem seen in Public cloud. But the steps are applicable for Private Cloud as well starting from version 16.01 onwards.

    @AMAR DEVEGOWDA , Cool , Thanks for the update.