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
/usr/bin/ipcrm
/usr/lib/drbd/crm-fence-pe er.sh
/usr/lib/drbd/crm-unfence- peer.sh
/usr/lib64/libcrmcluster.s o.2
/usr/lib64/libcrmcluster.s o.2.1.0
/usr/lib64/libcrmcommon.so .3
/usr/lib64/libcrmcommon.so .3.1.0
/usr/lib64/libcrmservice.s o.1
/usr/lib64/libcrmservice.s o.1.0.0
/usr/libexec/pacemaker/crm d
/usr/sbin/crm_attribute
/usr/sbin/crm_diff
/usr/sbin/crm_error
/usr/sbin/crm_failcount
/usr/sbin/crm_master
/usr/sbin/crm_mon
/usr/sbin/crm_node
/usr/sbin/crm_report
/usr/sbin/crm_resource
/usr/sbin/crm_shadow
/usr/sbin/crm_simulate
/usr/sbin/crm_standby
/usr/sbin/crm_ticket
/usr/sbin/crm_verify
/usr/sbin/crmadmin
/usr/share/man/man1/ipcrm. 1.gz
/usr/share/man/man1p/ipcrm .1p.gz
/usr/share/man/man7/crmd.7 .gz
/usr/share/man/man8/crm_at tribute.8. gz
/usr/share/man/man8/crm_di ff.8.gz
/usr/share/man/man8/crm_er ror.8.gz
/usr/share/man/man8/crm_fa ilcount.8. gz
/usr/share/man/man8/crm_ma ster.8.gz
/usr/share/man/man8/crm_mo n.8.gz
/usr/share/man/man8/crm_no de.8.gz
/usr/share/man/man8/crm_re port.8.gz
/usr/share/man/man8/crm_re source.8.g z
/usr/share/man/man8/crm_sh adow.8.gz
/usr/share/man/man8/crm_si mulate.8.g z
/usr/share/man/man8/crm_st andby.8.gz
/usr/share/man/man8/crm_ti cket.8.gz
/usr/share/man/man8/crm_ve rify.8.gz
/usr/share/man/man8/crmadm in.8.gz
/usr/share/pacemaker/crm-t ransitiona l.dtd
/usr/share/pacemaker/crm.d td
/usr/share/vim/vim72/ftplu gin/crm.vi m
/usr/share/vim/vim72/synta x/crm.vim
// what yum tells me
]# yum list pacemaker*
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
* base: centos.mirror.ca.planethos ter.net
* elrepo: mirror.symnds.com
* extras: mirror.csclub.uwaterloo.ca
* updates: centos.mirror.ca.planethos ter.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_6 4 1.1.8-7.el6 @base
Available Packages
pacemaker-cluster-libs.i68 6 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)
http://techdenovo.blogspot.ca/2013/03/clustering-with-drbd-pacemaker-centos.html
I have searched the internet (including this site) and can't fund anyone who has the same issue....
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
/usr/bin/ipcrm
/usr/lib/drbd/crm-fence-pe
/usr/lib/drbd/crm-unfence-
/usr/lib64/libcrmcluster.s
/usr/lib64/libcrmcluster.s
/usr/lib64/libcrmcommon.so
/usr/lib64/libcrmcommon.so
/usr/lib64/libcrmservice.s
/usr/lib64/libcrmservice.s
/usr/libexec/pacemaker/crm
/usr/sbin/crm_attribute
/usr/sbin/crm_diff
/usr/sbin/crm_error
/usr/sbin/crm_failcount
/usr/sbin/crm_master
/usr/sbin/crm_mon
/usr/sbin/crm_node
/usr/sbin/crm_report
/usr/sbin/crm_resource
/usr/sbin/crm_shadow
/usr/sbin/crm_simulate
/usr/sbin/crm_standby
/usr/sbin/crm_ticket
/usr/sbin/crm_verify
/usr/sbin/crmadmin
/usr/share/man/man1/ipcrm.
/usr/share/man/man1p/ipcrm
/usr/share/man/man7/crmd.7
/usr/share/man/man8/crm_at
/usr/share/man/man8/crm_di
/usr/share/man/man8/crm_er
/usr/share/man/man8/crm_fa
/usr/share/man/man8/crm_ma
/usr/share/man/man8/crm_mo
/usr/share/man/man8/crm_no
/usr/share/man/man8/crm_re
/usr/share/man/man8/crm_re
/usr/share/man/man8/crm_sh
/usr/share/man/man8/crm_si
/usr/share/man/man8/crm_st
/usr/share/man/man8/crm_ti
/usr/share/man/man8/crm_ve
/usr/share/man/man8/crmadm
/usr/share/pacemaker/crm-t
/usr/share/pacemaker/crm.d
/usr/share/vim/vim72/ftplu
/usr/share/vim/vim72/synta
// what yum tells me
]# yum list pacemaker*
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
* base: centos.mirror.ca.planethos
* elrepo: mirror.symnds.com
* extras: mirror.csclub.uwaterloo.ca
* updates: centos.mirror.ca.planethos
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
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_6
Available Packages
pacemaker-cluster-libs.i68
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)
http://techdenovo.blogspot.ca/2013/03/clustering-with-drbd-pacemaker-centos.html
I have searched the internet (including this site) and can't fund anyone who has the same issue....
ASKER
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
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
You nailed it. Thanks!
Open in new window
and start pacemaker?Open in new window