mon

command
v0.0.0-...-81f3bb6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 3, 2018 License: Apache-2.0 Imports: 34 Imported by: 0

README

Usage

 

Running a local cluster
cmd -idx 1   -peer 127.0.0.1:12315,127.0.0.1:22315,127.0.0.1:32315   -port 12316   -workerport 12315  -w ./wal1
cmd -idx 2   -peer 127.0.0.1:12315,127.0.0.1:22315,127.0.0.1:32315   -port 22316   -workerport 22315  -w ./wal2
cmd -idx 3   -peer 127.0.0.1:12315,127.0.0.1:22315,127.0.0.1:32315   -port 32316   -workerport 32315  -w ./wal3
Put and get value
curl -L http://127.0.0.1:12380/my-key -XPUT -d bar
curl -L http://127.0.0.1:32380/my-key
add a new node to cluster
cmd -idx 4   -peer 127.0.0.1:12315,127.0.0.1:22315,127.0.0.1:32315,127.0.0.1:42315   -port 42316   -workerport 42315  -w ./wal4 -join

Documentation

Overview

* Copyright (C) 2017 Dgraph Labs, Inc. and Contributors * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL