Giter Club home page Giter Club logo

mainnet-compute-node's Introduction

Iagon Compute CLI

Iagon Compute Node CLI is a CLI application which allows users to share their computational power on the Iagon network to earn rewards.

Introduction

This document provides step-by-step instructions to help you install and set up Iagon Compute Node CLI on your system. Currently only Linux based OS (Ubuntu 22.04) is supported.

Installation

You can install the Official Compute Node CLI binary by using our install.sh script, which you can get from Iagon's Github Release page.

wget -qO- https://github.com/Iagonorg/Mainnet-Compute-Node/releases/download/v0.2.0-beta/install.sh | sudo bash

The script installs and configures necessary 3rd party trusted packages as dependencies, which includes:

  • fio, sysbench (for benchmarking)
  • nginx (for reverse proxy)
  • kvm and libvirt (for resource isolation through virtual machine)

Update from previous versions

You can update your compute node binary to latest version by using our update.sh script, which you can get from Iagon's Github Release page.

wget -qO- https://github.com/Iagonorg/Mainnet-Compute-Node/releases/download/v0.2.0-beta/update.sh | sudo bash

Prerequisites

Before installing the Compute Node CLI, ensure the following prerequisites are met:

virtualization support

Enable kvm virtualization support on your bios. Consult your device manufacturer documentation.

port forwarding

Enable port forwarding for the compute node binary on a static ip. The port 443 should be accessible from the internet.

Usage

Once the binary and the necessary dependencies are installed, you can use the Compute Node CLI. There are various commands available in the CLI to make the on-boarding/registration process easier. The user can start the node and execute various test commands to check the hardware status of the node.

Commands

Execute the following commands, as: iag-compute-cli some-command

  1. start

    Evaluate/Register the host machine as compute node or start compute node if already evaluated.

  2. stop

    Stop compute node (if already running)

  3. status

    Check running status of compute node

  4. check

    Check if the system adhere to prerequisite criteria

  5. info

    Extract basic information about the system

  6. test-node

    Test if the node is accessible from the internet

  7. clear-config

    Clear the configurations

  8. tasks

    Show the compute tasks running on the node.

  9. benchmark-memory

    Run memory tests and benchmark for the host machine

  10. benchmark-cpu

    Run cpu tests and benchmark for the host machine

  11. benchmark-storage

    Run storage i/o tests and benchmark for the host machine

  12. benchmark-network

    Run network tests and benchmark for the host machine

  13. help

    Display help for command

mainnet-compute-node's People

Contributors

iagontech avatar cardanosecurity avatar

Stargazers

 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.