Cloud Director における "WAL replay is paused on node with WAL replay pending; this node cannot be manually promoted until WAL replay is resumed" エラー
search cancel

Cloud Director における "WAL replay is paused on node with WAL replay pending; this node cannot be manually promoted until WAL replay is resumed" エラー

book

Article ID: 437609

calendar_today

Updated On:

Products

VMware Cloud Director

Issue/Introduction

免責事項:これは英文記事「"WAL replay is paused on node with WAL replay pending; this node cannot be manually promoted until WAL replay is resumed" error in Cloud Director」の日本語訳です。記事はベストエフォートで翻訳を進めているため、ローカライズ化コンテンツは最新情報ではない可能性があります。最新情報は英語版の記事で参照してください。


VMware Cloud Director (VCD) 環境で repmgr cluster show コマンドを実行すると以下エラーが返される。
WAL replay is paused on node with WAL replay pending; this node cannot be manually promoted until WAL replay is resumed.

スタンバイモード参加時の障害を示す出力が postgres.log へ記録される。

####-##-## ##:##:##.### UTC [4915] FATAL:  recovery aborted because of insufficient parameter settings
####-##-## ##:##:##.### UTC [4915] DETAIL:  max_worker_processes = 8 is a lower setting than on the primary server, where its value was 24.
####-##-## ##:##:##.### UTC [4915] HINT:  You can restart the server after making the necessary configuration changes.

Cause

VCD ノード間におけるハードウェアリソース(CPU/メモリ)の不一致により、スタンバイノードの max_worker_processes パラメータがプライマリサーバーの設定値より低くなり WAL リカバリが妨げられます。

Resolution

  1. 影響を受けた VMware Cloud Director (VCD) セルをシャットダウン
  2. クラスタ内の他セルと一致するよう仮想マシンの CPU とメモリリソースを増加
  3. VCD セルをパワーオンして問題が解消されたことを確認
  4. 問題が継続している場合はクラスタを順次再起動
  •