超级账本HyperLeder

HyperLedger Fabric自动化集中化部署方案

2019-12-27  本文已影响0人  小蜗牛爬楼梯

目前使用的方案是基于Ansible,参考项目如下:
https://github.com/Altoros/Ansible-Fabric-Starter
由于官方只是支持到1.4.2,本人升级到1.4.4
https://github.com/tokyoliyi/Ansible-Fabric-Starter

Ansible fabric starter by Altoros

This project contains playbooks and roles for deployment of Hyperledger fabric project on multiple instances. Everything is running inside docker-containers, and managed by docker-compose. Assumed that 1 physical (or virtual) host will serve one organisation, so only multi-host deployment is supported by this tool.

Quick overview:

Technical Requirements:

Your machine should have:

You can find installation instructions on ansible website.

Provisioned nodes by ansible should have:

At least 2GB of RAM if you are using kafka-orderer.

Ports, used by default, you probably want to whitelist them in your firewall.

Ports, needed for blockchain instances to communicate with each other:

In case of kafka-orderer:

Ports, you may want (or may not) open to the internet:

Instructions

How can I clone this repositry?

git clone https://github.com/Altoros/Ansible-Fabric-Starter.git

How should I configure my blockchain network?

You can find three example-configurations:

image.png image.png image.png image.png
上一篇 下一篇

猜你喜欢

热点阅读