附录A: grb_rs


附录A: grb_rs

用法:grb_rs [flags]以标准进程方式启动远程服务grb_rs——help显示用法grb_rs command [flags]执行特定的命令grb_rs command——help显示命令的更多信息flags可以使用——flag=value或-f=value的缩写形式设置。布尔标志可以使用——flag或短形式-f来启用。配置辅助命令:aws显示机器信息当运行在Amazon Web Services azure显示机器信息当运行在微软azure密码列表支持TLS密码套件和政策哈希散列密码初始化克隆默认数据目录和配置集群当前目录令牌生成令牌属性显示帮助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