- 負荷をかける
# 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;