Giter Club home page Giter Club logo

lido-node-operators-setup's Introduction

Lido-node-operators-setup

System requirements

  • OS Ubuntu 20.04
  • Hosts
    • ethereum_nodes (8CPU, 32RAM, 1,5Tb)
    • validators_ejector (1CPU, 8RAM, 50Gb)
    • monitoring_server (2CPU, 8RAM, 50Gb)

Also, we recommend having a data of nodes and system on different volumes. In other words /srv should be a separate volume

Installation

  1. First of all, you need - to get three servers.

    • Host for geth and lighthouse nodes
    • Host for validator-ejector and keys-api services
    • Host for monitoring system alert-box
  2. Prepare conf file

    • Login to monitoring_server
    • Download conf file to monitoring server - Run command curl https://raw.githubusercontent.com/lidofinance/node-operators-setup/master/variables --output variables
    • Fill out conf variables in file variables
      • ETHEREUM_NODES_IP - IP address of your ethereum_nodes host
      • VALIDATORS_EJECTOR_IP - IP address of your validators_ejector host
      • MONITORING_SERVER_IP - IP address of your monitoring_server host
      • ENVIRONMENT - Environment of setup (testnet or mainnet)
      • TELEGRAM_BOT_TOKEN - Token of your telegram bot
      • TELEGRAM_CHAT_ID - chat_id of your channel for alerts
      • VALIDATOR_EJECTOR_MESSAGES_PASSWORD - your messages password
  3. Run installation

    • Login to monitoring_server
    • Run command curl -L https://raw.githubusercontent.com/lidofinance/node-operators-setup/master/base.sh | bash -s
  4. After successful installation, you can find your grafana credentials in file secret_variables, the same directory you had ran your script base.sh Enter the IP address of your monitoring server to a browser and enter the login and password for grafana.

  5. To upgrade your installation, just run the command again curl -L https://raw.githubusercontent.com/lidofinance/node-operators-setup/master/base.sh | bash -s

Additional information

In case you want use your self login and password for grafana and internal database you should create file with next values

secret_variables file contents

    ALERTS_BOX_GRAFANA_USER=<your_grafana_username>
    ALERTS_BOX_GRAFANA_PASSWORD=<your_grafana_password>
    LIDO_KEYS_API_DB_PASSWORD=<your_database_password>

The file secret_variables must be created before running base.sh

TODO

  • Add additional dashboards
  • Tests
  • Mount extra disks
  • Remove extra variables from logs block

lido-node-operators-setup's People

Contributors

br3d avatar choooze avatar clemensgg avatar 2019jack 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.