canton-network-docs/Reference
Canton Console Reference
For more involved debugging and disaster recovery, direct access to the console of a Canton node (participant, sequencer, mediator) might be required. Steps to obtain such access:
Requirements:
Running docker with the default network (
where
- Direct access to the Canton node process
- Canton binary
Participant console
- Obtain an authentication token as specified in the Canton authentication docs
- Ensure you can access the participant’s ports 5001 and 5002
-
Add the configuration to a local file
console.conf - Run the docker command
- DevNet (0.6.14)
- TestNet (0.6.13)
- MainNet (0.6.12)
splice-validator):
- DevNet (0.6.14)
- TestNet (0.6.13)
- MainNet (0.6.12)
Sequencer console
- DevNet (0.6.14)
- TestNet (0.6.13)
- MainNet (0.6.12)
- Ensure you can access the sequencer’s ports 5008 and 5009
-
Add the configuration to a local file
console.conf
- Run the docker command
Mediator console
- DevNet (0.6.14)
- TestNet (0.6.13)
- MainNet (0.6.12)
- Ensure you can access the mediator’s port 5007
-
Add the configuration to a local file
console.conf
- Run the docker command
Access in a K8s cluster
In a K8s cluster you can use a debug pod to access the console directly from the cluster. First you can create a pod running the right canton version using:POD_NAME is the name of the participant/sequencer/mediator pod.
Once you are inside the running pod you can install a text editor and create the config file console.conf that is described above.