CN106844140B - Monitoring method based on SCOM - Google Patents
Monitoring method based on SCOM Download PDFInfo
- Publication number
- CN106844140B CN106844140B CN201611189983.3A CN201611189983A CN106844140B CN 106844140 B CN106844140 B CN 106844140B CN 201611189983 A CN201611189983 A CN 201611189983A CN 106844140 B CN106844140 B CN 106844140B
- Authority
- CN
- China
- Prior art keywords
- module
- scom
- monitoring
- volumes
- script
- 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.)
- Expired - Fee Related
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3003—Monitoring arrangements specially adapted to the computing system or computing system component being monitored
- G06F11/3034—Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a storage system, e.g. DASD based or network based
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/32—Monitoring with visual or acoustical indication of the functioning of the machine
- G06F11/324—Display of status information
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Quality & Reliability (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computing Systems (AREA)
- Mathematical Physics (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention discloses a monitoring method based on SCOM, comprising the following steps: dividing the volumes by taking RAID groups as units, and finding all the volumes by taking the RAID groups as units by a finder module; calling a data model module in the SCOM at regular time; the data model module calls a built-in script module and takes each RAID group as a data source; the filter module divides each RAID group by taking a volume as a unit; the divided volumes are in one-to-one correspondence with the found monitoring objects, and the corresponding volumes are put into corresponding monitoring processes; the monitoring module sequentially extracts the state of the volumes in the monitoring flow and displays all the volumes and the state of the volumes in the monitoring flow through the SCOM console; the invention can display all monitored volumes.
Description
Technical Field
The invention relates to an automatic monitoring technology, in particular to a monitoring method based on an SCOM (system component object model).
Background
SCOM is an abbreviation of Microsoft System Center Operations Manager, the Microsoft Center Operations Manager. SCOM provides a graphical interface that allows administrators to monitor servers, applications, and clients deployed in current networks, to monitor faults and generated alerts in target computers and applications. Currently, when monitoring a non-microsoft system and an application program, the SCOM can only obtain data in a third-party service as state data of a monitored object through a script.
Because the queuing timeout time of the SCOM script queue is 10 minutes, after testing, the script is used as a data source of the monitored object, and when the number of the monitored objects reaches more than 1000, the SCOM cannot acquire the state of the monitored object, thereby failing to achieve the monitoring purpose. When the monitoring objects on the upper layer of the volume reach more than 1000, the monitoring objects on the lower layer of the volume and the volume can reach about 65000 at most. Currently, microsoft and other storage manufacturers do not have such a large-scale monitoring precedent for using scripts as data sources. Therefore, how to utilize the script as a data source and prevent the script queue from being overtime so as to display all monitored objects becomes a problem to be solved firstly for developing the storage SCOM management package.
Disclosure of Invention
The technical problem to be solved by the present invention is to provide a monitoring system and method based on SCOM, which can display all monitored volumes.
In order to achieve the technical purpose, the technical scheme adopted by the invention is as follows:
an SCOM-based monitoring method comprises the following steps:
step 1: dividing a volume into a plurality of RAID groups by taking the RAID groups as units;
step 2: constructing a finder module, wherein the finder module finds all the volumes taking the RAID group as a unit in sequence, takes the found volumes as monitoring objects, and takes the process of finding the monitoring objects in sequence by the finder module as a monitoring flow;
and step 3: constructing a timer module, and calling a data model module in the SCOM at regular time;
and 4, step 4: the data model module calls a built-in script module, acquires all RAID groups through a script in the script module and takes each RAID group as a data source;
and 5: constructing a filter module, wherein the filter module divides each RAID group in the step 4 by taking a volume as a unit and sends the divided volume to the finder module in the step 2;
step 6: the finder module corresponds the volumes divided in the step 5 to the monitoring objects in the step 2 one by one, and puts the corresponding volumes into corresponding monitoring flows;
and 7: and constructing a monitoring module, wherein the monitoring module sequentially extracts the state of the volume in the monitoring flow and displays all the volumes and the state of the volume in the monitoring flow through an SCOM console.
The invention further improves the technical scheme, which comprises an SCOM manager and a monitored storage device, wherein the SCOM manager is connected with the monitored storage device through a virtual network;
the method specifically comprises the following steps:
step 1: the monitored storage equipment divides the volume stored by the monitored storage equipment into a plurality of RAID groups by taking the RAID groups as units;
step 2: constructing a finder module on an SCOM (storage controller object model) manager, sequentially finding all volumes on a monitored storage device by the finder module through a virtual network, wherein the volumes are in RAID (redundant array of independent disks) group units, and the found volumes are used as monitoring objects by the finder module and the process of sequentially finding the monitoring objects by the finder module is used as a monitoring flow;
and step 3: constructing a timer module on the SCOM manager, and calling a data model module in the SCOM regularly;
and 4, step 4: the data model module calls a built-in script module, the data model module sends a script in the built-in script module to the monitored storage equipment through a virtual network, and the script acquires RAID groups on the monitored storage equipment and feeds back each RAID group as a data source to the SCOM manager in sequence;
and 5: constructing a filter module on the SCOM manager, wherein the filter module divides each RAID group in the step 4 by taking a volume as a unit and sends the divided volume to the finder module in the step 2;
step 6: the finder module corresponds the volumes divided in the step 5 to the monitoring objects in the step 2 one by one, and puts the corresponding volumes into corresponding monitoring flows;
and 7: and constructing a monitoring module on the SCOM manager, wherein the monitoring module sequentially extracts the state of the volume in the monitoring flow and displays all the volumes and the state of the volume in the monitoring flow through the SCOM console.
As a further improved technical solution of the present invention, the number of RAID groups on the monitored storage device is greater than 300.
The invention overcomes the defect that the monitored volume can not be displayed due to the overtime of the script queue in the prior art and also overcomes the defect that the state of the monitored volume can not be completely displayed before the script queue is not overtime in the prior art.
Drawings
FIG. 1 is a flow chart of the operation of the present invention.
Detailed Description
The following further illustrates an embodiment of the invention according to fig. 1:
referring to fig. 1, a monitoring method based on SCOM includes an SCOM manager and a monitored storage device, where the SCOM manager and the monitored storage device are connected through a virtual network; the method specifically comprises the following steps:
step 1: dividing a volume into a plurality of RAID groups by taking the RAID groups as units, wherein the RAID groups are RAIDGroup which is a set formed by combining a plurality of hard disks so as to achieve the purposes of larger capacity, higher reading and writing speed, higher redundancy and the like, and the volume can be created on the RAID groups;
specifically, the monitored storage device divides the volume stored in the monitored storage device into a plurality of RAID groups by RAID group unit.
Step 2: constructing a finder module, wherein the finder module finds all the volumes taking the RAID group as a unit in sequence, takes the found volumes as monitoring objects, and takes the process of finding the monitoring objects in sequence by the finder module as a monitoring flow;
specifically, a finder module is constructed on the SCOM manager, the finder module sequentially finds all volumes on the monitored storage device by taking the RAID group as a unit through a virtual network, and the finder module takes the found volumes as monitoring objects and a process of sequentially finding the monitoring objects by itself as a monitoring flow.
And step 3: constructing a timer module, and calling a data model module in the SCOM at regular time;
specifically, a timer module is constructed on an SCOM manager, and a data model module in the SCOM is called at regular time; the data model module is responsible for generating a data source of the monitored object.
And 4, step 4: the data model module calls a built-in script module, acquires all RAID groups through a script in the script module and takes each RAID group as a data source;
specifically, a built-in script module is called by a data model module, the script in the built-in script module is sent to the monitored storage equipment by the data model module through a virtual network, the script acquires RAID groups on the monitored storage equipment and feeds back each RAID group as a data source to an SCOM manager in sequence; data of all volumes in one RAID group is generated as a data source at a time, instead of generating data in volume units as a data source at a time. And taking the RAID group as a queuing object of the script queue.
And 5: constructing a filter module, wherein the filter module divides each RAID group in the step 4 by taking a volume as a unit and sends the divided volume to the finder module in the step 2;
specifically, a filter module is constructed on the SCOM manager, and the filter module divides each RAID group in step 4 by volume and sends the divided volume to the finder module in step 2.
Step 6: and the finder module corresponds the volumes divided in the step 5 to the monitoring objects in the step 2 one by one, and puts the corresponding volumes into corresponding monitoring flows.
And 7: and constructing a monitoring module, wherein the monitoring module sequentially extracts the state of the volume in the monitoring flow and displays all the volumes and the state of the volume in the monitoring flow through an SCOM console.
Specifically, a monitoring module is constructed on the SCOM manager, and the monitoring module sequentially extracts the state of the volumes in the monitoring flow and displays all the volumes and the state of the volumes in the monitoring flow through the SCOM console.
The number of RAID groups on the monitored storage device is greater than 300.
The invention also has the following working principle during working: firstly, deploying a distributed SCOM monitoring environment, and importing and storing an SCOM plug-in package in an SCOM management interface on an SCOM manager; defining a finder module in the SCOM plug-in package, reading a registry of all hosts in the current domain by the finder module, taking the host provided with a storage monitoring program as a monitored host, wherein the monitored host is the monitored storage device, and an SCOM management program in the SCOM manager automatically pushes and installs an SCOM agent in the monitored storage device; constructing a timer module in an SCOM plug-in package and initiating discovery of parts at regular time to monitor the parts, wherein the parts refer to volumes in a RAID group in a monitored storage device, calling a data model module by the timer module, pushing a script in a built-in script module into an SCOM agent in the monitored storage device by the data model module, and collecting the RAID group in the monitored storage device by the SCOM agent; the script acquires all the stored parts (acquired by the finder module) and the states of the parts (acquired by the monitoring module) as the monitoring objects and the finding objects of the finder by sending the stored commands to the storage monitoring program installed on the monitored storage equipment; after the script collects data, the data are returned to the SCOM management program through the SCOM agent, after the SCOM management program receives the data returned by the SCOM agent, each RAID group is divided by taking a volume as a unit according to a filter module constructed in an SCOM plug-in package, all the volumes in the RAID group are correctly distributed to a corresponding monitoring flow in a finder module, the monitoring module can automatically extract the state of the corresponding volume, and the attribute and the state of the volume are correctly displayed on an SCOM console, namely an SCOM management interface, on the SCOM manager.
The scope of the present invention includes, but is not limited to, the above embodiments, and the present invention is defined by the appended claims, and any alterations, modifications, and improvements that may occur to those skilled in the art are all within the scope of the present invention.
Claims (3)
1. A monitoring method based on SCOM is characterized by comprising the following steps:
step 1: dividing a volume into a plurality of RAID groups by taking the RAID groups as units;
step 2: constructing a finder module, wherein the finder module finds all the volumes taking the RAID group as a unit in sequence, takes the found volumes as monitoring objects, and takes the process of finding the monitoring objects in sequence by the finder module as a monitoring flow;
and step 3: constructing a timer module, and calling a data model module in the SCOM at regular time;
and 4, step 4: the data model module calls a built-in script module, acquires all RAID groups through a script in the script module and takes each RAID group as a data source;
the data model module sends a script in a built-in script module to the monitored storage equipment through a virtual network, and the script acquires RAID groups on the monitored storage equipment and feeds back each RAID group as a data source to the SCOM manager in sequence; generating data of all volumes in one RAID group as a data source at a time, instead of generating data in volume units as a data source every time; taking a RAID group as a queuing object of the script queue;
and 5: constructing a filter module, wherein the filter module divides each RAID group in the step 4 by taking a volume as a unit and sends the divided volume to the finder module in the step 2;
step 6: the finder module corresponds the volumes divided in the step 5 to the monitoring objects in the step 2 one by one, and puts the corresponding volumes into corresponding monitoring flows;
and 7: and constructing a monitoring module, wherein the monitoring module sequentially extracts the state of the volume in the monitoring flow and displays all the volumes and the state of the volume in the monitoring flow through an SCOM console.
2. The SCOM-based monitoring method according to claim 1, comprising an SCOM manager and a monitored storage device, wherein the SCOM manager and the monitored storage device are connected through a virtual network;
the method specifically comprises the following steps:
step 1: the monitored storage equipment divides the volume stored by the monitored storage equipment into a plurality of RAID groups by taking the RAID groups as units;
step 2: constructing a finder module on an SCOM (storage controller object model) manager, sequentially finding all volumes on a monitored storage device by the finder module through a virtual network, wherein the volumes are in RAID (redundant array of independent disks) group units, and the found volumes are used as monitoring objects by the finder module and the process of sequentially finding the monitoring objects by the finder module is used as a monitoring flow;
and step 3: constructing a timer module on the SCOM manager, and calling a data model module in the SCOM regularly;
and 4, step 4: the data model module calls a built-in script module, the data model module sends a script in the built-in script module to the monitored storage equipment through a virtual network, and the script acquires RAID groups on the monitored storage equipment and feeds back each RAID group as a data source to the SCOM manager in sequence;
and 5: constructing a filter module on the SCOM manager, wherein the filter module divides each RAID group in the step 4 by taking a volume as a unit and sends the divided volume to the finder module in the step 2;
and 7: and constructing a monitoring module on the SCOM manager, wherein the monitoring module sequentially extracts the state of the volume in the monitoring flow and displays all the volumes and the state of the volume in the monitoring flow through the SCOM console.
3. The SCOM-based monitoring method of claim 2, wherein the number of RAID groups on the monitored storage devices is greater than 300.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611189983.3A CN106844140B (en) | 2016-12-21 | 2016-12-21 | Monitoring method based on SCOM |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611189983.3A CN106844140B (en) | 2016-12-21 | 2016-12-21 | Monitoring method based on SCOM |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106844140A CN106844140A (en) | 2017-06-13 |
CN106844140B true CN106844140B (en) | 2020-05-26 |
Family
ID=59140694
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611189983.3A Expired - Fee Related CN106844140B (en) | 2016-12-21 | 2016-12-21 | Monitoring method based on SCOM |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106844140B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101762999A (en) * | 2008-12-25 | 2010-06-30 | 京瓷美达株式会社 | Image forming apparatus |
CN102177508A (en) * | 2008-08-08 | 2011-09-07 | 亚马逊技术有限公司 | Providing executing programs with reliable access to non-local block data storage |
CN102460393A (en) * | 2009-05-01 | 2012-05-16 | 思杰系统有限公司 | Systems and methods for establishing a cloud bridge between virtual storage resources |
CN102520883A (en) * | 2011-12-12 | 2012-06-27 | 杭州华三通信技术有限公司 | Data access method and device thereof |
CN103036736A (en) * | 2012-11-30 | 2013-04-10 | 航天恒星科技有限公司 | Configuration equipment monitoring system and monitoring method based on data sources |
US9135031B1 (en) * | 2010-04-28 | 2015-09-15 | Netapp, Inc. | System and method for determining storage resources of a virtual machine in a virtual server environment |
CN105580007A (en) * | 2013-06-17 | 2016-05-11 | 惠普发展公司,有限责任合伙企业 | monitor computing network |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8650165B2 (en) * | 2010-11-03 | 2014-02-11 | Netapp, Inc. | System and method for managing data policies on application objects |
-
2016
- 2016-12-21 CN CN201611189983.3A patent/CN106844140B/en not_active Expired - Fee Related
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102177508A (en) * | 2008-08-08 | 2011-09-07 | 亚马逊技术有限公司 | Providing executing programs with reliable access to non-local block data storage |
CN101762999A (en) * | 2008-12-25 | 2010-06-30 | 京瓷美达株式会社 | Image forming apparatus |
CN102460393A (en) * | 2009-05-01 | 2012-05-16 | 思杰系统有限公司 | Systems and methods for establishing a cloud bridge between virtual storage resources |
US9135031B1 (en) * | 2010-04-28 | 2015-09-15 | Netapp, Inc. | System and method for determining storage resources of a virtual machine in a virtual server environment |
CN102520883A (en) * | 2011-12-12 | 2012-06-27 | 杭州华三通信技术有限公司 | Data access method and device thereof |
CN103036736A (en) * | 2012-11-30 | 2013-04-10 | 航天恒星科技有限公司 | Configuration equipment monitoring system and monitoring method based on data sources |
CN103036736B (en) * | 2012-11-30 | 2015-09-23 | 航天恒星科技有限公司 | A kind of configuration equipment monitoring system based on data source and method |
CN105580007A (en) * | 2013-06-17 | 2016-05-11 | 惠普发展公司,有限责任合伙企业 | monitor computing network |
Non-Patent Citations (1)
Title |
---|
基于SCOM的信息系统运行监测报警平台设计与实现;叶自力;《全国优秀硕士学位论文全文数据库信息科技辑》;20131231;全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN106844140A (en) | 2017-06-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104657250B (en) | A kind of monitoring system and its monitoring method that performance monitoring is carried out to cloud host | |
US9229902B1 (en) | Managing update deployment | |
EP3330855A1 (en) | Managing hardware resources | |
US20190251266A1 (en) | Clearance of bare metal resource to trusted state usable in cloud computing | |
CN111147322A (en) | Test system and method for 5G core network micro-service architecture | |
US20160132381A1 (en) | Building an intelligent, scalable system dump facility | |
US11474904B2 (en) | Software-defined suspected storage drive failure identification | |
US20050256948A1 (en) | Methods and systems for testing a cluster management station | |
CN113946276B (en) | Disk management method, device and server in cluster | |
CN114238019A (en) | A kind of hard disk display method, device, equipment and medium | |
CN112131196A (en) | Distributed log processing method and device, terminal equipment and storage medium | |
CN106227540A (en) | Obtain the methods, devices and systems of displaying information on screen | |
US10209905B2 (en) | Reusing storage blocks of a file system | |
US20180082066A1 (en) | Secure data erasure in hyperscale computing systems | |
CN103905264A (en) | Monitoring system and monitoring method | |
CN106549783A (en) | Virtual-machine fail treating method and apparatus | |
CN105357030A (en) | Offline recovery method, device and system for terminal equipment on test platform | |
CN113836013A (en) | A buried test method, device, computer equipment and computer-readable storage medium | |
US8583789B2 (en) | Computer system management method and management apparatus | |
CN106844140B (en) | Monitoring method based on SCOM | |
CN103064702A (en) | Application program providing method and management node device | |
CN103176897B (en) | A kind of method and system of software regression testing | |
US11374811B2 (en) | Automatically determining supported capabilities in server hardware devices | |
US20190129830A1 (en) | Integrated resource scheduler, configurator, and visualizer | |
CN115904632A (en) | Method, system, equipment and storage medium for realizing unified management of kubernets clusters |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20200526 Termination date: 20211221 |