我以前做过这样的设置,没有任何问题.现在我不能做“crm configure”因为当前包中没有crm命令.
我错过了什么吗?
也许它被其他方式/命令所取代?
[root@node1 src]# find / -name crm*|grep bin /usr/sbin/crm_mon /usr/sbin/crmadmin /usr/sbin/crm_error /usr/sbin/crm_shadow /usr/sbin/crm_ticket /usr/sbin/crm_failcount /usr/sbin/crm_resource /usr/sbin/crm_master /usr/sbin/crm_diff /usr/sbin/crm_attribute /usr/sbin/crm_node /usr/sbin/crm_simulate /usr/sbin/crm_standby /usr/sbin/crm_verify /usr/sbin/crm_report
解决方法
Red Hat已切换到使用
pcs
(Pacemaker配置系统):
Name : pcs Arch : noarch Version : 0.9.26 Release : 10.el6 Size : 248 k Repo : installed From repo : base Summary : Pacemaker Configuration System URL : http://github.com/feist/pcs License : GPLv2 Description : pcs is a corosync and pacemaker configuration tool. It permits users to : easily view,modify and created pacemaker based clusters.
crm shell现在有自己的项目:http://savannah.nongnu.org/projects/crmsh/
您可以通过OpenSUSE repo安装:
wget -P /etc/yum.repos.d/ http://download.opensuse.org/repositories/network:ha-clustering:Stable/RedHat_RHEL-6/network:ha-clustering:Stable.repo
yum install crmsh.x86_64
http://clusterlabs.org/doc/en-US/Pacemaker/1.1/html/Clusters_from_Scratch/ch03.html