Administrators of a Tessera node can use the
admin CLI command to make changes to the node. These changes are made while the node is running and do not require a node restart.
After starting a node with
tessera -configfile /path/to/node-config.json, the admin CLI can be used. Currently supported admin commands are:
addpeer: Add a new peer to a running node
tessera admin -configfile /path/to/node-config.json -addpeer <new-peer-url>
This will do two things:
<new-peer-url>to the node’s list of peers, by using the ADMIN API
- Update the configfile
peerlist. Updating the configfile in this way means that if the node is stopped and started again, the admin changes will still be present.
If the configfile should not be updated, use the ADMIN API directly.