Archive for the ‘CockroachDB’ Category

Notes from the field: CockroachDB Cluster Setup

Download the CockroachDB Binary Perform on each node. wget tar xvzf cockroach-latest.linux-amd64.tgz mv cockroach-latest.linux-amd64/cockroach /usr/bin/ chmod +x /usr/bin/cockroach Create cockroach user and directories Perform on each node. groupadd cockroach useradd -r cockroach -g cockroach su – cockroach cd /home/cockroach mkdir -p certs my-safe-directory cockroach_db Check ntp status Check NTP is running and configured correctly. […]

Getting started with CockRoachDB

I’ve been quite interested in CockRoachDB as it claims to be “almost impossible to take down”. Here’s a quick example for setting up a CockRoachDB cluster. This was done on a mac but should work with no, or minimal, modifications on *nix. First, download and set the path PATH wget tar xvzf cockroach-latest.darwin-10.9-amd64.tgz PATH=”$PATH:/Users/rhys1/cockroach-latest.darwin-10.9-amd64″; […]