Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
minLevel1
maxLevel7

Using the pattern determined in network planning for the site, this scsctl initialization step will build a custom configuration file for DHCP and restart the service. Changes in the configuration file specify pools and ranges which DHCP is to manage, as well as other DHCP response data to be used with PXE booting storage nodes.

...

To configure DHCP, refer to the following steps:

...

the Swarm network requires an upper or lower (or both) reserved range defined. At least one of these parameters must be provided.

--dhcp-reserve-lower DHCP_RESERVE_LOWER

The number of IP addresses to reserve in the lower subnet range (default is 0).

--dhcp-reserve-upper DHCP_RESERVE_UPPER

The number of IP addresses to reserve in the upper subnet range (default is 0).

For example, you set DHCP reserve lower range.

Code Block
languagebash
scsctl init dhcp --dhcp-reserve-lower=30 
DHCP config updated

...

Set the minimum size of the disk supported by the Swarm cluster. For example, the Swarm cluster supports a minimum of 16 GB disk size.

Code Block
languagebash
scsctl storage config set -d ​​"disk.minGB=16" 

...

The configuration values used for DHCP reserve lower or upper range always come from the network planning.

Once either the lower or upper range is set for DHCP, you can enable the nodeExporter for Prometheus using the below commands.

Code Block
scsctl storage config set -d "metrics.enableNodeExporter=true" 
scsctl storage config set -d "metrics.nodeExporterFrequency=120"

...

Tip

Next, install a Swarm license.