Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

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.

--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.

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"

  • No labels