6

I have done such setup before, was no any issues. Now i can't do "crm configure" becuase no crm command availible in current package.

Am I missing something? Maybe it replaced by other way/command?

[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
arheops
  • 708
  • 1
  • 5
  • 13
  • You may take a look at this: [CRM - PCS equivalent commands](https://github.com/ClusterLabs/pacemaker/blob/master/doc/pcs-crmsh-quick-ref.md) – huynhbaoan May 15 '17 at 10:57

2 Answers2

8

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

quanta
  • 50,327
  • 19
  • 152
  • 213
  • 1
    thank you for you answer, but can you say HOW it expected to be configured "RHEL way" now? – arheops Mar 13 '13 at 06:48
  • BTW, i can confirm your answer works. But still need know what RHEL team think about "how to configure cluster" – arheops Mar 13 '13 at 07:06
  • downvoter: could you please leave a comment? @arheops: updated my answer. – quanta Mar 13 '13 at 07:11
  • i can't find pcs package in Centos, and no such command availible.. – arheops Mar 13 '13 at 07:15
  • `cat /etc/issue`? `yum repolist all`? – quanta Mar 13 '13 at 07:16
  • np. that was other centos windows. yes, i found that command. Will try find doc about how to use it(pacemaker doc for rhel6 still recomend use crm ) – arheops Mar 13 '13 at 07:21
  • 1
    updated link to repository file: http://download.opensuse.org/repositories/network:/ha-clustering:/Stable/CentOS_CentOS-6/network:ha-clustering:Stable.repo – Markus07 Jul 30 '14 at 07:57
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 
dawud
  • 14,918
  • 3
  • 41
  • 61
gray13
  • 111
  • 1
  • 1