Run a Planetr Private Network

Most businesses have a large number of idle machines in their office network that can be pooled to form a private network. This may be in the case of idle server capacity or simply employee desktops. To build a private cloud, install the Planetr Satellite on each of these machines and specify a network name unique to your organisation.

Without any additional configurations, you can expand it to different networks spanning multiple geographic locations. 

Identify Computers With Capacity

As a first step, identify the computers which have extra capacity and ensure that they are connected to your network (LAN). It is advisable to have internet access on these machines. Make sure these computers meet the requirements to run Planetr Satellite node.

If you are running Windows or Ubuntud desktop, please adjust the power settings to ensure that the computer is running always. Also ensure that the computer is connected to the power mains.

Install Planetr Satellite

Please refer this link to install the Satellite node on every provider computer.

You may need to install Docker on these computers to run containers.

Configure the Private Network

Run Planetr Satellite node once, which will create the repo folder under your home directory called .planetr-satellite.

Stop the Satellite node.

Edit ~/.planetr-satellite/config.env file and change the network name to a unique name like your companyname. Also set the correct values for memory, CPU etc.

NETWORK_NAME=BIG-DATA-COMPANY

HOST_NAME=localhost
HTTP_PORT=7002
P2P_PORT=0
NETWORK_NAME=BIG-DATA-COMPANY
MAX_CPU_CORES=4
MAX_MEMORY_BYTES=4G
CONFIG_CONTAINER_ENABLE=1
CONFIG_WEB_PROXY_ENABLE=1
DOCKER_BINARY_FILE=docker

Save the file and restart the satellite node.

Repeat this for other provider machines as well. This is a one time setup and you are ready to go.

Gateway Node

Now that the Satellites are setup and running, you can access the network by installing and running the Planetr Gateway node on your laptop or any computer you wish to. Gateway is the entry to the network to assign and run the computing tasks.

Please refer this link to install the Gateway node.

Connect to the Private Network

Run Planetr Gateway node once which will create the repo folder under your home directory called .planetr.

Stop the Gateway node.

Edit ~/.planetr/config.env file and change the network name to the SAME unique name you specified for satellites.

NETWORK_NAME=BIG-DATA-COMPANY

HOST_NAME=localhost
HTTP_PORT=7001
P2P_PORT=0
NETWORK_NAME=BIG-DATA-COMPANY

Save the file and restart the Gateway node.

Congratulatons! You are running a private Planetr network now. You can run Planetr CLI commands on your Gateway now. The computing tasks will be deplaoyed only on your nodes.