Method and device for managing double storage controllers
A dual storage controller and storage controller technology, applied in the communication field, can solve problems such as inability to manage cache data synchronization, and achieve the effect of convenient exception handling and work recovery
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com