Coder Social home page Coder Social logo

regen-utils's Introduction

Regen Utils

This small collection of utils can simplify common admin tasks to help orchestrate a new validator in support of the forthcoming Regen Network ledger. When nature hangs in the balance, there's not a moment to lose =)

For full context please be sure to checkout https://github.com/regen-network/testnets/ and https://blockscape-network.medium.com/here-we-aplikigo-bb468d242bc1 and then keep reading below.

Aplikigo Testnet

What's here

Regen Service

Utils to install, uninstall, start, and stop

Regen Logs

Utils to install and uninstall config files to rotate your validator logs via a crontab every so often.

Testing and Requirements

  • These utils were tested on a fresh Ubuntu 20.04 server running
  • 200GB NAS volume with multi-attach support was mounted at /home for easy future upgrades

Getting Started

Clone this repo on your remote host and open a terminal. Next review and run the commands, as you see fit from init-server.log. After you are done, you'll have a fresh validator with regen binaries on your path.

Note that the init-server.log includes commands to init and mount a fresh NAS device at /home. To make your server cloud native, consider abstracting all dependencies from your node so they can be injected via a custom service.

Install the regen service,

  1. ./regen-utils/install-regen.sh

Install log rotation,

  1. ./regen-utils/install-regen-logrotate.sh

Start the service

  1. ./bash regen-utils/start-regen.sh

Stop the service

  1. ./bash regen-utils/start-regen.sh

Uninstall the regen service,

  1. ./regen-utils/uninstall-regen.sh

Uninstall log rotation,

  1. ./regen-utils/uninstall-regen-logrotate.sh

Future Ideas

  • add support for Chef
  • add support for Puppet
  • add support for a K8 buildpack
  • add support for cloud native encapsultation

"Discover Possible"

regen-utils's People

Contributors

swidnikk avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

patogit

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.