我正在尝试在centos 5.11测试服务器上安装pacemaker。我正在为postgres设置一个2节点集群。由于程序包资源代理的依赖关系,Pacemaker安装失败。我在集群实验室的centos repo中找不到rpm。我找到了源代码rpm,并成功编译和安装。起搏器仍然找不到资源代理。
--> Finished Dependency Resolution
pacemaker-1.1.8-2.el5.i686 from clusterlabs-next has depsolving problems
--> Missing Dependency: resource-agents is needed by package pacemaker-1.1.8-2.el5.i686 (clusterlabs-next)
pacemaker-1.1.8-2.el5.x86_64 from clusterlabs-next has depsolving problems
--> Missing Dependency: resource-agents is needed by package pacemaker-1.1.8-2.el5.x86_64 (clusterlabs-next)
Error: Missing Dependency: resource-agents is needed by package pacemaker-1.1.8-2.el5.x86_64 (clusterlabs-next)
Error: Missing Dependency: resource-agents is needed by package pacemaker-1.1.8-2.el5.i686 (clusterlabs-next)
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest我不确定资源代理应该安装在哪里。我将源代码复制到一个临时目录中,并在那里解压缩和编译。是否可能资源代理没有安装在正确的位置?
发布于 2015-09-25 17:52:50
wget http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
rpm -Uvh epel-release-5*.rpm
wget -O /etc/yum.repos.d/pacemaker.repo http://clusterlabs.org/rpm/epel-5/clusterlabs.repo然后最后,
yum install -y pacemaker.$(uname -i) corosync.$(uname -i)https://stackoverflow.com/questions/31457139
复制相似问题