CN107608859A - Storage system status monitoring method, device, equipment and computer-readable storage medium - Google Patents

Storage system status monitoring method, device, equipment and computer-readable storage medium Download PDF

Info

Publication number
CN107608859A
CN107608859A CN201710909946.3A CN201710909946A CN107608859A CN 107608859 A CN107608859 A CN 107608859A CN 201710909946 A CN201710909946 A CN 201710909946A CN 107608859 A CN107608859 A CN 107608859A
Authority
CN
China
Prior art keywords
storage
current state
storage object
status information
state 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.)
Pending
Application number
CN201710909946.3A
Other languages
Chinese (zh)
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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai 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 Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201710909946.3A priority Critical patent/CN107608859A/en
Publication of CN107608859A publication Critical patent/CN107608859A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a kind of storage system status information monitoring method, including determine the tree structure in storage system between whole storage objects according to incidence relation structure;Periodically according to tree structure, since the storage object at root node, successively traversal obtains the current state information of storage object at each node, and judges whether the current state information of storage object and the status information of itself that a upper cycle stores are consistent at each node;If inconsistent, according to current state information, the status information of the corresponding storage object of storage is updated.Present invention association obtains status information and the renewal of whole storage objects, and uniformity is strong, and reliability is high;The invention also discloses a kind of device based on the above method, equipment and computer-readable storage medium.

Description

