Grace Tang wrote:
> Hi,
>
> Assuming there is a rule RULE1 with protocol=udp, hc-name=HC1, while 
> in HC1 hc-test=TCP, does this health check make sense? Will health 
> check ignore the protocol in the rule and still check tcp socket , 
> then show result according to the check?  I think this kind of check 
> doesn't make sense to the user and an error can be returned while 
> creating the rule?
>

If needed, this kind of check should be performed when the rule is 
created, you can check with Micheal if rule creation can catch this. 
Keep in mind when a hc object is created, it has no knowledge of which 
rule will use this hc. Health check itself when creating don't know if 
the rule's protocol matches the hc query protocol.

> Does health check know the ipversion in the rule and do check 
> accordingly? For example, RULE1 specifies ipversion=v6, hc-name=HC1 
> and in HC1 hc-test=PING, then health check will use 'ping -A inet6'. I 
> think ipversion can be an option while creating healthcheck. If the 
> ipversion in the rule is not same as the value in the health check, 
> then an error will be returned while creating a rule.

The queries are based on the ip address of the server. If it is a v4 
address, then the query will be v4. If v6, then query will be v6. I 
don't think hc object needs a  ipverstion option.

-Jan


Reply via email to