Skip to content

sven-hash/nym-nodes-management

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nym nodes management

How to run

Ansible is an agentless automation tool that you install on a single host (referred to as the control node). From the control node, Ansible can manage an entire fleet of machines and other devices (referred to as managed nodes) remotely with SSH, Powershell remoting, and numerous other transports, all from a simple command-line interface with no databases or daemons required.

Requirements:

mixnode

Variable Default Description
WALLET_ADDRESS Mandatory Nym wallet address used to init the node
NAME_MIXNODE Mandatory Mixnode name (id) used when init the node
VERSION_DOWNLOAD latest Specify the mixnode version to update
SERVICE_NAME_MIXNODE nym-mixnode.service Name of the systemd service file
WORKDIR /data/nym Path where the nym-mixnode executable is

Examples:

  • In --extra-vars set the version you want: ansible-playbook playbooks/update-mixnode.yml -i inventory.yml --key-file=ansible-privkey --extra-vars="VERSION_DOWNLOAD=1.1.11"
  • ansible-playbook playbooks/update-mixnode.yml -i inventory.yml --key-file=ansible-privkey

gateway

Variable Default Description
WALLET_ADDRESS Mandatory Nym wallet address used to init the node
NAME_GATEWAY Mandatory Gateway name (id) used when init the node
VERSION_DOWNLOAD latest Specify the gateway version to update to
SERVICE_NAME_MIXNODE nym-gateway.service Name of the systemd service file
WORKDIR /data/nym Path where the nym-gateway executable is

Examples:

  • In --extra-vars set the version you want: ansible-playbook playbooks/update-gateway.yml -i inventory.yml --key-file=ansible-privkey --extra-vars="VERSION_DOWNLOAD=1.1.11"
  • ansible-playbook playbooks/update-gateway.yml -i inventory.yml --key-file=ansible-privkey

apt update

Requirement:

  • Debian or Ubuntu OS

ansible-playbook playbooks/apt-update.yml -i inventory.yml --key-file=ansible-privkey

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Languages