|
|
# pcs status# [" Y7 a l% w5 }$ A
Cluster name: my_wsrep_cluster2 h, X( N, c) b& U) d5 Z9 K
Stack: corosync
/ C7 H0 I" E1 _: L+ U2 ECurrent DC: controller1 (version 1.1.16-12.el7_4.5-94ff4df) - partition with quorum
! m( @( Y# r1 }Last updated: Thu Dec 28 18:24:33 20179 G0 A( v" T, K/ ^% F4 w
Last change: Thu Dec 28 18:05:11 2017 by root via cibadmin on controller1' z' i8 h1 y9 S5 @; G) w/ f2 H Z
3 nodes configured
! z+ ^" ]; h4 h# d ~" V3 C( u, `) |1 resource configured
9 [0 i" O2 ]& C9 m: S0 \* H+ wOnline: [ controller1 controller2 controller3 ]$ `! r( e/ e2 d# ~: }
Full list of resources:5 L6 ~9 x6 a2 g# O h. S* ]
db (ocf::heartbeat:galera): Stopped+ I; p1 T1 N2 R* u4 J
Failed Actions:( C6 G* @- a% M6 L
* db_start_0 on controller1 'not configured' (6): call=22, status=complete, exitreason='Galera must be configured as a multistate Master/Slave resource.',+ i$ T7 ]$ c5 Q# u5 Z6 Q
last-rc-change='Thu Dec 28 18:05:11 2017', queued=1ms, exec=56ms
P# [' z. Y& q2 e4 V% z
- C4 G. U. d8 G5 s$ jDaemon Status:
: ?* L/ M( v3 D corosync: active/enabled
& ?; C* J* ~+ m( v pacemaker: active/enabled
5 v$ f Y N3 H( [( q5 j: K2 w2 B pcsd: active/enabled9 l1 ?6 T: g9 V
; b" x1 X/ F- W0 ?
所有的状态都是active的,唯独只有db状态是stopped,为什么呢?
3 I+ o8 X0 v; _+ I |
|