クラスタメンバーのCorosyncエラー「未定義インターフェイス」

クラスタメンバーのCorosyncエラー「未定義インターフェイス」

クラスタメンバーでcorosyncを起動するとエラーが発生します。

May 16 00:53:32 neftis corosync[19741]:  [MAIN  ] Corosync Cluster Engine ('2.3.4'): started and ready to provide service.
May 16 00:53:32 neftis corosync[19741]:  [MAIN  ] Corosync built-in features: dbus systemd xmlconf snmp pie relro bindnow
May 16 00:53:32 neftis corosync[19741]:  [MAIN  ] parse error in config: No interfaces defined
May 16 00:53:32 neftis corosync[19741]:  [MAIN  ] Corosync Cluster Engine exiting with status 8 at main.c:1278.
May 16 00:53:32 neftis corosync: Starting Corosync Cluster Engine (corosync): [FALL�]
May 16 00:53:32 neftis systemd: corosync.service: control process exited, code=exited status=1
May 16 00:53:32 neftis systemd: Failed to start Corosync Cluster Engine.
May 16 00:53:32 neftis systemd: Unit corosync.service entered failed state.
May 16 00:53:32 neftis systemd: corosync.service failed.
May 16 00:54:06 neftis systemd: Cannot add dependency job for unit firewalld.service, ignoring: Unit firewalld.service is masked.
May 16 00:54:06 neftis systemd: Starting Corosync Cluster Engine...
May 16 00:54:06 neftis corosync[19773]:  [MAIN  ] Corosync Cluster Engine ('2.3.4'): started and ready to provide service.
May 16 00:54:06 neftis corosync[19773]:  [MAIN  ] Corosync built-in features: dbus systemd xmlconf snmp pie relro bindnow
May 16 00:54:06 neftis corosync[19773]:  [MAIN  ] parse error in config: No interfaces defined
May 16 00:54:06 neftis corosync[19773]:  [MAIN  ] Corosync Cluster Engine exiting with status 8 at main.c:1278.
May 16 00:54:06 neftis corosync: Starting Corosync Cluster Engine (corosync): [FALL�]
May 16 00:54:06 neftis systemd: corosync.service: control process exited, code=exited status=1
May 16 00:54:06 neftis systemd: Failed to start Corosync Cluster Engine.
May 16 00:54:06 neftis systemd: Unit corosync.service entered failed state.

これは3つのノードの私の設定ですが、最近追加したnetfisでのみ失敗します。

totem {
    version: 2
    secauth: off
    cluster_name: cluster-osiris
    transport: udpu
}

nodelist {
    node {
        ring0_addr: isis.localdoamin
        nodeid: 1
    }

    node {
        ring0_addr: horus.localdoamin
        nodeid: 2
    }

    node {
        ring0_addr: netfis.localdoamin
        nodeid: 3
    }
}

quorum {
    provider: corosync_votequorum
}

logging {
    to_syslog: yes
}

私はCentOS 7.1 64ビットでPacemaker、corosync、PCクラスタを実行しています。

インターネットで検索しましたが、何が起こっているのかわかりません。

助けてください?

ベストアンサー1

Corosync 構成にリストされたホスト名が正しく解決されますか?これを最初に確認したいと思います。

# host isis.localdoamin

「ドメイン」の綴りが間違っているようだから(または私が知らない言語になっているようだから)コマンドが失敗するようですが? ;-)

または、短いホスト名(「.localdomain」を除く)またはCorosyncがバインドするインターフェイスのIPアドレスを使用できます。

おすすめ記事