The problem:
============
A switchover of controller nodes is defined as 'complete' when AMF sets the RDA 
role of the controllers. During a switchover, AMF first swaps the role of the 
2N components of the middleware 2N SU and subsequently sets the rda role.

A situation when swithchover is in progress and the old ACTIVE dies must be 
treated/escalated as a failover, but currenlty FM is not acting upon the node 
down indiciation of the old ACTIVE controller because FM is assuming that this 
node is already ACTIVE and so does not takes actions related to failover.
The reason for is that FM is storing rda role and AMF state in the same 
variable.
Now, due to this(same varible) when switchover is in progress, AMF would have 
asked FM to go active via the csisetcallback, but when AMF has not yet changed 
the RDA role, FM fails to act on a NODE down indication  of old ACTIVE because 
FM is assuming that this node is already fully active, but in reality this node 
is not ACTIVE completely.
In reality this is a situation where the old active has died, and this 
controller has not fully transitioned to new ACTIVE.

The reason why FM is not acting is because of if-else conditions built around 
one variable(that represents both rda and amf role) in the controller node_DOWN 
processing.

The solution:
=============

This patch enables FM to set RDA role when failover occurs in the middle of
switchover.
FM subscribes for RDA callback and stores rda and FM role in different 
variables.
FM will rely on the RDA role to determine whether it is a fully
functional ACTIVE or not and will thus be able to perform FAILOVER actions
upon receiving the node down indication of the peer controller.

Upon node down of peer controller, do rda set role by default,
except in the scenario when both RDA && AMF role are active

comparing with http://hg.code.sf.net/p/opensaf/staging
searching for changes
changeset:   4360:234ee065c01c
branch:      opensaf-4.2.x
parent:      4357:74b17f145917
user:        [email protected]
date:        Thu Jul 25 16:13:10 2013 +0530
summary:     fm: set rda role when failover is trigerred in the middle of 
switchover [#438]

changeset:   4361:e76ab7bf59ee
branch:      opensaf-4.3.x
parent:      4358:3370708be099
user:        [email protected]
date:        Thu Jul 25 16:14:18 2013 +0530
summary:     fm: set rda role when failover is trigerred in the middle of 
switchover [#438]

changeset:   4362:ab15ad7f84c0
tag:         tip
parent:      4359:14c93b25163e
user:        [email protected]
date:        Thu Jul 25 16:14:35 2013 +0530
summary:     fm: set rda role when failover is trigerred in the middle of 
switchover [#438]



---

** [tickets:#438] FM should distinguish AMF and RDA role to determine a 
failover in the middle of a switchove**

**Status:** review
**Created:** Fri May 31, 2013 11:06 AM UTC by Mathi Naickan
**Last Updated:** Mon Jul 22, 2013 11:12 AM UTC
**Owner:** Mathi Naickan

cloned from http://devel.opensaf.org/ticket/3052

FM could distinguish AMF and RDA role to determine the need for a failover 
during the following to further sanitise the following swithcover scenarios 
when the previous active controller goes down:
- a switchover is in progress i.e. SISWAP OF middleware 2NSI is in progress
- a switchover completed, but AMF is yet to set the RDA role.
Refer the discussions of
 http://list.opensaf.org/pipermail/devel/2013-March/029725.html



---

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.
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to