附录A: grb_rs


附录A: grb_rs

用法:grb_rs [flags]作为标准进程启动远程服务grb_rs——help显示grb_rs命令[flags]执行特定命令grb_rs命令——help显示命令的更多信息可以使用——flag=value或者简写形式-f=value(如果定义的话)来设置。可以使用——flag或缩写形式-f(如果定义的话)启用布尔标志。配置辅助命令:aws在Amazon Web Services上显示机器信息azure在Microsoft azure上显示机器信息hash哈希密码init将默认数据目录和配置复制到当前目录令牌生成集群令牌属性显示配置属性帮助服务命令:install安装服务restart启动或重启服务(必要时安装服务)Start启动服务(必要时安装服务)stop停止服务uninstall卸载服务无命令。Grb_rs将作为一个标准流程启动远程服务,以下标志可用于快速配置。可以使用'grb_rs properties'命令显示属性的完整列表,并且可以在grb_rs.cnf配置文件中设置属性。日志标记:——console-ts时间戳添加到控制台日志消息日志文件字符串日志一个旋转的日志文件——logfile-max-age int限制旋转日志文件——logfile-max-size int天数限制大小,每个文件的大小(以Mb为单位)no-console禁用日志控制台——syslog日志syslog或Windows事件日志- v,——verbose启用详细日志记录配置标志:-c,——config string配置文件的位置(默认:'grb_rs.cnf') '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 --manager-insecure Disable certificate verification if TLS is used to communicate with the Cluster Manager General Flags: --version Display version information --help Display usage