前面章节部署的是单orderer排序节点,本节介绍如何部署三Orderer排序节点,脚本需要基于前面章节修改后的脚本。
在执行下面的操作之前,请先执行./network.sh down 关闭区块链网络。
1.查看docker ps -a
,内容空空如也。
2.修改/root/fabric/scripts/fabric-samples/test-network/configtx/configtx.yaml
OrdererType: etcdraft
# Addresses used to be the list of orderer addresses that clients and peers
# could connect to. However, this does not allow clients to associate orderer
# addresses and orderer organizations which can be useful for things such
# as TLS validation. The preferred way to specify orderer addresses is now
# to include the OrdererEndpoints item in your org definition
Addresses:
- orderer.example.com:7050