oakestra / oakestra-net

Networking component of Oakestra
Apache License 2.0
6 stars 8 forks source link

net manager tests net manager artifacts root artifacts cluster artifacts

Stable [Github All Releases]()

Oakestra Net 🕸️🌳🕸️

This component enables the communication between services distributed across multiple Oakestra nodes and clsuters.

This repository includes:

This networking component creates a semantic addressing space where the IP addresses not only represent the final destination for a packet but also enforces a balancing policy.

How to install the Net Manager daemon

From official build

Follow the offical Oakestra Get Started guide to install the stable NetManager alongside oakestra worker node.

Build it on your own

Go inside the folder node-net-manager/build and run:

./build.sh

Then move the binary corresponding to your architecture to the current folder:

cp bin/<architecture>-NetManager .
is either arm-7 or amd64

Finally, install it using ./install.sh

Run the NetManager daemon

Configure the Network Manager by editing /etc/netmanager/netcfg.json as follows:

{
  "NodePublicAddress": "<IP ADDRESS OF THIS DEVICE>",
  "NodePublicPort": "<PORT REACHABLE FROM OUTSIDE, use 50103 as default>",
  "ClusterUrl": "<IP Address of cluster orchestrator or 0.0.0.0 if deployed on the same machine>",
  "ClusterMqttPort": "10003"
}

Then start the NetManager

sudo NetManager