马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?开始注册
x
crm status4 I: [- X3 n1 P4 n
-bash: crm: command not found
* i, {9 l& R+ g8 X解决办法:
7 L; u* f/ M W1 g
; O( C0 Y3 \7 [" n! p
; _+ c; }' g. O; i" a 3 g" u6 l$ D& u5 @7 W! ?. `" b
$ }5 B1 n8 R# @! J, p2 M 3 ?& d, r, l' i8 F7 b1 ]& h8 W
" `) ^0 N# d) I& F7 \) L
/ j& e( L" R% P$ G; t, c) ~' g, l cat network\:ha-clustering\:Stable.repo
& S+ S& ^/ i" [# m; Q5 M[network_ha-clustering_Stable]/ k! J5 G8 x0 `& L( t( i+ j
name=Stable High Availability/Clustering packages (CentOS_CentOS-7)
, W$ q0 C p0 Q% x& j6 Ftype=rpm-md
' Z$ E8 M$ W) h! B: B; t1 N+ sbaseurl=http://download.opensuse.org/repositories/network:/ha-clustering:/Stable/CentOS_CentOS-7/* E7 {1 N" `. l4 }
gpgcheck=1
- q0 A% R5 b3 Fgpgkey=http://download.opensuse.org/repositories/network:/ha-clustering:/Stable/CentOS_CentOS-7/repodata/repomd.xml.key
( y& [0 _" I. O. f5 jenabled=1 ( Y! X2 m8 ]) I+ \
5 x3 G$ m4 m% a2 Y
) `/ Q7 Y' R$ e0 O修改配置文件:
8 E( X5 R3 t0 R2 |. @) g5 S ?6 ]. [: p9 \+ @$ Y
( c1 c# f1 j' @. Z' e vim /etc/yum.repos.d/network\:ha-clustering\:Stable.repo
: G \( Z& u/ U, p( D' qname=Stable High Availability/Clustering packages (CentOS_CentOS-7). O' p% {( j: Q1 o7 X4 \% v
type=rpm-md
) m9 H: o) t/ D ^$ o& Vbaseurl=http://download.opensuse.org/repositories/network:/ha-clustering:/Stable/CentOS_CentOS-7/
# M, W8 h, e9 |! g$ r0 Zgpgcheck=0
5 v4 ^2 G2 e( C5 X2 r agpgkey=http://download.opensuse.org/repositories/network:/ha-clustering:/Stable/CentOS_CentOS-7/repodata/repomd.xml.key
, D5 |9 j$ d6 b6 C5 h% Penabled=1
) e" r- I, i- t. x* I , U* t0 n. Z# x5 ], h
4 V9 B3 J2 b! ^( h
yum clean all+ n% ~! \: K+ W1 i: n, k
( ^4 T0 E3 E3 C/ }
yum install -y crmsh
6 V& L0 S4 ?/ r# d+ s& e0 [3 z; M0 t' W' t: p
* `# ? M& ]1 v2 n! M! }
|