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:
@@ -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
|
||||
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
gfsh -e "run --file=@samples-dir@/intro/getting-started/src/main/resources/geode/bin/start-cluster.gfsh"
|
||||
@@ -0,0 +1,5 @@
|
||||
# Gfsh shell script to stop the cluster.
|
||||
|
||||
stop server --name=ServerTwo
|
||||
stop server --name=ServerOne
|
||||
stop locator --name=LocatorOne
|
||||
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
gfsh -e "run --file=@samples-dir@/intro/getting-started/src/main/resources/geode/bin/stop-cluster.gfsh"
|
||||
Reference in New Issue
Block a user