Learn / DGX Spark Cluster Troubleshooting by Symptom

Cluster problems, part 1: check before you change

Something's wrong with your two DGX Sparks. Here's how to check, before you change anything.

Chapters

  1. 0:00Introduction
  2. 0:07Where this fits: The AI stack
  3. 0:13Read this first: Look, then touch
  4. 0:25The order: From the bottom up
  5. 0:38On both Sparks: Read the link
  6. 0:52The cable: One approved cable
  7. 1:06Reach the other Spark: Can you get there?
  8. 1:18Then pick your symptom: Which page?
  9. 1:33Wrap up
Read the transcript

Introduction

Something's wrong with your two DGX Sparks. Here's how to check, before you change anything.

Where this fits: The AI stack

We start at the bottom of the stack: the machines, and the cable between them.

Read this first: Look, then touch

First, write down the exact message, the time, and which Spark. Next, run commands that only read. Save what they print. Then change one thing, and know how to undo it.

The order: From the bottom up

Check power and the cable. Then check that the link is up on both Sparks. Then addresses, and signing in, in both directions. Then check the software matches. Only then look at the job itself.

On both Sparks: Read the link

This NVIDIA command shows which cable interfaces are up. This one shows the state of every link. A live cable says lower up. Here you see each address. And this shows which interface your traffic would really use.

ibdev2netdev
ip -br link
ip -br addr
ip route get PEER_LINK_IP

The cable: One approved cable

Between two Sparks, NVIDIA's current guides use one cable. A second one doesn't make it faster. Use a cable from NVIDIA's approved list. And remember, unplugging it breaks any job that's using it.

Reach the other Spark: Can you get there?

Try the other Spark by name. Then sign in and ask its name. If it fails, read the message. It tells you how far you got. Last, test the address on the cable.

ping -c 3 spark-two.local
ssh USER@spark-two.local hostname
ping -c 3 PEER_LINK_IP

Then pick your symptom: Which page?

If you can't find it, check names, sign-in and cable separately. If it's slow, prove the route before you measure. If a worker won't join, compare versions, tokens and ports. And if one Spark drops out, read its last boot's log.

Wrap up

Find the first layer that fails. Part two covers software, memory and restarts.

Sources

More lessons