CN103024000B - The method, apparatus and system of path trace - Google Patents

The method, apparatus and system of path trace Download PDF

Info

Publication number
CN103024000B
CN103024000B CN201210504975.9A CN201210504975A CN103024000B CN 103024000 B CN103024000 B CN 103024000B CN 201210504975 A CN201210504975 A CN 201210504975A CN 103024000 B CN103024000 B CN 103024000B
Authority
CN
China
Prior art keywords
node
path
tracking
snas
appointment
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.)
Active
Application number
CN201210504975.9A
Other languages
Chinese (zh)
Other versions
CN103024000A (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.)
Chengdu Huawei Technology Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201210504975.9A priority Critical patent/CN103024000B/en
Publication of CN103024000A publication Critical patent/CN103024000A/en
Application granted granted Critical
Publication of CN103024000B publication Critical patent/CN103024000B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses the method, apparatus and system of a kind of path trace, belong to Computer Applied Technology field.Described method includes: SPM issues monitoring control command and connects the appointment node in storage SNAS to cluster network, wherein, described monitoring control command is carried the tracking rule in I/O path, enables other each node in described appointment node and described SNAS according to the rule of following the tracks of in described I/O path, the I/O in this node to be tracked;The data of the path trace that described SPM receives this node specifying node to report in described SNAS and other node described reports;Described SPM, according to the data of the described path trace received, exports the catabolic process in visual described I/O path, and the performance-critical information in described I/O path.It is achieved thereby that to the tracking in I/O path in storage system and I/O path and performance-critical information visuallization thereof.

Description

