Closed crizaqcri closed 4 years ago
I am using dockers installed directly on the host:
lsb_release -d
Ubuntu 20.04.1 LTS
>>docker version
Client: Docker Engine - Community
Version: 19.03.13
API version: 1.40
Go version: go1.13.15
Git commit: 4484c46d9d
Built: Wed Sep 16 17:02:52 2020
OS/Arch: linux/amd64
Experimental: false
Server: Docker Engine - Community Engine: Version: 19.03.13 API version: 1.40 (minimum version 1.12) Go version: go1.13.15 Git commit: 4484c46d9d Built: Wed Sep 16 17:01:20 2020 OS/Arch: linux/amd64 Experimental: false containerd: Version: 1.3.7 GitCommit: 8fba4e9a7d01810a393d5d25a3621dc101981175 runc: Version: 1.0.0-rc10 GitCommit: dc9208a3303feef5b3839f4323d9beb36df0a9dd docker-init: Version: 0.18.0 GitCommit: fec3683
@crizaqcri in your 2nd working directory (site), you have org3.cri.com, but your command says org4.cri.com, I assume that was just a typo. Please check to make sure though.
It's just a typo, otherwise, the command minifabric netup
had failed.
@crizaqcri I think that the only thing you were missing was a command on first site minifab approve
. Since you add a new org and new org also can do chaincode, your existing orgs need to approve it again. Once your first site approve the chaincode again, you should be fine. It will be super nice if you can create a doc describe this process, so that others can also benefit from your experiences. If you feel you like to contribute, you can write a doc in docs directory.
@crizaqcri Please follow this doc to try what you intend to do. https://github.com/litong01/minifabric/blob/master/docs/HowToExpandYourNetwork.md. Also please close this issue once you got it working. If you encounter some new problems, do open one and describe the process like you did here. Thanks.
Thank you very much, it works now!
I have started a hyperledger fabric network with a the following specs:
And comman:
>> ./minifab up -e 7000
>> I have installed / approved / commit / initialize / discover samplecc on mychannel
In another directory I have created a new organisation with spec:
and started with the command:
I have exported the endpoints certificates from the first network and imported in the second. Also, I have signed and updated the channel config on the first network with information for org3.
./minifab channelsign,channelupdate
On both networks the org3 is visible on channel config. mychannel_config.json file can be found at https://docs.google.com/document/d/1r18DF0ZGS-6R0kA8TrC6hzvVKeuAPazgrk4ip5PPtdM/edit?usp=sharing
I have run with success the following commands on the second network:
But failed at commit
./minifab commit
Error:
Does anyone know what have I missed? Thank you.