【问题标题】:Pacemaker installation on Debian 8在 Debian 8 上安装 Pacemaker
【发布时间】:2016-04-05 03:15:55
【问题描述】:

我有 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 中设置故障转移的最佳方式应该是什么?

谁能帮我解决这个问题?

【问题讨论】:

    标签: debian failover pacemaker


    【解决方案1】:

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

    【讨论】:

      【解决方案2】:

      通过添加 jessie-backports 存储库,您可以安装该软件包。

      将此行添加到您的 /etc/apt/source.list:

      deb http://your-repo/debian/ jessie-backports main contrib non-free
      

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

      【讨论】:

        【解决方案3】:

        对我有用的是:

        将以下内容添加到 /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 回答的评论,但我没有足够的“声誉”)

        【讨论】: