Nodes

This section provides information on onboarding Nodes and managing them.

Datacenters Networks

Nodes

Nodes are the basic element in Rio OS. They provide the basic ingredient - [CPU/GPU, RAM, DISK) for a cloud operating system.

Nodelet

Nodes are managed by Nodelet. Nodelet is an agent that manages the digitalcloud, containers, blockchain apps in the baremetal node.

Pre reqs

You must have completed installation of nodelet.

Configuration

The configuration nodelet.rioconfig is automatically created during installation

Changing configurationThere is no need to change the `nodelet.rioconfig` as it is automatically created with strong encryption.

Running



sudo systemctl start rioos_nodelet

sudo systemctl status ioos_nodelet


To tail the logs of the nodelet


sudo journalctl -u rioos_nodelet.service -f

Register

The nodes are registered into Rio OS automatically with the hostname and an unique machine id with the flag Scheduled true or false.

Configuration

  • Change the smtp host

nano /var/lib/rioos/context/init.sh


  • Change the slacktoken

nano /var/lib/rioos/context/init.sh


  • Copy the gulp.rioconfig from /var/lib/rioos/config to /var/lib/rioos/context

cp /var/lib/rioos/config/gulp.rioconfig /var/lib/rioos/context


  • Change the log storage (InfluxDB) in fluent-bit.conf

nano /var/lib/rioos/context/fluent-bit.conf


Scaling

To scale nodes, repeat the registration in another node

  • Copy the /var/lib/rioos/config/nodelet.rioconfig

  • Perform the installation

Verify

CLI

Watch asciinema to list nodes.

UI

Login command center

In the Dashboard, the registered node appears in a few seconds.

In this case there are 2 registered nodes.

Nodes