Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
241 views
in Technique[技术] by (71.8m points)

hyperledger fabric - Can we add new node in running blockchain network developed using Hypeledger?

Can we add new node in running blockchain network developed using Hyperledger?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

If I understand your question the right way, the answer is: Yes

Just in case you want to add a new Organization into a running network, you can follow this tutorial.

Briefly, It's 5 steps:

  • Step 1: Prepare new Organization's configuration files (new-org-crypto.yaml and configtx.yaml, which contains only the config of the new Organization).
  • Step 2: Generate crypto materials for new organization base on the configuration file.
  • Step 3: Update channel configuration to let the existing components know about the new organization.
  • Step 4: Create a docker compose file and then kick off the containers
  • Step 5: Join peers into the channel.
  • Additional step: install & update chain code to let these new peers become endorsing peers.

If you mean to add a new peer into an existing network, It will be simpler (follow this):

  • Step 1: Generate crypto material for new peer by editing crypto-config.yaml file and use cryptogen tool with extend command.
  • Step 2: Create a docker compose file and then kick off the containers.
  • Step 3: Join the new peer into the channel.

Hope this help!


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...