---
** [tickets:#1759] amf: Command based HealthCheck invoked during termination
phase (NPI comp).**
**Status:** accepted
**Milestone:** 4.6.2
**Labels:** Command Based Health Check NPI comp
**Created:** Thu Apr 14, 2016 06:24 AM UTC by Praveen
**Last Updated:** Thu Apr 14, 2016 06:24 AM UTC
- **status**: accepted --> review
---
** [tickets:#1759] amf: Command based HealthCheck invoked during termination
phase (NPI comp).**
**Status:** review
**Milestone:** 4.6.2
**Labels:** Command Based Health Check NPI comp
**Created:** Thu Apr 14, 2016 06:24 AM UTC by Praveen
**Last Updated:
- **status**: review --> fixed
- **Comment**:
changeset: 7524:6c724a0bce3e
parent: 7520:4c44fe2abdee
user:praveen.malv...@oracle.com
date:Fri Apr 22 09:46:45 2016 +0530
summary: amfnd: do not invoke health check command when npi comp is
TERMINATING [#1759]
changeset:
Hi Minh,
Attached is the model. Is it the case when AMFND invokes the Health check
Command and its gets the termination request and launches the termination
scrpit also?
In that case, both health checking command/script and termination script are
executing simulantaneously. This situation needs
Thanks. From application's log, it gets terminateCmd first then followed by
healthCheckCmd. /Minh
---
** [tickets:#1759] amf: Command based HealthCheck invoked during termination
phase (NPI comp).**
**Status:** fixed
**Milestone:** 4.6.2
**Labels:** Command Based Health Check NPI comp
**Crea
Hi Praveen
uint32_t avnd_comp_hc_rec_tmr_exp(AVND_CB *cb, AVND_COMP *comp,
AVND_COMP_HC_REC *rec) {
...
if (comp->is_hc_cmd_configured &&
(strncmp((char*)rec->key.key, hc_cmd_name,
sizeof(rec->key.key)) == 0)) {
Hi Minh,
Yes that can happen but that is a very remote possiblity timing wise. Remote
possibility because AMFND stops any running HC timer when it launches terminate
command amd HC command is not invoked always after each timer expiry. This is
in this sense different from AMF spec based health
Hi Praveen,
This problem has actually being seen in scale-in scenario, which is a npi su is
getting TERMINATE. I have tried many times to reproduce but I was not able to
see it.
Most of times I see is HC command response comes after timer expiry (which is
already fixed by patch of #1759), or th
Raised https://sourceforge.net/p/opensaf/tickets/1858/
---
** [tickets:#1759] amf: Command based HealthCheck invoked during termination
phase (NPI comp).**
**Status:** fixed
**Milestone:** 4.6.2
**Labels:** Command Based Health Check NPI comp
**Created:** Thu Apr 14, 2016 06:24 AM UTC by Pra