Managing The Validator
This page describes the regular tasks that you may need to do, as a node runner.
Last updated
This page describes the regular tasks that you may need to do, as a node runner.
Last updated
While automated upgrades via the governance mechanism and x/upgrade
are currently not supported, Cosmovisor-based upgrades can be used to install new binaries at specified heights. This is done via the add-upgrade
command and was used to successfully.
Enable Prometheus metrics in the configuration by editing the configuration files.
Set up a Prometheus instance to scrape the metrics exposed by your node.
Visualize these with Grafana by using its dashboards. Metrics include:
cometbft_consensus_latest_block_height
: The latest block height
cometbft_consensus_block_syncing
: Whether the node is synced or still catching up.
cometbft_consensus_block_interval_seconds
: Time between blocks, useful for monitoring block production delays.
In addition, system level information can be loaded with prometheus-node-exporter
into Grafana to complement the metrics exposed by imuad
.
Stop the node
systemctl stop cosmovisor-imuad
Start the node
systemctl start cosmovisor-imuad
Restart the node
systemctl restart cosmovisor-imuad
Find my im1...
(account) address
imuad --home $HOMEDIR keys show -a $ACCOUNT_KEY_NAME
Get current height
imuad query block | jq .block.header.height
Check sync status
imuad status | jq
Get current validator set
imuad query tendermint-validator-set
Get own validator address
imuad --home $HOMEDIR tendermint show-address
Convert address formats
imuad debug addr <VALUE>
Get bytes32 val pub key
imuad --home $HOMEDIR --output json keys consensus-pubkey-to-bytes | jq -r .bytes32
Get bytes32 val pub key (another method)
imuad debug pubkey $(imuad --home $HOMEDIR tendermint show-validator)
Get JSON val pub key
imuad --home $HOMEDIR tendermint show-validator
Check node logs
journalctl -u imua -f
Get the number of peers
curl -s http://localhost:26657/net_info
Check transaction status
imuad query tx <hash>
Find my consensus address
imuad --home $HOMEDIR tendermint show-address
Find my P2P ID
imuad --home $HOMEDIR tendermint show-node-id
(assuming the node port hasn't changed; if it has, it may be supplied with --node
)
Lastly, third-party monitoring services such as may be used when they add support for Imuachain.