NFS Root Failover on Diskless Systems Using Redundant Ethernet Paths
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Diskless computer systems face challenges in maintaining reliable and continuous network connectivity due to network failures, which disrupt operation and lead to downtime, and existing solutions for network redundancy are complex and not feasible for static configurations.
Innovation Solution
A method and system for configuring a diskless system with a redundant communication path and failover capabilities, utilizing a user-space program running a static binary to monitor and switch to a redundant Ethernet path upon failure, without requiring kernel-space assistance.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If a single network path is used for NFS root on a diskless system, then the configuration is simple and static, but network failures cause system downtime and loss of connectivity
Solution Approach 1:
The patent configures multiple network paths (primary and secondary Ethernet interfaces) in advance during system initialization, so that when a failure occurs, the system can immediately switch to the pre-configured redundant path without complex runtime reconfiguration. This preliminary setup of backup paths resolves the contradiction by having redundancy ready before failure occurs.
Solution Approach 2:
The patent introduces a user-space program as an intermediary layer between the kernel network stack and the NFS client. This user-space program monitors network path health and performs failover by switching the NFS root mount between different network interfaces, providing a simple mechanism to manage network redundancy without complex kernel modifications.
2Reliability
If dynamic reconfiguration is implemented to handle network failures, then system availability improves, but the complexity of configuration and management increases significantly
Solution Approach 1:
The patent implements automatic network path monitoring and failover through a user-space program that autonomously detects network failures and switches to backup paths without requiring manual intervention. The system self-manages the redundancy configuration, performing health checks and failover operations automatically, which maintains high availability while keeping operations simple.
Solution Approach 2:
The patent enables dynamic switching between static network paths by allowing the NFS root mount to be moved between different Ethernet interfaces at runtime. This dynamic capability provides system availability improvement while maintaining configuration simplicity through automated path selection and switching logic.
3Speed
If kernel-space assistance is used to implement network path failover, then failover speed improves, but system complexity and modification requirements increase
Solution Approach 1:
The patent uses a user-space program as an intermediary that communicates with the kernel through standard interfaces to achieve network path failover. This approach provides sufficient failover speed by leveraging existing kernel networking capabilities while avoiding the complexity of kernel-space modifications, maintaining a clean separation between user-space monitoring logic and kernel networking functions.
Data Source
AI summary
The present application discloses a method, system, and computer system for adding a redundant network path for an NFS root on a diskless system. The method includes: (a) generating, by a system initialization script, a RAM disk, wherein the system initialization script is executed after an operating system switches a root mount point to an NFS filesystem and initialization is performed, (b) copying a binary to the RAM disk, (c) launching the binary as a user-space program, and (d) executing, by the user-space program, a command from an already-running NFS-backed user-space program to move the NFS on a redundant Ethernet path after the redundant Ethernet path has been initialized.


