CN103399714B - The maintenance system of storage device configurations information and using method thereof - Google Patents

The maintenance system of storage device configurations information and using method thereof Download PDF

Info

Publication number
CN103399714B
CN103399714B CN201310337694.3A CN201310337694A CN103399714B CN 103399714 B CN103399714 B CN 103399714B CN 201310337694 A CN201310337694 A CN 201310337694A CN 103399714 B CN103399714 B CN 103399714B
Authority
CN
China
Prior art keywords
order
metadata
step
rollback
storage device
Prior art date
Application number
CN201310337694.3A
Other languages
Chinese (zh)
Other versions
CN103399714A (en
Inventor
邹波
戴丹
欧阳腾杰
Original Assignee
安徽安庆瀚科莱德信息科技有限公司
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 安徽安庆瀚科莱德信息科技有限公司 filed Critical 安徽安庆瀚科莱德信息科技有限公司
Priority to CN201310337694.3A priority Critical patent/CN103399714B/en
Publication of CN103399714A publication Critical patent/CN103399714A/en
Application granted granted Critical
Publication of CN103399714B publication Critical patent/CN103399714B/en

Links

Abstract

The invention provides a kind of maintenance system of storage device configurations information, can effectively record storage device configurations information, and the configuration information that can use record carries out recovery and the rollback of storage system configuration information, improve ease for use and the security of memory device. It comprises: monitoring module: configuration operation memory device being carried out in order to supervisory user; Determination module: judge whether user can affect configuration information to the performed configuration operation of memory device; Logging modle: according to the signal of determination module feedback, as user affects configuration information to the performed configuration operation of memory device, saved as an order metadata, this order metadata comprises serial number, configuration operation content and operating result. The present invention also provides the way that uses said system to carry out the recovery of storage system configuration information and rollback.

Description

The maintenance system of storage device configurations information and using method thereof

Technical field

The present invention relates to memory device, be specifically related to a kind of maintenance system and using method thereof of storage device configurations information.

Background technology

Along with the development of storage and network technology, the capacity exponentially level of the network storage increases. The memory device of enterprise-level, function from strength to strength and abundant, configuration becomes increasingly complex, system manager, in wishing that storage device management is simplified, also requires security and the stability of configuration information, because the correctness of storage device configurations information is data storage security and stable basis, therefore, reliable and stable storage device configurations information is preserved, and recovery capability under abnormal conditions, seems particularly important.

In current popular enterprise-level mass memory unit, disk management is all provided substantially, disk array management, the functions such as storage resources virtual management and access privilege management, an enterprise-level memory device, before really coming into operation service be provided, need storage administrator to carry out thickly operating in careful week and carry out functional configuration, carry out tens even up to a hundred command operations, even in the today of carrying out streamlining management person's operation with graphical configuration management tool or Web page management instrument, stored configuration management is still a complicated operation, but, each functional configuration operation, capital produces the change of configuration information (also can be described as system metadata). if the loss of configuration information in running, appears in storage system, or due to human negligence, maloperation causes configuration information that unexpected variation occurs, can bring extremely whole storage system, if cannot return in time correct status, user data cannot be accessed. can say, the configuration information of storage system, more even more important than the user data that is stored in system the inside.

In traditional enterprise-level memory device, configuration information is all generally the form that uses factory settings, by file or the mode of directly writing storage medium preserve, the time sequencing that this mode cannot recording configuration operation, also cannot carry out rollback to operation easily.

Summary of the invention

Technical problem to be solved by this invention is to provide a kind of maintenance system of storage device configurations information, can effectively record storage device configurations information, and the configuration information that can use record carries out recovery and the rollback of storage system configuration information, improve ease for use and the security of memory device.

For achieving the above object, the maintenance system of storage device configurations information of the present invention, comprising:

Monitoring module: configuration operation memory device being carried out in order to supervisory user;

Determination module: judge whether user can affect configuration information to the performed configuration operation of memory device;

Logging modle: according to the signal of determination module feedback, as user affects configuration information to the performed configuration operation of memory device, saved as an order metadata, this order metadata comprises serial number, configuration operation content and operating result.

The present invention also provides the method that uses the maintenance system of above-mentioned storage device configurations information to carry out the recovery of storage device configurations information, comprises the following steps:

A, order metadata obtaining step first obtain all order metadata;

B, order metadata read step reading order metadata one by one in order;

C, implementation effect determination step, from the order metadata reading, judge that whether order corresponding to this order metadata be successful in execution before, if carried out unsuccessfully, do not carry out this order; Otherwise, carry out additional command determination step, judge that whether corresponding order has the additional command parameter of needs, if had, carries out additional command step, the command parameter that affix is required; Then enter execution step, re-execute order corresponding to this order metadata;

D, complete determination step judge whether next command metadata in addition, if had, again start circulation from order metadata read step; Otherwise finish recovery system configuration flow.

The present invention also provides the method that uses the maintenance system of above-mentioned storage device configurations information to carry out the rollback of storage device configurations information, comprises the following steps:

A, rollback point determining step are first determined point to be rolled back to;

B, rollback point obtaining step obtain current state to all order metadata between point to be rolled back to, and order is backward;

C, rollback point read step read an order metadata successively;

D, rollback point determination step judge that whether order corresponding to this order metadata be successful in execution before, if carried out unsuccessfully, do not carry out this order; Otherwise, carry out rollback point and obtain step, obtain the order relative with this order, rollback point execution step is carried out this relative order;

E, the rollback determination step that is finished judges whether in addition next command metadata, if had, jumps to rollback point read step, circulation execution; Otherwise, the flow process of end rollback system configuration.

The present invention adopts the method for recording configuration command stream, the command stream of configuration operation is defined as " order metadata ", by record manager, memory device is configured order, time, execution sequence and the operating result of operation, realize the preservation of storage device configurations information, and by this kind of mechanism, can conveniently be configured rollback or configuration restore.

According to the designed method of the present invention, in the time that keeper can affect the operational order of configuration information to one of the every execution of memory device, this method can, by this order and operating result, be preserved successively.

According to the designed method of the present invention, when storage system configuration information is lost, need to recover time, the present invention will, according to order metadata, be successfully order to operating result, as the case may be, re-execute successively the configuration that can recover memory device one time.

According to the designed method of the present invention, in the time that storage system configuration needs rollback, the invention provides rollback mechanism, the order metadata from current point in time to time point to be rolled back to, backward is carried out order in contrast. Thereby be configured information rollback.

Brief description of the drawings

Fig. 1 is the system assumption diagram of the maintenance system of storage device configurations information of the present invention;

Fig. 2 is the flow chart that the maintenance system of storage device configurations information of the present invention is configured information gathering;

Flow process when Fig. 3 is utility command metadata recovery stored configuration;

Flow process when Fig. 4 is utility command metadata rollback stored configuration.

Detailed description of the invention

Below in conjunction with accompanying drawing, the present invention will be further described.

Fig. 2 uses the maintenance system of storage device configurations information of the present invention to be configured the flow chart of information gathering. Acquisition monitoring step 101 is first carried out the operational order of keeper to storage system, and obtains the return of value of command execution success or not. Gather determination step 102 and judge whether this operational order can affect the configuration information of storage system, if be only some operations of obtaining configuration information, can not change existing configuration information, do not record this operational order; Otherwise, carry out acquisition and recording step 103, using the content of this order, time of implementation, execution return of value information as order meta-data preservation.

Fig. 3 is the flow chart that utility command metadata is recovered storage system configuration, has shown how storage system is configured the operation that information is recovered. Order metadata obtaining step 201 first obtains all order metadata. Order metadata read step 202 reads an order metadata in order. Implementation effect determination step 203, from the order metadata reading, judges that whether order corresponding to this order metadata be successful in execution before, if carried out unsuccessfully, do not carry out this order; Otherwise, carry out additional command determination step 204, whether judgement will be carried out this order and recover, have and need additional command parameter, if had, carries out additional command step 205, the command parameter that affix is required; Otherwise, carry out execution step 206, re-execute order corresponding to this order metadata. Complete determination step 207 judges whether next command metadata in addition, if had, again starts circulation from order metadata read step 202; Otherwise finish recovery system configuration flow.

Fig. 4 is the flow chart of utility command metadata rollback storage system configuration, shows how storage system is used the present invention to be configured information rolling back action. Rollback point determining step 301 is first determined point to be rolled back to. Rollback point obtaining step 302 obtains current state to all order metadata between point to be rolled back to, and order is backward. Rollback point read step 303 reads an order metadata successively. Rollback point determination step 304 judges that whether order corresponding to this order metadata be successful in execution before, if carried out unsuccessfully, do not carry out this order; Otherwise, carry out rollback point and obtain step 305, obtain the order relative with this order. Rollback point execution step 306 is carried out this relative order. The rollback determination step 307 that is finished judges whether in addition next command metadata, if had, jumps to rollback point read step 303, circulation execution. Otherwise, the flow process of end rollback system configuration.

In sum, the present invention can, by order meta-data preservation, on this basis, can recover and rollback storage system configuration information convenient and simplely.

The specific embodiment of the present invention is including, but not limited to above-described embodiment; in the situation that not deviating from spirit of the present invention and essence thereof; those of ordinary skill in the art can make according to the present invention various corresponding changes and distortion, but still fall into protection scope of the present invention.

Claims (2)

1. a method that uses the maintenance system of storage device configurations information to carry out the recovery of storage device configurations information, the maintenance system of described storage device configurations information comprises:
Monitoring module: configuration operation memory device being carried out in order to supervisory user;
Determination module: judge whether user can affect configuration information to the performed configuration operation of memory device;
Logging modle: according to the signal of determination module feedback, as user affects configuration information to the performed configuration operation of memory device, saved as an order metadata, this order metadata comprises serial number, configuration operation content and operating result;
It is characterized in that: described storage device configurations information recovering method comprises the following steps:
A, order metadata obtaining step 201 first obtain all order metadata;
B, order metadata read step 202 reading order metadata one by one in order;
C, implementation effect determination step 203, from the order metadata reading, judge that whether order corresponding to this order metadata be successful in execution before, if carried out unsuccessfully, do not carry out this order; Otherwise, carry out additional command determination step 204, judge that whether corresponding order has the additional command parameter of needs, if had, carries out additional command step 205, the command parameter that affix is required; Then enter execution step 206, re-execute order corresponding to this order metadata;
D, complete determination step 207 judge whether next command metadata in addition, if had, again start circulation from order metadata read step 202; Otherwise finish recovery system configuration flow.
2. a method that uses the maintenance system of storage device configurations information to carry out the rollback of storage device configurations information, the maintenance system of described storage device configurations information comprises:
Monitoring module: configuration operation memory device being carried out in order to supervisory user;
Determination module: judge whether user can affect configuration information to the performed configuration operation of memory device;
Logging modle: according to the signal of determination module feedback, as user affects configuration information to the performed configuration operation of memory device, saved as an order metadata, this order metadata comprises serial number, configuration operation content and operating result;
It is characterized in that: described storage device configurations information rollback method comprises the following steps:
A, rollback point determining step 301 are first determined point to be rolled back to;
B, rollback point obtaining step 302 obtain current state to all order metadata between point to be rolled back to, and order is backward;
C, rollback point read step 303 read an order metadata successively;
D, rollback point determination step 304 judge that whether order corresponding to this order metadata be successful in execution before, if carried out unsuccessfully, do not carry out this order; Otherwise, carry out rollback point and obtain step 305, obtain the order relative with this order, rollback point execution step 306 is carried out this relative order;
E, the rollback determination step 307 that is finished judges whether in addition next command metadata, if had, jumps to rollback point read step 303, circulation execution; Otherwise, the flow process of end rollback system configuration.
CN201310337694.3A 2013-08-06 2013-08-06 The maintenance system of storage device configurations information and using method thereof CN103399714B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310337694.3A CN103399714B (en) 2013-08-06 2013-08-06 The maintenance system of storage device configurations information and using method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310337694.3A CN103399714B (en) 2013-08-06 2013-08-06 The maintenance system of storage device configurations information and using method thereof

Publications (2)

Publication Number Publication Date
CN103399714A CN103399714A (en) 2013-11-20
CN103399714B true CN103399714B (en) 2016-05-25

Family

ID=49563351

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310337694.3A CN103399714B (en) 2013-08-06 2013-08-06 The maintenance system of storage device configurations information and using method thereof

Country Status (1)

Country Link
CN (1) CN103399714B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103744751B (en) * 2014-02-08 2017-04-26 安徽瀚科信息科技有限公司 Storage device configuration information continuous optimization backup system and application method thereof

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101610176A (en) * 2009-07-08 2009-12-23 中兴通讯股份有限公司 Configuration information management method, alarm management method and alarm management system of purchased parts
CN101977127A (en) * 2010-11-26 2011-02-16 迈普通信技术股份有限公司 SNMP (Simple Network Management Protocol) based equipment configuration roll back method and SNMP network management equipment
US8010836B2 (en) * 2008-02-06 2011-08-30 Hitachi, Ltd. Storage configuration recovery method and storage management system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8010836B2 (en) * 2008-02-06 2011-08-30 Hitachi, Ltd. Storage configuration recovery method and storage management system
CN101610176A (en) * 2009-07-08 2009-12-23 中兴通讯股份有限公司 Configuration information management method, alarm management method and alarm management system of purchased parts
CN101977127A (en) * 2010-11-26 2011-02-16 迈普通信技术股份有限公司 SNMP (Simple Network Management Protocol) based equipment configuration roll back method and SNMP network management equipment

Also Published As

Publication number Publication date
CN103399714A (en) 2013-11-20

Similar Documents

Publication Publication Date Title
US5379406A (en) Performance and measurement system which logs reduced data pertaining to groups of processes
AU2007234897B2 (en) Merging multi-line log entries
CN102006274B (en) Seamless application sessions between devices reconstruction
US7975262B2 (en) Error tracing with context history
US7676502B2 (en) Recovery point data view shift through a direction-agnostic roll algorithm
TWI533159B (en) Continuous method for identity verification computer
US20100154027A1 (en) Methods and Systems for Enabling Community-Tested Security Features for Legacy Applications
EP2153317A1 (en) Managing object lifetime for native/managed peers
WO2009004996A1 (en) Screen transmission system, screen transmission server, screen transmission method, and program recording medium
CN102707990B (en) Container based processing method and device
US20100332646A1 (en) Unified enterprise level method and system for enhancing application and storage performance
US20140365537A1 (en) File storage system, apparatus, and file access method
CN103064764A (en) Evidence obtaining method capable of rapidly recovering messages deleted by Android mobile phone
CN100446000C (en) Method for re-setting up catalogue structure and restoring data in FAI volume
US10481967B2 (en) Automatic correlation of dynamic system events within computing devices
CN104268055B (en) The monitoring method and device of a kind of program exception
US7464114B2 (en) Method and apparatus to capture and transmit dense diagnostic data of a file system
JP2016520910A (en) Reference counter integrity check
US9576608B2 (en) Techniques for indexing video files
US20140059313A1 (en) Apparatus and method for recovering partition using backup boot record information
CN104317709B (en) software performance testing method and system
WO2013044726A1 (en) Data index failure recovery method and device
US8990792B2 (en) Method for constructing dynamic call graph of application
US8396840B1 (en) System and method for targeted consistency improvement in a distributed storage system
US9177020B2 (en) Gathering index statistics using sampling

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant