Skip to content
Discussions/App Development/How to connect a remote sequencer to remote domain with hyperledger beduForum ↗

How to connect a remote sequencer to remote domain with hyperledger bedu

App Development4 posts367 views1 likesLast activity Jan 2023
HA
harikrishna_sri_ramoOP
Jan 2023

Hi team,

Could any one guide me to connect a sequencer in machine 1 to domain in machine 2 , I am using hyperledger besu

MA
Mate_Varga
Jan 2023

Hi @harikrishna_sri_ramo,

You can do it the same way would do it when your nodes are running on the same machine.

If you use node references you should start a remote console session that has the connections to both sequencers (and other domain nodes) configured.

If you cannot get access from a single node to both machines simultaneously then you should start your domain node and sequencer(s) on the separate machines, then when besu connectivity is achieved by the sequencer(s) follow the second part of this section in our docs:
https://docs.daml.com/canton/usermanual/manage_domain_entities.html#adding-new-sequencers-to-distributed-domain
Here you can find how to initialize the domain in the case you cannot have a single remote console session to all your domain nodes: Manage Domain Entities — Daml SDK 2.5.0 documentation

Hope this helps,
Mate

HA
harikrishna_sri_ramo
Jan 2023

Hi Mate,
Thanks for your response , but I am facing issue in the following command according to the link you mentioned.
domainManager1.setup.onboard_new_sequencer(
initialSequencer = sequencer1,
newSequencer = sequencer2,
)
As my sequencer 2 in another machine How I can add this here

MA
Mate_Varga
Jan 2023

@harikrishna_sri_ramo As I mentioned in my previous comment, if you cannot get a remote console session having all your node references, you have to use the second half of the guide, so the big block of code on that particular page, executed on the appropriate consoles as the code comments guide you, snippet by snippet.

← Back to Discussions