How to add Org or peer in Org dynamically in Hyperledger fabric

+15 votes

I want to add a new organization or new peer in already existing Organization dynamically. I am not sure how to do this. Please help. 

Mar 28, 2018 in Blockchain by Perry
• 17,100 points
4,931 views

5 answers to this question.

+3 votes

You have to first, use the configtxlator tool to read the genesis block and modify its contents, then submit it as a new transaction that updates the network/channel configuration. 

Hope this helps!

Get your Blockchain certification today to learn more about this technology.

Thanks.

answered Mar 28, 2018 by Christine
• 15,790 points
New version i.e the testing version of hyperledger fabric v1.1 preview gives this feature of adding new Org dynamically. Main role in this is of configtxlator, jq and configtxgen.
+1 vote

The configtxlator tool simplifies configuration tasks in Hyperledger Fabric blockchain networks. This tool easily converts between different equivalent data representations/formats.

Make sure you have the  Version 1.1.0-preview of Hyperledger Fabric  installed since this version introduces the peer channel signconfigtx command for collection of multiple signatures before submitting configuration updates. 

IBM has a step-by-step guide showing how to use this tool, as adding a new Org section in config JSON has additional steps involved.

answered Jun 14, 2018 by Perry
• 17,100 points
+3 votes

I know it is a bit late to answer to this question but i think it this would help. Go to this link and in the pdf go to Chapter 11 (page 59). There is a good explanation one how to do it.

answered Jul 27, 2018 by Omkar
• 69,220 points

edited Jul 22, 2019 by Omkar
The link has been expired.
Hi @Subhra, I have updated the link.
0 votes

Follow the below mentioned steps to add an organization:

Download the Hyperledger fabric samples.

$ git clone -b master https://github.com/hyperledger/fabric-samples.git
$ cd fabric-samples

Download platform specific binaries

$ curl -sSL https://goo.gl/6wtTN5 | bash -s 1.1.0

Bring the network down:

$ cd fabric-samples/first-network
$ ./byfn.sh -m down

Generate artifacts required and then bring the network up:

$ ./byfn.sh -m generate
$ ./byfn.sh -m up

Bring the new network up:

$ ./eyfn.sh up

That's all

answered Apr 24, 2019 by Rajan
0 votes

Please refer to the official documentation. There's a proper step-by-step guide to add an organization to the Fabric. Here's the link: https://hyperledger-fabric.readthedocs.io/en/release-1.4/channel_update_tutorial.html

answered Apr 24, 2019 by Yash

Related Questions In Blockchain

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

How to join a peer to a channel in Hyperledger Fabric?

When you run the command: peer channel create ...READ MORE

answered Jul 31, 2018 in Blockchain by digger
• 26,740 points
2,064 views
0 votes
1 answer
0 votes
1 answer

Hyperledger Sawtooth vs Quorum in concurrency and speed Ask

Summary: Both should provide similar reliability of ...READ MORE

answered Sep 26, 2018 in IoT (Internet of Things) by Upasana
• 8,620 points
1,423 views
0 votes
2 answers
0 votes
1 answer

Invalid Batch or signature in Savtooth

This will solve your problem import org.apache.commons.codec.binary.Hex; Transaction txn ...READ MORE

answered Aug 1, 2018 in Blockchain by digger
• 26,740 points
962 views
0 votes
1 answer

How to register a user in Hyperledger Fabric?

Best practice would be to leverage an ...READ MORE

answered Sep 5, 2018 in Blockchain by Christine
• 15,790 points
1,844 views
+4 votes
2 answers

How do I create a new block in Hyperledger Fabric?

This link might help you: https://github.com/hyperledger/fabric-sample ...READ MORE

answered Oct 11, 2018 in Blockchain by Sahu
2,610 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP