Skip to main content

Node Quickstart

Bring a GPU machine online as a Lium node in two steps: run one install command, and add the node in the Provider Portal.

You need a provider account first. See Provider Quickstart.

Requirements​

  • OS: Ubuntu 24.04 or 26.04, or Ubuntu 22.04 with the HWE kernel.
  • GPU: NVIDIA driver installed (nvidia-smi works). All GPUs in a node are the same model.
  • Docker: installed and running.
  • Sysbox already installed? The NVIDIA Container Toolkit must be installed too; otherwise run the Sysbox setup first.
  • Network: at least 100 Mbit/s, a public IP, and ports 8080 and 2200 open.
  • Hardware: at least 8 GB of RAM and 150 GB of disk.
  • Idle pay: total disk of at least 1.5 × the total GPU memory, and system RAM of at least half the total GPU memory. See Unrented pool.
  • HGX H100 or H200: NVIDIA Fabric Manager running before you add the node.
  • GPU use: only Lium and its renters may use the node's GPUs. Anything else on the GPU fails the check, and a failing node is not paid. See Troubleshooting.
  • Sharing a machine with another platform: give Lium its own VM with its GPUs passed through, and keep the same GPUs on every VM restart. On one operating system the node uses every GPU it shows, so the other platform's GPUs cannot stay on the same OS. See One node, one fixed set of GPUs.

Strongly recommended: set up Docker storage on XFS, so each pod is limited to the disk it rents. Without it a renter can write past the slice they paid for. It is required for GPU splitting.

Step 1: Run the install command​

  1. Open provider.lium.io and click Add Node.
  2. Choose Run one command on the host and copy the command.
  3. Run it on the host:
curl -fsSL https://lium.io/mine.sh | bash -s -- --register <token>

It installs Sysbox if the host does not have it (Lium 0.28.2 or newer: if lium is already installed, upgrade it first), installs the node, adds it to your portal and shows its status until it is listed. Nothing is typed by hand. Two optional flags do more host setup in the same run: --storage file sets up Docker storage in an image file on the host's disk (--storage /dev/<spare disk> formats that disk instead), and --host-tuning turns on time sync and holds driver updates.

Starting before you sign in? Use your hotkey instead, then add the node in Step 2:

curl -fsSL https://lium.io/mine.sh | bash -s -- -k <your_provider_hotkey_ss58>

When it finishes, note the GPU type, IP address, port and GPU count it prints.

If the node stays pending, test the ports from outside

From a machine outside your network, check that the validator can reach the node:

nc -vz -w 5 <node public ip> 2200
nc -vz -w 5 <node public ip> 8080

Both must succeed. With --register, the command already shows the portal's own outside check of the service port right after the node is added. If one times out, open that port in your firewall, cloud security group or router. Also open at least three ports of your renting port range (20000 and up if you left it empty), or the node fails with INSUFFICIENT_PORTS.

Penalties: read before you list a node

A Secure node that drops a rental costs you 24 hours of that rental's price, however short the rental was, and all of your rental-fee payouts go to the debt until it is paid. On an 8× H100 at $2.00 per GPU-hour that is about $365 for one dropped rental. See Penalties before you list a node; put a node you cannot keep stable on Spot.

Step 2: Add the node in the portal​

Skip this step if you used the --register command.

  1. Sign in at provider.lium.io.
  2. Click Add Node.
  3. Enter the GPU type, GPU count, IP address, port (8080) and your price per GPU (USD/hr).
  4. Click Add Node.

The node shows VALIDATION PENDING, then AVAILABLE once a validator has checked it. That usually takes about 5 minutes. If it stays pending, see Monitoring → What each status means.

The GPU type is the NVIDIA model name the node reports, for example NVIDIA H100 80GB HBM3; a name in any other form is refused.

Second node behind one public IP​

Each node behind the same public IP needs its own service port, SSH port and renting port range. For example, with the first node on 8080, 2200 and its own range:

1. Forward the second node's ports

On the router, forward 8081, 2201 and 41000-41100 to the second machine.

2. Run the install command with those ports

Upgrade lium first if it is already installed, then:

curl -fsSL https://lium.io/mine.sh | bash -s -- --register <token> --external-port 8081 --ssh-port 2201 --renting-port-range 41000-41100

Without --register, enter port 8081 in Step 2.

The command creates the compute-subnet folder in the folder it runs from, so run the second node's command from a different folder. Nothing else needs installing first.

3. Keep the first node's range apart

A node with an empty renting range uses every port from 20000 up, including the second node's. Give the first node its own range (for example 40000-40100, forwarded to it). While the first node has no rental, upgrade lium on it, then run this from the folder you installed it from:

lium mine --auto --renting-port-range 40000-40100

It writes the range to the node's .env, restarts the node so the range applies, then validates the node again: the same GPU, matrix and VerifyX checks as the first install, which use all of the node's GPUs for 2 to 4 minutes. Run it only while the node has no rental.

What's next​

  1. Docker storage: limit each pod to the disk it rents
  2. GPU splitting: rent out part of a node
  3. Confidential VM: isolated nodes for sensitive workloads
  4. Managing Nodes: prices and notice periods
  5. Troubleshooting: what each check failure means