- **summary**: osaf: How to detect if payload is being in "SC Absence" mode. 
--> amf: support amf tool command to know AMF cluster/nodes status.
- **status**: unassigned --> accepted
- **assigned_to**: Praveen
- **Type**: discussion --> enhancement
- **Component**: osaf --> amf
- **Part**: - --> tools
- **Priority**: minor --> major
- **Comment**:

I think,  a  tool command and a callback is needed.

With tool command , a user can check status of nodes in cluster any time. Since 
both CLM and AMF have notion of nodes amd cluster, a user may want to know the 
status of CLM or AMF cluster. But this status is not just mere listing of 
nodes. This is already being done with currently supported utilities. The 
command should also consider OpenSAF status also.
For example: 
 During SCs Absence, amf-state siass list of SISUs for controllers also, but a 
user can not know that controllers are up or not with this.
 
 For callback, a user can not run tool command continuously to check whether 
controllers exist or not. Also calling some SAF API on payload in an 
application to know, based on its return status, whether host payload is in SC 
Absence mode or not is not a proper solution as  return code of API can have 
multiple interpretations. So there should be some callback also to inform 
application that this host payload has entered SC absence mode or has returned 
back to SC Presence mode.Application will subsribe for this callback,
 
I will send out a patch for amf cluster status and will see possiblity of a 
callback either in CLM or AMF. 



---

** [tickets:#2354] amf: support amf tool command to know AMF cluster/nodes 
status.**

**Status:** accepted
**Milestone:** future
**Created:** Wed Mar 08, 2017 07:28 AM UTC by Praveen
**Last Updated:** Wed Mar 08, 2017 07:28 AM UTC
**Owner:** Praveen


This discussion ticket is being raised based on a user list query dated March 
1st, 2017.
The query says:
 "We have enabled the new feature "SC Absence" of OpenSAF 5.x in our product, 
it works good so far.
 
 Now we need to make some actions when PLD go in/out "SC Absence" mode, we have 
to find a way in PLD to detect if it is being in "SC Absent" mode or not.
 So, does anyone knows how to make it by a utility/tool and C code(i.e. OpenSAF 
API) as well?
 "
 I think we do not have any API which can be used to query OpenSAF for knowing 
SC absence state.
MDS  up and down events of directors can be used to decide SC absence state as 
some agents are and node directors are using. But this will add lot of code in 
application.

Please update this ticket for a known or proposed solution. 



---

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.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to