如何将新联盟添加到现有 运行 网络 Hyperledger 结构中?

How to add new consortium to existing running network Hyperledger fabric?

如何向现有 运行 网络 Hyperledger fabric 添加新的联盟? 如何添加联盟和新频道?

喜欢..

##Existing config
Consortiums:
            SampleConsortium:
                Organizations:
                    - *Org1
                    - *Org2
                    - *Org3

##Adding new xxxxxxxxxxxxxxxxxxxxxxxxxxxx
             NewConsortium:
                Organizations:
                    - *Org1
                    - *Org4
##Adding
Channel14:
        Consortium: NewConsortium
        Application:
            <<: *ApplicationDefaults
            Organizations:
                - *Org1
                - *Org4enter code here

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

谢谢

要将新联盟添加到 运行 网络,您需要获取和修改系统通道,即 testchainid(如果您使用的是 byfn)。您可以参考以下 post 的步骤

这个 post 与在 运行 网络中添加新组织到联盟有关,只有少数事情会改变,而你想添加新的联盟,比如频道将是系统频道,你需要相应地修改 jq 命令。