The method, apparatus and system of path trace
Technical field
The present invention relates to Computer Applied Technology field, particularly to a kind of method of path trace, equipment and System.
Background technology
Along with computer technology and the high speed development of network technology, the requirement to storage performance is more and more higher. During storage performance promotes, the technology such as caching, solid state hard disc, cluster is constantly introduced into.But No matter using which kind of technology, software performance tuning is all the ring that can not lack in storage performance optimization.Software Performance tuning refers to be got the service data of reflection systematic function by monitoring, such as peak number of concurrent, is The percentage ratio etc. that the request of the response speed situation of system, network traffics, every class is shared in total request, and right These data are analyzed, and then realize performance positioning problems.
Within the storage system, I/O(In/Out, input/output) path and relevant information thereof can reveal that storage The performance of equipment various aspects, is the important performance monitor control index of software tuning.By to I/O path and The analysis of relevant information can find I/O in storage device potential or produced problem, and then discovery property Can bottleneck and problem place.So how to realize is to need solve to ask to the tracking in I/O path in storage device Topic.
Summary of the invention
In order to realize the path trace of I/O in storage system, embodiments provide a kind of path trace Method, apparatus and system.Described technical scheme is as follows:
First aspect, it is provided that a kind of method of path trace, described method includes: storage performance monitoring SPM Issue monitoring control command and connect the appointment node in storage SNAS, wherein, described monitoring to cluster network Carrying the tracking rule in I/O path in control command, the tracking rule in described I/O path includes: tracking per second I/O number and the I/O operation type of tracking, make other each node in described appointment node and described SNAS According to the rule of following the tracks of in described I/O path, the I/O of this node can be tracked;Described SPM receives institute The tracking stating the I/O path specifying this node of reporting of node and other node described to report in SNAS disappears Breath;Described SPM, according to the tracking message in the described I/O path received, exports visual described I/O The catabolic process in path, and the performance-critical information in described I/O path.
In the first possible embodiment of first aspect, described storage performance monitoring SPM issues monitoring After control command connects the appointment node in storage NAS to cluster network, also include: described appointment node In cluster management system CM receive described monitoring control command, and described monitoring control command is solved Analysis, obtains the tracking rule in I/O path, makes the protocol layer subsystem in described appointment node according to described I/O The tracking rule in path carries out I/O path trace;CM in described appointment node receives described I/O path warp The tracking message in the I/O path that the subsystems at different levels in each node crossed report, and by described I/O path with Track information reporting gives described SPM.
In the first possible embodiment in the first possible embodiment of first aspect, described Specify the protocol layer subsystem in node to receive described I/O path that the CM in described appointment node sends with Track rule;Protocol layer subsystem in described appointment node is according to the tracking rule in described I/O path, by described Needing the I/O followed the tracks of to stamp and preset mark, wherein, described default mark can be delivered to institute with described I/O path State the subsystems at different levels in each node of I/O path process, make described subsystem at different levels according to described default mark CM by the tracking information reporting in described I/O path to described appointment node.
Second aspect, it is provided that a kind of storage performance monitoring system, described system includes: control module, uses The appointment node in storage SNAS, wherein, described prison is connected to cluster network in issuing monitoring control command Control control command is carried the tracking rule in I/O path, makes other in described appointment node and described SNAS The I/O of this node can be tracked by each node according to the rule of following the tracks of in described I/O path;Receiver module, For receiving the I/O path specifying this node of reporting of node and other node described to report in described SNAS Tracking message;Output module, for the tracking message according to the described I/O path received, output is visual The catabolic process in the described I/O path changed and the performance information in described I/O path.
The third aspect, it is provided that a kind of node device, described equipment includes: cluster management system CM and association View layer subsystem;Described CM, for receiving the monitoring control command that storage performance monitoring SPM issues, and Described monitoring control command is resolved, obtains the tracking rule in the I/O path of node device, make described association The I/O of this node is tracked by view layer subsystem according to the rule of following the tracks of in described I/O path, wherein, described Monitoring control command is carried the tracking rule in I/O path;Described CM, is additionally operable to receive described appointment node In the tracking message in the I/O path of subsystems described at different levels that reports of subsystems at different levels, and by described I/O road The tracking information reporting in footpath gives described SPM.
In the first possible embodiment of the third aspect, described protocol layer subsystem, it is used for receiving institute State the tracking rule in the I/O path of the described node device that CM sends, advise according to the tracking in described I/O path Then, being stamped by the described I/O needing to follow the tracks of and preset mark, wherein, described default mark can pass with I/O path It is delivered to the subsystems at different levels in each node of described I/O path process, makes described subsystem at different levels according to described pre- Bidding is known the tracking information reporting in described I/O path to described CM.
Fourth aspect, it is provided that the system of a kind of path trace, described system includes: storage described above Performance monitoring system and node device described above.
The technical scheme that the embodiment of the present invention provides has the benefit that
The embodiment of the present invention issues monitoring control command by SPM and connects in storage SNAS to cluster network Specify node, wherein, described monitoring control command is carried the tracking rule in I/O path, make described appointment save Other each node in point and described SNAS can be regular to this node according to following the tracks of of described I/O path I/O is tracked;Described SPM receive this node specifying node to report in described SNAS and described its The tracking message in the I/O path that its node reports;Described SPM according to the described I/O path received with Track message, exports the catabolic process in visual described I/O path, and the performance-critical in described I/O path Information.It is achieved thereby that to the tracking in I/O path in storage system.
Accompanying drawing explanation
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, institute in embodiment being described below The accompanying drawing used is needed to be briefly described, it should be apparent that, the accompanying drawing in describing below is only the present invention Some embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, Other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the method flow diagram of a kind of path trace provided in the embodiment of the present invention;
Fig. 2 a is the method flow diagram of a kind of path trace provided in the embodiment of the present invention;
Fig. 2 b is the one non-grouping subsystem reporting message flow chart provided in the embodiment of the present invention;
Fig. 2 c is a kind of grouping parallel subsystem reporting message flow chart provided in the embodiment of the present invention;
Fig. 2 d is the overall delay bar diagram of multichannel I/O that a kind of SPM provided in the embodiment of the present invention shows;
Fig. 2 e is the time delay dendrogram of single channel I/O that a kind of SPM provided in the embodiment of the present invention shows;
Fig. 3 is a kind of storage performance monitoring system structural representation provided in the embodiment of the present invention;
Fig. 4 is a kind of node device structural representation provided in the embodiment of the present invention;
Fig. 5 is a kind of storage performance monitoring system structural representation provided in the embodiment of the present invention;
Fig. 6 is a kind of node device structural representation provided in the embodiment of the present invention;
Fig. 7 is a kind of path following system schematic diagram provided in the embodiment of the present invention.
Detailed description of the invention
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to the present invention Embodiment is described in further detail.
See Fig. 1, the method flow diagram of a kind of path trace provided in the embodiment of the present invention, described method bag Include:
101: storage performance monitoring SPM issues monitoring control command connects in storage SNAS to cluster network Appointment node, wherein, described monitoring control command is carried I/O path tracking rule, make described appointment Other each node in node and described SNAS can be regular to this node according to following the tracks of of described I/O path I/O is tracked;
Wherein, the tracking rule in described I/O path includes but not limited to: the I/O number of tracking per second and tracking I/O operation type etc..
102: described SPM receives this node specifying node to report in described SNAS and other joint described The tracking message in the I/O path that point reports;
103: described SPM according to the tracking message in the described I/O path received, and exports visual described The catabolic process in I/O path and the performance information in described I/O path.
The technical scheme that the embodiment of the present invention provides has the benefit that SPM issues monitoring control command To SNAS(Scale-out Network Attached Storage, cluster network connects storage) in appointment joint Point, wherein, carries the tracking rule in I/O path, makes described appointment node and institute in described monitoring control command State other each node in SNAS according to the rule of following the tracks of in described I/O path, the I/O of this node to be carried out Follow the tracks of;Described SPM receives on this node specifying node to report in described SNAS and other node described The tracking message in the I/O path of report;Described SPM according to the tracking message in the described I/O path received, Export the catabolic process in visual described I/O path, and the performance-critical information in described I/O path.From And achieve the tracking in I/O path in storage system.
See Fig. 2 a, the method for a kind of path trace provided in the embodiment of the present invention, the method includes:
201:SPM issues monitoring control command to the appointment node in SNAS.
In the present embodiment, SPM is by specifying the I/O process of monitoring nodes SNAS, wherein, it is intended that node Can be any node in SNAS, SPM both can be deployed in the arbitrary node in SNAS, it is possible to To be deployed on the outside independent PC of SNAS or node, this present embodiment is not specifically limited.
Wherein, carrying the tracking rule in I/O path in monitoring control command, this rule includes but not limited to: every The I/O number of second tracking and the I/O operation type etc. of tracking.
Concrete, SPM and the CM(Cluster Management specified in node, cluster management system) Communicate, and issue monitoring control command by CM.
202: the CM in described appointment node receives monitoring control command, and enters described monitoring control command Row resolves, and obtains the tracking rule in I/O path.
In the present embodiment, the processing subsystems at different levels that the intra-node in SNAS relates to include: CM, agreement Layer subsystem, CA(Client Agent, customer's representative), (Meta-Data Service, metadata takes MDS Business), DS (Data Service, data, services), NOFS (Not Only File System, a kind of local file System).Wherein, CM is responsible for communicating with SPM, and receives the monitoring control command that SPM issues.
In the present embodiment, it is intended that the CM in node is after receiving the monitoring control command that SPM issues, right Described monitoring control command resolves, and obtains the tracking rule in I/O path, makes the association in described appointment node View layer subsystem carries out I/O path trace according to the tracking rule in described I/O path.Meanwhile, CM obtains prison The node identification of other each node in the described SNAS that the described needs in control control command are followed the tracks of, described Specify the CM in node according to the node identification of other each node in the described described SNAS needing and following the tracks of, The protocol layer described monitoring control command being sent in corresponding node, makes the described described SNAS needing and following the tracks of In other each node in addition to described appointment node according to described monitoring control command, the I/O of this node is entered Line trace.
203: the protocol layer subsystem in described appointment node receives the institute that the CM in described appointment node sends State the tracking rule in I/O path.
Protocol layer subsystem is the entrance in I/O path in SNAS system, so needing the tracking in I/O path Rule is sent to protocol layer subsystem, makes protocol layer subsystem according to the tracking rule in the I/O path specified, sends out Play I/O path trace.
The most only with the process specifying the protocol layer subsystem in node that I/O path is tracked Illustrating, other need the mistake that I/O path is tracked by the protocol layer subsystem in the node being tracked Journey is similar, repeats no more in the present embodiment.
204: the protocol layer subsystem in described appointment node is according to the tracking rule in described I/O path, by institute The I/O that stating needs to follow the tracks of stamps and presets mark.
In the present embodiment, the monitoring control command issued according to SPM, all of I/O can be carried out path Follow the tracks of, it is also possible to a part of I/O therein is carried out path trace.At protocol layer subsystem, according to I/O road The tracking rule in footpath, stamps the I/O needing implementation path to follow the tracks of and presets mark.
Wherein, the structure of the default mark that protocol layer subsystem is stamped for I/O to be followed the tracks of is as follows:
Wherein, unique mark of U64 uiSessionID Shi Mei road I/O, U32 uiNodeNo is node serial number, For uniquely identifying present node, U8 uiSubSystemID is subsystem identification, current for unique mark Subsystem.
In the present embodiment, preset mark and generated by protocol layer subsystem, pass to the subsystem trackings at different levels of lower floor With, i.e. preset mark and can be delivered to the sons at different levels in each node of described I/O path process with described I/O path System, make described subsystem at different levels according to described default mark by the tracking information reporting in described I/O path to institute State the CM specifying node.
Subsystems at different levels in each node of 205:I/O path process according to described default mark by described I/O Path follow the tracks of information reporting to the CM of described appointment node.
In the present embodiment, subsystems at different levels are during I/O follows the tracks of, by calling the first function SPM_UpdateSessionInfo and the second function SPM_SendIOTSysMsg sends the tracking in I/O path Message.Wherein, the first function presets the structural information of mark SESSION_INFO for refreshing, each Subsystem porch is called.For different I/O operation types, subsystem there may be multiple entrance, this In the case of need at this function of each entry call.
Second function reports the tracking message in I/O path for subsystem, and the tracking message in this I/O path includes 6 kinds of type of messages: subsystem entry message 1, subsystem outlet message 2, call beginning message 3, call End 4, packet start message 5, packet end 6.
In the present embodiment, the data in the message of the I/O path trace that described each subsystem reports include but do not limit In: path number SID of I/O, the type of message reported, node identification, subsystem identification, associated nodes At least one in mark, association subsystem identification, relative time, absolute time or Thread Id.Such as table 1 Data in the message of shown path trace:
Table 1
In table 1, unique mark of path number SID Shi Mei road I/O;Node number is SNAS interior joint Mark;Sub-System Number is the mark of the subsystem in node, and wherein node number and two fields of Sub-System Number can To uniquely identify current sub-system, i.e. report the subsystem of this message.
During the tracking in I/O path, may relate to two subsystems owing to once calling, be therefore divided into Current sub-system with associate subsystem.Wherein current sub-system represents the subsystem reporting this message, association Subsystem represents another subsystem relevant with this message.Associated nodes number is with to associate Sub-System Number corresponding In node number and Sub-System Number, can uniquely identify and report the subsystem of this message to have call relation Subsystem, due between subsystem call can with cross-node, so association subsystem need also exist for associated nodes Number with associate Sub-System Number and be identified.
When relative time refers to the tracking message that subsystem reports I/O path, node the time given tacit consent to.Relatively Time can be obtained by clock_gettime order, and its precision reaches nanosecond, can be used to carry out time delay meter Calculate.
Wherein, 6 kinds of I/O paths that during type of message refers to I/O path tracking procedure, subsystems reports Follow the tracks of the type of message.As 2 represent subsystem outlet message, beginning message is called in 3 representatives, and 1 represents subsystem System entry message.
In concrete implementation process, subsystem calls and is divided into non-grouping subsystem to call and packet subsystem tune With, in order to enable those skilled in the art to be better understood from, the present invention is existing calls and packet is called non-grouping Two kinds of scenes illustrate respectively.
Fig. 2 b is non-packet subsystem interface function invoked procedure, directly invoke by CA illustrate as a example by DS non- Packet subsystem call in I/O path tracking message report process, specifically include:
2051: call beginning.
CA, before calling DS, calls SPM_SendIOTSysMsg function, reports to call and starts message to CM, sends message call to DS simultaneously.
2052: subsystem carries out function call in porch.
After subsystem DS receives message call, in subsystem porch, first call SPM_UpdateSessionInfo function refreshes SESSION_INFO structural information, recalls SPM_SendIOTSysMsg function reports subsystem entry message to CM.
2053: subsystem carries out function call in exit.
After subsystem DS has processed message call, call SPM_SendIOTSysMsg in subsystem exit Function report subsystem outlet message to CM, and send return message to CA.
2054: call end.
CA, after receiving the return message of DS interface, calls SPM_SendIOTSysMsg function and reports Call end to CM.
Further, by step 2052,2053 message sent can calculate the time delay of subsystem DS Time, by individual step 2051,2054 message sent can calculate to be called the total time returned, double Can be by total time and the mathematic interpolation of the time of process to network delay.
Fig. 2 c illustrates that as a example by CA1 parallel calling DS1 and DS2 packet subsystem reports I/O road in calling The process of the tracking message in footpath:
2051: packet starts.
Before parallel calling starts, CA1 calls SPM_SednIOTSysMsg function, reports packet to start Message is to CM.
2052: call beginning.
CA1, before calling DS1 interface, calls SPM_SendIOTSysMsg function and reports to call and start to disappear Breath is to CM, and sends message call to subsystem DS1.
2053: subsystem DS1 carries out function call in porch.
Subsystem DS1 receives message call, in subsystem porch, first calls SPM-UpdateSessionInfo Function refreshes SESSION_INFO structural information, recalls man who brings news of appointment on SPM_SednIOTSysMsg function System entry message is to CM.
2054: call beginning.
CA1, before calling DS2 interface, calls SPM_SendIOTSysMsg function and reports to call and start to disappear Breath is to CM, and sends message call to subsystem DS2.
2055: subsystem DS2 carries out function call in porch.
Subsystem DS2 receives message call, in subsystem porch, first calls SPM_UpdateSessionInfo Function refreshes SESSION_INFO structural information, recalls man who brings news of appointment on SPM_SednIOTSysMsg function System entry message is to CM.
It should be noted that above-mentioned steps 2052-2053 and step 2054-2055 are parallel forms, thus There is no order successively.
2056: packet terminates.
After the message that CA1 has sent call subsystem DS1 and DS2, call SPM_SendIOTSysMsg Function reports packet end to terminate to CM, packet.
Compared with non-grouping subsystem method of calling, which adds packet and starts and packet end step, For identifying concurrent call relation, which needs to send packet before one group of parallel calling and starts message, After calling, (called subsystem does not returns and calls end) sends packet end immediately.
The present embodiment only illustrates as a example by specifying node the tracking process in I/O path, other each nodes The same with the processing procedure specifying node, repeat no more here.
206: specify CM in node to receive the I/O that the CM of other node in this node and SNAS reports The tracking message in path, and the tracking information reporting in the I/O path that this node and other node are reported to SPM。
The subsystem of other node in SNAS is after carrying out path trace, by the tracking message in I/O path Offer the CM specifying node, make the tracking in the I/O path that this node and other node report by appointment node disappear Breath reports SPM.
207:SPM, according to the tracking message in the I/O path received, exports visual described I/O path Catabolic process and the performance information in described I/O path.
In the present embodiment, the tracking message in the SPM I/O path to collecting processes, according to I/O path The logical relation of tracking message, such as, in Fig. 2 b, by step 2052,2053 message sent can To calculate the delay time of subsystem DS, by step 2051,2054 message sent can calculate tune Using the total time of return, bilateral network time delay can be by total time and the mathematic interpolation of the time of process.And Owing to SPM is functional module based on B/S framework, so the web front end that SPM can utilize B/S is rich Rich representability realizes the visualization in I/O path, by the tracking message in I/O path with bar diagram or dendrogram Form exports.
Specifically, obtained the overall delay cylindricality in each I/O path by the tracking message in I/O path with SPM Illustrate as a example by figure.Because I/O path trace is from the beginning of protocol layer subsystem, so filtering out every road In the path tracking procedure of I/O, protocol layer subsystem outlet message and subsystem entry message just can calculate always Time delay.SPM is by the SID field in the tracking message in the I/O path received, based on data base, The all related news in the path tracking procedure of every road I/O can be filtered out.The every road I/O's filtered out In all related news in path tracking procedure, by message type field, can filter out every road I/O's The subsystem entry message of subsystems and subsystem outlet message.Further, on the every road filtered out In the subsystem entry message of the subsystems of I/O and subsystem outlet message, by subsystem identification field And node identification field, filter out protocol layer subsystem entry message and the subsystem outlet message two of every road I/O Bar message.Finally, protocol layer subsystem entry message and subsystem outlet message two by every road I/O disappear Relative time field in breath, obtains the path overall delay of every road I/O by difference operation.SPM passes through post Shape figure intuitively presents the overall delay information in each I/O path, as shown in Figure 2 d, for different I/O paths Time delay presents with the form of block diagram, can be visually seen the different total time delay in I/O path situations, for looking for In storage device I/O potential or produced problem provide method intuitively, and then it appeared that property Energy bottleneck and problem place, provide abundant information for Performance tuning.
Further, the I/O path obtaining subsystems with SPM by the tracking message in I/O path is divided Illustrate as a example by the dendrogram of solution preocess and Delay.SPM by subsystem identification, node identification, Association subsystem identification, associated nodes mark and message type field, it is possible to obtain calling between subsystem Relation, and, started by packet, be grouped end and can obtain the concurrency relation that subsystem calls; The relative time field exported in message by subsystem entry message and subsystem can obtain single subsystem The Delay of interior I/O.SPM is called by the subsystems in the I/O path tracking procedure of acquisition every road I/O Delay in relation, and subsystems, it is possible to these information are carried out by dendrogram form Show.Seeing Fig. 2 e, present in figure is the catabolic process specifying single channel I/O in node, can from figure To see each subsystem and corresponding time delay thereof, by the analysis of the catabolic process of single channel I/O can be looked for In storage device I/O potential or produced problem provide method intuitively, and then it appeared that property Energy bottleneck and problem place, provide abundant information for Performance tuning.
The present embodiment provides the benefit that: SPM issues monitoring control command and connects storage SNAS to cluster network In appointment node, wherein, described monitoring control command is carried I/O path tracking rule, make described finger Determining other each node in node and described SNAS can be according to the tracking rule in described I/O path to this node I/O be tracked;Described SPM receives this node specifying node to report in described SNAS and described The tracking message in the I/O path that other node reports;Described SPM is according to the described I/O path received Follow the tracks of message, export catabolic process and the performance information in described I/O path in visual described I/O path. It is achieved thereby that to the tracking in I/O path in storage system, and show visual complete trails I/O by SPM, The I/O decomposition path-ways of storage internal system can be can be visually seen, and the processing delay of each link closes with other Key information, for find I/O in storage device potential or produced problem provide method intuitively, enter And it appeared that performance bottleneck and problem place, provide abundant information for Performance tuning.
See Fig. 3, a kind of storage performance monitoring system provided in the embodiment of the present invention, described system includes:
Control module 301, connects the appointment in storage SNAS for issuing monitoring control command to cluster network Node, wherein, described monitoring control command is carried I/O path tracking rule, make described appointment node and The I/O of this node can be entered by other each node in described SNAS according to the rule of following the tracks of in described I/O path Line trace;
Receiver module 302, for receive in described SNAS specify this node of reporting of node and described other The tracking message in the I/O path that node reports;
Output module 303, for the tracking message according to the described I/O path received, exports visual The catabolic process in described I/O path, and the performance-critical information in described I/O path.
Wherein, the tracking message in described I/O path includes but not limited to: path number SID of I/O, report Type of message, the node identification of described appointment node, the subsystem identification of described appointment node, described finger Determine the associated nodes mark of node, association subsystem identification, relative time and the Thread Id of described appointment node, Wherein, unique mark of described path number SID Shi Mei road I/O, described relative time refers on subsystem When reporting the tracking message in I/O path, node the time given tacit consent to.
Wherein, described output module, will specifically for the logical relation of the tracking message according to described I/O path The tracking message in described I/O path carries out pretreatment, by the tracking message in described I/O path with chart or cylindricality The form output of figure.
Wherein, SPM both can be deployed in the arbitrary node in SNAS, it is also possible to is deployed in outside SNAS On the PC of portion's independence or node, this present embodiment is not specifically limited.And SPM is based on B/S framework, The representability that the web front end of B/S can be utilized to enrich realizes the visualization in I/O path.
The storage performance monitoring device that the embodiment of the present invention provides provides the benefit that: SPM issues monitoring control Order cluster network to connect the appointment node in storage SNAS, wherein, described monitoring control command is taken Tracking rule with I/O path, enable other each node in described appointment node and described SNAS according to The I/O of this node is tracked by the rule of following the tracks of in described I/O path;Described SPM receives described SNAS In the tracking message specifying I/O path that this node of reporting of node and other node described report;Described SPM, according to the tracking message in the described I/O path received, exports the decomposition in visual described I/O path Process, and the performance-critical information in described I/O path.It is achieved thereby that to I/O path in storage system Follow the tracks of.
Seeing Fig. 4, embodiments provide a kind of node device, described equipment includes:
Cluster management system CM401, for receiving the monitoring control command that storage performance monitoring SPM issues, And described monitoring control command is resolved, obtain the tracking rule in the I/O path of node device, make described The I/O of this node is tracked by protocol layer subsystem according to the rule of following the tracks of in described I/O path, wherein, and institute State the tracking rule carrying I/O path in monitoring control command;
Described CM401, is additionally operable to receive the sons described at different levels that the subsystems at different levels in described appointment node report The tracking message in the I/O path of system, and give described SPM by the tracking information reporting in described I/O path.
Protocol layer 402, for receiving the tracking rule in the I/O path of the described node device that described CM sends, Tracking rule according to described I/O path, stamps the described I/O needing to follow the tracks of and presets mark, wherein, institute State default mark and can be delivered to the subsystems at different levels in each node of described I/O path process with I/O path, make Described subsystem at different levels according to described default mark by the tracking information reporting in described I/O path to described CM.
Described CM401, is additionally operable to obtain in the described SNAS of the described needs tracking in monitoring control command The node identification of other each node;According to other each node in the described described SNAS needing and following the tracks of Node identification, the protocol layer that described monitoring control command is sent in corresponding node, make described needs follow the tracks of Described SNAS in other each node in addition to described appointment node according to described monitoring control command to this The I/O of node is tracked.
The node device that the embodiment of the present invention provides provides the benefit that: SPM issues monitoring control command to collection Group network connects the appointment node in storage SNAS, wherein, carries I/O path in described monitoring control command Tracking rule, enable other each node in described appointment node and described SNAS according to described I/O road The I/O of this node is tracked by the rule of following the tracks of in footpath;Described SPM receives the appointment joint in described SNAS The data of the path trace that this node of reporting of point and other node described report;Described SPM is according to receiving The data of described path trace, export the catabolic process in visual described I/O path, and described I/O The performance-critical information in path.It is achieved thereby that to the tracking in I/O path in storage system.
Seeing Fig. 5, provide a kind of storage performance monitoring system in the present embodiment, described system includes: process Device 501 and memorizer 502.
Memorizer 502, for storing this node specifying node to report in SNAS and other node described The tracking message in the I/O path of report.
Processor 501, connects the appointment joint in storage SNAS for issuing monitoring control command to cluster network Point, wherein, carries the tracking rule in I/O path, makes described appointment node and institute in described monitoring control command State other each node in SNAS according to the rule of following the tracks of in described I/O path, the I/O of this node to be carried out Follow the tracks of;What described processor was additionally operable to receive in described SNAS specify this node that node reports and described its The tracking message in the I/O path that its node reports, and by storage in memorizer;Described processor is according to depositing In reservoir, the tracking message in the described I/O path of storage, exports the catabolic process in visual described I/O path, And the performance information in described I/O path.
Seeing Fig. 6, provide a kind of node device in the present embodiment, described equipment includes: processor 601 He Memorizer 602.
Memorizer 602, for storing the I/O road that other nodes in this node neutron system and SNAS report The tracking message in footpath.
Processor 601, is used for resolving monitoring control command, obtains the tracking rule in the I/O path of node device And the tracking rule in the I/O path of other each node in the cluster network connection storage SNAS of needs tracking, Interdependent node is enable according to the rule of following the tracks of in described I/O path, the I/O of this node to be tracked;Described place Reason device is additionally operable to receive the I/O road of the subsystems described at different levels that the subsystems at different levels in described appointment node report The tracking message in footpath, and by the tracking information reporting in described I/O path to SPM;Described processor is additionally operable to Tracking rule according to described I/O path, stamps default mark by the described I/O needing to follow the tracks of, wherein, Described default mark can be delivered to the subsystems at different levels in each node of described I/O path process with I/O path, Described subsystem at different levels is made to report the tracking message in described I/O path according to described default mark.
Seeing Fig. 7, embodiments provide the system of a kind of path trace, described system includes: storage Performance monitoring system 701 and node device 702.
Wherein, the storage performance monitoring described in the embodiment that storage performance monitoring system 701 is as corresponding in Fig. 4 System, the node device described in embodiment that node device 702 is as corresponding in Fig. 5, does not the most do and retouches in detail State.
The system of the path trace that the embodiment of the present invention provides has the benefit that SPM issues monitoring control System order connects the appointment node in storage SNAS to cluster network, wherein, in described monitoring control command Carry the tracking rule in I/O path, enable other each node root in described appointment node and described SNAS According to the rule of following the tracks of in described I/O path, the I/O of this node is tracked;Described SPM receives described SNAS In the tracking message specifying I/O path that this node of reporting of node and other node described report;Described SPM, according to the tracking message in the described I/O path received, exports the catabolic process in described I/O path, with And the performance-critical information in described I/O path.It is achieved thereby that to the tracking in I/O path in storage system and I/O Path and the visualization of performance information thereof.
It should be understood that the system of the path trace provided in above-described embodiment is when carrying out path trace, Only it is illustrated with the division of above-mentioned each functional module, in actual application, can be as desired by upper State function distribution to be completed by different functional modules, will the internal structure of system of path trace be divided into not Same functional module, to complete all or part of function described above.It addition, above-described embodiment provides The system of path trace and the embodiment of the method for path trace belong to same design, it is detailed that it implements process See embodiment of the method, repeat no more here.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can be passed through Hardware completes, it is also possible to instructing relevant hardware by program and complete, described program can be stored in In a kind of computer-readable recording medium, storage medium mentioned above can be read only memory, disk or CD etc..
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all the present invention's Within spirit and principle, any modification, equivalent substitution and improvement etc. made, should be included in the present invention's Within protection domain.

Claims (11)

1. the method for a path trace, it is characterised in that described method includes:
Storage performance monitoring SPM issues monitoring control command and connects the appointment in storage SNAS to cluster network Node, wherein, described monitoring control command is carried I/O path tracking rule, make described appointment node and Other each node in described SNAS can be regular to the I/O in this node according to following the tracks of of described I/O path It is tracked;
Described SPM receives this node specifying node to report in described SNAS and other node described reports The tracking message in described I/O path;
Described SPM, according to the tracking message in the described I/O path received, exports visual described I/O The catabolic process in path and the performance information in described I/O path;
Wherein, described method also includes:
Cluster management system CM in described appointment node obtains needing in described monitoring control command and follows the tracks of Described SNAS in the node identification of other each node;
CM in described appointment node is according to other each node in the described described SNAS needing and following the tracks of Node identification, the protocol layer that described monitoring control command is sent in corresponding node, make described needs follow the tracks of Described SNAS in other each node in addition to described appointment node according to described monitoring control command to this I/O in node is tracked.
Method the most according to claim 1, it is characterised in that described SPM issues monitoring and controls life After making the appointment node in SNAS, also include:
Cluster management system CM in described appointment node receives described monitoring control command, and to described prison Control control command resolves, and obtains the tracking rule in I/O path, makes the agreement straton in described appointment node System carries out I/O path trace according to the tracking rule in described I/O path;
The subsystems at different levels that CM in described appointment node receives in each node of described I/O path process report The tracking message in I/O path, and give described SPM by the tracking information reporting in described I/O path.
Method the most according to claim 2, it is characterised in that the cluster management in described appointment node System CM resolves monitoring control command, and resolves described monitoring control command, obtains I/O path After following the tracks of rule, also include:
Protocol layer subsystem in described appointment node receives the described I/O that the CM in described appointment node sends The tracking rule in path;
Protocol layer subsystem in described appointment node is according to the tracking rule in described I/O path, by described needs The I/O followed the tracks of stamps and presets mark, and wherein, described default mark can be delivered to described I/O with described I/O path Subsystems at different levels in each node of path process, make described subsystem at different levels according to described default mark by institute That states I/O path follows the tracks of the information reporting CM to described appointment node.
4. according to the method described in any one of claim 1-3, it is characterised in that described I/O path with Track message includes: path number SID of I/O, the type of message reported, the node identification of described appointment node, The subsystem identification of described appointment node, the associated nodes mark of described appointment node, described appointment node At least one in association subsystem identification and relative time.
5. according to the method described in any one of claim 1-3, it is characterised in that described SPM is according to reception The tracking message in the described I/O path arrived, exports the catabolic process of visual I/O and described I/O path Performance information, including:
Described SPM according to the logical relation of the tracking message in described I/O path, by described I/O path with Track message carries out pretreatment, the tracking message in described I/O path is exported with the form of chart or bar diagram.
6. a storage performance monitoring system, it is characterised in that described system includes:
Control module, connects the appointment joint in storage SNAS for issuing monitoring control command to cluster network Point, wherein, described monitoring control command is carried I/O path tracking rule, make described appointment node according to The I/O of this node is tracked by the rule of following the tracks of in described I/O path, and the cluster pipe in described appointment node Reason system CM obtains other each node in the described SNAS needing to follow the tracks of in described monitoring control command Node identification, according to the node identification of other each node in the described described SNAS needing and following the tracks of, will The protocol layer that described monitoring control command is sent in corresponding node, makes the described described SNAS needing and following the tracks of In other each node in addition to described appointment node according to described monitoring control command to this node in I/O It is tracked;
Receiver module, for receiving this node specifying node to report in described SNAS and other joint described The tracking message in the I/O path that point reports;
Output module, for the tracking message according to the described I/O path received, exports visual described The catabolic process in I/O path and the performance information in described I/O path.
System the most according to claim 6, it is characterised in that the tracking message bag in described I/O path Include: path number SID of I/O, the type of message reported, the node identification of described appointment node, described finger Determine association of the subsystem identification of node, the associated nodes mark of described appointment node, described appointment node At least one in system banner and relative time.
8. according to the system described in claim 6 or 7, it is characterised in that described output module specifically for:
The logical relation of the tracking message according to described I/O path, is carried out the tracking message in described I/O path Pretreatment, exports the tracking message in described I/O path with the form of chart or bar diagram.
9. a node device, it is characterised in that described equipment includes: cluster management system CM and agreement Layer subsystem;
Described CM, for receiving the monitoring control command that storage performance monitoring SPM issues, and to described prison Control control command resolves, and obtains the tracking rule in the I/O path of node device, makes described protocol layer subsystem The I/O of this node is tracked by the rule of following the tracks of according to described I/O path of uniting, and wherein, described monitoring controls Order is carried the tracking rule in I/O path;
Described CM, the subsystems described at different levels that the subsystems at different levels being additionally operable to receive in described node device report The tracking message in I/O path, and give described SPM by the tracking information reporting in described I/O path;
Described CM, is additionally operable to obtain the cluster network connection storage that needing in monitoring control command is followed the tracks of The node identification of other each node in SNAS;Each according to other in the described described SNAS needing and following the tracks of The node identification of node, the protocol layer that described monitoring control command is sent in corresponding node, make described need In described SNAS to be followed the tracks of, other each node in addition to described node device controls life according to described monitoring The I/O to this node is made to be tracked.
Equipment the most according to claim 9, it is characterised in that
Described protocol layer subsystem, for receive described CM send described node device I/O path with Track rule, according to the tracking rule in described I/O path, stamps the described I/O needing to follow the tracks of and presets mark, Wherein, described default mark can be delivered to the sons at different levels in each node of described I/O path process with I/O path System, make described subsystem at different levels according to described default mark by the tracking information reporting in described I/O path to institute State CM.
The system of 11. 1 kinds of path traces, it is characterised in that described system includes: such as claim 6-8 Storage performance monitoring system described in any one and the node device as described in any one of claim 9-10.
CN201210504975.9A 2012-11-30 2012-11-30 The method, apparatus and system of path trace Active CN103024000B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210504975.9A CN103024000B (en) 2012-11-30 2012-11-30 The method, apparatus and system of path trace

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210504975.9A CN103024000B (en) 2012-11-30 2012-11-30 The method, apparatus and system of path trace

Publications (2)

Publication Number Publication Date
CN103024000A CN103024000A (en) 2013-04-03
CN103024000B true CN103024000B (en) 2016-09-14

Family

ID=47972124

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210504975.9A Active CN103024000B (en) 2012-11-30 2012-11-30 The method, apparatus and system of path trace

Country Status (1)

Country Link
CN (1) CN103024000B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109062775B (en) * 2018-07-09 2022-02-18 郑州云海信息技术有限公司 Method, system and equipment for judging optimization of stack layer

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101616174A (en) * 2009-07-09 2009-12-30 浪潮电子信息产业股份有限公司 A kind of storage system IO handles the method that the path dynamic tracking realizes the optimization system performance
CN101699825A (en) * 2009-10-28 2010-04-28 成都市华为赛门铁克科技有限公司 Network file system access method, device and system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101616174A (en) * 2009-07-09 2009-12-30 浪潮电子信息产业股份有限公司 A kind of storage system IO handles the method that the path dynamic tracking realizes the optimization system performance
CN101699825A (en) * 2009-10-28 2010-04-28 成都市华为赛门铁克科技有限公司 Network file system access method, device and system

Also Published As

Publication number Publication date
CN103024000A (en) 2013-04-03

Similar Documents

Publication Publication Date Title
US8935389B2 (en) Method and system for collecting and managing network data
CN106487596B (en) Distributed service tracking implementation method
CN102333007B (en) On-line Web service quality monitoring system and method
CN108365985A (en) A kind of cluster management method, device, terminal device and storage medium
CN109921927A (en) Real-time calling D-chain trace method based on micro services
KR101797185B1 (en) Efficiently collecting transaction-separated metrics in a distributed environment
CN107273267A (en) Log analysis method based on elastic components
CN109254901B (en) A kind of Monitoring Indexes method and system
CN106506256B (en) A kind of equipment monitoring system and method based on platform+plug-in
CN112865311B (en) Method and device for monitoring message bus of power system
CN107846460B (en) System and method for reproducing information flow of military information system
US20120030344A1 (en) Network monitoring system
CN106357442A (en) Server cluster monitoring method and system
CN113542074B (en) Method and system for visually managing east-west network flow of kubernets cluster
CN111970195A (en) Data transmission method and streaming data transmission system
CN101854305B (en) Flow collection system and method, device
CN114356692A (en) Visual processing method and device for application monitoring link and storage medium
CN109032904A (en) Monitored, management server and data acquisition, analysis method and management system
CN103248511B (en) A kind of analysis methods, devices and systems of single-point service feature
CN116562848A (en) Operation and maintenance management platform
CN107203639A (en) Parallel file system based on High Performance Computing
CN103823743B (en) The monitoring method of software system and equipment
CN103024000B (en) The method, apparatus and system of path trace
CN103442212A (en) Network security and protection comprehensive early warning type management system platform
JP2008117291A (en) Workflow tracking system, integrated management device, method and program, and information recording medium recording it

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220601

Address after: No.1899 Xiyuan Avenue, high tech Zone (West District), Chengdu, Sichuan, 611730

Patentee after: Chengdu Huawei Technologies Co.,Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.