以下の内容はhttps://yohei-a.hatenablog.jp/entry/20200925/1600994852より取得しました。


NLB->Pgpool-II で Auto Scaling してみる

  • 負荷をかける
# ap-northeast-1a
$ nohup pgbench -Sn -c 40 -j 40 -t 1000000 -U awsuser -h pgpool-nlb-******.elb.ap-northeast-1.amazonaws.com -d writer -p 9999 > /dev/null 2>&1 &
# ap-northeast-1c
$ nohup pgbench -Sn -c 40 -j 40 -t 1000000 -U awsuser -h pgpool-nlb-******.elb.ap-northeast-1.amazonaws.com -d writer -p 9999 > /dev/null 2>&1 &
  • Pgpool-II のロードバランス状況を確認(各 Pgpool-II ホストでそれぞれ実行)
$ psql "host=localhost dbname=mydb port=9999 user=awsuser"
mydb=> show pool_nodes;



以上の内容はhttps://yohei-a.hatenablog.jp/entry/20200925/1600994852より取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14