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, the Swarm network requires an upper or lower (or both) reserved range defined. At least one of these parameters must be provided.
| The number of IP addresses to reserve in the lower subnet range (default is 0). |
| The number of IP addresses to reserve in the upper subnet range (default is 0). |
For example, you set DHCP reserve lower range.
scsctl init dhcp --dhcp-reserve-lower=30 DHCP config updated
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.
scsctl storage config set -d "metrics.enableNodeExporter=true" scsctl storage config set -d "metrics.nodeExporterFrequency=120"