Compute Node Configuration
You should configure firewalld to prevent interference with
intra-cluster communication. Either
disable it or configure the internal interface to use the trusted zone.
# INTERNAL_INTERFACE="" # populate this with the value for your COMPUTE NODE environment (e.g. enp8s0)
# firewall-cmd --permanent --zone=trusted --add-interface=${INTERNAL_INTERFACE}
# firewall-cmd --reload
Now you can install and configure NFS on the Compute node so that Fuzzball can share configuration and logging files with the Server node.
# dnf install -y nfs-utils
You can place the following contents in the file /etc/systemd/system/fuzzball-shared.mount to
create a mount unit for use with systemd. This will ensure that NFS starts properly again after a
reboot.
# NFS_SERVER_IP="" # populate with the internal IP address of the Server node (e.g. 10.0.0.3)
# cat >/etc/systemd/system/fuzzball-shared.mount<<EOF
[Unit]
Description=Mount Fuzzball NFS Share
After=network-online.target remote-fs-pre.target
Wants=network-online.target
Before=remote-fs.target
[Mount]
What=${NFS_SERVER_IP}:/srv/fuzzball/shared
Where=/fuzzball/shared
Type=nfs
Options=_netdev,hard,retry=5,timeo=600,retrans=3
TimeoutSec=300
[Install]
WantedBy=remote-fs.target
EOF
# mkdir -p /etc/systemd/system/fuzzball-substrate.service.d
# cat >/etc/systemd/system/fuzzball-substrate.service.d/10-require-shared.conf<<EOF
[Unit]
Requires=fuzzball-shared.mount
After=fuzzball-shared.mount
EOF
Now create the shared mount point on the Compute node and load/enable/start the newly created mount unit.
# mkdir -p /fuzzball/shared
# systemctl daemon-reload
# systemctl enable --now fuzzball-shared.mount
# ls /fuzzball/shared/
substrate
The final command demonstrates that a configuration directory has already been placed on NFS by Fuzzball Orchestrate.
If the NFS mount fails to load or the /fuzzball/shared directory doesn't allow you to share
between the nodes, stop and troubleshoot your NFS configuration before continuing with the
instructions. If the Compute node NFS configuration looks good, check the NFS configuration on the
Server node.