Multi organisation TLS enabled network example implemented using hyperledger fabric and kafka cluster.
- Org1 (org1.example.com)
- Org2 (org2.example.com)
- orderer0.example.com
- orderer1.example.com
- zookeeper0
- kafka0
- kafka1
- peer0.org1.example.com
- peer1.org1.example.com
- couch.peer0.org1.example.com
- couch.peer1.org1.example.com
- ca.org1.example.com
- cli.org1.example.com
- peer0.org2.example.com
- peer1.org2.example.com
- couch.peer0.org2.example.com
- couch.peer1.org2.example.com
- ca.org2.example.com
- cli.org2.example.com
# Install prereqisites
$ ./prerequisites.sh
# Run network
$ cd network-setup
$ ./deploy.sh
# Run explorer
$ cd explorer
$ ./deploy_explorer.sh dev dev_net
Org1 have the orderers embeded with kafka cluster, 2 peers embeded with CouchDB, Certificate Authority and cli. This orgaisation nodes are initially went to running status. Org1 creates the channelone using it's genesis block.
Org2 have 2 peers embeded with CouchDB, Certificate Authority and cli. Org 2 went running state next and joins to Org1 via channel one.
Then the merbles chaincode installed in all the peers and instatiated.
NOTE: for execution using shell commands refer deploy.sh. And other shell scripts 'network.sh', 'cc-dev.sh' shows help by calling --help
. To clean the docker containers and network execute below commands.
# Clean network containers
$ cd network-setup
$ ./clean.sh
# Clean explorer containers
$ cd explorer
$ ./deploy_explorer.sh --down