TECHNOLOGY

Deleting a primary LNet NID changes the whole peer identity

In this article
THE QUICK TAKE

Review primary identity and every associated peer NI before changing a rail; local interface presence is not proof of a preserved remote peer.

One address can name more than one rail

A storage administrator removes an obsolete LNet address after a network change and expects the remaining rail to continue unchanged. If the removed NID is the peer’s primary NID, the documented deletion behavior removes the peer entry. The operation is therefore not merely subtraction of one equivalent endpoint.

The lnetctl manual models a peer with a primary identity and associated NIDs. Start from that object relationship before changing addresses, especially when an automation system treats a flat list of network interfaces as the complete configuration.

Separate local NIs and remote peers

Local network interfaces, remote peer NIs and routes are different configuration objects. The LNet overview describes a networking layer that can operate over several network types and route between them. A healthy local IP or InfiniBand interface does not establish the remote peer object’s membership.

Record the local networks, the remote primary NID and all associated peer NIDs. Keep the multi-rail capability designation with that record. A configured peer flag is not a measured guarantee that traffic uses every interface or that all paths are physically independent.

Inspect the object before editing it

Use the documented peer and network inspection views to capture current configuration and available detailed counters. Resolve the proposed removal to its role: primary identity, secondary peer NID, local NI or route gateway. Do not infer that role from address similarity.

Also preserve any primary-identity lock and the deployed command semantics. A forced deletion is not ordinary cleanup when it overrides an identity safeguard. This procedure describes the review and does not modify a live LNet configuration.

Plan the resulting peer explicitly

For a maintenance exercise, define the intended final primary identity and associated reachable NIDs. Follow the supported lifecycle for the deployed release rather than assuming that deleting the current primary automatically promotes the desired secondary NID.

Keep a configuration backup separate from runtime statistics. The manual’s export includes state and statistics, while its backup option selects elements needed to recreate configuration. A diagnostic dump and a restoration input therefore have different purposes and should be labeled accordingly.

Verify storage traffic after the transition

Acceptance requires the intended peer object to exist with the expected primary and associated interfaces, and actual storage operations to complete through the resulting path. Observe peer-level errors and credits alongside application results. A successful local network query cannot substitute for remote communication.

Fabric path reasoning explains why configured alternatives and observed traffic are different claims. Storage placement connects the network check to model loading and recovery rather than treating interface inventory as a workload result.

Limits of peer preservation

Preserving a peer object does not establish failover latency, aggregate bandwidth or application checkpoint consistency. Nor does this article assert that removing every primary NID is always wrong: it can be the intended way to remove a peer. The essential distinction is whether the approved operation targets a rail or the peer’s identity, followed by evidence that the resulting storage path matches that intent.

Earn rental income from GPUs

Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.

Explore GPU hosting
← All articles