Playbook · DGX Spark clusters · Problem

DGX Spark cluster works until a restart

If it worked yesterday and a reboot broke it, something was set up for that session only. Find which layer did not come back.

Do not reboot again to test until you have noted what is wrong now. And before any reboot, check that nothing is running that you cannot lose.

Why a cluster breaks after a reboot

  1. Check cable addresses first: ones added by command are temporary.
  2. Check Docker, each container's restart policy, and user lingering.
  3. A Ray cluster started by NVIDIA's script has to be started again.
  4. Make one layer lasting at a time, then test with one planned restart.

Checked on 26 November 2026 against: NVIDIA's DGX Spark and cluster pages and playbooks; Netplan, Docker and systemd pages. We have not yet run this playbook start to finish on our own hardware.

The symptom

What you see.

After a restart the other Spark cannot be reached over the cable, a model server is gone, a container stays stopped, or a job fails because a setting is missing. NVIDIA’s two-Spark playbook says it plainly for one case: addresses added with ip addr add do not survive a reboot.

Are the cable addresses back? They were temporary, or files clash if not yes Is Docker running and set to start? Enable the service if not yes Did the containers start again? Restart policy, or script-made nodes if not yes Did your user services start? Not enabled, or no lingering if not yes Has the cluster formed again? Start order, mounts, variables if not
Our diagram: check what came back, from the bottom up. The first layer missing is the one to make lasting.

Written from the makers’ own pages and source code, read on 26 November 2026. We have not run these checks and fixes on our own hardware for this page. In the commands, spark-two and words in capitals such as USER, PEER_LINK_IP and NAME are made-up placeholders: put your own in. All cluster problems and the safe-checks method.

Safe checks first

Compare with how it should be.

Run these after the restart, on both Sparks. If you saved the output while it worked, compare line by line.

  1. Cable and addresses

    The first two read the live state. The third lists network files. NVIDIA Sync’s file is 99-nvidia-sync-cluster.yaml; NVIDIA’s manual playbooks use other names. Netplan merges all the files, so two that set the same interface can collide. These files can hold Wi-Fi passwords: do not paste them anywhere.

    ibdev2netdev
    ip -br addr
    ls -l /etc/netplan/
  2. Docker and restart policies

    Docker’s documentation says its service starts at boot by default on Ubuntu and Debian. A restart policy of no is the default for a container. The last command prints each remaining container’s policy.

    systemctl is-enabled docker
    systemctl is-active docker
    docker ps -a
    docker inspect --format '{{.Name}} {{.HostConfig.RestartPolicy.Name}}' $(docker ps -aq)
  3. User services

    If you start things with systemctl --user: systemd says that with lingering on, your user’s service manager starts at boot and stays after you sign out.

    loginctl show-user USER --property=Linger
    systemctl --user list-unit-files --state=enabled
    systemctl --user --failed
    systemctl --failed
  4. Mounts and variables

    If one Spark reads model files from the other over the network, check that the mount is there. Variables typed with export are gone in a new session, and a new docker group membership needs a new sign-in.

    findmnt -t nfs,nfs4
    env | grep -E 'NCCL|GLOO|VLLM|RAY|LD_LIBRARY_PATH'
    id
  5. This start’s errors

    Shows warnings and errors since the last boot.

    journalctl -b -p warning --no-pager | tail -n 100

What each result means

Match your result.

What you foundWhat it meansNext
Cable addresses missingAdded by command, or the file was not applied.Put them in netplan, or use NVIDIA Sync
Two netplan files name the same interfaceSettings from two methods are merged.Keep one method
Container stopped, policy noNothing told Docker to start it.Set a restart policy
Ray containers goneNVIDIA’s script removes its container when it ends. A reboot ends it.Run your start steps again
User services start only after you sign inLingering is off.Turn it on
Worker started before the head, or before the mountStart order.Start in order, or let the service retry

Fix

Make the missing layer lasting.

Cable addresses

Use NVIDIA Sync’s Cluster Assistant, or the netplan file in NVIDIA’s manual steps. Pick one. Netplan’s try rolls a change back if you do not confirm; its page says to check that the rollback happened.

Changes something. Applies the network files now. It can interrupt your connection.

sudo netplan try

Containers

For a long-running service in a container, Docker’s unless-stopped policy starts it again after the Docker service restarts, unless you had stopped it. Docker warns against managing the same container with both a restart policy and a system service. This does not rebuild a cluster whose script has removed its containers.

Changes something. That container will start by itself, including after reboots, and take memory again.

docker update --restart unless-stopped NAME

Changes something. Starts Docker now and at every boot.

sudo systemctl enable --now docker

User services

Changes something. Lets that user’s services run from boot, with nobody signed in.

sudo loginctl enable-linger USER

Changes something. Starts your own named service when your user manager starts.

systemctl --user enable SERVICE

Our advice: write the start order down: network, mounts, the head, then workers, then the model. Automate only what you have first started by hand from that list.

Confirm

Test with one planned restart.

Only when nothing is running that you cannot lose, restart one Spark, check the list, then do the other. A Spark that you reach only over the network may need a screen and keyboard if networking fails.

Restarts or stops something. Restarts this Spark now and ends everything running on it, for every user.

sudo reboot
ip -br addr
systemctl --failed
docker ps

Undo

Take a change back.

Each change has its opposite. Netplan: restore your saved copy of the file and apply it again.

Changes something. That container no longer starts by itself.

docker update --restart no NAME

Changes something. Stops the service starting by itself, then turns lingering off. Turning lingering off affects every user service for that account.

systemctl --user disable SERVICE
sudo loginctl disable-linger USER

Next

Keep going.

About Server AI Hub

Server AI Hub is our app for looking after a DGX Spark. You do not need it to follow this playbook. It is coming soon to the App Store and the Microsoft Store.

See what Server AI Hub does

Sources

Check the makers’ own pages.

General guidance only, in our own words. Check what a command does before you run it; you use these steps at your own risk. NVIDIA, DGX Spark, ConnectX and CUDA are trademarks of NVIDIA Corporation; Docker, Ray, PyTorch, Ubuntu, Linux, Hugging Face and other names belong to their owners. 6ixLabs is not affiliated with or endorsed by NVIDIA or any project named here.