Basic Provisioner Configuration
You can set a provisioner configuration to add one or more compute nodes running Substrate to your cluster. The most basic provisioner configuration simply matches nodes based on hostnames. To add a single node, obtain the hostname of the node that you want to add and run the following commands on your server node:
# COMPUTE_HOSTNAME="" # populate with the hostname for your compute node.
# cat >provisioner.yaml<<EOF
definitions:
- id: compute1
provisioner: static
provisionerSpec:
condition: |-
hostname() matches "${COMPUTE_HOSTNAME}"
EOF
# fuzzball admin config set provisioner.yamlThe hostname() matches field supports pattern matching, so you can add more than one node with
patterns that match the hostnames.
Once you’ve run the set command, you can restart Substrate on the compute node like so:
# systemctl restart fuzzball-substrate.serviceThis is a bare-bones configuration suitable for testing. For complete instructions see the Provisioner Configuration Guide
You can verify that the node has been properly added to your cluster by running the node list
subcommand:
# fuzzball node list
NODE ID | HOSTNAME | CPU TYPE | TOTAL CORES | TOTAL MEMORY (GB) | TOTAL DEVICES | RUNNING JOBS
10.1.96.4/7331 | compute1 | cpu/x86/avx | 2 | 8 | 0 | 0Now that your Fuzzball cluster can provision compute nodes, you are ready to configure storage.