在Debian 8上安装Pacemaker

3
我有一个Debian 8.2系统,我想在上面安装Pacemaker。但是当我尝试使用以下命令时:
apt-get install pacemaker

它提供了

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package pacemaker is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'pacemaker' has no installation candidate

我搜索了很多次但没有找到任何有用的东西。我也尝试按照https://wiki.debian.org/Debian-HA/ClustersFromScratch中提到的步骤,但没有成功。
我也尝试从源代码构建,但出现了问题。
configure: error: Version of libqb is too old: v0.13 or greater requried

pkg-config的输出如下:

我该如何解决这个错误?

在Debian jessie上设置故障转移应采取最佳方法是什么?

有人能帮助我吗?

3个回答

0

Pacemaker 只适用于 Debian Wheezy 和 Sid,但您可以使用 rgmanager。


0
我的解决方法是:
将以下内容添加到 /etc/apt/sources.list 中。
deb http://ftp.uk.debian.org/debian/ jessie-backports main contrib non-free

(如果适用)将存储库更改为更接近的位置

然后运行:

apt-get update
apt-get install -t jessie-backports pacemaker

这导致起搏器为我安装,尽管我实际上还没有设置/测试它。

(这可能应该是对Rei答案的评论,但我没有足够的“声望”)


-1
通过添加 jessie-backports 存储库,您可以安装该软件包。
请将以下行添加到您的 /etc/apt/source.list 文件中:
deb http://your-repo/debian/ jessie-backports main contrib non-free

更多信息请参见: https://packages.debian.org/jessie-backports/pacemaker


网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接