Storage system status monitoring method, device, equipment and computer-readable storage medium
Technical field
The present invention relates to system management memory technical field, more particularly to a kind of storage system status information monitoring side Method.The invention further relates to a kind of storage system status information monitoring device, equipment and computer-readable storage medium.
Background technology
With the development of computer technology and internet, the dependence for storage system is increasing, and storage system Health status and performance directly affects the routine work of enterprise, and therefore, the monitoring to the state of storage system seems more to come It is important.
The acquisition methods of existing storage object information are all largely independent acquisitions, without phase during each storage object acquisition of information Association is mutually relied on, each object information obtains respectively.And inside storage system, each storage object directly often exists mutually interdependent The incidence relation such as bad, interdependent, thus often occur when each storage object information independently obtains each object information state it is asynchronous, The problems such as incidence relation mistake.And in the storage information according to the up-to-date information renewal storage object obtained, there is also each Individually information is asynchronous between the whole each storage object of storage system caused by renewal for storage object, and incidence relation is wrong etc. asks Topic, uniformity is poor, the poor reliability of renewal.
Therefore, how to provide a kind of reliability high storage system status information monitoring method, device, equipment and computer Storage medium is that those skilled in the art need to solve the problems, such as at present.
The content of the invention
It is an object of the invention to provide a kind of storage system status information monitoring method, association obtains whole storage objects Status information simultaneously updates, and uniformity is strong, and reliability is high;It is a further object of the present invention to provide a kind of dress based on the above method Put, equipment and computer-readable storage medium.
In order to solve the above technical problems, the invention provides a kind of storage system status information monitoring method, including:
Determine the tree structure between whole storage objects according to incidence relation structure in storage system;
Periodically according to the tree structure, since the storage object at root node, successively traversal obtains each section The current state information of storage object at point, and judge that the current state information of storage object was deposited with a upper cycle at each node Whether the status information of itself of storage is consistent;
If inconsistent, according to the current state information, the status information of the corresponding storage object of storage is updated.
Preferably, the status information is inconsistent specifically includes:
Current state information show corresponding to storage object exist, and the storage of the current state information and a upper cycle, It is distinct between the status information of corresponding storage object;
Or current state information show corresponding to storage object deleted.
Preferably, if the current state information show corresponding to storage object deleted, according to the current state Information, the process for updating the status information of the corresponding storage object of storage are specially:
The status information of storage object corresponding to current state information stored in the storage system, described is deleted, and Delete the status information of whole child nodes storage of the storage object in the tree structure.
Preferably, the root node is cluster, and the child node includes storage pool, main frame, volume, disk, fiber channel interface Any of or several combinations.
In order to solve the above technical problems, present invention also offers a kind of storage system status information monitoring device, including:
Tree structure determining module, for determining what is built in storage system between whole storage objects according to incidence relation Tree structure;
Spider module, for periodically according to the tree structure, since the storage object at root node, successively time The current state information for obtaining storage object at each node is gone through, and judges the current state information of storage object at each node Whether the status information of itself of storage is consistent with a upper cycle;If inconsistent, update module is triggered;
The update module, for the current state information of the storage object inconsistent according to status information, renewal storage The status information of itself.
Preferably, the spider module specifically includes:
State acquiring unit, for periodically according to the tree structure, since the storage object at root node, by Level traversal detects the current state information of storage object at each level of child nodes;
Judging unit, for judge respectively the current state information of each storage object and the storage of a upper cycle itself Whether status information consistent, if the current state information show corresponding to storage object exist, and the current state information Distinct between the status information of the storage of a upper cycle, corresponding storage object, then unit is changed in triggering;It is if described current Status information show corresponding to storage object deleted, then triggering delete unit;
The modification unit, for changing the state letter of stored corresponding storage object according to the current state information Breath;
The deletion unit, for deleting storage corresponding to current state information stored in the storage system, described The status information of object, and delete the status information of whole child nodes storage of the storage object in the tree structure.
In order to solve the above technical problems, present invention also offers a kind of storage system status information monitoring apparatus, including:
Memory, for storing computer program;
Processor, the storage system status information as described in any of the above item is realized during for performing the computer program The step of monitoring method.
In order to solve the above technical problems, present invention also offers a kind of computer-readable recording medium, it is characterised in that institute State and computer program is stored with computer-readable recording medium, realized when the computer program is executed by processor as more than The step of storage system status information monitoring method described in any one.
The invention provides a kind of storage system status information monitoring method, the interior pass according between storage object of each cycle Join the current state information that dendrogram obtains whole storage objects, this acquisition modes take into account the pass between each storage object Connection relation, the problems such as asynchronous present condition, incidence relation mistake are gone out when avoiding acquisition of information;To each it store respectively afterwards pair The current state information of elephant is compared with the status information that a upper cycle stores, if inconsistent, shows the shape of the storage object State changes, therefore updates its storage state according to current state information.It can be seen that the present invention is not to each storage object list Solely it is updated, but the order according to dendrogram within each cycle is successively carried out whole storage objects after state change Renewal, avoids the problems such as status information stored between storage object is asynchronous, incidence relation is wrong, uniformity is strong, reliably Property it is high.Present invention also offers a kind of device based on the above method, equipment and computer-readable storage medium.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, below will be to institute in prior art and embodiment The accompanying drawing needed to use is briefly described, it should be apparent that, drawings in the following description are only some implementations of the present invention Example, for those of ordinary skill in the art, on the premise of not paying creative work, can also be obtained according to these accompanying drawings Obtain other accompanying drawings.
Fig. 1 is a kind of flow chart of the process of storage system status information monitoring method provided by the invention;
Fig. 2 is a kind of tree structure figure of storage object;
Fig. 3 is a kind of structural representation of storage system status information monitoring device provided by the invention.
Embodiment
The core of the present invention is to provide a kind of storage system status information monitoring method, and association obtains whole storage objects Status information simultaneously updates, and uniformity is strong, and reliability is high;Another core of the present invention is to provide a kind of dress based on the above method Put, equipment and computer-readable storage medium.
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is Part of the embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
Shown in Figure 1 the invention provides a kind of storage system status information monitoring method, Fig. 1 provides for the present invention A kind of storage system status information monitoring method process flow chart;This method includes:
Step s1:Determine the tree structure between whole storage objects according to incidence relation structure in storage system;Referring to Shown in Fig. 2, Fig. 2 is a kind of tree structure figure of storage object.Cluster is root node, it is lower include Node, Mdisk, The child nodes such as StoragePool, Host, Volume, again comprising child nodes such as multiple FC Port under Node child nodes, under Host Include Host Mapping child nodes.
Wherein, tree structure is set according to the incidence relation between storage object, and the present invention does not limit specific tree Shape structure.
Step s2:Periodically according to tree structure, since the storage object at root node, successively traversal obtains each The current state information of storage object at node, and judged the current state information of storage object and a upper cycle at each node Whether the status information of itself of storage is consistent;
Step s3:If inconsistent, according to current state information, the status information of the corresponding storage object of storage is updated.
Wherein, above-mentioned status information is inconsistent specifically includes:
Current state information show corresponding to storage object exist, and the storage of the current state information and a upper cycle, It is distinct between the status information of corresponding storage object;For example, the version number that the status information in a upper cycle includes is A, when The version number included in preceding status information is B, and both distinguish, then needs the version of the storage object of Installed System Memory storage Number it is updated to B.
Or current state information show corresponding to storage object deleted.
It is further known that if current state information show corresponding to storage object deleted, according to current state information, The process of status information for updating the corresponding storage object of storage is specially:
The status information of storage object corresponding to stored in storage system, current state information is deleted, and is deleted tree-like The status information of whole child nodes storage of the storage object in structure.
Preferably, root node is cluster, and child node includes any in storage pool, main frame, volume, disk, fiber channel interface Kind or several combinations.
The invention provides a kind of storage system status information monitoring method, the interior pass according between storage object of each cycle Join the current state information that dendrogram obtains whole storage objects, this acquisition modes take into account the pass between each storage object Connection relation, the problems such as asynchronous present condition, incidence relation mistake are gone out when avoiding acquisition of information;To each it store respectively afterwards pair The current state information of elephant is compared with the status information that a upper cycle stores, if inconsistent, shows the shape of the storage object State changes, therefore updates its storage state according to current state information.It can be seen that the present invention is not to each storage object list Solely it is updated, but the order according to dendrogram within each cycle is successively carried out whole storage objects after state change Renewal, avoids the problems such as status information stored between storage object is asynchronous, incidence relation is wrong, uniformity is strong, reliably Property it is high.
Present invention also offers a kind of storage system status information monitoring device, shown in Figure 3, Fig. 3 carries for the present invention A kind of structural representation of the storage system status information monitoring device supplied.The device includes:
Tree structure determining module 1, for determining to build according to incidence relation between whole storage objects in storage system Tree structure;
Spider module 2, for periodically according to tree structure, since the storage object at root node, successively traveling through Obtain the current state information of storage object at each node, and judge at each node the current state information of storage object with Whether the status information of itself of upper cycle storage is consistent;If inconsistent, update module 3 is triggered;
Update module 3, for the current state information according to the inconsistent storage object of status information, update storage from The status information of body.
Preferably, spider module 2 specifically includes:
State acquiring unit, for periodically according to tree structure, since the storage object at root node, step by step time Go through the current state information for detecting storage object at each level of child nodes;
Judging unit, for judge respectively the current state information of each storage object and the storage of a upper cycle itself Whether status information consistent, if current state information show corresponding to storage object exist, and current state information with upper one week Distinct between the status information of phase storage, corresponding storage object, then unit is changed in triggering;If current state information is shown Corresponding storage object has been deleted, then unit is deleted in triggering;
Unit is changed, for changing the status information of stored corresponding storage object according to current state information;
Unit is deleted, the state for deleting storage object corresponding to stored in storage system, current state information is believed Breath, and delete the status information of whole child nodes storage of the storage object in tree structure.
The invention provides a kind of storage system status information monitoring device, the interior pass according between storage object of each cycle Join the current state information that dendrogram obtains whole storage objects, this acquisition modes take into account the pass between each storage object Connection relation, the problems such as asynchronous present condition, incidence relation mistake are gone out when avoiding acquisition of information;To each it store respectively afterwards pair The current state information of elephant is compared with the status information that a upper cycle stores, if inconsistent, shows the shape of the storage object State changes, therefore updates its storage state according to current state information.It can be seen that the present invention is not to each storage object list Solely it is updated, but the order according to dendrogram within each cycle is successively carried out whole storage objects after state change Renewal, avoids the problems such as status information stored between storage object is asynchronous, incidence relation is wrong, uniformity is strong, reliably Property it is high.
Present invention also offers a kind of storage system status information monitoring apparatus, including:
Memory, for storing computer program;
Processor, the storage system status information monitoring method such as any of the above item is realized during for performing computer program The step of.
Present invention also offers a kind of computer-readable recording medium, it is characterised in that on computer-readable recording medium Computer program is stored with, realizes that the storage system status information such as any of the above item is supervised when computer program is executed by processor The step of prosecutor method.
More than several embodiments be only the preferred embodiment of the present invention, several specific embodiments of the above can be with Any combination, the embodiment obtained after combination is also within protection scope of the present invention.It should be pointed out that for the art For those of ordinary skill, relevant speciality technical staff deduced out in the case where not departing from spirit of the invention and concept thereof other change Enter and change, should be included in the scope of the protection.
It should also be noted that, in this manual, term " comprising ", "comprising" or its any other variant are intended to contain Lid nonexcludability includes, so that process, method, article or equipment including a series of elements not only will including those Element, but also the other element including being not expressly set out, or it is this process, method, article or equipment also to include Intrinsic key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that Other identical element also be present in process, method, article or equipment including the key element.
The foregoing description of the disclosed embodiments, professional and technical personnel in the field are enable to realize or using the present invention. A variety of modifications to these embodiments will be apparent for those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, it is of the invention The embodiments shown herein is not intended to be limited to, and is to fit to and principles disclosed herein and features of novelty phase one The most wide scope caused.

