Note: use the same num
for the following steps. e.g. if num
is 2, it will start 3 GCP VMs:
geode-vm-0
, geode-vm-1
and geode-vm-2
. geode-vm-0
is for Apache Geode locator and client.
geode-vm-1
and geode-vm-2
are for Apache Geode servers, one server per VM.
./start-gcp-vms.sh <num>
./gcp-build-geode.sh <num>
./gcp-start-locator.sh
./gcp-start-servers.sh <num>
./gcp-create-region.sh
./gcp-populate-region.sh
./gcp-shutdown-servers.sh
You can time this step:
./gcp-start-servers.sh <num>
./delete-gcp-vms.sh <num>