- **status**: review --> fixed
---
** [tickets:#568] Amf stops calling Health check clc**
**Status:** fixed
**Created:** Tue Sep 17, 2013 05:09 AM UTC by Nagendra Kumar
**Last Updated:** Fri Oct 18, 2013 06:27 AM UTC
**Owner:** Nagendra Kumar
Steps to reproduce:
1. Configure Amf Demo as below in "SaAmfCompType":
<attr>
<name>osafAmfCtRelPathHcCmd</name>
<value>amf_demo_hc</value>
</attr>
<attr>
<name>osafAmfCtDefHcCmdArgv</name>
<value>nothing</value>
</attr>
2. Configure Demo Health check as below:
<object class="SaAmfHealthcheckType">
<dn>safHealthcheckKey=osafHealthCheck,safVersion=1,safCompType=AmfDemo1</dn>
<attr>
<name>saAmfHctDefPeriod</name>
<value>10000000000</value>
</attr>
<attr>
<name>saAmfHctDefMaxDuration</name>
<value>60000000000</value>
</attr>
</object>
3. Start Demo as keep sleep in amf_demo_hc as below:
sleep 12
logger -st "HC Script Called............................. "
exit 0
4. After first clc amf_demo_hc script execution, Amf stops calling CLC
amf_demo_hc script:
Sep 17 10:13:10.370276 osafamfnd [26364:avnd_chc.c:0714] >>
avnd_comp_hc_cmd_start:
'safComp=AmfDemo,safSu=SU1,safSg=AmfDemo,safApp=AmfDemo1'
Sep 17 10:13:20.514776 osafamfnd [26364:avnd_chc.c:0910] >>
avnd_comp_hc_rec_tmr_exp:
safComp=AmfDemo,safSu=SU1,safSg=AmfDemo,safApp=AmfDemo1 - osafHealthCheck, sts:
0 CLC called
Sep 17 10:13:30.617786 osafamfnd [26364:avnd_chc.c:0910] >>
avnd_comp_hc_rec_tmr_exp:
safComp=AmfDemo,safSu=SU1,safSg=AmfDemo,safApp=AmfDemo1 - osafHealthCheck, sts:
1
Sep 17 10:13:32.530448 osafamfnd [26364:avnd_clc.c:0315] >>
avnd_evt_clc_resp_evh
Sep 17 10:13:32.530537 osafamfnd [26364:avnd_clc.c:0338] TR
'safComp=AmfDemo,safSu=SU1,safSg=AmfDemo,safApp=AmfDemo1'
Sep 17 10:13:32.530559 osafamfnd [26364:avnd_clc.c:0355] TR CLC command
type:'AVND_COMP_CLC_CMD_TYPE_HC(6)'
Sep 17 10:13:32.530573 osafamfnd [26364:avnd_chc.c:0753] >> find_hc_rec:
'safComp=AmfDemo,safSu=SU1,safSg=AmfDemo,safApp=AmfDemo1'
Sep 17 10:13:32.530587 osafamfnd [26364:avnd_chc.c:0779] >>
avnd_comp_hc_cmd_restart:
safComp=AmfDemo,safSu=SU1,safSg=AmfDemo,safApp=AmfDemo1, status'2'
Sep 17 10:13:32.530643 osafamfnd [26364:avnd_tmr.c:0097] TR health check timer
started
Sep 17 10:13:32.530676 osafamfnd [26364:avnd_chc.c:0787] TR
Nagu:safComp=AmfDemo,safSu=SU1,safSg=AmfDemo,safApp=AmfDemo1, status'1'
Sep 17 10:13:32.530688 osafamfnd [26364:avnd_chc.c:0790] <<
avnd_comp_hc_cmd_restart:
safComp=AmfDemo,safSu=SU1,safSg=AmfDemo,safApp=AmfDemo1, status'1'
Sep 17 10:13:32.530700 osafamfnd [26364:avnd_clc.c:0449] <<
avnd_evt_clc_resp_evh: 1
Sep 17 10:13:42.616449 osafamfnd [26364:avnd_chc.c:0261] >> avnd_evt_tmr_hc_evh
Sep 17 10:13:42.616464 osafamfnd [26364:avnd_chc.c:0910] >>
avnd_comp_hc_rec_tmr_exp:
safComp=AmfDemo,safSu=SU1,safSg=AmfDemo,safApp=AmfDemo1 - osafHealthCheck, sts:
1
Sep 17 10:13:42.616502 osafamfnd [26364:avnd_chc.c:0940] <<
avnd_comp_hc_rec_tmr_exp
---
Sent from sourceforge.net because [email protected] is
subscribed to https://sourceforge.net/p/opensaf/tickets/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/opensaf/admin/tickets/options. Or, if this is a
mailing list, you can unsubscribe from the mailing list.------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets