Link to home
Start Free TrialLog in
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:
 * elrepo:
 * extras:
 * updates:
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....
Avatar of Mazdajai
Flag of United States of America image

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

Avatar of jamiebeck


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

Avatar of multimac
Flag of Germany image

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
You nailed it. Thanks!