The discussion around a valid usecase is still in progress, but if we could 
become ignorant for a while and briefly talk the solution as started in this 
ticket or in #1179 and #1180, then the following is one acceptable way of 
handling this scenario:

"OpenSAF(processes) is restarted without affecting application processes and 
the SAF agents return some agreedupon SAF error code to applications till the 
controller nodes are up again"

i.e.
1) Upon receiving MDS VDEST down for AMFD, the AMFND on payload will not reboot 
that node. Subsequently, AMFND kills(as if a 'opensaf stop' was issued) all 
opensaf(middleware) processes on that node and waits for the MDS_UP event for 
AMFD. Upon receiving MDS_UP event, amfnd restarts opensaf by invoking the 
opensafd script i.e. '/etc/init.d/opensafd restart'. 
(Alternatively, some other process like NID can be modified to run forever such 
that AMFND can exit after cleaning up all the middleware processes. NID will 
wait for a 'controller is up' indication i.e. shall wait for the MDS UP event 
for AMFD and shall continue to spawn the rest of the services.


2) Upon receIving MDS VDEST down for the director processes, the agent 
libraries return BAD_HANDLE(or some new error code) to any API and return 
ERR_TRY_AGAIN for INITIALIZE till the controllers are up again.


Post such 'silent-opensaf-restart', the cluster will continue to run from the 
persistent configuration is available(till the time when the contollers went 
down). 


---

** [tickets:#1132] opensaf shall support temporary unavailbility of both 
controllers**

**Status:** unassigned
**Milestone:** 4.6.FC
**Created:** Tue Sep 23, 2014 01:51 PM UTC by Hans Feldt
**Last Updated:** Wed Oct 29, 2014 11:37 AM UTC
**Owner:** nobody

The opensaf cluster shall survive that both system controllers are temporarily 
down (no cluster reboot as today)

After the system controllers recover, IMM and AMF state shall be as before the 
controllers got unavailable.

Use case: opensaf cloud deployment

To be refined a lot...


---

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.
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to