Reputation: 13
Is there a way to update the crypto-config.yaml file and then update it over the network without bringing the network down in hyperledger fabric 1.4.
Upvotes: 0
Views: 318
Reputation: 3068
If you want to extend your existing fabric network like adding a new peer, then first create artifacts for it.
Adding a new peer:
crypto-config.yaml
by increasing the value of Template
.cryptogen extend --input="crypto-config" --config=config.yaml
where,
--input="crypto-config" The input directory in which existing network place
--config=CONFIG The configuration template to use
docker-compose -f docker-compose-new-peer.yaml up -d new_couchdb_container new_peer_container
.You won't have to bring down the whole network to add a new peer node.
Refer to this for more information on how to add a new peer.
Upvotes: 1