Layer7 API Management

 View Only

Question about internal logic of PING service (/ssg/ping)

  • 1.  Question about internal logic of PING service (/ssg/ping)

    Posted Jul 24, 2019 05:11 AM
    Edited by Eunmi Jang Aug 11, 2019 09:24 PM
    Hi all,

    Product : Gateway 9.4

    I've done some Availability testing scenario with HA gateways. There is L4 in front of two gateways.
    When unplugging cables of gateway node1 in NIC test case,  the ping service show some unexpected information.
    (It was functional test. No transaction at that time.)

    It tooks some times to get data from gateway at first. The node2 is WARNING state at first.
    After some minutes,  the node 2 is changed to OK state.  (Even though there is still NIC failure of node1)
    I think the node1 should be WARNING state at the first time, but I have no idea.

    Here is my question.

    1. Does ping service check the status through each gateway process and shared through database? 
    Here is another active NIC card for DB Replication. So I wonder that two gateways share each status through mysql db and show it when calling ping service.

    2. How to check read time or connection timeout of internal db connection.
    I think the internal database connection pool has some unrecognized closed connection in this scenario.
    Because there was no waiting time of ping service in my other scenarios like OS/process down.


    I appreciate in advance.
    Eunmi