Hyperledger Fabric:如何建立对等节点的分布式网络? [英] Hyperledger fabric : How to set up a distributed network of peer nodes?

查看:75
本文介绍了Hyperledger Fabric:如何建立对等节点的分布式网络?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在hyperledger-fabric v1.0.0 beta中设置不同机器上对等节点的分布式系统?

How to set-up distributed system of peer nodes in different machines in hyperledger-fabric v1.0.0 beta ?

推荐答案

首先,您应该定义网络的状态,即每台计算机中将启动多少个夹心节点.然后,您应该为每台机器定义docker-compose文件.在那里,您定义将在每台计算机上放置的节点.

First of all, you should define how is going to be your network, i.e. how many and wich nodes are going to be started up in each machine. Then, you should define the docker-compose files for each machine. There you define the nodes that you will put up in each machine.

最后,您将启动节点.

请确保您正确定义了所有配置文件的配置,尤其是主机.

Make sure that you define well the configuration of all the config files, especially the hosts.

这篇关于Hyperledger Fabric:如何建立对等节点的分布式网络?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