Fuzzball Documentation
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

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

The 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.service
This 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             | 0

Now that your Fuzzball cluster can provision compute nodes, you are ready to configure storage.