ansible playbooks to deploy Atomyze Hyperledger Fabric infrastructure #infra#ansible#deploy#fabric#ledger#
Find a file
Anton Selikhov 76f36c320a Merge branch '285-issue' into '23-orderer7'
Resolve #285 "Issue"

See merge request atmz/hlf-deploy!6
2023-02-08 20:30:31 +00:00
cert-renew +шаг с тмп 2023-02-07 15:40:31 +03:00
images fabric-tools (softhsm only) build 2021-06-09 10:36:23 +03:00
init max configuration for 7 orderers 2021-12-15 13:01:02 +03:00
ops enable channels creation 2022-12-30 13:26:15 +03:00
tools get_heights.sh: fix username 2022-11-29 20:26:53 +03:00
.gitignore add profiler ports 2021-12-15 22:09:24 +03:00
.gitlab-ci.yml fabric-tools (softhsm only) build 2021-06-09 10:36:23 +03:00
README.md delete depricated example files inventory 2022-12-18 18:43:16 +03:00

HLF deploy for Atomyze

This repository contains Ansible scripts to deploy Atomyze Hyperledger Fabric infrastructure.

  • Deploy scenaries: all infrastructure on one server and each fabric node (peer, orderer) on it's own server (vm).
  • Supports fabric nodes with public addresses or located behind the bastion
  • Supports SoftHSM and YubiHSM for protecting private keys (CA's root, ca-admin and HLF admin)

how to deploy infrastructure

cd init; ansible-playbook -i <../inventory_file> -e "vault_addr=<>" -e "vault_token=<>" init_playbook.yml

If something went wrong during the deployment process you should clean up the deployment before restarting by command ansible-playbook -i <../inventory_file> destroy_playbook.yml. If you use YubiHSM you also should delete the keys created during the deployment process on the device.

how to deploy (or upgrade) tokens

cd ops; ansible-playbook -i <../inventory_file> -e "artifactory=<artifactory_login:pass>" -e "gitlab=<gitlab_token>" deploy_chaincode.yml

Example inventory file see in installer2 repo

https://gitlab.n-t.io/atmz/installer2