I am using http://hyperledger-fabric-doc.readthedocs.io/en/latest/getting_started.html for Hyperledger Fabric setup in Ubuntu VM. As per tutorial (fabric-samples/first-network) which have two organizations with two peers have been created. I wanted to add new organization or new peer in already existing Organization dynamically. Kindly help me know the steps to add dynamically.
相关问题
- How to add a new Orderer Organization to existing
- How do you generate pool_transactions_genesis and
- chaincode in hyperledger composer vs chaincode in
- Send Raw Transaction Ethereum infura nodejs npm
- Hyperledger fabcar sample fabric showing connect f
相关文章
- When I generate MSP for some organization, I can c
- Does Composer needs an already built Fabric networ
- Hyperledger transaction verification
- Hyperledger Fabric - Error while Instantiating cha
- Hyperledger fabric's ChannelCreationPolicy
- Hyperledger fabric's ChannelCreationPolicy
- what kind of peer types does hyperledger have?
- How to retrieve user information from recent versi
New version i.e the testing version of hrperledger fabric v1.1-preview gives this feature of adding new org dynamically. Main role in this is of configtxlator, jq and configtxgen. They have given fabric-samples/first-network new example which fo this work. Download the pdf of hyperledger fabric and go to chaper 11 i.e page 59 https://media.readthedocs.org/pdf/hyperledger-fabric/latest/hyperledger-fabric.pdf you will get good documentation of how it is done. Hope this helped you.
It isn't to the point of being "dynamic" just yet. However, the reconfiguration is done using the
configtxlator
tool to read the genesis block and modify it's contents, then submit it as a new transaction that updates the network/channel configuration. Please see the tutorial onconfigtxlator
here.IBM has a step-by-step guide showing in details how to use
configxlator
, as adding a new Org section in config JSON is not so trivial and there are additional steps, such as signing the update config block.