IP Library Granted Patent US 12,079,501
Granted Patent B2
US 12,079,501 · App. 17/778,671 · Granted Sep 3, 2024

MON service migration method, apparatus, and device, and readable storage medium

Inventors: Chunjie Ding (Shandong, CN); Xiangrui Meng (Shandong, CN)
Assignee: Inspur Electronic Information Industry Co., Ltd.
G06F3/0647G06F3/0635G06F3/0679G06F3/0604
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,079,501
App. No.
17/778,671
Granted
Sep 3, 2024
Kind
B2
Abstract

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.

Claims (25)

1. A monitoring service migration method, for use in any node in a distributed storage system, comprising:

acquiring historical data of a monitoring service in a current node;

determining, in the node, a target magnetic disk for migrating the monitoring service, and migrating the historical data to the target magnetic disk;

deleting original mount information of the MON service in a configuration file of the distributed storage system, the original mount information including a name of the node, a name of the monitoring service, and a partition path of an original mount magnetic disk of the monitoring service in the distributed storage system;

creating mount information of the monitoring service in the configuration file of the distributed storage system, wherein the mount information comprises: a name of the node, a name of the monitoring service, and a partition path of the target magnetic disk in the distributed storage system; and

restarting the monitoring service according to the configuration file, such that the monitoring service is migrated to the target magnetic disk.

2. The monitoring service migration method according to claim 1 , wherein determining, in the node, the target magnetic disk for migrating the monitoring service comprises:

querying mountable magnetic disks in the node by using a query command; and

under the condition that a solid state disk exists in the mountable magnetic disks, determining the solid state disk in the mountable magnetic disks to be the target magnetic disk.

3. The monitoring service migration method according to claim 2 , further comprising:

under the condition that no solid state disk exists in the mountable magnetic disks, randomly selecting the target magnetic disk in the mountable magnetic disks.

4. The monitoring service migration method according to claim 3 , wherein after restarting the monitoring service according to the configuration file, such that the monitoring service is migrated to the target magnetic disk, the method further comprises:

visually displaying monitor information in the target magnetic disk.

5. The monitoring service migration method according to claim 2 , wherein after restarting the monitoring service according to the configuration file, such that the monitoring service is migrated to the target magnetic disk, the method further comprises:

visually displaying monitor information in the target magnetic disk.

6. The monitoring service migration method according to claim 1 , wherein restarting the MON service according to the configuration file comprises:

reading the mount information, and restarting the monitoring service according to the mount information, wherein a randomized algorithm is applied when the target magnetic disk is randomly selected.

7. The monitoring service migration method according to claim 6 , wherein after restarting the monitoring service according to the configuration file, such that the monitoring service is migrated to the target magnetic disk, the method further comprises:

visually displaying monitor information in the target magnetic disk.

8. The monitoring service migration method according to claim 1 , wherein after restarting the MON service according to the configuration file, such that the monitoring service is migrated to the target magnetic disk, the method further comprises:

visually displaying monitor information in the target magnetic disk.

9. A monitoring service migration device, comprising:

a non-transitory memory, configured to store a computer program; and

a processor, configured to execute the computer program to implement the monitoring service migration method according to claim 1 .

10. A non-transitory readable storage medium for storing a computer program, wherein the computer program, when executed by a processor, implements the monitoring service migration method according to claim 1 .

Assignments (2)
LICENSE Recorded Jun 30, 2026
From: IEIT SYSTEMS CO., LTD
To: AIVRES SYSTEMS INC.
Reel/Frame 075857/0939 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 20, 2022
From: DING, CHUNJIE; MENG, XIANGRUI
To: INSPUR ELECTRONIC INFORMATION INDUSTRY CO., LTD.
Reel/Frame 059974/0034 →
Priority Claims (1)
CN 201911157782.9 · Nov 22, 2019 · national
Continuity (1)
Related Publication 20220413733A1 · Dec 29, 2022