- **status**: accepted --> review


---

** [tickets:#2536] amf: Add amfclusterstatus option to check if SCs are up**

**Status:** review
**Milestone:** 5.17.10
**Created:** Fri Jul 28, 2017 06:54 AM UTC by Anders Widell
**Last Updated:** Wed Aug 02, 2017 04:08 AM UTC
**Owner:** Praveen


The current amfclusterstatus command can be used to check if the SCs are up, 
but in order to interpret the result you must know the names of the SC node(s), 
and you must parse the console output from the command.

In order to make this command easier to use for this purpose, we could add an 
option, e.g. -s or --controller-status, which simply answers the question 
whether any SC is currently up. It could exit with exit code 0 if any SC is up, 
and with exit code 1 if no SC is up. We could also add a -q or --quiet option 
that suppresses all printouts form the command. This will make the command easy 
to use in a shell script.


---

Sent from sourceforge.net because opensaf-tickets@lists.sourceforge.net 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
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to