[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN113590033B - 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
CN113590033B
CN113590033B CN202110744910.0A CN202110744910A CN113590033B CN 113590033 B CN113590033 B CN 113590033B CN 202110744910 A CN202110744910 A CN 202110744910A CN 113590033 B CN113590033 B CN 113590033B
Authority
CN
China
Prior art keywords
information
physical disk
server
fusion system
physical
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.)
Active
Application number
CN202110744910.0A
Other languages
Chinese (zh)
Other versions
CN113590033A (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

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 device of a super fusion system, which aim at any one server in the super fusion system, acquire 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, compare the two information to acquire new information or deleted information of a physical disk used by the super fusion system in the server, and update the stored information of the physical disk used by the super fusion system in the server according to the new information or deleted information, namely compare the disk information in the super fusion system with the disk information in the server to acquire the new information or deleted information of the physical disk in the server, so that the related information of the physical disk in the server can still be updated after the physical disk in the server is used by the super fusion system.

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. The super fusion virtualization system is short for super fusion system, and is an information base system integrating virtual computing resources and storage equipment. In the super fusion system, the storage space used by the user is built by using software, so that the entity storage equipment and the user keep 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 in a scattered manner on a plurality of independent servers, 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 in the server, such as physical disks, can be used by the super fusion system to become storage resources included in the super fusion system. However, when the physical disk is used by the super fusion system, the relevant information of the physical disk is fed back to the super fusion system only, 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, the embodiments of the present application provide an information synchronization method and apparatus for a super fusion system, which can enable a physical disk in a server to update related information of the physical disk after the physical disk is used by the super fusion system.
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 stored by the server and used by the super fusion system;
comparing the first disk set information with the second disk set information, and determining the plug information of the physical disk used by the super fusion system in the server, wherein the plug information is the new information or the deletion 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 plug information.
Optionally, the comparing the first disk set information with the second disk set information, and determining the plug 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 newly added and used by the super fusion system in the server;
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, deleting the physical disks used by the super fusion system in the server.
Optionally, the storage information of the physical disk includes a corresponding relation 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 of whether the physical disk is used by the super fusion system or not.
Optionally, the updating the stored information of the physical disk used by the super fusion system in the server according to the plug information includes:
if the plug information is newly added information of the physical disk used by the super fusion system in the server, 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 are newly added.
Optionally, the updating the stored information of the physical disk used by the super fusion system in the server according to the plug information includes:
and if the plug 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 used by the super fusion system and the basic information of the physical disk used by the deletion.
Optionally, the stored information of the physical disk is stored in a database.
Optionally, the basic information of the physical disk includes at least 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 judging 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 judging 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, which comprises:
the acquisition unit is used for 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 in the server;
the comparison unit is used for comparing the first disk set information and the second disk set information, and determining the plug information of the physical disk used by the super fusion system in the server, wherein the plug information is the new information or the deletion 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 plug information.
The embodiment of the application provides a server of a super fusion system, which comprises: a processor and a memory;
the memory is used for storing instructions;
the processor is configured to execute the instructions in the memory and perform the method according to the foregoing embodiment.
The embodiment of the application provides an information synchronization method of a super fusion system, which aims at any one server in the super fusion system, acquires 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, compares the two information to obtain new information or deleted information of a physical disk used by the super fusion system in the server, and updates the stored information of the physical disk used by the super fusion system in the server according to the new information or deleted information, namely, compares the disk information in the super fusion system with the disk information in the server to obtain the new information or deleted information of the physical disk in the server, so that the related information of the physical disk in the server can be updated after the physical disk in the server is used by the super fusion system.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments described in the present application, and other drawings may be obtained according to the drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flowchart of an information synchronization method of a super fusion system according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a super fusion system according to an embodiment of the present application;
fig. 3 is a block diagram of an information synchronization device of a super fusion system according to an embodiment of the present application.
Detailed Description
In order to make the present application better understood by those skilled in the art, the following description will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the accompanying drawings, and it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
As described in the background art, in practical application, 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 the 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, after a period of time, if the physical disk is updated, the server does not receive updated information, so that the server cannot update the relevant information of the physical disk in time, and further, the information stored in the super fusion system for the physical disk included in the server is not matched with the information stored in the server itself.
Based on this, 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, the information of a first physical disk set included in the server by the super fusion system and the information of a second physical disk set used by the super fusion system and stored by the server are acquired, the two pieces of information are compared, so as to obtain the newly-added information or the deleted information of the physical disk used by the super fusion system in the server, and the stored information of the physical disk used by the super fusion system in the server is updated according to the newly-added information or the deleted information, that is, the newly-added information or the deleted information of the physical disk in the server is obtained by comparing the disk information in the super fusion system with the disk information in the server, so that the related information of the physical disk in the server can be updated after being used by the super fusion system, the information of the physical disk used by the super fusion system and the physical disk included in the super fusion system are kept consistent, and meanwhile, the error tolerance of the super fusion system of the information used by the super fusion system is easily displayed on the server is improved.
Referring to fig. 1, the flowchart of an information synchronization method of a super fusion system according to an embodiment of the present application is shown.
In the embodiment of the application, the super fusion system comprises one or more servers, and the information synchronization method of the super fusion system provided by the embodiment of the 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 stored by the server and used by the super fusion system.
In an embodiment of the present application, for any one server 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 is initialized 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 during the initialization phase 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 includes at least a unique identification (Small Computer System Interface ID, SCSIID) of the physical disks. The basic information also includes attribute information of the disk such as an identifier or an absolute path of the physical disk.
In the embodiment of the 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 that the super fusion system includes at the server.
After the super fusion system is initialized by the server, the new or deleted 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 disk set information and the second disk set information may be the same, reflecting that there is no change in the physical disks used by the super-fusion system by the server during the period of time.
However, in practical applications, after a period of time, the physical disk used by the super fusion system may change, for example, delete, add or replace, where 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 second disk set information of the second disk set used by the super fusion system is still stored in the server or is still stored in the server when the super fusion system is initialized, that is, when the physical disk used by the super fusion system in the server changes, 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 obtained by calling the virtualized bottom command. The first disk set information includes basic information of each of the one or more physical disks, and may be obtained in a list form.
In the embodiment of the application, the second disk set information of the second physical disk set stored by the server and used by the super fusion system is directly acquired locally at the server.
S102, comparing the first disk set information with the second disk set information, and determining the plug information of the physical disk used by the super fusion system in the server, wherein the plug information is the new information or the deletion information of the physical disk.
In the embodiment of the application, the plug 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 plug information of the physical disk is the new information or the deletion information of the physical disk. That is, since the super fusion system includes information of the physical disk in which the first disk set information is up-to-date and in real time, by comparing the first disk set information with the second disk set information, it is possible to determine whether a change of the physical disk used by the super fusion system on the server is a new physical disk or a deletion of the physical disk. Changing a physical disk is regarded as deleting the original physical disk and adding a physical disk.
The specific comparison of the first disk set information and the second disk set information can be achieved by the following way:
and judging whether the physical disks included in the first physical disk set belong to the second physical disk set at the same time, and if not, judging that the physical disks are newly 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, deleting the physical disks 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, a new or deleted physical disk on the server can be determined.
Because the first disk set information comprises basic information of the physical disks in the first physical disk set, and the second disk set information comprises basic information of the physical disks in the second physical disk set, 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 first physical disk set belong to the second disk set information at the same time, namely judging whether the unique identifiers of the physical disks in the first physical disk set occur at the same time at the second physical disk set information; the method specifically judges whether the physical disks included in the second physical disk set belong to the first physical disk set at the same time by judging whether the unique identifications of the physical disks in the second physical disk set belong to the first physical disk set at the same time, namely judging whether the unique identifications of the physical disks in the second physical disk set occur at the same time at the first physical disk set information.
And S103, updating the storage information of the physical disk used by the super fusion system in the server according to the plug 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 plug information of the physical disk obtained by comparing the first disk set information and 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 server comprises basic information and use information of the physical disk, wherein the use information is information about whether the physical disk is used by the super fusion system or not.
In the embodiment of the application, if the plug information is newly added information of the physical disk used by the super fusion system in the server, the corresponding relation between the newly added server and the newly added physical disk and the basic information of the newly added physical disk are added. That is, if the physical disk used by the super fusion system in the server is a new physical disk, the corresponding relationship between the server and the new physical disk and the basic information of the new physical disk need to be added in the database, so that the new physical disk is reflected in the server through the database to be used by the super fusion system. The specific adding corresponding relation can be that a record of the newly added physical disk is inserted into the database table, and the basic information of adding the newly added physical disk can be added into an association table of the database table, wherein the association table is a table of the newly added physical disk.
In the embodiment of the application, if the plug information is the deletion information of the physical disk used by the super fusion system in the server, the corresponding relation between the server and the deleted physical disk and the basic information of the deleted physical disk are deleted. That is, if the physical disk used by the super fusion system is a deleted physical disk when the server is initialized, the correspondence between the server and the deleted physical disk and the basic information of the deleted physical disk need to be deleted in the database to update the information of the physical disk used by the super fusion system stored in the database. Specifically, firstly, deleting an association table of a database table in the database, wherein the association table is a table of a deleted physical disk, and then deleting a corresponding relation between a server and the deleted physical disk in the database, wherein the deleted corresponding relation can be a record of the deleted physical disk in the database table.
In the embodiment of the application, after updating the storage information of the physical disk used by the super fusion system in the server, the server can scan the local physical adapter to obtain the basic information of the physical disk included on the current server, the number of the physical disk and the like, and synchronize the information into the database.
Referring to fig. 2, a schematic diagram of a super fusion system according to an embodiment of the present application is shown. In fig. 2, there are shown 2 servers included in the super fusion system, each of which is a node in the super fusion system, and each of which includes storage resources of the super fusion 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 server 1, the second physical disk set includes physical disk A and physical disk B, and for server 2, the second physical disk set includes physical disk C and 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 exchange, and for the server 1, the first set of physical disks includes the physical disk C and the physical disk B, and for the server 2, the first set of physical disks includes the physical disk a and the physical disk D.
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, acquiring first disk set information and second disk set information of the server 1, wherein 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, and determining that the physical disk C is 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 a physical disk deleted by the super fusion system in the server 1. Since the record of the newly added physical disk C is already stored in the database in the server 2 before the physical disk C, the newly added record of the physical disk C is not required to be added again, and only the corresponding relationship between the physical disk C and the server 2 is required to be modified to be the corresponding relationship between the physical disk C and the server 1, specifically, the table association relationship of the physical disk C is modified, and the physical disk C is associated with the server 1.
For the server 2, acquiring first disk set information and second disk set information of the server 2, wherein 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, and determining that the physical disk A is 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 C is a physical disk deleted by the super fusion system in the server 1. Since the corresponding relation between the physical disk C and the server 1 is modified to be the corresponding relation between the physical disk C and the server 2 before, the physical disk C is not in the server 2, so that 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 before the physical disk a is in the server 1, the newly added record of the physical disk a is not needed to be added again, and only the corresponding relation between the physical disk a and the server 1 is required to be modified to be the corresponding relation between the physical disk a and the server 2, specifically, the table association relation between 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, which aims at any one server in the super fusion system, acquires information of a first physical disk set included in the server by the super fusion system and information of a second physical disk set stored in the server and used by the super fusion system, compares the two information to acquire newly-added information or deleted information of a physical disk used by the super fusion system in the server, and updates the stored information of the physical disk used by the super fusion system in the server according to the newly-added information or deleted information, namely, compares the disk information in the super fusion system with the disk information in the server to acquire the newly-added information or deleted information of the physical disk in the server, so that the related information of the physical disk in the server can still be updated after the physical disk in the server is used by the super fusion system, the information of the physical disk used by the super fusion system and the physical disk included in the super fusion system are kept consistent, meanwhile, the storage information of the physical disk used by the super fusion system is correctly displayed on the server, and the super fusion 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 application also provides an information synchronization device of the super fusion system, and the working principle of the information synchronization device is described in detail below with reference to the accompanying drawings.
Referring to fig. 3, the structure block diagram of an information synchronization device of a super fusion system according to an embodiment of the present application is shown.
The information synchronization device 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;
the comparing unit 320 is configured to compare the first disk set information and 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 deletion information of the physical disk;
and the updating unit 330 is 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 embodiment, the embodiment of the present application further provides a server of the super fusion system, where the server of the super fusion system includes:
processors and memory, the number of processors may be one or more. In some embodiments of the application, the processor and memory may be connected by a bus or other means.
The memory may include read only memory and random access memory and provide instructions and data to the processor. A portion of the memory may also include NVRAM. The memory stores an operating system and operating instructions, executable modules or data structures, or a subset thereof, or an extended set thereof, where the operating instructions may include various operating instructions for performing various operations. The operating system may include various system programs for implementing various underlying services and handling hardware-based tasks.
The processor controls the operation of the terminal device, which may also be referred to as a CPU.
The method disclosed by the embodiment of the application can be applied to a processor or realized by the processor. The processor may be an integrated circuit chip with signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in a processor or by instructions in the form of software. The processor described above may be a general purpose processor, DSP, ASIC, FPGA or other programmable logic device, discrete gate or transistor logic device, discrete hardware components. The disclosed methods, steps, and logic blocks 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 embodied directly in the execution of a hardware decoding processor, or in the execution of a combination of hardware and software modules in a decoding processor. The software modules may be located in a random access memory, flash memory, read only memory, programmable read only memory, or electrically erasable programmable memory, registers, etc. as well known in the art. The storage medium is located in a memory, and the processor reads the information in the memory and, in combination with its hardware, performs the steps of the above method.
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, it will be understood by those skilled in the art that all or part of the above-mentioned method embodiments may be implemented by a computer program to instruct related hardware, where the program may be stored in a computer readable storage medium, and the program may include the above-mentioned method embodiments when executed. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a random-access Memory (Random Access Memory, RAM), or the like.
In this specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for the device embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference is made to the description of the method embodiments for relevant points. The apparatus embodiments described above are merely illustrative, wherein the units and modules illustrated as separate components may or may not be physically separate. In addition, some or all of the units and modules can be selected according to actual needs to achieve the purpose of the embodiment scheme. Those of ordinary skill in the art will understand and implement the present application without undue burden.
The foregoing is merely illustrative of the embodiments of this application and it will be appreciated by those skilled in the art that variations and modifications may be made without departing from the principles of the application, and it is intended to cover all modifications and variations as fall within the scope of the application.

Claims (10)

1. 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 stored by the server and used by the super fusion system; the first physical disk set is one or more physical disks included in the server by the super fusion system; 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;
comparing the first disk set information with the second disk set information, and determining the plug information of the physical disk used by the super fusion system in the server, wherein the plug information is the new information or the deletion 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 plug information.
2. The method of claim 1, wherein comparing the first disk set information and the second disk set information to determine plug information for a physical disk used by the super fusion system within 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 newly added and used by the super fusion system in the server;
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, deleting the physical disks used by the super fusion system in the server.
3. The method of claim 1, wherein the stored 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 of whether the physical disk is used by the super fusion system or not.
4. The method of claim 3, wherein updating the stored information of the physical disk used by the super fusion system in the server according to the plug information comprises:
if the plug information is newly added information of the physical disk used by the super fusion system in the server, 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 are newly added.
5. The method of claim 3, wherein updating the stored information of the physical disk used by the super fusion system in the server according to the plug information comprises:
and if the plug 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 used by the super fusion system and the basic information of the physical disk used by the deletion.
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 underlying information of the physical disk includes at least a unique identification of the physical disk.
8. The method of claim 7, wherein the first disk set information comprises basic information of physical disks in the first set of physical disks, and the second disk set information comprises basic information of physical disks in the second set of physical disks;
the judging 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 judging 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 device of a super fusion system, the device comprising:
the acquisition unit is used for 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 in the server; the first physical disk set is one or more physical disks included in the server by the super fusion system; 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 comparison unit is used for comparing the first disk set information and the second disk set information, and determining the plug information of the physical disk used by the super fusion system in the server, wherein the plug information is the new information or the deletion 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 plug information.
10. A server of a super fusion system, the server comprising: a processor and a memory;
the memory is used for storing instructions;
the processor being configured to execute the instructions in the memory and to perform the method of any one 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 CN113590033A (en) 2021-11-02
CN113590033B true 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)

