- **status**: review --> wontfix
- **Part**: nd --> doc
- **Milestone**: 4.7-Tentative --> never
- **Comment**:

Closing this ticket based on AMF PR doc  "2.2.2 Compliance Report".
It says in the section "3.8.2 Dependencies Among Components":
"
1. During node failover or shutdown Component termination order is not 
implemented based on instantiation level.
2. AMF is not instantiating components with same instantiation levels parallel.
"



---

** [tickets:#337] amf: After controller failover, component termination order 
was improper.**

**Status:** wontfix
**Milestone:** never
**Created:** Mon May 27, 2013 05:37 AM UTC by Praveen
**Last Updated:** Thu Apr 02, 2015 05:16 AM UTC
**Owner:** Praveen

Migrated from  http://devel.opensaf.org/ticket/2167.

After controller failover, component termination order was improper.
 

Steps followed:-
 

1. Runtime configured 2N model with 2 SUs in lock-instantiation state and 
components without saAmfCompInstantiationLevel.
 

Each SU contains 3 components.
 

2. Now modified the saAmfCompInstantiationLevel as shown below:-
 

SU1_COMP1 = 1, SU1_COMP2 = 2, SU1_COMP3 = 3
 

SU2_COMP1 = 3, SU2_COMP2 = 2, SU2_COMP3 =1
 

3. Runtime unlock-in and unlock of each SUs.
 

SU1 was on PL-3 as active and SU2 was on SC-1 as standby
 

4. Initiated controller failover (reboot SC-1)
 

5. Expected Uninstantiated order for SU2 should be COMP1 -> COMP2 -> then COMP3.
 

but observed that it was coming as COMP3 -> COMP2 -> then COMP1, which is wrong.
 

However the instantiation order was proper.
 

Snippet of amfd logs of SC-2 (new active)
 

=================================
 

Sep 30 13:59:08.264349 osafamfd [6428:avd_comp.c:0085] >> 
avd_comp_pres_state_set: 
'safComp=Norm3,safSu=d_2n_2,safSg=SG_d_2n,safApp=2nApp' INSTANTIATED => 
UNINSTANTIATED
 Sep 30 13:59:08.267403 osafamfd [6428:avd_comp.c:0085] >> 
avd_comp_pres_state_set: 
'safComp=Norm2,safSu=d_2n_2,safSg=SG_d_2n,safApp=2nApp' INSTANTIATED => 
UNINSTANTIATED
 Sep 30 13:59:08.270512 osafamfd [6428:avd_comp.c:0085] >> 
avd_comp_pres_state_set: 
'safComp=Norm1,safSu=d_2n_2,safSg=SG_d_2n,safApp=2nApp' INSTANTIATED => 
UNINSTANTIATED
 

Sep 30 13:59:38.519157 osafamfd [6428:avd_comp.c:0085] >> 
avd_comp_pres_state_set: 
'safComp=Norm3,safSu=d_2n_2,safSg=SG_d_2n,safApp=2nApp' UNINSTANTIATED => 
INSTANTIATING
 Sep 30 13:59:38.714064 osafamfd [6428:avd_comp.c:0085] >> 
avd_comp_pres_state_set: 
'safComp=Norm3,safSu=d_2n_2,safSg=SG_d_2n,safApp=2nApp' INSTANTIATING => 
INSTANTIATED
 Sep 30 13:59:38.727753 osafamfd [6428:avd_comp.c:0085] >> 
avd_comp_pres_state_set: 
'safComp=Norm2,safSu=d_2n_2,safSg=SG_d_2n,safApp=2nApp' UNINSTANTIATED => 
INSTANTIATING
 Sep 30 13:59:38.785638 osafamfd [6428:avd_comp.c:0085] >> 
avd_comp_pres_state_set: 
'safComp=Norm2,safSu=d_2n_2,safSg=SG_d_2n,safApp=2nApp' INSTANTIATING => 
INSTANTIATED
 Sep 30 13:59:38.798887 osafamfd [6428:avd_comp.c:0085] >> 
avd_comp_pres_state_set: 
'safComp=Norm1,safSu=d_2n_2,safSg=SG_d_2n,safApp=2nApp' UNINSTANTIATED => 
INSTANTIATING
 Sep 30 13:59:38.857310 osafamfd [6428:avd_comp.c:0085] >> 
avd_comp_pres_state_set: 
'safComp=Norm1,safSu=d_2n_2,safSg=SG_d_2n,safApp=2nApp' INSTANTIATING => 
INSTANTIATED
 

immlist safComp=Norm1,safSu=d_2n_1,safSg=SG_d_2n,safApp=2nApp -a 
saAmfCompInstantiationLevel
 saAmfCompInstantiationLevel=1
 


immlist safComp=Norm2,safSu=d_2n_1,safSg=SG_d_2n,safApp=2nApp -a 
saAmfCompInstantiationLevel
 

saAmfCompInstantiationLevel=2
 

immlist safComp=Norm3,safSu=d_2n_1,safSg=SG_d_2n,safApp=2nApp -a 
saAmfCompInstantiationLevel
 

saAmfCompInstantiationLevel=3
 

immlist safComp=Norm1,safSu=d_2n_2,safSg=SG_d_2n,safApp=2nApp -a 
saAmfCompInstantiationLevel
 saAmfCompInstantiationLevel=3
immlist safComp=Norm2,safSu=d_2n_2,safSg=SG_d_2n,safApp=2nApp -a 
saAmfCompInstantiationLevel
 saAmfCompInstantiationLevel=2
 


immlist safComp=Norm3,safSu=d_2n_2,safSg=SG_d_2n,safApp=2nApp -a 
saAmfCompInstantiationLevel
 

saAmfCompInstantiationLevel=1



---

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