Claims (8)

  1. A kind of 1. storage system status information monitoring method, it is characterised in that including:
    Determine the tree structure between whole storage objects according to incidence relation structure in storage system;
    Periodically according to the tree structure, since the storage object at root node, successively traversal is obtained at each node The current state information of storage object, and judged the current state information of storage object and the storage of a upper cycle at each node Whether the status information of itself is consistent;
    If inconsistent, according to the current state information, the status information of the corresponding storage object of storage is updated.
  2. 2. according to the method for claim 1, it is characterised in that the status information is inconsistent to be specifically included:
    Current state information show corresponding to storage object exist, and the current state information stored with a upper cycle, it is corresponding It is distinct between the status information of storage object;
    Or current state information show corresponding to storage object deleted.
  3. 3. according to the method for claim 2, it is characterised in that if the current state information show corresponding to storage object It has been deleted that, then according to the current state information, the process for updating the status information of the corresponding storage object of storage is specially:
    The status information of storage object corresponding to current state information stored in the storage system, described is deleted, and is deleted The status information of whole child nodes storage of the storage object in the tree structure.
  4. 4. according to the method for claim 1, it is characterised in that the root node be cluster, the child node including storage pool, Any of main frame, volume, disk, fiber channel interface or several combinations.
  5. A kind of 5. storage system status information monitoring device, it is characterised in that including:
    Tree structure determining module, for determining in storage system between whole storage objects according to the tree-like of incidence relation structure Structure;
    Spider module, for periodically according to the tree structure, since the storage object at root node, successively traversal to obtain Take the current state information of storage object at each node, and judge at each node the current state information of storage object with it is upper Whether the one cycle status information of itself of storage is consistent;If inconsistent, update module is triggered;
    The update module, for the current state information according to the inconsistent storage object of status information, update storage from The status information of body.
  6. 6. device according to claim 5, it is characterised in that the spider module specifically includes:
    State acquiring unit, for periodically according to the tree structure, since the storage object at root node, step by step time Go through the current state information for detecting storage object at each level of child nodes;
    Judging unit, for judging the current state information and the state of itself of storage of the upper cycle of each storage object respectively Whether information consistent, if the current state information show corresponding to storage object exist, and the current state information with it is upper Distinct between the status information of the storage of one cycle, corresponding storage object, then unit is changed in triggering;If the current state Storage object has been deleted corresponding to presentation of information, then unit is deleted in triggering;
    The modification unit, for changing the status information of stored corresponding storage object according to the current state information;
    The deletion unit, for deleting storage object corresponding to current state information stored in the storage system, described Status information, and delete the storage object in the tree structure whole child nodes storage status information.
  7. A kind of 7. storage system status information monitoring apparatus, it is characterised in that including:
    Memory, for storing computer program;
    Processor, the storage system status as described in any one of Claims 1-4 is realized during for performing the computer program The step of information monitoring method.
  8. 8. a kind of computer-readable recording medium, it is characterised in that be stored with computer on the computer-readable recording medium Program, the storage system status letter as described in any one of Claims 1-4 is realized when the computer program is executed by processor The step of ceasing monitoring method.
