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

Compute Node Substrate Configuration and Startup

Now that your compute node is fully configured, you are ready to configure Fuzzball Substrate to act as a Compute node agent and enable/start it.

You can start by adding the following variables to /etc/default/fuzzball-substrate.env. This lets Substrate know where it should look to find its configuration files.

# cat >/etc/default/fuzzball-substrate.env<<EOF
FB_POLL_CONFIG=/fuzzball/shared/substrate/substrate-config.yaml

# aids crash recovery
FB_MOUNTNS=true
EOF

Now you can enable/start the service like so.

# systemctl enable --now fuzzball-substrate.service

You can verify that Fuzzball Substrate has successfully connected to Fuzzball Orchestrate using the admin CLI on the Server node.

# kubectl exec -n fuzzball -it fuzzball-admin-0 -- /app/fuzzball-admin schedule resource-list
{
  "resources": [
    {
      "id": "10.1.96.6:7331",
      "hostname": "godloved-compute1",
      "resource": {
        "total": {
          "cpu": {
            "cores": 2,
            "threads": true,
            "sockets": 1
          },
          "mem": {
            "bytes": 8589934592
          },
[snip...]