CN103399714A - Maintenance system for storage device configuration information and application method of maintenance system - Google Patents

Maintenance system for storage device configuration information and application method of maintenance system Download PDF

Info

Publication number
CN103399714A
CN103399714A CN2013103376943A CN201310337694A CN103399714A CN 103399714 A CN103399714 A CN 103399714A CN 2013103376943 A CN2013103376943 A CN 2013103376943A CN 201310337694 A CN201310337694 A CN 201310337694A CN 103399714 A CN103399714 A CN 103399714A
Authority
CN
China
Prior art keywords
order
metadata
storage device
rollback
configuration information
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.)
Granted
Application number
CN2013103376943A
Other languages
Chinese (zh)
Other versions
CN103399714B (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.)
ANHUI ANQING HANKELAIDE INFORMATION TECHNOLOGY Co Ltd
Original Assignee
ANHUI ANQING HANKELAIDE 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 ANHUI ANQING HANKELAIDE INFORMATION TECHNOLOGY Co Ltd filed Critical ANHUI ANQING HANKELAIDE INFORMATION TECHNOLOGY Co Ltd
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
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a maintenance system for storage device configuration information. The maintenance system for the storage device configuration information can effectively record the storage device configuration information and can use the recorded storage device configuration information for restoration and roll-back of storage system configuration information, thereby improving the usability and safety of a storage device. The maintenance system for the storage device configuration information comprises a monitoring module, a judging module and a recording module, wherein the monitoring module is used for monitoring the configuration operation executed on the storage device by a user; the judging module is used for judging whether the configuration operation executed on the storage device by the user affects the configuration information; the recording module is used for saving the configuration operation as a piece of command metadata according to a signal fed back by the judging module if the signal indicates that the configuration operation executed on the storage device by the user affects the configuration information; the piece of command metadata contains sequence numbers, the content of the configuration operation and an operation result. The invention further provides a method for using the maintenance system for the restoration and roll-back of the storage system configuration information.

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 reaches abundant from strength to strength, configuration becomes increasingly complex, the system manager, when wishing that storage device management is oversimplified, 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 the recovery capability under abnormal conditions, seems particularly important.
in current popular enterprise-level mass memory unit, disk management all is provided basically, the 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 the 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, the stored configuration management is still the operation of a complexity, yet, 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 operational process, appears in storage system, or due to human negligence, maloperation causes configuration information that unexpected variation occurs, can bring extremely whole storage system, if can't in time return to correct status, user data can't be accessed.Can say, the configuration information of storage system, more even more important than the user data that is stored in the 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 can't the recording configuration operation, also can't carry out rollback to operation easily.
Summary of the invention
Technical matters 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, improved 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 comprises:
Monitoring module: the configuration operation that memory device is carried out in order to supervisory user;
Determination module: judge whether the user can affect configuration information to the performed configuration operation of memory device;
Logging modle: the signal according to the determination module feedback, as the user, the performed configuration operation of memory device is affected to configuration information, it is saved as to an order metadata, this order metadata comprises serial number, configuration operation content and operating result.
The method that the present invention also provides the maintenance system that uses 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 be reading order metadata one by one in order;
C, implementation effect determination step be from the order metadata that reads, and judges that order corresponding to this order metadata, in whether success of before execution, if carry out unsuccessfully, do not carry out this order; Otherwise, carry out the additional command determination step, whether the corresponding order of judgement has needs additional command parameter, if having, carries out the 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 having, again from order metadata read step, start circulation; Otherwise finish the recovery system configuration flow.
The method that the present invention also provides the maintenance system that uses 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 the order metadata between point to be rolled back to, and order is backward;
The step that reads C, rollback point reads an order metadata successively;
D, rollback point determination step judge that order corresponding to this order metadata, in whether success of before execution, if carry out unsuccessfully, do not carry out this order; Otherwise, carry out the 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 having, jumps to the rollback point and reads step, and circulation is carried out; 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, to memory device, be configured order, time, execution sequence and the operating result of operation, realize the preservation of storage device configurations information, and, by this kind mechanism, can conveniently be configured rollback or configuration restore.
According to the designed method of the present invention, when the keeper can affect the operational order of configuration information to one of the every execution of memory device, this method can, by ordering and operating result, be preserved successively.
According to the designed method of the present invention, when storage system configuration information is lost, while needing to recover, the present invention will, according to the order metadata, be successful 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, when 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 the information rollback.
The accompanying drawing explanation
Fig. 1 is the system assumption diagram of the maintenance system of storage device configurations information of the present invention;
Fig. 2 is the process flow diagram that the maintenance system of storage device configurations information of the present invention is configured information acquisition;
Flow process when Fig. 3 is utility command metadata recovery stored configuration;
Flow process when Fig. 4 is utility command metadata rollback stored configuration.
Embodiment
The present invention will be further described below in conjunction with accompanying drawing.
Fig. 2 is the process flow diagram that the maintenance system of use storage device configurations information of the present invention is configured information acquisition.Acquisition monitoring step 101 is first carried out the operational order of keeper to storage system, and obtains the rreturn 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, execution time, execution rreturn value information as the order meta-data preservation.
Fig. 3 is the process flow diagram that the 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 is from the order metadata that reads, and judges that order corresponding to this order metadata, in whether success of before execution, if carry 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 having, 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 having, again from order metadata read step 202, starts circulation; Otherwise finish the recovery system configuration flow.
Fig. 4 is the process flow diagram of utility command metadata rollback storage system configuration, shows how storage system uses the present invention to be configured the 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 the order metadata between point to be rolled back to, and order is backward.The step 303 that reads the rollback point reads an order metadata successively.Rollback point determination step 304 judges that order corresponding to this order metadata, in whether success of before execution, if carry out unsuccessfully, do not carry out this order; Otherwise, carry out the 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 having, jumps to the rollback point and reads step 303, and circulation is carried out.Otherwise, the flow process of end rollback system configuration.
In sum, the present invention can, by the 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 do not deviate 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 (3)

