Avatar of jamiebeck
 asked on

pacemaker resource management tool

I have been trying to get a pacemaker/drbd/corosync system (2 actually) setup. I have found a number of different tutorials but I keep getting stuck at the same step. I think that I am missing something very simple but can't figure it out.

I am running a clean CentOS 6.4 (fresh install) and when I successfully install pacemaker with yum I expect that I am suppose to have an executable called "crm" on my system but I get "command not found" every time. I have tried about 4 different tutorials but end up stuck at the same spot where they say to start setting configs by using the "crm configure" command.

All the packages seem to install properly with no errors at all.

I have run "locate crm" to see if it is just in an odd location but it is not...
# locate crm

// what yum tells me
]# yum list pacemaker*
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
 * base: centos.mirror.ca.planethoster.net
 * elrepo: mirror.symnds.com
 * extras: mirror.csclub.uwaterloo.ca
 * updates: centos.mirror.ca.planethoster.net
Installed Packages
pacemaker.x86_64                                1.1.8-7.el6                    @base
pacemaker-cli.x86_64                            1.1.8-7.el6                    @base
pacemaker-cluster-libs.x86_64                   1.1.8-7.el6                    @base
pacemaker-cts.x86_64                            1.1.8-7.el6                    @base
pacemaker-doc.x86_64                            1.1.8-7.el6                    @base
pacemaker-libs.x86_64                           1.1.8-7.el6                    @base
pacemaker-libs-devel.x86_64                     1.1.8-7.el6                    @base
Available Packages
pacemaker-cluster-libs.i686                     1.1.8-7.el6                    base
pacemaker-libs.i686                             1.1.8-7.el6                    base
pacemaker-libs-devel.i686                       1.1.8-7.el6                    base

// when I try to run the management tool
# crm configure
-bash: crm: command not found

// one of the tutorials I have tried (written recently)

I have searched the internet (including this site) and can't fund anyone who has the same issue....
LinuxServer Software

Avatar of undefined
Last Comment

8/22/2022 - Mon

Have you load pacemaker plugin
cat /etc/corosync/service.d/pcmk
service {
name: pacemaker
ver: 1

Open in new window

and start pacemaker?
/etc/init.d/pacemaker start

Open in new window


Yes the pacemaker plugin is running.

# cat /etc/corosync/service.d/pcmk
service {
        # Load the Pacemaker Cluster Resource Manager
        name: pacemaker
        ver: 1

#/etc/init.d/pacemaker start
Starting Pacemaker Cluster Manager:                        [  OK  ]

# crm configure
-bash: crm: command not found

Open in new window


Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question

You nailed it. Thanks!
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck