Add simple Bash script that shows how to detect Secondary member in the Replica Sets.
Add simple Bash script that shows how to detect Secondary member in the Replica Sets.

This little script shows how to work with Mongo Shell and Bash to get details of
running Replica Sets.  Can be useful for instance to detect from which host to
take backup etc ...

Signed-off-by: Krzysztof Wilczynski <9bf091559fc98493329f7d619638c79e91ccf029@linux.com>

kwilczynski/miscellaneous,kwilczynski/miscellaneous,kwilczynski/miscellaneous,kwilczynski/miscellaneous,kwilczynski/miscellaneous,kwilczynski/miscellaneous,kwilczynski/miscellaneous