setup.sh

setup.sh

The
setup.sh
script is a prerequisite checker and sets up your system(s) for Resonate RFID Reader Management installation. It has several command-line options to customize the installation process, particularly for use for a multi-node cluster.

Command Syntax

setup.sh [options]

Options

Option
Description
--external-ip=<IP>
-i <IP>
Specifies the external IP address of the cluster. The address must be unique, use the same subnet as the nodes, and have a DNS record. The readers and the
Resonate
web interface
use this IP address to access the cluster. When you specify an external IP address, it activates the
metallb
load balancer in an environment where a load balancer is not provided, allowing the nodes to distribute traffic between themselves.
Default: N/A
Required: For a multi-node setup.
--multi-node=<NODES>
-m <NODES>
Specifies the number of nodes in the cluster. This determines the number of replicas for storage.
Default: 1
Required: For a multi-node setup.
--block-device=<DEVICE>
-b <DEVICE>
Specifies the path to the block device to use for storage.
Default: N/A
Required: For a multi-node setup.
--microk8s-only
-k
Specifies to install only microk8s on the node. This prepares the node for integration into the cluster, allowing it to be added (bootstrapped) as a secondary node using the
microk8s add-node
command from the primary node. Specify this option alone.
Default: N/A
Required: No
--storage-only
-o
Specifies to only install storage. Use this option on secondary nodes after they join the cluster to specify their storage device. Specify this option alone.
Default: N/A
--finalize
Specifies to finalize the joining of the nodes to the cluster. Use this option on the primary node after joining all nodes to the cluster and setting up their storage device. Specify this option alone.
--help
-h
Displays the setup's possible options and their descriptions (this table).