stardog-admin cluster generate Manual Page
NAME
stardog-admin cluster generate —Creates a set of files with the minimal configuration for deploying a Stardog cluster. Make sure that the hostnames or IP addresses, and ports are accessible between the nodes involved in the cluster. Keep in mind that there is a single 'zookeeper.properties' since they are same contents for all nodes, but there is a 'stardog.properties' file for each node.
SYNOPSIS
stardog-admin cluster generate [ {-d | --output-dir} <path> ] [ --zk-data-dir <path> ] [ --zk-election-port <leader election port> ] [ --zk-leader-port <leader port> ] [ --zk-port <client port> ] [--] <nodes>...
OPTIONS
-d <path>, --output-dir <path>
The directory where the config files are going to be generated. If nothing is specified they will be generated to the current directory.
ZooKeeper's data directory
--zk-election-port <leader election port>
The port where ZooKeeper nodes are going to connect for electing a ZooKeeper leader node.
--zk-leader-port <leader port>
The port where ZooKeeper nodes are going to connect to the ZooKeeper leader node.
The port where ZooKeeper is going to serving clients' requests.
This option can be used to separate command-line options from the list of argument, (useful when arguments might be mistaken for command-line options
The list of hostnames (or IP addresses) of the nodes in the cluster.
EXAMPLES
Generating config files for three nodes:
$ stardog-admin cluster generate --output-dir /home/stardog 10.0.0.1 10.0.0.2 10.0.0.3