In  B.04.01 AMF spec, under the section 3.2.2.1 Presence State, spec says.
1) Page 73 says for a restartable component: 
Keep the component service instances assigned to the component while the
component is restarted. This action is typically performed when it is faster to
restart the component than to reassign the component service instances to
another component. In this case, the presence state of the component is set to
restarting while the component is being terminated and until it is instantiated
again (or a failure occurs).
2) Page 74 Table A SU will be in UNINSTANTIATED state if all of its components 
are in UNINSTANTIATED state.

Thus if a SU consists of both restartable and non-restartable components then 
It will never enter into UNINSTANTIATED state during RESTART admin op on SU.




---

** [tickets:#1525] AMF: SU presence state transition is missing UNINSTANTIATED 
during restart**

**Status:** unassigned
**Milestone:** 4.5.2
**Created:** Wed Oct 07, 2015 07:34 AM UTC by Quyen Dao
**Last Updated:** Wed Oct 07, 2015 07:34 AM UTC
**Owner:** nobody


Admin restart for SU with 3 components and 1 is non-restartable, the SU 
presence state transition during restart is as below:

INSTANTIATED => TERMINATING => INSTANTIATING => INSTANTIATED

I think it is missing state UNINSTANTIATED?

**Syslog**
Oct  7 13:12:15 PL-3 osafamfnd[417]: NO Admin Restart request for 
'safSu=1,safSg=1,safApp=osaftest'
Oct  7 13:12:15 PL-3 C[558]: componentTerminateCallback, invocation 4280287243
Oct  7 13:12:15 PL-3 C[558]: saAmfResponse(inv=4280287243, error=1)
Oct  7 13:12:15 PL-3 C[558]: terminate: 
safComp=C,safSu=1,safSg=1,safApp=osaftest - 0
Oct  7 13:12:15 PL-3 C[558]: Exiting
Oct  7 13:12:15 PL-3 osafamfnd[417]: NO 'safSu=1,safSg=1,safApp=osaftest' 
Presence State INSTANTIATED => TERMINATING
Oct  7 13:12:15 PL-3 B[552]: componentTerminateCallback, invocation 4287627274
Oct  7 13:12:16 PL-3 B[552]: saAmfResponse(inv=4287627274, error=1)
Oct  7 13:12:16 PL-3 B[552]: terminate: 
safComp=B,safSu=1,safSg=1,safApp=osaftest - 0
Oct  7 13:12:16 PL-3 B[552]: Exiting
Oct  7 13:12:16 PL-3 A[546]: componentTerminateCallback, invocation 4287627275
Oct  7 13:12:17 PL-3 A[546]: saAmfResponse(inv=4287627275, error=1)
Oct  7 13:12:17 PL-3 A[546]: terminate: 
safComp=A,safSu=1,safSg=1,safApp=osaftest - 0
Oct  7 13:12:17 PL-3 A[546]: Exiting
Oct  7 13:12:17 PL-3 amfclccli[579]: INSTANTIATE request 
'safComp=A,safSu=1,safSg=1,safApp=osaftest'
Oct  7 13:12:17 PL-3 amfclccli[579]: INSTANTIATE response 'instantiate' 
argument ''
Oct  7 13:12:17 PL-3 A[583]: started 
'safComp=A,safSu=1,safSg=1,safApp=osaftest', listening at port=45157
Oct  7 13:12:17 PL-3 A[583]: 
saAmfComponentRegister(safComp=A,safSu=1,safSg=1,safApp=osaftest, )
Oct  7 13:12:17 PL-3 osafamfnd[417]: NO 'safSu=1,safSg=1,safApp=osaftest' 
Presence State TERMINATING => INSTANTIATING
Oct  7 13:12:17 PL-3 amfclccli[586]: INSTANTIATE request 
'safComp=B,safSu=1,safSg=1,safApp=osaftest'
Oct  7 13:12:18 PL-3 amfclccli[586]: INSTANTIATE response 'instantiate' 
argument ''
Oct  7 13:12:18 PL-3 B[589]: started 
'safComp=B,safSu=1,safSg=1,safApp=osaftest', listening at port=36898
Oct  7 13:12:18 PL-3 B[589]: 
saAmfComponentRegister(safComp=B,safSu=1,safSg=1,safApp=osaftest, )
Oct  7 13:12:18 PL-3 amfclccli[592]: INSTANTIATE request 
'safComp=C,safSu=1,safSg=1,safApp=osaftest'
Oct  7 13:12:18 PL-3 amfclccli[592]: INSTANTIATE response 'instantiate' 
argument ''
Oct  7 13:12:18 PL-3 C[595]: started 
'safComp=C,safSu=1,safSg=1,safApp=osaftest', listening at port=34216
Oct  7 13:12:18 PL-3 C[595]: 
saAmfComponentRegister(safComp=C,safSu=1,safSg=1,safApp=osaftest, )
Oct  7 13:12:18 PL-3 osafamfnd[417]: NO 'safSu=1,safSg=1,safApp=osaftest' 
Presence State INSTANTIATING => INSTANTIATED



---

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.
------------------------------------------------------------------------------
Full-scale, agent-less Infrastructure Monitoring from a single dashboard
Integrate with 40+ ManageEngine ITSM Solutions for complete visibility
Physical-Virtual-Cloud Infrastructure monitoring from one console
Real user monitoring with APM Insights and performance trend reports 
Learn More http://pubads.g.doubleclick.net/gampad/clk?id=247754911&iu=/4140
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to