CN113590033A - Information synchronization method and device of super-fusion system - Google Patents

Information synchronization method and device of super-fusion system Download PDF

Info

Publication number
CN113590033A
CN113590033A CN202110744910.0A CN202110744910A CN113590033A CN 113590033 A CN113590033 A CN 113590033A CN 202110744910 A CN202110744910 A CN 202110744910A CN 113590033 A CN113590033 A CN 113590033A
Authority
CN
China
Prior art keywords
information
physical disk
server
physical
super
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110744910.0A
Other languages
Chinese (zh)
Other versions
CN113590033B (en
Inventor
姜文涛
颜秉珩
方浩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN202110744910.0A priority Critical patent/CN113590033B/en
Publication of CN113590033A publication Critical patent/CN113590033A/en
Application granted granted Critical
Publication of CN113590033B publication Critical patent/CN113590033B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0604Improving or facilitating administration, e.g. storage management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0614Improving the reliability of storage systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0646Horizontal data movement in storage systems, i.e. moving data in between storage devices or systems
    • G06F3/0652Erasing, e.g. deleting, data cleaning, moving of data to a wastebasket
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0683Plurality of storage devices
    • G06F3/0688Non-volatile semiconductor memory arrays

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the application discloses an information synchronization method and a device of a super-fusion system, aiming at any server in the super-fusion system, obtaining information of a first physical disk set included in the server of the super-fusion system and information of a second physical disk set used by the super-fusion system and stored by the server, comparing the two information to obtain the added information or deleted information of the physical disk used by the hyper-fusion system in the server, and updating the storage information of the physical disk used by the hyper-fusion system in the server according to the added information or the deleted information, namely, comparing the disk information in the super fusion system with the disk information in the server to obtain the added information or the deleted information of the physical disk in the server, after the physical disk in the server is used by the hyper-convergence system, the related information of the physical disk can still be updated.

Description

Information synchronization method and device of super-fusion system
Technical Field
The present application relates to the field of computers, and in particular, to an information synchronization method and apparatus for a super fusion system.
Background
With the development of computer technology, in the field of cloud computing, a super fusion system is also developed. A super-fusion virtualization system, called super-fusion system for short, is an information base system integrating virtual computing resources and storage devices. In the super-fusion system, the storage space used by the user is constructed by using software, so that the entity storage equipment and the user are kept in an isolated state, and the complete fusion of the entity storage resources and the virtualization platform is realized.
One of the functions of the super-fusion system is to provide storage service for users, and the super-fusion system can be used for storing data on a plurality of independent servers in a dispersed manner, so that the requirement of large-scale data storage can be met.
Each server in the super-fusion system is a node, and storage resources such as physical disks and the like in the servers can be used by the super-fusion system to become storage resources included in the super-fusion system. However, after the physical disk is used by the super-fusion system, only the relevant information of the physical disk is fed back to the super-fusion system, and the relevant information of the physical disk is not fed back to the server where the physical disk is actually located, so that the server cannot update the relevant information of the physical disk in time.
Disclosure of Invention
In view of this, embodiments of the present application provide an information synchronization method and apparatus for a super-fusion system, so that after a physical disk in a server is used by the super-fusion system, related information of the physical disk can still be updated.
The embodiment of the application provides an information synchronization method of a super-fusion system, which is applied to a server and comprises the following steps:
acquiring first disk set information of a first physical disk set included in the super fusion system and second disk set information of a second physical disk set used by the super fusion system and stored by the server;
comparing the first disk set information with the second disk set information, and determining plug-pull information of a physical disk used by the super fusion system in the server, wherein the plug-pull information is newly added information or deleted information of the physical disk;
and updating the storage information of the physical disk used by the super-fusion system in the server according to the plugging information.
Optionally, the comparing the first disk set information with the second disk set information, and determining the plugging information of the physical disk used by the super fusion system in the server includes:
judging whether the physical disks included in the first physical disk set belong to a second physical disk set at the same time, if not, the physical disks are the physical disks newly added and used by the super-fusion system in the server;
and judging whether the physical disks included in the second physical disk set belong to the first physical disk set at the same time, if not, the physical disks are the physical disks deleted and used by the super-fusion system in the server.
Optionally, the storage information of the physical disk includes a correspondence between the server and the physical disk, usage information of the physical disk, and basic information of the physical disk; the use information is information whether the physical disk is used by the hyper-fusion system.
Optionally, the updating, according to the plugging information, storage information of a physical disk used by the super fusion system in the server includes:
and if the plugging information is newly added information of the physical disk used by the super-fusion system in the server, newly adding the corresponding relation between the server and the newly added physical disk used by the super-fusion system and the basic information of the newly added physical disk.
Optionally, the updating, according to the plugging information, storage information of a physical disk used by the super fusion system in the server includes:
and if the plugging information is the deletion information of the physical disk used by the super-fusion system in the server, deleting the corresponding relation between the server and the physical disk deleted by the super-fusion system and the basic information of the physical disk deleted.
Optionally, the storage information of the physical disk is stored in a database.
Optionally, the basic information of the physical disk at least includes a unique identifier of the physical disk.
Optionally, the first disk set information includes basic information of physical disks in the first physical disk set, and the second disk set information includes basic information of physical disks in the second physical disk set;
the determining whether the physical disks included in the first physical disk set belong to the second physical disk set at the same time includes:
judging whether the unique identification of the physical disk in the first physical disk set belongs to the second disk set information at the same time;
the determining whether the physical disks included in the second physical disk set belong to the first physical disk set at the same time includes:
and judging whether the unique identification of the physical disk in the second physical disk set belongs to the first disk set information at the same time.
The embodiment of the application provides an information synchronization device of a super-fusion system, the device comprises:
an obtaining unit, configured to obtain first disk set information of a first physical disk set included in the super fusion system and second disk set information of a second physical disk set used by the super fusion system in the server;
a comparing unit, configured to compare the first disk set information with the second disk set information, and determine plug information of a physical disk used by the super fusion system in the server, where the plug information is new information or deleted information of the physical disk;
and the updating unit is used for updating the storage information of the physical disk used by the super fusion system in the server according to the plugging information.
The embodiment of the application provides a server of a super-fusion system, wherein the server comprises: a processor and a memory;
the memory to store instructions;
the processor is configured to execute the instructions in the memory to perform the method according to the above embodiment.
The embodiment of the application provides an information synchronization method of a super-fusion system, aiming at any one server in the super-fusion system, obtaining information of a first physical disk set included in the server by the super-fusion system and information of a second physical disk set used by the super-fusion system and stored by the server, comparing the two information to obtain the added information or deleted information of the physical disk used by the hyper-fusion system in the server, and updating the storage information of the physical disk used by the hyper-fusion system in the server according to the added information or the deleted information, namely, comparing the disk information in the super fusion system with the disk information in the server to obtain the added information or the deleted information of the physical disk in the server, after the physical disk in the server is used by the hyper-convergence system, the related information of the physical disk can still be updated.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the present application, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a flowchart of an information synchronization method of a super-fusion system according to an embodiment of the present disclosure;
FIG. 2 is a schematic diagram of a hyper-fusion system provided in an embodiment of the present application;
fig. 3 is a block diagram of an information synchronization apparatus of a super-fusion system according to an embodiment of the present disclosure.
Detailed Description
In order to make the technical solutions of the present application better understood, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
As described in the background art, in practical applications, scenes such as replacement, addition, deletion and the like of a physical disk in a server often occur, when the physical disk in the server is used by a super-fusion system, the replacement, addition, deletion and the like of the physical disk only feed back to the super-fusion system, for the server itself, after the physical disk in the server is used by the super-fusion system, the physical disk used by the super-fusion system does not feed back relevant information to the server itself, and after a period of time, if the information of the physical disk is updated, the server does not receive the updated information, so that the server cannot update the relevant information of the physical disk in time, and further the information of the physical disk included in the server and the information of the physical disk stored by the server in the super-fusion system are not matched.
Based on this, an embodiment of the present application provides an information synchronization method for a super-fusion system, which includes, for any one server in the super-fusion system, obtaining information of a first physical disk set included in the server of the super-fusion system and information of a second physical disk set used by the super-fusion system and stored by the server, comparing the two pieces of information to obtain new information or deleted information of a physical disk used by the super-fusion system in the server, and updating storage information of the physical disk used by the super-fusion system in the server according to the new information or deleted information, that is, comparing information of a disk in the super-fusion system with information of a disk in the server to obtain new information or deleted information of the physical disk in the server, so that the physical disk in the server can still update relevant information of the physical disk after being used by the super-fusion system, the consistency of the information of the physical disk used by the super fusion system in the server and the information of the physical disk included in the super fusion system is kept, and meanwhile, the information of the physical disk used by the super fusion system is correctly displayed on the server, so that the usability and the fault tolerance of the super fusion system can be improved, and the performance of the super fusion system is improved.
Referring to fig. 1, the figure is a flowchart of an information synchronization method of a super-fusion system according to an embodiment of the present application.
In the embodiment of the present application, the super-fusion system includes one or more servers, and the information synchronization method of the super-fusion system provided in the embodiment of the present application is applied to the servers.
The information synchronization method of the super-fusion system provided by the embodiment comprises the following steps:
s101, acquiring first disk set information of a first physical disk set included in the super fusion system and second disk set information of a second physical disk set used by the super fusion system and stored by the server.
In an embodiment of the present application, for any one of the servers in the super-fusion system, the server includes one or more physical disks used by the super-fusion system, and when the super-fusion system initializes at the server, the server stores information of the one or more physical disks used by the super-fusion system, that is, the second disk set information. The second physical disk set is one or more physical disks stored by the server and used by the super-fusion system in the initialization stage of the super-fusion system.
The second disk set information includes the number of physical disks in the second disk set and basic information of the physical disks, and the basic information at least includes unique identifiers (SCSIIDs) of the physical disks. The basic information also includes attribute information of the disk, such as a drive letter or an absolute path of the physical disk.
In an embodiment of the present application, the first disk set information is first disk set information of a first physical disk set included in the super-fusion system, that is, the super-fusion system also stores information of one or more physical disks used in the server. The first set of physical disks is one or more physical disks included in the server by the super-fusion system.
After the super-fusion system is initialized in the server, addition or deletion of the physical disk is not fed back to the server any more, and only the super-fusion system is fed back.
After a period of time has elapsed, the first set of disk information and the second set of disk information may be the same, which reflects that the server is not changing any physical disks used by the hyper-converged system during the period of time.
However, in practical applications, after a period of time elapses, the physical disk of the server used by the super-fusion system may be changed, such as deleted, added, or replaced, the first disk set information of the physical disk in the first disk set included in the super-fusion system is the latest and real-time information, and since the server cannot receive the feedback information of the physical disk, the server still stores the second disk set information of the second disk set used by the super-fusion system when the super-fusion system is initialized, that is, when the physical disk used by the super-fusion system in the server is changed, the first disk set information and the second disk set information are different.
In the embodiment of the application, the first disk set information of the first physical disk set included in the current super-fusion system can be acquired by calling a virtualization bottom layer command. The first disk set information includes basic information of each physical disk of the one or more physical disks, and may be obtained in the form of a list.
In the embodiment of the application, the second disk set information of the second physical disk set used by the super-fusion system and stored by the server is directly obtained locally at the server.
S102, comparing the first disk set information with the second disk set information, and determining plug-pull information of a physical disk used by the super fusion system in the server, wherein the plug-pull information is added information or deleted information of the physical disk.
In the embodiment of the application, the plugging and unplugging information of the physical disk used by the super-fusion system in the server can be determined by comparing the first disk set information with the second disk set information, wherein the plugging and unplugging information of the physical disk is newly added information or deleted information of the physical disk. That is, since the super-fusion system includes the information of the physical disk of which the first disk set information is the latest and real-time information, the change of the physical disk used by the super-fusion system on the server can be determined by comparing the first disk set information with the second disk set information, and the physical disk is added or deleted. The replacement of the physical disk is regarded as deleting the original physical disk and adding a new physical disk.
Specifically, the first disk set information and the second disk set information may be compared in the following manner:
whether the physical disks included in the first physical disk set belong to the second physical disk set at the same time can be judged, and if not, the physical disks are the physical disks newly added and used by the super-fusion system in the server.
And then, continuously judging whether the physical disks included in the second physical disk set belong to the first physical disk set at the same time, if not, the physical disks are the physical disks deleted and used by the super-fusion system in the server.
By comparing the first disk set information with the second disk set information in the above manner, the physical disk added or deleted on the server can be determined.
Because the first disk set information includes basic information of physical disks in the first physical disk set, and the second disk set information includes basic information of physical disks in the second physical disk set, it can be specifically determined whether physical disks included in the second physical disk set belong to the first physical disk set at the same time by determining whether unique identifiers of physical disks in the first physical disk set belong to the second disk set information at the same time, that is, determining whether unique identifiers of physical disks in the first physical disk set appear in the second physical disk set information at the same time; whether the physical disks included in the second physical disk set belong to the first physical disk set at the same time can be specifically judged by judging whether the unique identifiers of the physical disks in the second physical disk set belong to the first disk set information at the same time, that is, judging whether the unique identifiers of the physical disks in the second physical disk set appear in the first physical disk set information at the same time.
S103, updating the storage information of the physical disk used by the super fusion system in the server according to the plugging information.
In the embodiment of the application, the storage information of the physical disk used by the super-fusion system in the server is updated according to the plugging and unplugging information of the physical disk obtained by comparing the first disk set information with the second disk set information.
The storage information of the physical disk used by the super-fusion system in the server is stored in a database, the storage information comprises the corresponding relation between the server and the physical disk, and the basic information and the use information of the physical disk, wherein the use information is the information of whether the physical disk is used by the super-fusion system.
In the embodiment of the application, if the plugging information is newly added information of a physical disk used by the super fusion system in the server, the corresponding relationship between the newly added server and the newly added physical disk and the basic information of the newly added physical disk are obtained. That is, if the physical disk used by the super-fusion system in the server is the newly added physical disk, the corresponding relationship between the server and the newly added physical disk and the basic information of the newly added physical disk need to be added to the database, so as to reflect that the newly added physical disk in the server is used by the super-fusion system through the database. The specific addition of the corresponding relationship may be inserting a record of a newly added physical disk into the database table, and adding the basic information of the newly added physical disk may be performed in an association table of the database table, where the association table is a table of the newly added physical disk.
In the embodiment of the application, if the plugging information is deletion information of a physical disk used by the super fusion system in the server, the corresponding relation between the server and the physical disk used for deletion and the basic information of the physical disk used for deletion are deleted. That is, if the physical disk used by the super-fusion system during initialization of the server is a deleted physical disk, the corresponding relationship between the server and the deleted physical disk and the basic information of the deleted physical disk need to be deleted in the database, so as to update the information of the physical disk used by the super-fusion system in the server stored in the database. Specifically, an association table of a database table is deleted in the database, where the association table is a table of a deleted physical disk, and then a correspondence between the server and the deleted physical disk is deleted in the database, where the deletion correspondence may be a record of the deleted physical disk in the database table.
In the embodiment of the application, after the storage information of the physical disk used by the super-fusion system in the server is updated, the server may scan the local physical adapter to obtain the basic information of the physical disk, the number of the physical disks, and the like included in the current server, and synchronize the information into the database.
Fig. 2 is a schematic diagram of a super-fusion system according to an embodiment of the present disclosure. In fig. 2, 2 servers included in the super-converged system are shown, each server is a node in the super-converged system and includes storage resources of the super-converged system. When the super-fusion system is initialized on the server, the physical disk in the server is used as the super-fusion system, and the use state of the used physical disk is marked as used.
The server 1 shown in fig. 2 includes a physical disk a and a physical disk B at the time of initialization, and the server 2 includes a physical disk C and a physical disk D at the time of initialization. That is, for the server 1, the second set of physical disks includes a physical disk a and a physical disk B, and for the server 2, the second set of physical disks includes a physical disk C and a physical disk D.
After a period of time, the physical disk a in the server 1 and the physical disk C in the server 2 are exchanged, and then the first set of physical disks includes the physical disk C and the physical disk B for the server 1, and includes the physical disk a and the physical disk D for the server 2.
In the server 1 and the server 2, the first disk set information of the first physical disk set and the second disk set information of the second physical disk set are different.
For the server 1, first disk set information and second disk set information of the server 1 are obtained, the first disk set information is information of a physical disk C and a physical disk B, the second disk set information is information of a physical disk a and a physical disk B, the physical disk C is determined to be a physical disk newly added by the super fusion system in the server 1 by comparing the first disk set information with the second disk set information, and the physical disk a is determined to be a physical disk deleted by the super fusion system in the server 1. Since the newly added record of the physical disk C is already stored in the database in the server 2 before, the newly added record of the physical disk C does not need to be added again, and only the correspondence between the physical disk C and the server 2 needs to be modified to be the correspondence between the physical disk C and the server 1, specifically, the table association relationship of the physical disk C is modified to associate the physical disk C with the server 1.
For the server 2, first disk set information and second disk set information of the server 2 are obtained, the first disk set information is information of a physical disk a and a physical disk D, the second disk set information is information of a physical disk C and a physical disk D, the physical disk a is determined to be a physical disk added by the super fusion system in the server 1 by comparing the first disk set information with the second disk set information, and the physical disk C is determined to be a physical disk deleted by the super fusion system in the server 1. Since the correspondence between the physical disk C and the server 1 is modified to the correspondence between the physical disk C and the server 2 before, and the physical disk C is not already in the server 2, only the physical disk a is newly added, and since the record of the newly added physical disk a is already stored in the database in the server 1 before, the newly added record of the physical disk a does not need to be added again, only the correspondence between the physical disk a and the server 1 needs to be modified to be the correspondence between the physical disk a and the server 2, specifically, the table association relationship of the physical disk a is modified, and the physical disk a is associated with the server 2.
The embodiment of the application provides an information synchronization method of a super-fusion system, aiming at any one server in the super-fusion system, acquiring information of a first physical disk set included in the server by the super-fusion system and information of a second physical disk set used by the super-fusion system and stored by the server, comparing the two information to obtain added information or deleted information of a physical disk used by the super-fusion system in the server, updating storage information of the physical disk used by the super-fusion system in the server according to the added information or the deleted information, namely comparing information of a disk in the super-fusion system with information of a disk in the server to obtain added information or deleted information of the physical disk in the server, so that the physical disk in the server can still update related information of the physical disk after being used by the super-fusion system, the consistency of the information of the physical disk used by the super fusion system in the server and the information of the physical disk included in the super fusion system is kept, and meanwhile, the information of the physical disk used by the super fusion system is correctly displayed on the server, so that the usability and the fault tolerance of the super fusion system can be improved, and the performance of the super fusion system is improved.
Based on the information synchronization method of the super-fusion system provided by the above embodiment, the embodiment of the present application further provides an information synchronization device of the super-fusion system, and the working principle thereof is described in detail below with reference to the accompanying drawings.
Referring to fig. 3, this figure is a block diagram of an information synchronization apparatus of a super-fusion system according to an embodiment of the present application.
The information synchronization apparatus 300 of the super-fusion system provided in this embodiment includes:
an obtaining unit 310, configured to obtain first disk set information of a first physical disk set included in the super-fusion system and second disk set information of a second physical disk set used by the super-fusion system in the server;
a comparing unit 320, configured to compare the first disk set information with the second disk set information, and determine plug information of a physical disk used by the super fusion system in the server, where the plug information is new information or deleted information of the physical disk;
an updating unit 330, configured to update storage information of a physical disk used by the super fusion system in the server according to the plug information.
Based on the information synchronization method of the super-fusion system provided by the above embodiments, the embodiments of the present application further provide a server of the super-fusion system, where the server of the super-fusion system includes:
a processor and a memory, and the number of the processors may be one or more. In some embodiments of the present application, the processor and memory may be connected by a bus or other means.
The memory may include both read-only memory and random access memory, and provides instructions and data to the processor. The portion of memory may also include NVRAM. The memory stores an operating system and operating instructions, executable modules or data structures, or subsets thereof, or expanded sets thereof, wherein the operating instructions may include various operating instructions for performing various operations. The operating system may include various system programs for implementing various basic services and for handling hardware-based tasks.
The processor controls the operation of the terminal device and may also be referred to as a CPU.
The method disclosed in the embodiments of the present application may be applied to a processor, or may be implemented by a processor. The processor may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in a processor or instructions in the form of software. The processor described above may be a general purpose processor, a DSP, an ASIC, an FPGA or other programmable logic device, discrete gate or transistor logic device, discrete hardware components. The various methods, steps, and logic blocks disclosed in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in a memory, and a processor reads information in the memory and completes the steps of the method in combination with hardware of the processor.
When introducing elements of various embodiments of the present application, the articles "a," "an," "the," and "said" are intended to mean that there are one or more of the elements. The terms "comprising," "including," and "having" are intended to be inclusive and mean that there may be additional elements other than the listed elements.
It should be noted that, as one of ordinary skill in the art would understand, all or part of the processes of the above method embodiments may be implemented by a computer program to instruct related hardware, where the computer program may be stored in a computer readable storage medium, and when executed, the computer program may include the processes of the above method embodiments. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the apparatus embodiment, since it is substantially similar to the method embodiment, it is relatively simple to describe, and reference may be made to some descriptions of the method embodiment for relevant points. The above-described apparatus embodiments are merely illustrative, and the units and modules described as separate components may or may not be physically separate. In addition, some or all of the units and modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
The foregoing is directed to embodiments of the present application and it is noted that numerous modifications and adaptations may be made by those skilled in the art without departing from the principles of the present application and are intended to be within the scope of the present application.

Claims (10)

1. An information synchronization method of a super-convergence system is applied to a server, and the method comprises the following steps:
acquiring first disk set information of a first physical disk set included in the super fusion system and second disk set information of a second physical disk set used by the super fusion system and stored by the server;
comparing the first disk set information with the second disk set information, and determining plug-pull information of a physical disk used by the super fusion system in the server, wherein the plug-pull information is newly added information or deleted information of the physical disk;
and updating the storage information of the physical disk used by the super-fusion system in the server according to the plugging information.
2. The method of claim 1, wherein the comparing the first set of disk information and the second set of disk information and determining the plug information of the physical disk used by the hyper-converged system in the server comprises:
judging whether the physical disks included in the first physical disk set belong to a second physical disk set at the same time, if not, the physical disks are the physical disks newly added and used by the super-fusion system in the server;
and judging whether the physical disks included in the second physical disk set belong to the first physical disk set at the same time, if not, the physical disks are the physical disks deleted and used by the super-fusion system in the server.
3. The method according to claim 1, wherein the storage information of the physical disk includes a correspondence between the server and the physical disk, usage information of the physical disk, and basic information of the physical disk; the use information is information whether the physical disk is used by the hyper-fusion system.
4. The method according to claim 3, wherein the updating storage information of the physical disk used by the hyper-converged system in the server according to the plugging information comprises:
and if the plugging information is newly added information of the physical disk used by the super-fusion system in the server, newly adding the corresponding relation between the server and the newly added physical disk used by the super-fusion system and the basic information of the newly added physical disk.
5. The method according to claim 3, wherein the updating storage information of the physical disk used by the hyper-converged system in the server according to the plugging information comprises:
and if the plugging information is the deletion information of the physical disk used by the super-fusion system in the server, deleting the corresponding relation between the server and the physical disk deleted by the super-fusion system and the basic information of the physical disk deleted.
6. The method of claim 3 or 4, wherein the stored information of the physical disk is stored in a database.
7. The method of claim 5, wherein the base information of the physical disk comprises at least a unique identifier of the physical disk.
8. The method of claim 7, wherein the first set of disk information includes basic information of physical disks in the first set of physical disks, and wherein the second set of disk information includes basic information of physical disks in the second set of physical disks;
the determining whether the physical disks included in the first physical disk set belong to the second physical disk set at the same time includes:
judging whether the unique identification of the physical disk in the first physical disk set belongs to the second disk set information at the same time;
the determining whether the physical disks included in the second physical disk set belong to the first physical disk set at the same time includes:
and judging whether the unique identification of the physical disk in the second physical disk set belongs to the first disk set information at the same time.
9. An information synchronization apparatus of a super-convergence system, the apparatus comprising:
an obtaining unit, configured to obtain first disk set information of a first physical disk set included in the super fusion system and second disk set information of a second physical disk set used by the super fusion system in the server;
a comparing unit, configured to compare the first disk set information with the second disk set information, and determine plug information of a physical disk used by the super fusion system in the server, where the plug information is new information or deleted information of the physical disk;
and the updating unit is used for updating the storage information of the physical disk used by the super fusion system in the server according to the plugging information.
10. A server of a hyper-converged system, the server comprising: a processor and a memory;
the memory to store instructions;
the processor, configured to execute the instructions in the memory, to perform the method of any of claims 1 to 8.
CN202110744910.0A 2021-06-30 2021-06-30 Information synchronization method and device of super fusion system Active CN113590033B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110744910.0A CN113590033B (en) 2021-06-30 2021-06-30 Information synchronization method and device of super fusion system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110744910.0A CN113590033B (en) 2021-06-30 2021-06-30 Information synchronization method and device of super fusion system

Publications (2)

Publication Number Publication Date
CN113590033A true CN113590033A (en) 2021-11-02
CN113590033B CN113590033B (en) 2023-11-03

Family

ID=78245721

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110744910.0A Active CN113590033B (en) 2021-06-30 2021-06-30 Information synchronization method and device of super fusion system

Country Status (1)

Country Link
CN (1) CN113590033B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114840488A (en) * 2022-07-04 2022-08-02 柏科数据技术(深圳)股份有限公司 Distributed storage method, system and storage medium based on super-fusion structure

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104104739A (en) * 2014-08-08 2014-10-15 成都致云科技有限公司 Data synchronization method for metadata service cluster of cloud storage system
US20180046503A1 (en) * 2016-08-09 2018-02-15 International Business Machines Corporation Data-locality-aware task scheduling on hyper-converged computing infrastructures
CN107844274A (en) * 2017-11-17 2018-03-27 北京联想超融合科技有限公司 Hardware resource management method, apparatus and terminal based on super fusion storage system
CN108388433A (en) * 2017-12-28 2018-08-10 创新科软件技术(深圳)有限公司 The management platform dispositions method of super emerging system
US10365982B1 (en) * 2017-03-10 2019-07-30 Pure Storage, Inc. Establishing a synchronous replication relationship between two or more storage systems
CN111124301A (en) * 2019-12-18 2020-05-08 深圳供电局有限公司 Data consistency storage method and system of object storage device
CN112202853A (en) * 2020-09-17 2021-01-08 杭州安恒信息技术股份有限公司 Data synchronization method, system, computer device and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104104739A (en) * 2014-08-08 2014-10-15 成都致云科技有限公司 Data synchronization method for metadata service cluster of cloud storage system
US20180046503A1 (en) * 2016-08-09 2018-02-15 International Business Machines Corporation Data-locality-aware task scheduling on hyper-converged computing infrastructures
US10365982B1 (en) * 2017-03-10 2019-07-30 Pure Storage, Inc. Establishing a synchronous replication relationship between two or more storage systems
CN107844274A (en) * 2017-11-17 2018-03-27 北京联想超融合科技有限公司 Hardware resource management method, apparatus and terminal based on super fusion storage system
CN108388433A (en) * 2017-12-28 2018-08-10 创新科软件技术(深圳)有限公司 The management platform dispositions method of super emerging system
CN111124301A (en) * 2019-12-18 2020-05-08 深圳供电局有限公司 Data consistency storage method and system of object storage device
CN112202853A (en) * 2020-09-17 2021-01-08 杭州安恒信息技术股份有限公司 Data synchronization method, system, computer device and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114840488A (en) * 2022-07-04 2022-08-02 柏科数据技术(深圳)股份有限公司 Distributed storage method, system and storage medium based on super-fusion structure

Also Published As

Publication number Publication date
CN113590033B (en) 2023-11-03

Similar Documents

Publication Publication Date Title
CN110597595B (en) Method for providing multi-language information, method for configuring multi-language information, device, equipment and medium
US10204125B2 (en) Method, apparatus, and application platform for updating application object attribute
WO2018000607A1 (en) Method and electronic apparatus for identifying test case failure causes
CN107666493B (en) Database configuration method and equipment thereof
US20080065874A1 (en) System and method for dynamic determination of system topology in a multiple building block server system
CN110520844A (en) Cloud management platform, virtual machine management method and its system
CN111026568A (en) Data and task relation construction method and device, computer equipment and storage medium
CN111966631A (en) Mirror image file generation method, system, equipment and medium capable of being rapidly distributed
CN113792024A (en) Method, device, equipment and storage medium for migrating data
CN113590033A (en) Information synchronization method and device of super-fusion system
CN114448972A (en) Distributed storage log compression downloading method, system, terminal and storage medium
CN112000850A (en) Method, device, system and equipment for data processing
CN114996955A (en) Target range environment construction method and device for cloud-originated chaotic engineering experiment
CN114969206A (en) Data processing method, device, equipment and storage medium
CN113806309A (en) Metadata deleting method, system, terminal and storage medium based on distributed lock
CN115878587A (en) Instance creating method and device, electronic equipment and readable storage medium
CN113806327A (en) Database design method and device and related equipment
CN105045629A (en) Diskless workstation equipment startup method and system
CN110908644A (en) Configuration method and device of state node, computer equipment and storage medium
CN109542588B (en) Method and device for managing virtual equipment in cloud environment
CN111104367A (en) Method for starting virtual machine to create private mirror image based on openstack volume
CN115185639B (en) Method and system for realizing virtualized API (application program interface)
CN114143187B (en) Intelligent platform interface network address management method, system, terminal and storage medium
CN117130980B (en) Virtual machine snapshot management method and device
CN116775171B (en) Architecture switching method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant