Add Bash & Gfsh shell scripts to configure and bootstrap an Apache Geode cluster for the client/server topology arrangement and step #3 in the 'Getting Started' Guide.

Resolves gh-54.
This commit is contained in:
John Blum
2019-09-16 19:19:31 -07:00
parent 730110dc55
commit ec9574288f
4 changed files with 16 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
# Gfsh shell script to start an Apache Geode cluster with 1 Locator and 2 Servers.
start locator --name=LocatorOne --log-level=config
start server --name=ServerOne --log-level=config
start server --name=ServerTwo --log-level=config --server-port=50505

View File

@@ -0,0 +1,3 @@
#!/bin/bash
gfsh -e "run --file=@samples-dir@/intro/getting-started/src/main/resources/geode/bin/start-cluster.gfsh"

View File

@@ -0,0 +1,5 @@
# Gfsh shell script to stop the cluster.
stop server --name=ServerTwo
stop server --name=ServerOne
stop locator --name=LocatorOne

View File

@@ -0,0 +1,3 @@
#!/bin/bash
gfsh -e "run --file=@samples-dir@/intro/getting-started/src/main/resources/geode/bin/stop-cluster.gfsh"