---

** [tickets:#1335] AMF : health check is started even if  safHealthCheckKey 
attribute is not set as osafHealthCheck**

**Status:** unassigned
**Milestone:** 4.4.2
**Created:** Wed Apr 22, 2015 05:31 PM UTC by Srikanth R
**Last Updated:** Wed Apr 22, 2015 05:31 PM UTC
**Owner:** nobody

Changeset : 6377

1)For an NPI component, if AMF needs to perform health check, following two 
commands need to be ran as part of the configuration bringup.

      immcfg -c SaAmfCompType $SaAmfCompType_npi -a saAmfCtCompCategory=8 -a 
saAmfCtDefClcCliTimeout=10000000000 -a saAmfCtDefCallbackTimeout=10000000000 -a 
saAmfCtRelPathInstantiateCmd="amf_comp_script instantiate_npi" -a 
saAmfCtRelPathCleanupCmd="amf_comp_script cleanup" -a 
saAmfCtDefRecoveryOnError=2 -a saAmfCtDefDisableRestart=0 -a 
saAmfCtSwBundle=safSmfBundle=$SaSmfSwBundle -a 
osafAmfCtRelPathHcCmd="health_check_script" -a osafAmfCtDefHcCmdArgv="state" -a 
saAmfCtRelPathTerminateCmd="amf_comp_script cleanup"

      immcfg -c SaAmfHealthcheckType 
safHealthcheckKey=osafHealthCheck,$SaAmfCompType_npi -a 
saAmfHctDefPeriod=10000000000 -a saAmfHctDefMaxDuration=6000000000


2) If the user does not run the second command before instantiating the 
component, health check is not  started as of now, which is fine.

3) But if the user run the following command by  deleting the health check key 
once the application configuration is done ( SU in lock-in state) , health 
check is still started when SU is  unlocked.


immcfg -d 
safHealthcheckKey=osafHealthCheck,safVersion=4.0.0,safCompType=TWONCOMPBASETYPE_NPI


*Deviation*

 Health check should not be started, as the key is deleted before performing 
the unlock-in and unlock operations of SU


---

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.
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to