马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?开始注册
x
crm status
% U' l, b& Z( |0 d: z5 K5 B) p-bash: crm: command not found1 | F3 g8 n; l7 f, k1 t7 j; e' R# S
解决办法:2 K) d# G# q# R: t: ]# y$ x& P! G8 a
9 N6 {3 @2 `+ i" P6 q9 q
' E$ p: Q" X3 S' |
" k. o4 A# m$ d; c. a$ z
1 B! J8 S! d5 \7 Z9 k0 F* f
* s% Z+ ^ R3 u% a5 B
3 \9 ]& J1 `/ N$ b) E) G' [. _& B
G# @: j# W1 f( }6 |/ {* N cat network\:ha-clustering\:Stable.repo [) I; \& [* B, Y. U
[network_ha-clustering_Stable]
3 E. C$ A( Y1 ~8 q+ {name=Stable High Availability/Clustering packages (CentOS_CentOS-7)/ c5 C8 V- F; O% G( X W1 a. p
type=rpm-md3 n5 N9 O. S. G
baseurl=http://download.opensuse.org/repositories/network:/ha-clustering:/Stable/CentOS_CentOS-7/
1 ]5 g/ ~! K5 ~) f) k3 Mgpgcheck=18 S, M$ D% u% l# s, m5 h
gpgkey=http://download.opensuse.org/repositories/network:/ha-clustering:/Stable/CentOS_CentOS-7/repodata/repomd.xml.key
( M! z- M* h5 E( genabled=1 # r6 e8 `- H! h# t* H0 E4 h3 w4 C
- D+ }' R5 }1 K* o
7 U' E* y7 @+ U' d7 q修改配置文件:
7 f) H( j! f C% y% e$ E3 Y2 K' Q- g% e, }9 [6 v6 J
; k8 s, s& ?" S8 B" ~ g: w. L
vim /etc/yum.repos.d/network\:ha-clustering\:Stable.repo
3 f0 }4 d2 }' j' ]! dname=Stable High Availability/Clustering packages (CentOS_CentOS-7)
4 k6 N$ E T1 ]! x& J) dtype=rpm-md
& O- G9 z( a+ U# ebaseurl=http://download.opensuse.org/repositories/network:/ha-clustering:/Stable/CentOS_CentOS-7/) Q- F, H/ r3 ?# H6 g! @: t
gpgcheck=0
, d4 x0 b: Q! W& Z, dgpgkey=http://download.opensuse.org/repositories/network:/ha-clustering:/Stable/CentOS_CentOS-7/repodata/repomd.xml.key* w# J8 C9 _0 r. m- g( D% D
enabled=1! ^& _0 t8 k+ W }" ?* Z1 z% b
, D1 o3 i4 h' e
* K' ?% q3 A/ q5 b7 [yum clean all r! n6 b Y" v3 U' O- S
" {$ K/ Q. i$ q$ b" |- ~: A, qyum install -y crmsh
9 A) `4 c$ D7 j8 ~8 e
8 k i* ~" {+ K4 T( }" d! p , x: p- T! s3 t
|