---

** [tickets:#1842] rde: standby amfd notifies to NID early.**

**Status:** unassigned
**Milestone:** 5.0.1
**Created:** Fri May 20, 2016 09:25 AM UTC by Praveen
**Last Updated:** Fri May 20, 2016 09:25 AM UTC
**Owner:** nobody


Rde API rda_get_role() gives quiesced role on other than active controller from 
5.0.
Since API gives quiesced role, AMFD notifies to NID in 
initialize_for_assginment() even before cold sync completion.This ledas to 
assignment of MW components even when still standby AMFD is undergoing cold 
sync. This repopens a fixed issue #1334. 
AMFD gets standby role through rde callback and then it again call 
initialize_for_assignment() and initializes its interfaces. Also need to 
remember rde callback does not come for quiesced role on spare controller.

This porblem coould be applicable to other direcotors also or atleast notifying 
to nid before getting the role on standy may need some investigation.

One possible solution could be to give callback for quiesced role also. In that 
case call to rda_get_role() along with initialize_for_assignmet() can be 
removed  and call initialize_for_assignment() only in rde callback.


Active AMFD:
May 20 14:51:26.012760 osafamfd [485:getenv.cc:0124] TR 
OSAF_AMF_MIN_CLUSTER_SIZE is not set; using default value 2
May 20 14:51:26.014155 osafamfd [485:role.cc:0176] >> 
initialize_for_assignment: ha_state = 1
May 20 14:51:26.014646 osafamfd [485:mds.cc:0108] >> avd_mds_init
May 20 14:51:26.026272 osafamfd [485:mds.cc:0136] TR vdest created
May 20 14:51:26.030009 osafamfd [485:mds.cc:0160] TR mds install vdest

Standby AMFD:
May 20 14:51:32.911753 osafamfd [481:getenv.cc:0124] TR 
OSAF_AMF_MIN_CLUSTER_SIZE is not set; using default value 2
May 20 14:51:32.916912 osafamfd [481:role.cc:0176] >> 
initialize_for_assignment: ha_state = 3
May 20 14:51:32.921865 osafamfd [481:role.cc:0243] << 
initialize_for_assignment: rc = 1
May 20 14:51:32.921912 osafamfd [481:main.cc:0587] << initialize
May 20 14:51:40.391058 osafamfd [481:main.cc:0456] >> rda_cb
May 20 14:51:40.391266 osafamfd [481:main.cc:0478] << rda_cb
May 20 14:51:40.392132 osafamfd [481:main.cc:0757] >> process_event: 
evt->rcv_evt 23
May 20 14:51:40.392200 osafamfd [481:role.cc:0078] >> avd_role_change_evh: 
cause=1, role=2, current_role=3
May 20 14:51:40.392230 osafamfd [481:role.cc:0176] >> 
initialize_for_assignment: ha_state = 2
May 20 14:51:40.392256 osafamfd [481:mds.cc:0108] >> avd_mds_init

Spare AMFD:
May 20 14:51:33.030099 osafamfd [482:getenv.cc:0124] TR 
OSAF_AMF_MIN_CLUSTER_SIZE is not set; using default value 2
May 20 14:51:33.030828 osafamfd [482:role.cc:0176] >> 
initialize_for_assignment: ha_state = 3
May 20 14:51:33.031877 osafamfd [482:role.cc:0243] << 
initialize_for_assignment: rc = 1
May 20 14:51:33.031877 osafamfd [482:main.cc:0587] << initialize
~







---

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.
------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to