第8章 corosync.conf ファイルの変更、表示、エクスポート
corosync.conf
ファイルは、Pacemaker を構築するクラスターマネージャー (corosync
) が使用するクラスターパラメーターを提供します。一般的に、corosync.conf
は直接編集せずに、pcs
インターフェイスを使用します。
8.1. pcs
コマンドによる corosync.conf
ファイルの変更
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]]
以下のコマンド例は、knet_pmtud_interval
トランスポート値と、token
と join
の 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