1. the maintenance system of a storage device configurations information comprises:
Monitoring module: the configuration operation that memory device is carried out in order to supervisory user;
Determination module: judge whether the user can affect configuration information to the performed configuration operation of memory device;
Logging modle: the signal according to the determination module feedback, as the user, the performed configuration operation of memory device is affected to configuration information, it is saved as to an order metadata, this order metadata comprises serial number, configuration operation content and operating result.
2. right to use requires the method that the maintenance system of 1 described storage device configurations information carries out the recovery of storage device configurations information, comprises the following steps:
A, order metadata obtaining step 201 first obtain all order metadata;
B, order metadata read step 202 be reading order metadata one by one in order;
C, implementation effect determination step 203 be from the order metadata that reads, and judges that order corresponding to this order metadata, in whether success of before execution, if carry out unsuccessfully, do not carry out this order; Otherwise, carry out additional command determination step 204, whether the corresponding order of judgement has needs additional command parameter, if having, 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 having, again from order metadata read step 202, start circulation; Otherwise finish the recovery system configuration flow.
3. right to use requires the method that the maintenance system of 1 described storage device configurations information carries out the rollback of storage device configurations information, 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 the order metadata between point to be rolled back to, and order is backward;
The step 303 that reads C, rollback point reads an order metadata successively;
D, rollback point determination step 304 judge that order corresponding to this order metadata, in whether success of before execution, if carry out unsuccessfully, do not carry out this order; Otherwise, carry out the 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 having, jumps to the rollback point and reads step 303, and circulation is carried out; 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 Active 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 true CN103399714A (en) 2013-11-20
CN103399714B CN103399714B (en) 2016-05-25

Family

ID=49563351

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310337694.3A Active 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)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103744751A (en) * 2014-02-08 2014-04-23 安徽瀚科信息科技有限公司 Storage device configuration information continuous optimization backup system and application method thereof
CN109445689A (en) * 2018-10-08 2019-03-08 郑州云海信息技术有限公司 A kind of method and system of automatic acquisition storing system information
CN109728924A (en) * 2017-10-30 2019-05-07 华为技术有限公司 The method and apparatus for obtaining the configuration information of host
CN111176891A (en) * 2019-12-22 2020-05-19 北京浪潮数据技术有限公司 Method, device and equipment for recovering configuration information of baseboard management controller

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 中兴通讯股份有限公司 The configuration information management method of outsourcing piece, alarm management method and system
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 中兴通讯股份有限公司 The configuration information management method of outsourcing piece, alarm management method and system
CN101977127A (en) * 2010-11-26 2011-02-16 迈普通信技术股份有限公司 SNMP (Simple Network Management Protocol) based equipment configuration roll back method and SNMP network management equipment

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103744751A (en) * 2014-02-08 2014-04-23 安徽瀚科信息科技有限公司 Storage device configuration information continuous optimization backup system and application method thereof
CN103744751B (en) * 2014-02-08 2017-04-26 安徽瀚科信息科技有限公司 Storage device configuration information continuous optimization backup system and application method thereof
CN109728924A (en) * 2017-10-30 2019-05-07 华为技术有限公司 The method and apparatus for obtaining the configuration information of host
CN109445689A (en) * 2018-10-08 2019-03-08 郑州云海信息技术有限公司 A kind of method and system of automatic acquisition storing system information
CN111176891A (en) * 2019-12-22 2020-05-19 北京浪潮数据技术有限公司 Method, device and equipment for recovering configuration information of baseboard management controller

Also Published As

Publication number Publication date
CN103399714B (en) 2016-05-25

Similar Documents

Publication Publication Date Title
WO2015081864A1 (en) Method and device for monitoring emmc
CN103399714B (en) The maintenance system of storage device configurations information and using method thereof
CN105912086A (en) Power module fault diagnosis method, power module and whole cabinet server
CN110597704B (en) Pressure test method, device, server and medium for application program
CN105160251A (en) Analysis method and device of APK (Android Packet) application software behavior
CN105512562B (en) Vulnerability mining method and device and electronic equipment
CN103744751B (en) Storage device configuration information continuous optimization backup system and application method thereof
CN106210026A (en) The control method of distributed file system multi-client catalogue quota precision and system
CN101833496B (en) Detection device based on host anti-object reusability of hard disk and detection method thereof
CN103176901A (en) Method and system for embedded software test monitoring
CN107818029A (en) A kind of cloud hard disc data recovers the automated testing method of uniformity
CN103440179B (en) The continuous store method of storage device configurations information
WO2016153377A1 (en) Smart logging of trace data for storage systems
CN102436535B (en) Identification method and system for creative inflection point in computer aided design process
CN109032940B (en) Test scene input method, device, equipment and storage medium
CN111209608A (en) Big data storage system
CN107590044B (en) Testing method, device and equipment for distributed storage cluster
CN106970851A (en) Method and apparatus for disk detection process in distributed file system
CN115657941A (en) Method and device for collecting private logs of storage device and storage medium
CN110008067B (en) Method and device for writable snapshot chain clone and distributed storage system
CN110222014B (en) Maintenance method of bus map of distributed file system and related components
CN104572464A (en) Automated test state saving method and device of Android platform
CN103902919A (en) Method and device for recovering login information
CN113655958A (en) Application data storage method
CN113467997A (en) Data recovery method and device, mobile device and storage medium

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