From IMM perspective:

when the implementer is detached or IMMND goes down then the cached attributes 
will not have any significance. so, when immlist is called the value is shown 
as empty.

The same is present in the IMM spec:
saImmOiClassImplementerRelease/saImmOiObjectImplementerRelease

If the operation succeeds, the IMM Service removes the
SA_IMM_ATTR_IMPLEMENTER_NAME attribute as well as all non-persistent cached
runtime attributes from all objects of that class.


In 4.6 and enhancement(#1156) is added 

OM clients performing a read (iteration or accessor-get) that fetches a cached
runtime attribute, will not immediately see the attribute as empty when/if the
OI detaches. Instead for a period of grace for 6 seconds, the latest set value 
is shown.This allows for failover or switchover or process restart of OI to 
occur without OMclients seeing the "glitch" in the value of the cached runtime 
attribute.



---

** [tickets:#1384] amf-state print out error if it is called during failover**

**Status:** unassigned
**Milestone:** 4.5.2
**Created:** Tue Jun 09, 2015 07:28 AM UTC by Thuan
**Last Updated:** Tue Jun 09, 2015 07:28 AM UTC
**Owner:** nobody

When failover was trigger, there are some problems (maybe implementer 
disconnect) with immlist tool in short time. So, immlist tool can’t get value 
of variables or an empty value (ex: saAmfCSICompHAState=<Empty>). Then, 
amf-state did not handle well with these empty values.
 
/usr/bin/amf-state: line 62: [: <Empty>: integer expression expected    
 
Reproduction
====================
- Create a while loop for amf-state on Standby SC.
- Reboot the Active SC.
- Failover event occurs and problem occurs also.


---

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

Reply via email to