GithubHelp home page GithubHelp logo

isabella232 / infra-role-nimbus-fluffy Goto Github PK

View Code? Open in Web Editor NEW

This project forked from status-im/infra-role-nimbus-fluffy

0.0 0.0 0.0 18 KB

Ansible role for nimbus-fluffy client

Home Page: https://github.com/status-im/nimbus-eth1

Shell 55.38% Jinja 44.62%

infra-role-nimbus-fluffy's Introduction

Description

This role provisions a Nimbus Fluffy Eth1 node.

Introduction

The role will:

Ports

The service exposes three ports by default:

  • 9009 - DevP2P UDP peering port. Must ALWAYS be public.
  • 9200 - Prometheus metrics port. Should not be public.
  • 9900 - JSON RPC port. Must NEVER be public.

Installation

Add to your requirements.yml file:

- name: infra-role-nimbus-fluffy
  src: [email protected]:status-im/infra-role-nimbus-fluffy.git
  scm: git

Configuration

The crucial settings are:

# branch which should be built
nimbus_fluffy_repo_branch: 'master'
# ethereum network to connect to
nimbus_fluffy_network: 'mainnet'
# optional setting for debug mode
nimbus_fluffy_log_level: 'DEBUG'

Management

Service

Assuming the stable branch was built you can manage the service with:

sudo systemctl start nimbus-fluffy-master
sudo systemctl status nimbus-fluffy-master
sudo systemctl stop nimbus-fluffy-master

You can view logs under:

tail -f /data/nimbus-fluffy-master/logs/service.log

All node data is located in /data/nimbus-fluffy-master/data.

Builds

A timer will be installed to build the image:

 > sudo systemctl list-units --type=service '*nimbus-fluffy-*'
  UNIT                         LOAD   ACTIVE SUB     DESCRIPTION
  nimbus-fluffy-master.service loaded active running Nimbus Eth1 Fluffy node (master)
  nimbus-fluffy-debug.service  loaded active running Nimbus Eth1 Fluffy node (debug)

To rebuild the image:

 > sudo systemctl start build-nimbus-fluffy-master
 > sudo systemctl status build-nimbus-fluffy-master
 ● nimbus-fluffy-master-build.service - Build nimbus-fluffy-master
     Loaded: loaded (/etc/systemd/system/nimbus-fluffy-master-build.service; enabled; vendor preset: enabled)
     Active: inactive (dead) since Wed 2021-09-29 12:00:12 UTC; 2h 15min ago
TriggeredBy: ● nimbus-fluffy-master-build.timer
       Docs: https://github.com/status-im/infra-role-systemd-timer
    Process: 1212987 ExecStart=/data/nimbus-fluffy-master/build.sh (code=exited, status=0/SUCCESS)
   Main PID: 1212987 (code=exited, status=0/SUCCESS)

Sep 29 12:00:12 build.sh[1213054]: HEAD is now at f782327f reimplement engine API rpc kiln spec v2
Sep 29 12:00:12 build.sh[1212987]:  >>> Binary already built
Sep 29 12:00:12 systemd[1]: nimbus-fluffy-master-build.service: Succeeded.
Sep 29 12:00:12 systemd[1]: Finished Build nimbus-fluffy-master.

To check full build logs use:

journalctl -u build-nimbus-fluffy-master.service

Requirements

Due to being part of Status infra this role assumes availability of certain things:

  • The iptables-persistent module

infra-role-nimbus-fluffy's People

Contributors

jakubgs avatar kdeme avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.