Setting up a Blockchain Business Network With Hyperledger Fabric & Composer Running in Multiple Physical Machine

so I can run composer playground and composer rest server and hyperledger explorer on second machine without run composer network start?

Yep, You just need to upload the card and the connection profile in the card should have the IP Addresses mapped properly.

so we just need to run ./createPeerAdmin.sh in second machine (./createPeerAdmin.sh used on the first machine)?

Actually you dont even need that if you’re going to use only explorer and rest server in second machine. You just need the cards to be imported to your wallet.

thank you so much, I’ll try to import my wallet using this tutorial (https://hyperledger.github.io/composer/v0.19/managing/id-cards-playground) and import it into my second machine using this tutorial (https://hyperledger.github.io/composer/v0.19/reference/composer.card.export.html).
I’ll informt you as soon as I can

Sure :slight_smile: Keep me posted here :slight_smile:

I wanna to say thank you so much for your time for helping me
I’ve tried your suggestion and it’s works perfectly as what I want

The conclusion for my problem is, just install and start composer once in first machine, and copied the card to all of the machine, and the machine will sync automatically, right?

1 Like

That sounds great :slight_smile: Glad to help you on this regards.

Keep us posted on anything you face issue in :slight_smile:

1 Like

i also got the same error what you have changed in connection.json file

:heavy_multiplication_x: Installing business network. This may take a minute…
Error: Error trying install business network. Error: The business network failed to install on 1 or more peers: Response from attempted peer comms was an error: Error: Failed to connect before the deadline

this is the error

I got anerror while executing the following command::::
composer network install --card PeerAdmin@hlfv1 --archiveFile procurement-phase@0.0.86.bna

:heavy_multiplication_x: Installing business network. This may take a minute…
Error: Error trying install business network. Error: The business network failed to install on 1 or more peers: Response from attempted peer comms was an error: Error: Failed to connect before the deadline
Command failed

I got this error when i am trying to add multiple peers from different machines
Can U help me to solve this ???

I also faced the same issue.Can u suggest me that how u overcome this error???What are the changes need to be done in connection.json file ???

composer network install --card PeerAdmin@hlfv1 --archiveFile procurement-phase@0.0.86.bna✖ Installing business network. This may take a minute…
Error: Error trying install business network. Error: The business network failed to install on 1 or more peers: Response from attempted peer comms was an error: Error: Failed to connect before the deadline
Command failed

:heavy_multiplication_x: Installing business network. This may take a minute…
Error: Error trying install business network. Error: The business network failed to install on 1 or more peers: Response from attempted peer comms was an error: Error: Failed to connect before the deadline

please provide the solution for this error

Hi Akhil,

Did you resolve the error.If you resolved can you please share.

Thanks & Regards,
S.Suma

Hi Sahiti,

Did you resolve the error.If you resolved can you please share.

Thanks & Regards,
S.Suma

Peers mentioned in channel configuration are not joined in business network .May b peer failed to join to the channel.Check the logs of the peer .If Peer is not running i.e., if peer is not started and u r trying to join such peer in channel then u will get such error while installing the business network

i got this problem when my peer is not running. So create all container again and delete all volume
by
docker volume prune
./startFabric.sh

i got this problem when my peer is not running. So create all container again and delete all volume
by
docker volume prune
./startFabric.sh

Hi, I’m unable to create new channels with new orgs added to an existing fabric network using this tutorial: https://hyperledger-fabric.readthedocs.io/en/latest/channel_update_tutorial.html

I have detailed my issue here: https://stackoverflow.com/questions/57144745/cannot-create-channels-with-new-orgs-in-fabric-got-error-attempted-to-include

Is there an alternative way to achieve something similar using fabric-node-sdk?

It would be great if you could take a look and help.

Do you need to execute tasks with percision and accuracy?

Grow and scale your organization easily by automating business crucial functions with Robotic Process Automation (RPA).