CN201710909946.3A 2017-09-29 2017-09-29 Storage system status monitoring method, device, equipment and computer-readable storage medium Pending CN107608859A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710909946.3A CN107608859A (en) 2017-09-29 2017-09-29 Storage system status monitoring method, device, equipment and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710909946.3A CN107608859A (en) 2017-09-29 2017-09-29 Storage system status monitoring method, device, equipment and computer-readable storage medium

Publications (1)

Publication Number Publication Date
CN107608859A true CN107608859A (en) 2018-01-19

Family

ID=61067290

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710909946.3A Pending CN107608859A (en) 2017-09-29 2017-09-29 Storage system status monitoring method, device, equipment and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN107608859A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109144737A (en) * 2018-10-09 2019-01-04 郑州云海信息技术有限公司 Controller management method, apparatus and storage medium in a kind of distributed cluster system

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1588331A (en) * 2004-09-10 2005-03-02 华中科技大学 Tree shape structure disc array
CN1866854A (en) * 2005-05-19 2006-11-22 华为技术有限公司 Method for updating and recovering terminal device data in device management
CN101515298A (en) * 2009-03-30 2009-08-26 华为技术有限公司 Inserting method based on tree-shaped data structure node and storing device
CN102377827A (en) * 2011-12-13 2012-03-14 方正国际软件有限公司 Multilevel cloud storage system and storage method thereof
CN102929745A (en) * 2012-09-26 2013-02-13 东软集团股份有限公司 Status data updating method and device for virtual equipments
CN103678156A (en) * 2012-09-05 2014-03-26 三星电子株式会社 Wear management apparatus and method for storage system
CN103761059A (en) * 2014-01-24 2014-04-30 中国科学院信息工程研究所 Multi-disk storage method and system for mass data management
CN104809190A (en) * 2015-04-21 2015-07-29 浙江大学 Database access method of tree-like structure data
CN105959419A (en) * 2016-07-15 2016-09-21 浪潮(北京)电子信息产业有限公司 Establishment method and system for distributed storage structure based on consensus tree

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1588331A (en) * 2004-09-10 2005-03-02 华中科技大学 Tree shape structure disc array
CN1866854A (en) * 2005-05-19 2006-11-22 华为技术有限公司 Method for updating and recovering terminal device data in device management
CN101515298A (en) * 2009-03-30 2009-08-26 华为技术有限公司 Inserting method based on tree-shaped data structure node and storing device
CN102377827A (en) * 2011-12-13 2012-03-14 方正国际软件有限公司 Multilevel cloud storage system and storage method thereof
CN103678156A (en) * 2012-09-05 2014-03-26 三星电子株式会社 Wear management apparatus and method for storage system
CN102929745A (en) * 2012-09-26 2013-02-13 东软集团股份有限公司 Status data updating method and device for virtual equipments
CN103761059A (en) * 2014-01-24 2014-04-30 中国科学院信息工程研究所 Multi-disk storage method and system for mass data management
CN104809190A (en) * 2015-04-21 2015-07-29 浙江大学 Database access method of tree-like structure data
CN105959419A (en) * 2016-07-15 2016-09-21 浪潮(北京)电子信息产业有限公司 Establishment method and system for distributed storage structure based on consensus tree

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109144737A (en) * 2018-10-09 2019-01-04 郑州云海信息技术有限公司 Controller management method, apparatus and storage medium in a kind of distributed cluster system

