首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >群集实验室pacemaker不会安装在centos5上

群集实验室pacemaker不会安装在centos5上
EN

Stack Overflow用户
提问于 2015-07-16 22:30:13
回答 1查看 487关注 0票数 0

我正在尝试在centos 5.11测试服务器上安装pacemaker。我正在为postgres设置一个2节点集群。由于程序包资源代理的依赖关系,Pacemaker安装失败。我在集群实验室的centos repo中找不到rpm。我找到了源代码rpm,并成功编译和安装。起搏器仍然找不到资源代理。

代码语言:javascript
复制
--> 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

我不确定资源代理应该安装在哪里。我将源代码复制到一个临时目录中,并在那里解压缩和编译。是否可能资源代理没有安装在正确的位置?

EN

回答 1

Stack Overflow用户

发布于 2015-09-25 17:52:50

代码语言:javascript
复制
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

然后最后,

代码语言:javascript
复制
yum install -y pacemaker.$(uname -i) corosync.$(uname -i)
票数 -1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/31457139

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档