MON Service Migration in Distributed Storage Systems
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
In distributed storage systems, migrating a MON service without affecting front-end services is challenging, as existing methods require node removal, impacting system loading capacity and reliability, especially during busy periods.
Innovation Solution
A method that acquires historical data of the MON service, determines and migrates it to a target magnetic disk, updates configuration files with new mount information, and restarts the service, allowing seamless migration without node removal, prioritizing SSDs if available.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If the node is removed from the distributed storage system to migrate the MON service, then the MON service can be migrated to a new magnetic disk, but the loading capability of the entire distributed storage system is impacted and front-end services are affected
Solution Approach 1:
The patent segments the MON service migration process from node operations. Instead of removing the entire node to migrate the MON service, the solution separates the MON service data (historical data) from the node structure, allowing the service to be migrated independently while the node remains active and continues to handle front-end services.
Solution Approach 2:
The patent introduces a configuration file as an intermediary to manage the MON service migration. The configuration file stores mount information that links the MON service to its data location, allowing the service to be redirected to new storage without disrupting node operations or front-end services.
2Adaptability or versatility
If the node is removed from the distributed storage system to migrate the MON service, then the MON service can be migrated to a new magnetic disk, but the reliability of the distributed storage system is reduced
Solution Approach 1:
The patent performs preliminary actions by acquiring historical data of the MON service and migrating it to a target magnetic disk before making any changes to node configuration or service operation. This ensures data is ready and verified before the service is redirected, maintaining system reliability throughout the migration process.
Solution Approach 2:
The configuration file acts as an intermediary that safely manages the transition. By updating mount information in the configuration file rather than directly manipulating running services or node structures, the system maintains stability and reliability during the migration process.
3Adaptability or versatility
If the node is removed from the distributed storage system to migrate the MON service, then the MON service can be migrated to a new magnetic disk, but front-end services are impacted when the system is busy
Solution Approach 1:
The patent segments the MON service from node operations, allowing the MON service to be migrated independently through data acquisition, target disk selection, and configuration updates without requiring node removal or service interruption, thus maintaining front-end service continuity.
Solution Approach 2:
The MON service migration is designed as a self-service process that updates its own mount information in the configuration file and redirects to new storage without requiring system-wide changes or impacting other services, enabling migration without affecting front-end operations.
Data Source
AI summary
A MON service migration method, apparatus, and device, and a readable storage medium, for use in any node in a distributed storage system. The method comprises: acquiring historical data of a MON service in a current node; in the node, determining a target magnetic disk for migrating the MON service, and migrating the historical data to the target magnetic disk; creating mount information of the MON service in a configuration file of the distributed storage system; and restarting the MON service according to the configuration file, such that the MON service migrates to the target magnetic disk. The present method does not need to remove nodes in the distributed storage system, and therefore the MON service migration process will not affect front-end services, improving the service capabilities and reliability of the distributed storage system.


