CN103440179A - Method for continuously storing configuration information of storage device - Google Patents
Method for continuously storing configuration information of storage device Download PDFInfo
- Publication number
- CN103440179A CN103440179A CN2013103716536A CN201310371653A CN103440179A CN 103440179 A CN103440179 A CN 103440179A CN 2013103716536 A CN2013103716536 A CN 2013103716536A CN 201310371653 A CN201310371653 A CN 201310371653A CN 103440179 A CN103440179 A CN 103440179A
- Authority
- CN
- China
- Prior art keywords
- configuration information
- backup
- storage device
- index value
- next step
- 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
Links
Images
Abstract
The invention provides a method for continuously storing configuration information of a storage device. The method can achieve the continuous storage of the configuration information and can also enable the configuration information to recover to any stable state recorded by backup data through backups. The method for continuously storing the configuration information of the storage device comprises the following steps: (1) executing an operation command of an administrator to a storage system, (2) judging whether the operation command is executed successfully or not, ending the operation directly if the operation command is not executed successfully, or carrying out the next step if the operation command is executed successfully; (3) judging whether the command affects the configuration information of the storage system or not, ending the operation directly if the existing configuration information does not need to be changed, or carrying out the next step; (4) copying a configuration information data region of the current state to be one record of a backup region, wherein the record comprises an index value. The invention further provides a method for recovering the storage device to be of the last system stable state by using the backup data, and a method for rolling the configuration information of the storage device back to any change point.
Description
Technical field
The present invention relates to area information storage, be specifically related to a kind of continuous preservation and restoration methods 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 return in time 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 preserved, 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 continuous store method of storage device configurations information, can realize that configuration information preserves continuously, and can be by these backups, arbitrary steady state (SS) that configuration information recovery is recorded to Backup Data.
For solving the problems of the technologies described above, the continuous store method of storage device configurations information of the present invention comprises the following steps:
A, first carry out the operational order of keeper to storage system;
B, judge that whether this operational order runs succeeded; As unsuccessful, directly finish; Otherwise execution next step;
C, judge whether this order affects the configuration information of storage system, if existing configuration information not changed and directly finished; Otherwise execution next step;
D, by the configuration information data area under current state copy, be a record of backup area, this record comprises an index value.
The present invention also provides and has used above-mentioned Backup Data that memory device is returned to the last system stability status method, comprises the following steps:
A, first stop all business of current system;
B, judge whether system business stops, if stop performing step next step, otherwise directly finishing;
C, obtain the index value of the up-to-date record of backup area;
The index value that D, basis are obtained, obtain up-to-date one of backup area and be recorded in the regional off-set value of backup;
E, the configuration information Backup Data by this index value in corresponding record are copied to the configuration information district;
F, restarting systems.
The present invention also provides and has used above-mentioned Backup Data, storage device configurations information is rolled back to the method for arbitrary change point, comprises the following steps:
A, first stop all business of current system;
B, judge whether system business stops, if stop, carrying out next step, otherwise directly finish rolling back action;
C, input and wait to be rolled back to the value of changing point;
D, obtain and wait to be rolled back to an index value of changing the configuration information Backup Data that point is corresponding;
The index value that E, basis are obtained, obtain the configuration information Backup Data off-set value regional in backup;
F, the configuration information Backup Data is copied to the configuration information district;
G, restarting systems.
After having adopted technique scheme, after the present invention will configure at every turn, under the system stability state, whole configure metadata zone copies to the backup zone according to time sequencing, realize continuous configuration information preservation, and can be by these backups, the information of being configured returns to the steady state (SS) before arbitrary change.
The accompanying drawing explanation
Fig. 1 is the process flow diagram that uses the present invention to carry out the operation of storage device configurations information back-up;
Fig. 2 is the process flow diagram while using the present invention that memory device is returned to the last system configuration;
Fig. 3 is the process flow diagram while using the present invention that memory device is rolled back to stored configuration before arbitrary operation.
Embodiment
Below in conjunction with accompanying drawing, the present invention will be further described.
Embodiment mono-
As shown in Figure 1, this enforcement profit has been demonstrated and how have been used the present invention to carry out the operation of storage device configurations information back-up.
Embodiment bis-
As shown in Figure 2, at embodiment mono-, carried out on the basis of data backup, when the configuration information change request appears in memory device, the present invention can recover storage system configuration to the last steady state (SS).
Embodiment tri-
As shown in Figure 3, at embodiment mono-, carried out on the basis of data backup, need to be by configuration information recovery during to state previously at memory device, the present invention can be according to Backup Data, and the rollback storage system configuration is to arbitrary change point.
In sum, the present invention can preserve storage system configuration information continuously, thereby can to storage system configuration information, be recovered and rollback convenient and simplely.
Certainly, the present invention can also have other various embodiments, 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 these corresponding changes and distortion all should belong to the appended right of the present invention.
Claims (3)
1. the continuous store method of a storage device configurations information comprises the following steps:
A, first carry out the operational order of keeper to storage system;
B, judge that whether this operational order runs succeeded; As unsuccessful, directly finish; Otherwise execution next step;
C, judge whether this order affects the configuration information of storage system, if existing configuration information not changed and directly finished; Otherwise execution next step;
D, by the configuration information data area under current state copy, be a record of backup area, this record comprises an index value.
2. the restoration methods of a storage device configurations information comprises the following steps:
A, first stop all business of current system;
B, judge whether system business stops, if stop performing step next step, otherwise directly finishing;
C, obtain the index value of the up-to-date record of backup area;
The index value that D, basis are obtained, obtain up-to-date one of backup area and be recorded in the regional off-set value of backup;
E, the configuration information Backup Data by this index value in corresponding record are copied to the configuration information district;
F, restarting systems.
3. the rollback method of a storage device configurations information comprises the following steps:
A, first stop all business of current system;
B, judge whether system business stops, if stop, carrying out next step, otherwise directly finish rolling back action;
C, input and wait to be rolled back to the value of changing point;
D, obtain and wait to be rolled back to an index value of changing the configuration information Backup Data that point is corresponding;
The index value that E, basis are obtained, obtain the configuration information Backup Data off-set value regional in backup;
F, the configuration information Backup Data is copied to the configuration information district;
G, restarting systems.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310371653.6A CN103440179B (en) | 2013-08-23 | 2013-08-23 | The continuous store method of storage device configurations information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310371653.6A CN103440179B (en) | 2013-08-23 | 2013-08-23 | The continuous store method of storage device configurations information |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103440179A true CN103440179A (en) | 2013-12-11 |
CN103440179B CN103440179B (en) | 2016-09-28 |
Family
ID=49693870
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310371653.6A Active CN103440179B (en) | 2013-08-23 | 2013-08-23 | The continuous store method of storage device configurations information |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103440179B (en) |
Cited By (3)
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 |
CN107070682A (en) * | 2016-12-12 | 2017-08-18 | 浙江鹏信信息科技股份有限公司 | A kind of method and system of network configuration data rollback |
CN109144772A (en) * | 2017-06-15 | 2019-01-04 | 北京京东尚科信息技术有限公司 | The method and apparatus of backup database data |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020002705A1 (en) * | 2000-06-12 | 2002-01-03 | U.S. Philips Corporation | Computer profile update system |
CN1512379A (en) * | 2002-12-26 | 2004-07-14 | 联想(北京)有限公司 | Method for automatic configuration or restoring of computer system network configuration |
CN1858704A (en) * | 2006-02-07 | 2006-11-08 | 华为技术有限公司 | Method of upgrading sequence |
CN101593083A (en) * | 2008-05-26 | 2009-12-02 | 联想(北京)有限公司 | Device, computing machine and method that computer profile is protected and recovered |
CN102750110A (en) * | 2011-10-25 | 2012-10-24 | 北京同有飞骥科技股份有限公司 | High-reliable disk array system for configuration information |
-
2013
- 2013-08-23 CN CN201310371653.6A patent/CN103440179B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020002705A1 (en) * | 2000-06-12 | 2002-01-03 | U.S. Philips Corporation | Computer profile update system |
CN1512379A (en) * | 2002-12-26 | 2004-07-14 | 联想(北京)有限公司 | Method for automatic configuration or restoring of computer system network configuration |
CN1858704A (en) * | 2006-02-07 | 2006-11-08 | 华为技术有限公司 | Method of upgrading sequence |
CN101593083A (en) * | 2008-05-26 | 2009-12-02 | 联想(北京)有限公司 | Device, computing machine and method that computer profile is protected and recovered |
CN102750110A (en) * | 2011-10-25 | 2012-10-24 | 北京同有飞骥科技股份有限公司 | High-reliable disk array system for configuration information |
Cited By (4)
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 |
CN107070682A (en) * | 2016-12-12 | 2017-08-18 | 浙江鹏信信息科技股份有限公司 | A kind of method and system of network configuration data rollback |
CN109144772A (en) * | 2017-06-15 | 2019-01-04 | 北京京东尚科信息技术有限公司 | The method and apparatus of backup database data |
Also Published As
Publication number | Publication date |
---|---|
CN103440179B (en) | 2016-09-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103198122B (en) | Restart the method and apparatus of memory database | |
WO2018098972A1 (en) | Log recovery method, storage device and storage node | |
CN104375877A (en) | Virtual machine online snapshot generating and deleting method | |
CN102891849A (en) | Service data synchronization method, data recovery method, data recovery device and network device | |
CN109542682B (en) | Data backup method, device, equipment and storage medium | |
CN105068856A (en) | Mirror image snapshooting based on virtual machine backup system and backup method | |
CN101441582A (en) | Backup and recovery method of computer data object and system and program product for implementing the same | |
CN110543386B (en) | Data storage method, device, equipment and storage medium | |
CN105677516A (en) | Method for efficient and reliable backup recovery in calculation approach storage cloud platform | |
CN103516736A (en) | Data recovery method of distributed cache system and a data recovery device of distributed cache system | |
CN108255638B (en) | Snapshot rollback method and device | |
CN105224422B (en) | A kind of data back up method and equipment | |
WO2012097691A1 (en) | Data backup method and device | |
CN107329859B (en) | Data protection method and storage device | |
CN107656705B (en) | Computer storage medium and data migration method, device and system | |
CN111078667B (en) | Data migration method and related device | |
US10459804B2 (en) | Database rollback using WAL | |
CN108614876B (en) | Redis database-based system and data processing method | |
CN102200944A (en) | Test environment cloning method and system for enterprise resource planning (ERP) system | |
CN111666266A (en) | Data migration method and related equipment | |
CN106844597A (en) | The method and its device of a kind of quick deletion dependent snapshot target volume | |
CN103744751B (en) | Storage device configuration information continuous optimization backup system and application method thereof | |
CN112380067A (en) | Metadata-based big data backup system and method under Hadoop environment | |
CN103440179A (en) | Method for continuously storing configuration information of storage device | |
CN106502830B (en) | A kind of method for restoring system backup based on Btrfs file system |
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 |