Skip to content

StardustCollective/nodectl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Constellation Network

nodectl v2.0.0

Description

TL;DR

nodectl is a command line utility designed to run on a Debian Linux operating system. It is specifically designed to enhance and simplify the creation, day-to-day management, and upgrade of a Constellation Network Validator [ or Genesis] Node.

Detailed instructions on usage and features can be found on Constellation Network's Documentation hub

NODECTL CODE DETAILS

nodectl was designed to simplify and reduce the complexity associated with running a Constellation Network Validator Node.

For someone in the know, it is "easy to say" that a Node for any project is simple to deploy, just takes a little elbow grease and away you go!

Unfortunately, the truth is; unless you have technical know how, no matter what simplistic tools are presented, there will be learning curves, trial and error, and some requirement to pay attention to detail.

With this in mind, nodectl was created to take a true Systems and Site Reliability Engineering out of the requirements to run a Node; moreover, nodectl is designed to help you build your Node, run your Node, and administer your Node, with extensive documentation, help commands, and community backing.

nodectl can be a powerful utility to help ease your journey to being a Constellation Network Node Operator and **Datapreneur **.

Usage

Extensive help has been written up and offered through Constellation Network's Documentation hub.

In order to avoid making necessary updates in multiple locations, this open source project's documentation pertaining to the operations of use of nodectl will be present on Constellation Network's Documentation Hub:

Documentation consists of:

  • installation
  • upgrade
  • configuration
  • operation

Internals

nodectl is written in Python3. It is a combination of object oriented and functional programming. nodectl is integrated into three components main components.

Core Components

  • core functionality
  • configurator
    • migrator
    • cn-config.yaml
  • automation (auto_restart)
flowchart TD
  A[Core Functionality];
  B[Configurator];
  C[Migrator];
  D[Automation];
  E[cn-config.yaml];
  B <--> C;
  D <--> A;
  E --> B <--> A;

NODECTL workflow

flowchart TD
  A[Core Functionality];
  B[Configurator];
  C[Migrator];
  E[cn-config.yaml];
  D[Download from Github ]
  I[Install nodectl]
  i[Install Constellation Network's Tessellation]
  M[Manual Configuration]
  P[PreConfigured Profiles]
  m[MainNet]
  t[TestNet]
  r[restarts]
  u[upgrades]
  s[status]
  aa[auto_restart feature]
  a[auto_restart]
  au[auto_upgrade]
  
  D -- wget --> I -- sudo nodectl install --> B -- preferred --> P ==> m
  P ==> t 
  B --> M --> t
  t -- automated --> i
  m -- automated --> i
  M --> m
  i --> C --> E
  E --> A
  A --> r
  A --> u
  A --> s  
  aa --> A
  E --> aa
  aa --> au
  aa --> a
  E --> B

OTHER DETAILS

please see Constellation Network's Documentation hub.