Similar Documents

Publication Publication Date Title
CN102982097B (en) Domain for Knowledge based engineering data quality solution
CN102473129B (en) Export the management system of the information of the restoration methods representing corresponding with the basic reason of fault
CN104702655B (en) Cloud storage resource allocation methods and its system
US20160098419A1 (en) Automatic correlation of dynamic system events within computing devices
CN105022739B (en) The storage method and device of data
CN106469103B (en) The maintaining method and device of hard disk
CN103617242B (en) Method for showing topology of distributed file system
CN108255620A (en) A kind of business logic processing method, apparatus, service server and system
CN102638378B (en) Mass storage system monitoring method integrating heterogeneous storage devices
US10360245B2 (en) Attribute value derivation
CN103535014B (en) A kind of network store system, data processing method and client
CN107153571A (en) A kind of dispositions method and device of virtual management node
CN108090165A (en) A kind of acquisition methods of the collection of illustrative plates variation based on embedded chart database
CN107864055A (en) The management method and platform of virtualization system
CN103294805B (en) The creation method of data warehouse personalization dimension table and device
CN109002330A (en) A kind of method, device and equipment identifying UEFI OS startup item
CN108156030A (en) The method and device that a kind of configuration strategy synchronizes
CN107193871A (en) Database recovering method and device
CN110048896A (en) A kind of company-data acquisition methods, device and equipment
CN106648679A (en) Version management method of structural data
CN107423110A (en) A kind of virtual machine method of real-time and its device based on libvirt
CN108647118A (en) Copy abnormal restoring method, device and computer equipment based on storage cluster
CN115033657A (en) Inquiry method, device and equipment based on knowledge graph and storage medium
CN107608859A (en) Storage system status monitoring method, device, equipment and computer-readable storage medium
CN109558299A (en) Business monitoring and the method, apparatus of early warning, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180119