diff options
author | Kaleb S. KEITHLEY <kkeithle@redhat.com> | 2016-11-18 13:07:50 -0500 |
---|---|---|
committer | Kaleb KEITHLEY <kkeithle@redhat.com> | 2016-12-01 03:45:25 -0800 |
commit | 5bc501fde8d8d81ed4bd12edc306bc2c6fa268e4 (patch) | |
tree | 08838611f8fbde9ec6207cadaaa831d637427cc0 /extras/ocf | |
parent | 1b2b5be970f78cc32069516fa347d9943dc17d3e (diff) |
common-ha: add cluster HA status to --status output for gdeploy
gdeploy desires a one-liner "health" assessment.
If all the VIP and port block/unblock RAs are located on their
prefered nodes and 'Started', then the cluster is deemed to be
good (healthy).
N.B. status originally only checked the "online" nodes obtained
from `pcs status` but we really want to consider all the configured
nodes, whether they are online or not.
Also one `pcs status` is enough.
Change-Id: Id0e0380b6982e23763edeb0488843b5363e370b8
BUG: 1395648
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
Reviewed-on: http://review.gluster.org/15882
Smoke: Gluster Build System <jenkins@build.gluster.org>
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Reviewed-by: Arthy Loganathan <aloganat@redhat.com>
Reviewed-by: soumya k <skoduri@redhat.com>
Diffstat (limited to 'extras/ocf')
0 files changed, 0 insertions, 0 deletions