Families Citing this family (1)

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

Citations (6)

* 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
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10540212B2 (en) * 2016-08-09 2020-01-21 International Business Machines Corporation Data-locality-aware task scheduling on hyper-converged computing infrastructures

Patent Citations (6)

* 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
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

Also Published As

Publication number Publication date
CN113590033A (en) 2021-11-02

Similar Documents

Publication Publication Date Title
CN108121782B (en) Distribution method of query request, database middleware system and electronic equipment
CN111026568A (en) Data and task relation construction method and device, computer equipment and storage medium
US11144292B2 (en) Packaging support system and packaging support method
CN111897558A (en) Kubernets upgrading method and device for container cluster management system
CN110520844A (en) Cloud management platform, virtual machine management method and its system
CN111338689B (en) File calling method, device and equipment
CN109614559A (en) Data processing method and device
CN114443908A (en) Graph database construction method, system, terminal and storage medium
CN113590033B (en) Information synchronization method and device of super fusion system
US11977559B2 (en) Providing instant and distributed access to a source blob via copy-on-read blobs and link blobs
CN113495723A (en) Method and device for calling functional component and storage medium
CN116595025B (en) Dynamic updating method, terminal and medium of vector tile
CN113760320A (en) Metadata deployment method and device
CN112000850A (en) Method, device, system and equipment for data processing
CN113806309B (en) Metadata deleting method, system, terminal and storage medium based on distributed lock
CN114564856B (en) Data sharing method based on FMEA and electronic equipment
CN113434938B (en) BIM model checking method, BIM model checking device, computer equipment and storage medium
CN112691382B (en) Resource processing method, device and computer readable storage medium
CN113312149B (en) Password resetting method
CN114385657A (en) Data storage method, device and storage medium
CN113806327A (en) Database design method and device and related equipment
CN111104367A (en) Method for starting virtual machine to create private mirror image based on openstack volume
CN117130980B (en) Virtual machine snapshot management method and device
CN114143187B (en) Intelligent platform interface network address management method, system, terminal and storage medium
CN113282551B (en) Data processing method, system and equipment

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