Method and device for managing double storage controllers

A dual storage controller and storage controller technology, applied in the field of communications, can solve problems such as inability to manage cache data synchronization, and achieve the effect of facilitating exception handling and work recovery

Inactive Publication Date: 2010-01-20
ZTE CORP
View PDF0 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The present invention is made in consideration of the above-mentioned problems. Therefore, the main purpose of the present invention is to provide a management method and device for dual storage controllers to solve the problem in the related art that it cannot manage cache data synchronization in a dual-controller environment. The problem

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
  • Method and device for managing double storage controllers
  • Method and device for managing double storage controllers
  • Method and device for managing double storage controllers

Examples

Experimental program
Comparison scheme
Effect test

example 1

[0043] The following will take the management of the dual-controller cache in the normal state as an example to describe in detail, such as figure 2 As shown, the dual-controller management in the normal state includes the following processing:

[0044] Step S201, judging whether the state of the local storage controller is normal, if the judging state is normal, then execute step S202, otherwise, execute step S201;

[0045] Step S202, receiving an IO request from the host fiber port;

[0046] Step S203, judging whether the received IO request is a write operation or a read operation, if it is judged to be a write operation, execute step S204, otherwise, execute step S209;

[0047] Step S204, writing the received user data into the local cache write cache;

[0048] Step S205, judging whether the status of the peer controller is normal, and if the judging status is normal, go to step S206, otherwise go to step S207;

[0049] Step S206, when the status of the peer controller...

example 2

[0056] The cache management in the case of a single controller failure will be described in detail below as an example. Such as image 3 As shown, the following handling is included in the event of a single controller failure:

[0057] Step S301, query the status of the storage controller at the opposite end through the SAS channel between the two controllers;

[0058] Step S302, judging whether the peer storage controller is invalid, if it is judged to be invalid, execute step S303, otherwise execute S301;

[0059] Step S303, sending the abnormal event of the peer controller to the upper layer;

[0060] Step S304, when the peer storage controller is abnormal at this time, the write cache data in the cache of the peer controller stored locally will be updated;

[0061] Step S305, when the peer controller is abnormal, the local cache write cache is not backed up to the peer controller, and the area in the local cache originally used to save the write cache data of the peer c...

example 3

[0065] In this example, assuming that the system is powered off and powered on again, the method according to the present invention may further include: the first storage controller and the second storage controller mutually determine whether the state is normal; When the status of the storage controllers is normal, the first storage controller and the second storage controller establish data synchronization; when the first storage controller or the second storage controller judges that the status of the peer storage controller is abnormal , to report abnormal events to the system.

[0066] Such as Figure 4 As shown, the cache management in the case of controller recovery includes the following processing:

[0067] Step S401, the controller recovers, and waits for the system environment initialization to be completed;

[0068] Step S402, sending a synchronization message to the peer controller to establish synchronization with the peer controller;

[0069] Step S403, judgi...

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 method and a device for managing double storage controllers. The method comprises the following steps that: under a condition that a first storage controller and/or a second storage controller are subjected to operation of writing high speed cache, the first storage controller and/or the second storage controller write user data in own high-speed cache of the controller, and write user data in the high-speed cache of the opposite storage controller so as to establish data synchronization. The method and the device can realize data synchronization in cache of the double storage controllers, and facilitate subsequent exception handling and performance of restore operation.

Description

technical field [0001] The present invention relates to the communication field, and in particular, to a management method and device for dual storage controllers. Background technique [0002] Storage controllers are the core control units of storage products. Using dual controllers in a storage system can improve system reliability and processing capabilities. Under normal circumstances, the two controllers work in load balancing mode, which can provide higher input and output (InputOutput, referred to as IO) processing capabilities; when a controller is abnormal, the normal controller Take over the IO request operation of the abnormal controller to ensure the uninterrupted work of the system. [0003] In order to improve the IO processing capability of the system, the storage controller uses a large-capacity external storage space as a data cache (cache) area. For the user's IO write operation, when the cache is used, after the user data is saved in the cache, the user ...

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 Applications(China)
IPC IPC(8): G06F3/06G06F12/08G06F12/0844
Inventor 杨曦
Owner ZTE CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products