Switch Fast Reboot via Structured Configuration Storage
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing switch systems face inefficiencies in managing persistent storage, particularly during reboot processes, due to the need to validate and structure configuration information stored in unstructured formats, leading to delays and inefficiencies even when the configuration has not changed.
Innovation Solution
A switch system equipped with a persistent storage framework that stores configuration information in a structured format, such as an object relational database, allowing for efficient loading and validation during boot-ups, and includes a boot-up management module that checks for changes and updates the configuration, enabling fast reboots by bypassing extensive configuration processing.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If configuration information is stored in unstructured format in local storage, then the switch can maintain persistent storage capability, but the boot-up process becomes inefficient due to required validation and structuring operations
Solution Approach 1:
The patent applies preliminary action by pre-structuring configuration information into a structured format (e.g., relational database tables) before boot-up operations. The configuration is organized into tables such as global configuration tables and module-specific configuration tables during system operation, so that during boot-up, the switch can directly load pre-validated and pre-structured data without performing time-consuming validation and structuring operations on unstructured configuration data.
2Reliability
If the switch processes the entire configuration file during every reboot, then configuration consistency is ensured, but reboot time increases significantly even when no changes have been made
Solution Approach 1:
The patent applies the extraction principle by separating the configuration loading process into two distinct paths: (1) extracting and processing only the changed portions of configuration when modifications are detected, and (2) directly loading pre-validated configuration data when no changes are present. The system extracts only the necessary configuration subsets related to specific modules or changed elements, avoiding the overhead of processing the entire configuration file during every reboot operation.
Solution Approach 2:
The patent implements feedback by introducing a change detection mechanism that monitors whether configuration information has been modified since the last boot-up. The boot-up management module compares current configuration data with previously loaded configuration, and based on this feedback, dynamically adjusts the loading strategy - either performing full configuration processing when changes are detected or skipping directly to loading pre-validated data when no changes are present.
3Adaptability or versatility
If the switch stores detailed configuration information for network virtualizations, partitions, and multi-protocol operations, then the switch capability and versatility improve, but the complexity of managing persistent storage increases
Solution Approach 1:
The patent applies segmentation by dividing the configuration storage into multiple organized tables rather than using a single monolithic storage structure. Configuration information is segmented into global configuration tables (storing switch-wide settings) and module-specific configuration tables (storing settings for individual modules such as network virtualization, partitions, and protocol handlers). This segmentation reduces management complexity by allowing targeted access and validation of specific configuration subsets.
Solution Approach 2:
The patent introduces an intermediary layer - the boot-up management module - that mediates between the structured configuration storage and the switch modules. This intermediary handles the complexity of configuration management by automatically validating, parsing, and loading configuration data from the structured tables into the appropriate modules, shielding theVersatile configuration capabilities from the complexity of persistent storage management.
Data Source
AI summary
One embodiment of the present invention provides a switch. The switch includes a packet processor, a persistent storage module, and a boot-up management module. The packet processor identifies a switch identifier associated with the switch in the header of a packet. The persistent storage module stores configuration information of the switch in a first table in a local persistent storage. This configuration information is included in a configuration file, and the first table includes one or more columns for the attribute values of the configuration information. The boot-up management module loads the attribute values to corresponding switch modules from the first table without processing the configuration file.


