AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / server / 问题 / 640560
Accepted
Lisek
Lisek
Asked: 2014-10-30 07:16:44 +0800 CST2014-10-30 07:16:44 +0800 CST 2014-10-30 07:16:44 +0800 CST

Corosync 2.3.3:无法启用密码

  • 772

我正在尝试设置一个由 2 台机器组成的新起搏器/corosync 堆栈。

我之前在 corosync1 上使用过它,但是在 Ubuntu 14.04 上我已经获得了 corosync 2.3.3 OK - 我说过,并尝试使用这个版本的软件。

当我用一个环准备基本配置时 - 一切正常。节点是可见的,一切都很好。

我想要做的是启用节点之间的加密。文档不是很有帮助;/或者我太愚蠢了;)

. 如何在 corosync 上启用密码?

在手册中我们可以阅读:

          crypto_hash
          This specifies which HMAC authentication should be used to authenticate all messages. Valid values are none (no authentication), md5, sha1, sha256, sha384 and sha512.

          The default is sha1.

          crypto_cipher
          This specifies which cipher should be used to encrypt all messages.  Valid values are none (no encryption), aes256, aes192, aes128 and 3des.  Enabling crypto_cipher, requires also enabling of crypto_hash.

          The default is aes256.

高超!所以让我们尝试使用它:所以在配置中,我改变了:

    crypto_cipher: none
    crypto_hash: none

至

    crypto_cipher: sha1
    crypto_hash: aes256

我有什么?

Restarting corosync daemon corosync
error   [MAIN  ] Invalid cipher type
error   [MAIN  ] Corosync Cluster Engine exiting with status 8 at main.c:1158.

什么?但有人说,这是默认设置。我可以成功使用选项 secauth,但它已被弃用。

corosync 无法识别所有可用于 crypto_cipher 的设置。怎么回事?

high-availability
  • 1 1 个回答
  • 932 Views

1 个回答

  • Voted
  1. Best Answer
    Federico Sierra
    2014-10-30T17:51:04+08:002014-10-30T17:51:04+08:00

    您已经交换了选项的值,您必须使用:

    crypto_cipher: aes256
    crypto_hash: sha1
    

    代替

    crypto_cipher: sha1
    crypto_hash: aes256
    
    • 2

相关问题

  • LVS 集群帮助

  • 适用于 Linux 的良好故障转移/高可用性解决方案?[关闭]

  • 由于 MySQL DRBD Heartbeat 故障转移脚本导致的数据丢失

  • SQL Server - 集群与镜像的高可用性?

  • SQL Server 群集选项

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    新安装后 postgres 的默认超级用户用户名/密码是什么?

    • 5 个回答
  • Marko Smith

    SFTP 使用什么端口?

    • 6 个回答
  • Marko Smith

    命令行列出 Windows Active Directory 组中的用户?

    • 9 个回答
  • Marko Smith

    什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同?

    • 3 个回答
  • Marko Smith

    如何确定bash变量是否为空?

    • 15 个回答
  • Martin Hope
    Tom Feiner 如何按大小对 du -h 输出进行排序 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    Noah Goodrich 什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent 如何确定bash变量是否为空? 2009-05-13 09:54:48 +0800 CST
  • Martin Hope
    cletus 您如何找到在 Windows 中打开文件的进程? 2009-05-01 16:47:16 +0800 CST

热门标签

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve