[root@hdp2~]#consul
usage:consul[--version][--help]<command>[<args>]
Availablecommandsare:
agentRunsaConsulagent
configtestValidateconfigfile
eventFireanewevent
execExecutesacommandonConsulnodes
force-leaveForcesamemberoftheclustertoenterthe"
left"state
infoProvidesdebugginginformationforoperators
joinTellConsulagenttojoincluster
keygenGeneratesanewencryptionkey
keyringManagesgossiplayerencryptionkeys
leaveGracefullyleavestheConsulclusterandshut
sdown
lockExecuteacommandholdingalock
maintControlsnodeorservicemaintenancemode
membersListsthemembersofaConsulcluster
monitorStreamlogsfromaConsulagent
reloadTriggerstheagenttoreloadconfigurationfi
les
rttEstimatesnetworkroundtriptimebetweennod
es
versionPrintstheConsulversion
watchWatchforchangesinConsul
如果你得到一个 consulnotbefound的错误,你的 PATH可能没有正确设置.请
返回检查你的 consul的安装路径是否包含在 PATH中.