3.6. 使用 pcs 命令修改 corosync.conf 文件
在 Red Hat Enterprise Linux 8.4 及更高版本中,您可以使用 pcs
命令修改 corosync.conf
文件中的参数。
以下命令修改 corosync.conf
文件中的参数:
pcs cluster config update [transport pass:quotes[transport options]] [compression pass:quotes[compression options]] [crypto pass:quotes[crypto options]] [totem pass:quotes[totem options]] [--corosync_conf pass:quotes[path]]
pcs cluster config update [transport pass:quotes[transport options]] [compression pass:quotes[compression options]] [crypto pass:quotes[crypto options]] [totem pass:quotes[totem options]] [--corosync_conf pass:quotes[path]]
以下示例命令 udates knet_pmtud_interval 传输
值以及 令牌
和 加入
totem 值。
pcs cluster config update transport knet_pmtud_interval=35 totem token=10000 join=100
# pcs cluster config update transport knet_pmtud_interval=35 totem token=10000 join=100