Unlock instant, AI-driven research and patent intelligence for your innovation.

Double-controller configuration information synchronization method and device in double-control disk array

A technology for configuring information and disk arrays, applied in the storage field, can solve the problems of low controller switching processing efficiency, and achieve the effects of improving reliability and security and reducing time.

Active Publication Date: 2013-12-04
ZTE CORP
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The problem to be solved by the present invention is to provide a method and device for synchronizing configuration information of dual controllers in a dual-controller disk array, so as to overcome the defect of low efficiency of controller switching processing in the prior art

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Double-controller configuration information synchronization method and device in double-control disk array
  • Double-controller configuration information synchronization method and device in double-control disk array
  • Double-controller configuration information synchronization method and device in double-control disk array

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0042]This embodiment describes in detail the dual-control processing process when both the master controller and the slave controller are normal. In this embodiment, a structure struct A is first defined to describe the configuration related information of the virtual device. Secondly, a certain size of space is reserved from the end of the physical disk included in the virtual device to save the configuration information describing the virtual device, and a data structure is defined to describe the configuration information recorded on the virtual device struct_B, which contains a data item and records double The flag unsigned longctrl_sync_flag that controls whether the synchronization is completed. Then, define a virtual device linked list dev_list and a temporary linked list tmp_list.

[0043] In this embodiment, the processing flow for synchronizing configuration information of dual controllers is as follows:

[0044] Step 41, the master controller and the slave control...

Embodiment 2

[0050] This embodiment describes in detail the configuration information synchronization process of the slave controller after the master controller in Embodiment 1 fails or is pulled out. Figure 4 , this embodiment includes the following steps:

[0051] Step 51, judge whether the current controller is a slave controller, if yes, go to step 52; otherwise, end.

[0052] Step 52, read the virtual device configuration information recorded on the virtual device, analyze the configuration information, and establish a temporary virtual device linked list. In this embodiment, the configuration information B corresponding to each physical disk corresponding to the virtual device is read, the corresponding value of A is synchronized, and a temporary linked list tmp_list is established.

[0053] Step 53, traversing the temporary virtual device linked list and the virtual device linked list in the current controller.

[0054] Step 54, judging whether the node in the temporary virtual ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a double-controller configuration information synchronization method in a double-control disk array, and the method comprises the following steps: A. when a master controller fails or is pulled out, virtual device configuration information which is recorded on a virtual device corresponding to a physical disk is read; B. the configuration information and virtual device configuration information which is recorded on a slave controller are compared to judge whether the configuration information needs synchronization or not; and C. if yes, the configuration information is synchronized to the slave controller. The invention also discloses a double-controller configuration information synchronization device in the double-control disk array. When the master controller fails or is pulled out, whether the configuration information needs synchronization or not is judged; when the synchronization is needed, the virtual device configuration information which is recorded on the virtual device is synchronized to the slave controller, thus ensuring the configuration information of the controllers and the disk array to be consistent with each other, enhancing the reliability and safety of the disk array and greatly reducing the time required by switching the controllers.

Description

technical field [0001] The invention relates to the field of storage technology, in particular to a method and a device for synchronizing configuration information of dual controllers in a dual-controller disk array. Background technique [0002] The disk array is controlled by the array controller to connect multiple hard disks, and multiple independent hard disks are combined in different ways to form a hard disk group, thereby providing higher storage performance than a single hard disk and providing data backup technology. A disk array with multiple disks controlled by two controllers is called a dual-controller disk array. [0003] Dual-controller hot-swapping refers to the process that allows users to unplug or replace a damaged controller without shutting down the system or cutting off the power supply. Supporting hot removal is one of the basic functions of disk arrays, which improves the system's ability to recover from disasters in a timely manner, expandability a...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04L29/08H04L12/24
Inventor 陈韵霞甘春闰
Owner ZTE CORP
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More