Skip to content

Instantly share code, notes, and snippets.

@xissy
Created August 16, 2017 06:45
Show Gist options
  • Save xissy/8e272394474238d4f397c94b8ec3bb06 to your computer and use it in GitHub Desktop.
Save xissy/8e272394474238d4f397c94b8ec3bb06 to your computer and use it in GitHub Desktop.
Bootstrap a cockroachdb cluster
./cockroach start --background --certs-dir=certs --advertise-host=10.140.1.1
./cockroach start --background --certs-dir=certs --join=10.140.1.1:26257 --advertise-host=10.140.1.2
./cockroach start --background --certs-dir=certs --join=10.140.1.1:26257 --advertise-host=10.140.1.3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment