Appendix A: grb_rs#
Usage:
grb_rs [flags] Start the remote services as a standard process
grb_rs --help Display usage
grb_rs command [flags] Execute a specific command
grb_rs command --help Display more information about a command
Flags can be set using --flag=value or the short form -f=value if defined.
A boolean flag can be enabled using --flag or the short form -f if defined.
Configuration Helper Commands:
aws Display machine information when running on Amazon Web Services
azure Display machine information when running on Microsoft Azure
ciphers List the supported TLS cipher suites and policies
hash Hash a password
init Clone the default data directory and configuration to current
directory
token Generate a cluster token
properties Display help about configuration properties
Service Commands:
install Install the service
restart Start or restart the service (install the service if necessary)
start Start the service (install the service if necessary)
stop Stop the service
uninstall Uninstall the service
With no command, grb_rs will start the remote services as a standard process
and the following flags are available for quick configuration. The full list
of properties can be displayed with the 'grb_rs properties' command and the
properties can be set in the grb_rs.cnf configuration file.
Logging Flags:
--console-ts Add timestamps to console log messages
--logfile string Log to a rotating log file
--logfile-max-age int Limit the rotating log file to a number of days
--logfile-max-size int Limit the size of each file to a size in Mb
--no-console Disable log to console
--syslog Log to syslog or Windows event log
-v, --verbose Enable verbose logging
Configuration Flags:
-c, --config string Location of the configuration file
(default: 'grb_rs.cnf')
--data string Location of the data root directory
(default: 'data')
--group Tags the node with a group name
--hostname Overrides the public name on this name
--idle-shutdown int Shutdown if the server is idle for more than the
specified time limit (minutes)
--join URL Join a cluster using the specified cluster
representative node address
--manager URL Register the node with a Cluster Manager
--port int Start the node on the given port
--service Indicates if it is started by a service manager
--worker Declare this node as a distributed worker
Security Flags:
--tls Use TLS encryption between nodes
--tlscert string Path to TLS certificate file
--tlskey string Path to TLS key file
--tls-insecure Use TLS encryption between nodes but disable
verification of certificates
--tls-ciphers A comma-separated list of supported cipher policies or suites
used for TLS secure communication
--manager-insecure Disable certificate verification if TLS is used
to communicate with the Cluster Manager
General Flags:
--version Display version information
--help Display usage