CN104102571A - SAS (serial attached small computer system interface) port monitoring method and system - Google Patents
SAS (serial attached small computer system interface) port monitoring method and system Download PDFInfo
- Publication number
- CN104102571A CN104102571A CN201310119144.4A CN201310119144A CN104102571A CN 104102571 A CN104102571 A CN 104102571A CN 201310119144 A CN201310119144 A CN 201310119144A CN 104102571 A CN104102571 A CN 104102571A
- Authority
- CN
- China
- Prior art keywords
- phy chip
- sas
- duty
- monitoring
- pilot lamp
- 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
Links
Landscapes
- Debugging And Monitoring (AREA)
Abstract
The invention relates to an SAS (serial attached small computer system interface) port monitoring method, which comprises the following steps that whether data passes through SAS wires corresponding to each PHY (physical layer) chip of an SAS port or not is monitored through a front interface of a monitoring device; the work state of each PHY chip is judged according to a monitoring result; indicating lamps, corresponding to each PHY chip, on the monitoring device are controlled to carry out corresponding indication according to the work state of each PHY chip. The invention also provides an SAS port monitoring system. The SAS port monitoring method and the SAS port monitoring system have the advantage that the work state of each PHY chip of the SAS port can be monitored.
Description
Technical field
The present invention relates to a kind of data monitoring method and system, especially relate to a kind of SAS port monitoring method and system.
Background technology
Current storage server, major part is to use SAS(serial attached small computer system interface, serial connecting small computer system interface) controller goes the read-write of control store medium.SAS controller connects SAS line by SAS port, is then connected with storage medium.Current SAS port is generally by four PHY(Physical Layer, Physical layer) chip composition, read-write speed is higher, and the read-write speed of for example each PHY chip is 6G, and the read-write speed of four PHY chips is exactly 24G.But just because of read-write speed is high, in the ordinary course of things, user is difficult to aware the speed decline of SAS port, and in the time awaring, has had a strong impact on the normal operation of server.In addition, do not find in time if all PHY chips of SAS port all go wrong, will cause server to stop the read-write to storage medium.
Summary of the invention
In view of above content, be necessary to provide a kind of SAS port monitoring method, can monitor the duty of each PHY chip.
In view of above content, be also necessary to provide a kind of SAS port monitoring system, can monitor the duty of each PHY chip.
Whether described SAS port monitoring method comprises: monitoring step: in SAS line corresponding to each PHY chip of the front-end interface monitoring SAS port by monitoring device, have data to pass through; Determining step: according to monitoring result, judge the duty of each PHY chip; And control step: according to the duty of each PHY chip, control the pilot lamp that each PHY chip is corresponding and carry out corresponding instruction.
Described SAS port monitoring system comprises: whether monitoring modular, have data to pass through for the SAS line corresponding to each PHY chip of the front-end interface monitoring SAS port by monitoring device; Judge module, for according to monitoring result, judges the duty of each PHY chip; And control module, for according to the duty of each PHY chip, control the pilot lamp that each PHY chip is corresponding and carry out corresponding instruction.
Compared to prior art, described SAS port monitoring method and system, the duty of each PHY chip that can Real-Time Monitoring SAS port, and indicate by corresponding pilot lamp, user is discovered problems and solve them in time, be unlikely to affect the normal work of server.
Brief description of the drawings
Fig. 1 is the running environment figure of SAS port monitoring system of the present invention preferred embodiment.
Fig. 2 is the functional block diagram of SAS port monitoring system of the present invention preferred embodiment.
Fig. 3 is the process flow diagram of SAS port monitoring method of the present invention preferred embodiment.
Primary clustering symbol description
Server | 1 |
SAS controller | 2 |
Monitoring device | 3 |
Storage medium | 4 |
SAS port | 20 |
PHY chip | 21 |
SAS port monitoring system | 30 |
Front-end interface | 31 |
Back end interface | 32 |
Pilot lamp | 33 |
Monitoring modular | 100 |
Judge module | 200 |
Control module | 300 |
Following embodiment further illustrates the present invention in connection with above-mentioned accompanying drawing.
Embodiment
Consulting shown in Fig. 1, is the running environment figure of SAS port monitoring system of the present invention preferred embodiment.Described SAS port monitoring system 30 runs in the monitoring device 3 of server 1.In described server 1, also comprise SAS controller 2 and storage medium 4.Described SAS controller 2 comprise in one or more SAS port 20(Fig. 1 only illustrate one), each SAS port 20 comprises multiple PHY chips 21.In the present embodiment, described SAS port 20 comprises four PHY chips 21.
In described monitoring device 3, also comprise front-end interface 31, back end interface 32 and multiple pilot lamp 33.The number of described pilot lamp 33 is corresponding with the number of PHY chip 21, and in the present embodiment, described pilot lamp 33 is LED(Light Emitting Diode, light emitting diode) lamp.Described monitoring device 3 connects PHY chip 21 by front-end interface 31, connects storage medium 4 by back end interface 32.Wherein, between described PHY chip 21 and front-end interface 31, back end interface 32 and storage medium 4, be all connected by SAS line.
Consulting shown in Fig. 2, is the functional block diagram of SAS port monitoring system of the present invention preferred embodiment.
Described SAS port monitoring system 30 comprises monitoring modular 100, judge module 200 and control module 300.
Whether described monitoring modular 100 has data to pass through for the SAS line of monitoring each PHY chip 21 correspondences by described front-end interface 31.The SAS line of each PHY chip 21 includes a pair of transmission line (TX) and receives line (RX), is connected to described front-end interface 31.In the time having data by described transmission line or receive line, have Voltage-output, described monitoring modular 100 is by the voltage of the described transmission line of detecting and reception line, and whether can monitor the transmission line of each PHY chip 21 and receive in line has data to pass through.
Described judge module 200, for according to monitoring result, judges the duty of each PHY chip 21.In the time having data to pass through in the SAS line of described PHY chip 21 correspondences, described judge module 200 judges that the duty of this PHY chip 21 is for normal.In the time not having data to pass through in the SAS line of described PHY chip 21 correspondences, described judge module 200 judges that the duty of this PHY chip 21 is for abnormal.
Described control module 300 is for according to the duty of each PHY chip 21, and the pilot lamp 33 of controlling each PHY chip 21 correspondences carries out corresponding instruction.In the present embodiment, if the duty of described PHY chip 21 is normal, the pilot lamp 33 that described control module 300 is controlled these PHY chip 21 correspondences glimmers.If the duty of described PHY chip 21 is abnormal, the pilot lamp 33 that described control module 300 is controlled these PHY chip 21 correspondences extinguishes.
In the present embodiment, described control module 300 can for example, for example, be controlled the light on and off of described pilot lamp 33 by high flat signal (1) and low flat signal (0).If described control module 300 drags down the signal (becoming 0) of the pilot lamp 33 that sends to described PHY chip 21 correspondences, make the pilot lamp 33 that this is corresponding extinguish.Described control module 300 is drawn high the signal (becoming 1) of the pilot lamp 33 that sends to described PHY chip 21 correspondences, makes the pilot lamp 33 that this is corresponding glimmer.
Consulting shown in Fig. 3, is the process flow diagram of SAS port monitoring method of the present invention preferred embodiment.
Step S10, whether described monitoring modular 100 is monitored by described front-end interface 31 in the SAS line of each PHY chip 21 correspondences has data to pass through.
Step S12, described judge module 200, according to monitoring result, judges the duty of each PHY chip 21.In the time having data to pass through in the SAS line of described PHY chip 21 correspondences, described judge module 200 judges that the duty of this PHY chip 21 is for normal.In the time not having data to pass through in the SAS line of described PHY chip 21 correspondences, described judge module 200 judges that the duty of this PHY chip 21 is for abnormal.
Step S14, described control module 300 is according to the duty of each PHY chip 21, and the pilot lamp 33 of controlling each PHY chip 21 correspondences carries out corresponding instruction.In the present embodiment, if the duty of described PHY chip 21 is normal, the pilot lamp 33 that described control module 300 is controlled these PHY chip 21 correspondences glimmers.If the duty of described PHY chip 21 is abnormal, the pilot lamp 33 that described control module 300 is controlled these PHY chip 21 correspondences extinguishes.User, according to the instruction of each pilot lamp 33, can know that whether each PHY chip 21 is normal, thereby in time abnormal PHY chip 21 is processed.
Above embodiment is only unrestricted in order to technical scheme of the present invention to be described, although the present invention is had been described in detail with reference to preferred embodiment, those of ordinary skill in the art is to be understood that, can modify or be equal to replacement technical scheme of the present invention, and not depart from the spirit and scope of technical solution of the present invention.
Claims (10)
1. a SAS port monitoring method, is characterized in that, the method comprises:
Monitoring step: whether have data to pass through in SAS line corresponding to each PHY chip of the front-end interface monitoring SAS port by monitoring device;
Determining step: according to monitoring result, judge the duty of each PHY chip; And
Control step: according to the duty of each PHY chip, control each PHY chip corresponding pilot lamp on described monitoring device and carry out corresponding instruction.
2. whether SAS port monitoring method as claimed in claim 1, is characterized in that, in described monitoring step, monitor in the SAS line that each PHY chip is corresponding and have data to pass through by detecting the voltage of described SAS line.
3. SAS port monitoring method as claimed in claim 1, is characterized in that, in described determining step:
In the time having data to pass through in SAS line corresponding to described PHY chip, judge that the duty of this PHY chip is for normal; And
In the time not having data to pass through in SAS line corresponding to described PHY chip, judge that the duty of this PHY chip is for abnormal.
4. SAS port monitoring method as claimed in claim 3, is characterized in that, in described control step:
When the duty of described PHY chip is while being normal, control the pilot lamp flicker that this PHY chip is corresponding; And
When the duty of described PHY chip is while being abnormal, control the pilot lamp that this PHY chip is corresponding and extinguish.
5. SAS port monitoring method as claimed in claim 4, is characterized in that, in described control step, by pilot lamp flicker described in the flat signal controlling of height, and extinguishes by pilot lamp described in low flat signal controlling.
6. a SAS port monitoring system, is characterized in that, this system comprises:
Whether monitoring modular, have data to pass through for the SAS line corresponding to each PHY chip of the front-end interface monitoring SAS port by monitoring device;
Judge module, for according to monitoring result, judges the duty of each PHY chip; And
Control module, for according to the duty of each PHY chip, controls each PHY chip corresponding pilot lamp on described monitoring device and carries out corresponding instruction.
7. SAS port monitoring system as claimed in claim 6, is characterized in that, whether described monitoring modular is monitored in the SAS line that each PHY chip is corresponding and had data to pass through by detecting the voltage of described SAS line.
8. SAS port monitoring system as claimed in claim 6, is characterized in that:
In the time having data to pass through in SAS line corresponding to described PHY chip, described judge module judges that the duty of this PHY chip is for normal; And
In the time not having data to pass through in SAS line corresponding to described PHY chip, described judge module judges that the duty of this PHY chip is for abnormal.
9. SAS port monitoring system as claimed in claim 8, is characterized in that:
When the duty of described PHY chip is while being normal, the pilot lamp flicker that described this PHY chip of control module control is corresponding; And
When the duty of described PHY chip is while being abnormal, pilot lamp corresponding to described this PHY chip of control module control extinguishes.
10. SAS port monitoring system as claimed in claim 9, is characterized in that, described control module is glimmered by pilot lamp described in high flat signal controlling, and extinguishes by pilot lamp described in low flat signal controlling.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310119144.4A CN104102571A (en) | 2013-04-08 | 2013-04-08 | SAS (serial attached small computer system interface) port monitoring method and system |
TW102112619A TW201500917A (en) | 2013-04-08 | 2013-04-10 | Method and system for monitoring SAS port |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310119144.4A CN104102571A (en) | 2013-04-08 | 2013-04-08 | SAS (serial attached small computer system interface) port monitoring method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104102571A true CN104102571A (en) | 2014-10-15 |
Family
ID=51670741
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310119144.4A Pending CN104102571A (en) | 2013-04-08 | 2013-04-08 | SAS (serial attached small computer system interface) port monitoring method and system |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN104102571A (en) |
TW (1) | TW201500917A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107465569A (en) * | 2017-07-11 | 2017-12-12 | 郑州云海信息技术有限公司 | A kind of SAS Switch whole machine cabinets crawl node phy error count method and system |
-
2013
- 2013-04-08 CN CN201310119144.4A patent/CN104102571A/en active Pending
- 2013-04-10 TW TW102112619A patent/TW201500917A/en unknown
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107465569A (en) * | 2017-07-11 | 2017-12-12 | 郑州云海信息技术有限公司 | A kind of SAS Switch whole machine cabinets crawl node phy error count method and system |
Also Published As
Publication number | Publication date |
---|---|
TW201500917A (en) | 2015-01-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10157115B2 (en) | Detection system and method for baseboard management controller | |
US10348551B2 (en) | Information processing apparatus, diagnosis control apparatus, and communication apparatus | |
CN104598364A (en) | Method for monitoring power consumption of load equipment in server system | |
US8976033B2 (en) | Controller coupled to visual indicator | |
CN104951421B (en) | A kind of automatic numbering of serial bus communication equipment and kind identification method and device | |
CN105183600A (en) | Device and method for remotely positioning hard disk fault | |
CN106886479A (en) | A kind of server total power consumption real time monitoring apparatus and monitoring method | |
EP2464041B1 (en) | Detection device and method thereof | |
CN110650575A (en) | Lamp, controller, lamp system and lamp monitoring method | |
CN203733234U (en) | State detection and acousto-optic alarm device of indicator lights | |
CN104731686A (en) | Indicator control system and electronic device | |
CN103617782A (en) | LED backlight redundant backup circuit and control method thereof | |
CN103347352B (en) | LED light source short-circuit detection method and device, LED backlight and liquid crystal display device | |
CN104102571A (en) | SAS (serial attached small computer system interface) port monitoring method and system | |
CN104902659A (en) | Method of realizing LED lamp fault monitoring feedback of LED control system | |
CN203840625U (en) | LED chip self-detection alarm circuit | |
CN104156287A (en) | Hard disk detection system | |
CN103019911A (en) | Network status indicating system and mouse having network status indicating function | |
CN210575339U (en) | Multichannel electromagnet driving board card | |
CN103465100B (en) | Positive displacement distributor leads to oily detection system | |
CN102622898A (en) | Unique yellow-flash controller of signaler and signaler with same | |
US9679611B2 (en) | Method for displaying status associated with a storage device, computer system and status-monitoring device thereof | |
CN203798936U (en) | Detection device used for detecting RS232 interface on machine tool | |
CN104750212A (en) | Fan control system | |
CN204175621U (en) | Server radiator fan state monitoring apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20141015 |