找回密码
 注册
查看: 3603|回复: 0

crm status -bash: crm: command not found

[复制链接]

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
发表于 2018-7-29 11:02:58 | 显示全部楼层 |阅读模式
crm status/ a3 W& `+ j' j' H7 ^
-bash: crm: command not found8 M( h/ B3 `. a* i; B9 y
解决办法:
& S! I3 B+ \: D( Y
/ J* U. t9 f( O. z6 L
0 ?& Q" [* a4 w/ X# v

( S! p, z, \0 {

! M5 y* Y1 S/ e+ c

7 d! b/ y$ D: S! t; ~% P( F" r
9 n/ C: I2 W" E& y7 j9 L

! i! e$ I( {7 Q* S% }
cat network\:ha-clustering\:Stable.repo ! ]9 W8 p' f7 B8 @% X# m& h9 U
[network_ha-clustering_Stable]) h8 T8 M$ P1 j3 l+ |6 W# x1 `
name=Stable High Availability/Clustering packages (CentOS_CentOS-7)
/ D$ J6 ~* }1 h6 v* t1 C" L9 ltype=rpm-md9 U) o" y' a+ `3 T
baseurl=http://download.opensuse.org/repositories/network:/ha-clustering:/Stable/CentOS_CentOS-7/
% a( }* e- T& Y# A8 q6 o) H  qgpgcheck=1
$ i) ?  O) j' tgpgkey=http://download.opensuse.org/repositories/network:/ha-clustering:/Stable/CentOS_CentOS-7/repodata/repomd.xml.key
) T( A8 _# e# o/ x; `, s( w$ zenabled=1

9 F  {8 {( i( o4 P3 m
; f0 t  V- `, @
4 Z& I6 T/ a# x/ z3 @( t( T
修改配置文件:
7 a+ a/ n' P- j: ?1 A$ L4 p  h( U( s. ~6 Z6 v

$ L) U9 b' D, p: w vim /etc/yum.repos.d/network\:ha-clustering\:Stable.repo
( {. w3 F( T. `" c* N8 ^2 |name=Stable High Availability/Clustering packages (CentOS_CentOS-7)! S% L! m3 P# J1 Z/ S
type=rpm-md& b6 f; }; k% W% _% x+ l
baseurl=http://download.opensuse.org/repositories/network:/ha-clustering:/Stable/CentOS_CentOS-7/; R" q0 i$ n7 g
gpgcheck=0$ ~* I$ H! _5 K) ~. ]
gpgkey=http://download.opensuse.org/repositories/network:/ha-clustering:/Stable/CentOS_CentOS-7/repodata/repomd.xml.key
# ]1 h3 @3 t3 D) Eenabled=1/ y" ~9 w5 L9 @2 y8 g+ `7 i) t

  l; T% [. q" X4 E" Q0 Y
5 X9 v% B' S/ g& n6 J1 D$ Oyum clean all+ g* V& L5 x1 C2 P, ?

+ s5 }2 P$ B5 M! Q) m1 k$ D; u8 b( Eyum install -y crmsh9 b) ]7 G7 ^0 R2 V$ d( p
" v% I, h2 v$ u- o
2 o4 }+ N6 n+ ^, m) `7 D* @
您需要登录后才可以回帖 登录 | 注册

本版积分规则

返回首页|Archiver|手机版|小黑屋|易陆发现技术论坛 ( 蜀ICP备2026014127号-1 )

GMT+8, 2026-6-12 03:33 , Processed in 0.067064 second(s), 23 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表