crm command(cluster managment for pacemaker) not found in latest Centos 6

Solution 1:

Red Hat has switched to use pcs (Pacemaker Configuration System):

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 now has its own project: http://savannah.nongnu.org/projects/crmsh/

You can install via 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

Solution 2:

that repository also can not use anymore use this one... i just find a new one and it works now. until 2013.8.9

wget -P /etc/yum.repos.d/ http://download.opensuse.org/repositories/network:/ha-clustering/CentOS_CentOS-6/network:ha-clustering.repo  

cannot use anymore 2013.8.8 find another one

http://ftp.belnet.be/ftp.opensuse.org/repositories/network:/ha-clustering/
#rpm –ivh pssh-2.3.1-15.1.x86_64.rpm
#yum install -y python-dateutil  redhat-rpm-config
#rpm –ivh crmsh-1.2.5-55.8.x86_64.rpm