@@ -194,6 +194,62 @@ docker run -it --name=adb --rm -p 8528:8528 \
194194 --starter.mode=single
195195```
196196
197+ Starting a resilient single server pair
198+ ---------------------------------------
199+
200+ If you want to start a resilient single database server, use ` --starter.mode=resilientsingle ` .
201+ In this mode a 3 machine agency is started and 2 single servers that perform
202+ asynchronous replication an failover if needed.
203+
204+ ```
205+ arangodb --starter.mode=resilientsingle --starter.join A,B,C
206+ ```
207+
208+ Run this on machine A, B & C.
209+
210+ The starter will decide on which 2 machines to run a single server instance.
211+ To override this decision (only valid while bootstrapping), add a
212+ ` --cluster.start-single=false ` to the machine where the single server
213+ instance should NOT be scheduled.
214+
215+ Starting a resilient single server pair in Docker
216+ -------------------------------------------------
217+
218+ If you want to start a resilient single database server running in docker containers,
219+ use the normal docker arguments, combined with ` --starter.mode=resilientsingle ` .
220+
221+ ```
222+ export IP=<IP of docker host>
223+ docker volume create arangodb
224+ docker run -it --name=adb --rm -p 8528:8528 \
225+ -v arangodb:/data \
226+ -v /var/run/docker.sock:/var/run/docker.sock \
227+ arangodb/arangodb-starter \
228+ --starter.address=$IP \
229+ --starter.mode=resilientsingle \
230+ --starter.join=A,B,C
231+ ```
232+
233+ Run this on machine A, B & C.
234+
235+ The starter will decide on which 2 machines to run a single server instance.
236+ To override this decision (only valid while bootstrapping), add a
237+ ` --cluster.start-single=false ` to the machine where the single server
238+ instance should NOT be scheduled.
239+
240+ Starting a local test resilient single sever pair
241+ -------------------------------------------------
242+
243+ If you want to start a local resilient server pair quickly, use the ` --starter.local ` flag.
244+ It will start all servers within the context of a single starter process.
245+
246+ ```
247+ arangodb --starter.local --starter.mode=resilientsingle
248+ ```
249+
250+ Note: When you restart the started, it remembers the original ` --starter.local ` flag.
251+
252+
197253Starting & stopping in detached mode
198254------------------------------------
199255
0 commit comments