Skip to content
CCPEDIAby Unity Nodes
Discussions/App Development/Reset a Canton setupForum ↗

Reset a Canton setup

App Development3 posts290 views3 likesLast activity Sep 2021
KC
kctamOP
Sep 2021

Hi Team,

We are testing a multi-host Canton setup. From time to time we have some changes and we need to restart everything from scratch. May I know if there is something like “dev” mode such that we can easy resume things like brand new (with no parties enabled, active contracts gone, DARs file removed, etc.)

Or alternatively, we have tried some “removal” of configuration but of no success. May I know how to completely
(a) remove a connection to a domain (we have tried disconnect but some configuration remains in the setup)
(b) remove DAR files from participants.
(c) remove parties enabled on a participant.

Thanks in advance.

Cheers,
kc

BE
bernhard
Sep 2021

What exactly do you want to preserve? You can do most of your setup using a startup script. If that startup script is complete enough, tearing your setup down and restarting with that script should do the job.

KC
kctam
Sep 2021

Hi Bernhard,

Yes that’s the way we are doing. We are in the process of troubleshooting a startup script, as it isn’t working in our multi-host environment. As the script stops somewhere, we may need to do modification on the script and then rework on a brand-new setup. The tearing the setup down and restarting script take us sometime and as a result we wish to see if there’s a way to do it faster.

The second part of my ask is whether we have commands (canton console) to clean up a domain connection, a DAR file or a party, if any. It helps us cleaning up things if it’s needed during the test.

Thanks again for your advice.

kc

← Back to Discussions