As per spec a SU enters into UNINSTANTIATED state when all its components are
in UNINSTANTIATED state.
So when a SU contains both restartable and non-restartable comp, SU will not
enter into UNINSTANTIATED state as restartable components will remain in
RESTARTING state until they move to INSTANTIATED. state after successful
instantiation. Hence there will not be any notification for UNINSTANTIATED
state.
If SU consists of all restartable comps then AMF is sending notification for
UNINSTANTIATED state:
=== Oct 5 17:15:14 - State Change ===
eventType = SA_NTF_OBJECT_STATE_CHANGE
notificationObject = "safSu=SU1,safSg=AmfDemo,safApp=AmfDemo1"
notifyingObject = "safApp=safAmfService"
notificationClassId = SA_NTF_VENDOR_ID_SAF.SA_SVC_AMF.109 (0x6d)
additionalText = "Presence state of SU safSu=SU1,safSg=AmfDemo,safApp=AmfDemo1
changed"
sourceIndicator = SA_NTF_OBJECT_OPERATION
State ID = SA_AMF_PRESENCE_STATE
Old State: SA_AMF_PRESENCE_TERMINATING
New State: SA_AMF_PRESENCE_UNINSTANTIATED
=== Oct 5 17:15:14 - State Change ===
eventType = SA_NTF_OBJECT_STATE_CHANGE
notificationObject = "safSu=SU1,safSg=AmfDemo,safApp=AmfDemo1"
notifyingObject = "safApp=safAmfService"
notificationClassId = SA_NTF_VENDOR_ID_SAF.SA_SVC_AMF.109 (0x6d)
additionalText = "Presence state of SU safSu=SU1,safSg=AmfDemo,safApp=AmfDemo1
changed"
sourceIndicator = SA_NTF_OBJECT_OPERATION
State ID = SA_AMF_PRESENCE_STATE
Old State: SA_AMF_PRESENCE_INSTANTIATING
New State: SA_AMF_PRESENCE_INSTANTIATED
---
** [tickets:#1511] AMF : UNINSTANTIATED notification missing for SU restart
operation**
**Status:** unassigned
**Milestone:** 4.5.2
**Created:** Mon Oct 05, 2015 07:09 AM UTC by Srikanth R
**Last Updated:** Mon Oct 05, 2015 08:41 AM UTC
**Owner:** nobody
When admin restart operation is issued on SU hosting non-restartable component,
two notifications should be generated. But only one notification is generated.
The notification for SU moving to UNINSTANTIATED is not generated.
=== Oct 5 11:02:25 - State Change ===
eventType = SA_NTF_OBJECT_STATE_CHANGE
notificationObject = "safSu=TestApp_SU3,safSg=TestApp_SG1,safApp=TestApp_TwoN"
notifyingObject = "safApp=safAmfService"
notificationClassId = SA_NTF_VENDOR_ID_SAF.SA_SVC_AMF.109 (0x6d)
additionalText = "Presence state of SU
safSu=TestApp_SU3,safSg=TestApp_SG1,safApp=TestApp_TwoN changed"
sourceIndicator = SA_NTF_OBJECT_OPERATION
State ID = SA_AMF_PRESENCE_STATE
Old State: SA_AMF_PRESENCE_INSTANTIATING
New State: SA_AMF_PRESENCE_INSTANTIATED
When the SU doesn't host any non-restartable components, two notifications
are generated as expected.
=== Oct 5 11:05:26 - State Change ===
eventType = SA_NTF_OBJECT_STATE_CHANGE
notificationObject = "safSu=TestApp_SU3,safSg=TestApp_SG1,safApp=TestApp_TwoN"
notifyingObject = "safApp=safAmfService"
notificationClassId = SA_NTF_VENDOR_ID_SAF.SA_SVC_AMF.109 (0x6d)
additionalText = "Presence state of SU
safSu=TestApp_SU3,safSg=TestApp_SG1,safApp=TestApp_TwoN changed"
sourceIndicator = SA_NTF_OBJECT_OPERATION
State ID = SA_AMF_PRESENCE_STATE
Old State: SA_AMF_PRESENCE_INSTANTIATED
New State: SA_AMF_PRESENCE_RESTARTING
=== Oct 5 11:05:26 - State Change ===
eventType = SA_NTF_OBJECT_STATE_CHANGE
notificationObject = "safSu=TestApp_SU3,safSg=TestApp_SG1,safApp=TestApp_TwoN"
notifyingObject = "safApp=safAmfService"
notificationClassId = SA_NTF_VENDOR_ID_SAF.SA_SVC_AMF.109 (0x6d)
additionalText = "Presence state of SU
safSu=TestApp_SU3,safSg=TestApp_SG1,safApp=TestApp_TwoN changed"
sourceIndicator = SA_NTF_OBJECT_OPERATION
State ID = SA_AMF_PRESENCE_STATE
Old State: SA_AMF_PRESENCE_INSTANTIATING
New State: SA_AMF_PRESENCE_INSTANTIATE
---
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.
------------------------------------------------------------------------------
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets