- **Type**: defect --> enhancement


---

** [tickets:#388] After tolerance timer expires, dependent SIs remains in fully 
assigned state in SU lock and payload reboots case..**

**Status:** unassigned
**Milestone:** future
**Created:** Fri May 31, 2013 04:28 AM UTC by Nagendra Kumar
**Last Updated:** Fri May 31, 2013 04:28 AM UTC
**Owner:** nobody

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

In nway_active model, When sponser SI is in unassigned state after SU lock and 
payload reboots, dependent SIs remains in fully-assigned state even after 
expiry of tolerance timer.


Configuration:-
================
Nway Active
5 Node setup
5SUs, 2 component per SU with same compType
6SIs, 2CSIs per SI, No SIRankedSU configured.
saAmfSGMaxActiveSIsperSU=2
saAmfSGNumPrefInserviceSUs=8
saAmfSIPrefActiveAssignments=2


Single sponser multiple dependent SI SI dependency configured.
SI1 is sponser to rest of the SIs with tol timer of 60000000000(1min)


SU2 spawned on PL-4
SU3 spawned on SC-1
SU4 spawned on SC-2
SU1 and SU5 spawned on PL-3


1. Performed unlock-in and unlock of each SUs in the order SU1,SU2,SU3,SU4,SU5.
Initial assignments are:-


SU1 - SI1 SI2 Active
SU2 - SI1 SI2 Active
SU3 - SI3 SI4 Active
SU4 - SI3 SI4 Active
SU5 - SI5 SI6 Active


2. Performed below operations to make sure sponser SI1 left without any 
assignments.



*amf-adm lock safSu=SU1,safSg=SG,safApp=testNActiveApp
*reboot PL-4 on which SU2 was running
*amf-adm lock safAmfNode=PL-4,safAmfCluster=myAmfCluster


After step2, observed that even after the expiry of tolerance timer of 1min, 
dependent SIs was 
having the SUSI HA assignments and dependent SI remains in fully assigned state 
even when no sponser SI exists. 


States after step2:-


amf-state si
safSi=SI1,safApp=testNActiveApp


saAmfSIAdminState=UNLOCKED(1)
saAmfSIAssignmentState=UNASSIGNED(1)


safSi=SI2,safApp=testNActiveApp


saAmfSIAdminState=UNLOCKED(1)
saAmfSIAssignmentState=UNASSIGNED(1)


safSi=SI3,safApp=testNActiveApp


saAmfSIAdminState=UNLOCKED(1)
saAmfSIAssignmentState=FULLY_ASSIGNED(2)


safSi=SI4,safApp=testNActiveApp


saAmfSIAdminState=UNLOCKED(1)
saAmfSIAssignmentState=FULLY_ASSIGNED(2)


safSi=SI5,safApp=testNActiveApp


saAmfSIAdminState=UNLOCKED(1)
saAmfSIAssignmentState=PARTIALLY_ASSIGNED(3)


safSi=SI6,safApp=testNActiveApp


saAmfSIAdminState=UNLOCKED(1)
saAmfSIAssignmentState=PARTIALLY_ASSIGNED(3)


# amf-state siass ha


safSISU=safSu=SC-1\,safSg=NoRed?\,safApp=OpenSAF,safSi=NoRed?2,safApp=OpenSAF


saAmfSISUHAState=ACTIVE(1)


safSISU=safSu=SC-1\,safSg=2N\,safApp=OpenSAF,safSi=SC-2N,safApp=OpenSAF


saAmfSISUHAState=ACTIVE(1)


safSISU=safSu=SC-2\,safSg=NoRed?\,safApp=OpenSAF,safSi=NoRed?1,safApp=OpenSAF


saAmfSISUHAState=ACTIVE(1)


safSISU=safSu=SC-2\,safSg=2N\,safApp=OpenSAF,safSi=SC-2N,safApp=OpenSAF


saAmfSISUHAState=STANDBY(2)


safSISU=safSu=PL-3\,safSg=NoRed?\,safApp=OpenSAF,safSi=NoRed?5,safApp=OpenSAF


saAmfSISUHAState=ACTIVE(1)


safSISU=safSu=PL-4\,safSg=NoRed?\,safApp=OpenSAF,safSi=NoRed?4,safApp=OpenSAF


saAmfSISUHAState=ACTIVE(1)


safSISU=safSu=PL-5\,safSg=NoRed?\,safApp=OpenSAF,safSi=NoRed?3,safApp=OpenSAF


saAmfSISUHAState=ACTIVE(1)


safSISU=safSu=SU3\,safSg=SG\,safApp=testNActiveApp,safSi=SI3,safApp=testNActiveApp


saAmfSISUHAState=ACTIVE(1)


safSISU=safSu=SU3\,safSg=SG\,safApp=testNActiveApp,safSi=SI4,safApp=testNActiveApp


saAmfSISUHAState=ACTIVE(1)


safSISU=safSu=SU4\,safSg=SG\,safApp=testNActiveApp,safSi=SI3,safApp=testNActiveApp


saAmfSISUHAState=ACTIVE(1)


safSISU=safSu=SU4\,safSg=SG\,safApp=testNActiveApp,safSi=SI4,safApp=testNActiveApp


saAmfSISUHAState=ACTIVE(1)


safSISU=safSu=SU5\,safSg=SG\,safApp=testNActiveApp,safSi=SI5,safApp=testNActiveApp


saAmfSISUHAState=ACTIVE(1)


safSISU=safSu=SU5\,safSg=SG\,safApp=testNActiveApp,safSi=SI6,safApp=testNActiveApp


saAmfSISUHAState=ACTIVE(1)


SU States:-
======
safSu=SU1,safSg=SG,safApp=testNActiveApp


saAmfSUAdminState=LOCKED(2)
saAmfSUOperState=ENABLED(1)
saAmfSUPresenceState=INSTANTIATED(3)
saAmfSUReadinessState=OUT-OF-SERVICE(1)


safSu=SU2,safSg=SG,safApp=testNActiveApp


saAmfSUAdminState=UNLOCKED(1)
saAmfSUOperState=ENABLED(1)
saAmfSUPresenceState=INSTANTIATED(3)
saAmfSUReadinessState=OUT-OF-SERVICE(1)


safSu=SU3,safSg=SG,safApp=testNActiveApp


saAmfSUAdminState=UNLOCKED(1)
saAmfSUOperState=ENABLED(1)
saAmfSUPresenceState=INSTANTIATED(3)
saAmfSUReadinessState=IN-SERVICE(2)


safSu=SU4,safSg=SG,safApp=testNActiveApp


saAmfSUAdminState=UNLOCKED(1)
saAmfSUOperState=ENABLED(1)
saAmfSUPresenceState=INSTANTIATED(3)
saAmfSUReadinessState=IN-SERVICE(2)


safSu=SU5,safSg=SG,safApp=testNActiveApp


saAmfSUAdminState=UNLOCKED(1)
saAmfSUOperState=ENABLED(1)
saAmfSUPresenceState=INSTANTIATED(3)
saAmfSUReadinessState=IN-SERVICE(2)


# amf-state node
safAmfNode=PL-3,safAmfCluster=myAmfCluster


saAmfNodeAdminState=UNLOCKED(1)
saAmfNodeOperState=ENABLED(1)


safAmfNode=PL-4,safAmfCluster=myAmfCluster


saAmfNodeAdminState=LOCKED(2)
saAmfNodeOperState=ENABLED(1)


safAmfNode=PL-5,safAmfCluster=myAmfCluster


saAmfNodeAdminState=UNLOCKED(1)
saAmfNodeOperState=ENABLED(1)


safAmfNode=SC-1,safAmfCluster=myAmfCluster


saAmfNodeAdminState=UNLOCKED(1)
saAmfNodeOperState=ENABLED(1)


safAmfNode=SC-2,safAmfCluster=myAmfCluster


saAmfNodeAdminState=UNLOCKED(1)
saAmfNodeOperState=ENABLED(1)


SI-SI dependency console dump:-
=====
safDepend=safSi=SI1\,safApp=testNActiveApp,safSi=SI2,safApp=testNActiveApp
safDepend=safSi=SI1\,safApp=testNActiveApp,safSi=SI3,safApp=testNActiveApp
safDepend=safSi=SI1\,safApp=testNActiveApp,safSi=SI4,safApp=testNActiveApp
safDepend=safSi=SI1\,safApp=testNActiveApp,safSi=SI5,safApp=testNActiveApp
safDepend=safSi=SI1\,safApp=testNActiveApp,safSi=SI6,safApp=testNActiveApp


# immlist 
"safDepend=safSi=SI1\,safApp=testNActiveApp,safSi=SI2,safApp=testNActiveApp"
Name Type Value(s)
========================================================================
safDepend SA_NAME_T safDepend=safSi=SI1\,safApp=testNActiveApp (42) 
saAmfToleranceTime SA_TIME_T 60000000000 (0xdf8475800, Thu Jan 1 05:31:00 1970)
SaImmAttrImplementerName? SA_STRING_T safAmfService 
SaImmAttrClassName? SA_STRING_T SaAmfSIDependency 
SaImmAttrAdminOwnerName? SA_STRING_T <Empty>




Changed 15 months ago by shareef ¶
  ■summary changed from In nway_active model, When sponser SI is in unassigned 
state after SU lock and payload reboots, dependent SIs remains in 
fully-assigned state even after expiry of tolerance timer. to After tolerance 
timer expires, dependent SIs remains in fully assigned state in SU lock and 
payload reboots case.. 



---

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.
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to