trisulctl_hub commands

The trisulctl_hub allow you to co-ordinate , manage, and run commands across all the nodes in the domain

General Commands

Command Description Example
help Displays help messgaes help
quit Exit trisulctl tool quit
set state set config of trisulctl tool set state timeout=1
show state show config of trisulctl tooll show state

Domain Commands

Command Description Example
connect domain Establish connection to domain_name connect domain domain0
start domain start the domain processes start domain
stop domain stop the domain processes stop domain
list nodes list all the nodes active in domain list nodes
node config node config hub0 show node config, allowed probes etc
hello get a hello message from all nodes hello probe0
disconnect domain disconnect from the domain disconnect doamin
log Show trisul hub log files log defaul@hub0 log=fs

Context Commands

Command Description Example
info context show context status, leave context blank to show all contexts info context default
start context start specified context, you can also use context@node format start context default
start context default@probe0
stop context stop context or connected context stop context default
stop context default@probe0
create context Create a new context with name context create context context1
create context context1@probe0
delete context Delete the context delete context context1
delete context context1@probe0
reset context Just cleanout the data (keep the configuration) for specified context reset context default
reset context default @probe0
show config show context configuration, socket information show config default
set config set context config parameter set config default runmode=online_rxring
set config default@probe0 profile=profile_west
relocate context move context storage to different disk volume relocate context domain0 probe0 default

hub commands

Command Description Example
create domain create a new domain priv+pubkey + network
create hub create a new hub
install domain install domain (also need private key *.cert_secret) install domain hub-certificate-file
install hub install a hub (also need private key *.cert_secret) install hub hub-certificate-file
install probe authorize a new probe – no need of private key (stays with probe) install probe