CN108833190A - A kind of NFS service fault alarm method, device and storage medium - Google Patents

A kind of NFS service fault alarm method, device and storage medium Download PDF

Info

Publication number
CN108833190A
CN108833190A CN201810846168.2A CN201810846168A CN108833190A CN 108833190 A CN108833190 A CN 108833190A CN 201810846168 A CN201810846168 A CN 201810846168A CN 108833190 A CN108833190 A CN 108833190A
Authority
CN
China
Prior art keywords
nfs
information
fault
status information
nfs service
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810846168.2A
Other languages
Chinese (zh)
Inventor
徐晓阳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201810846168.2A priority Critical patent/CN108833190A/en
Publication of CN108833190A publication Critical patent/CN108833190A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/069Management of faults, events, alarms or notifications using logs of notifications; Post-processing of notifications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0817Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The embodiment of the invention discloses a kind of NFS service fault alarm method, device and computer readable storage mediums, obtain the NFS service status information of ICFS system;Judge in pre-stored all kinds of fault status informations with the presence or absence of the target faults status information to match with NFS service status information;If so, sending NFS to client services abnormality alarming information.The technical solution positions fault type by automatic detection mechanism, provides orientation to the ICFS system failure, shortens fault location time.By sending a warning message to client, timely problem can be notified to maintenance personnel, maintenance personnel is solved can to failure problems timely according to warning information, improve troubleshooting efficiency.

Description

A kind of NFS service fault alarm method, device and storage medium
Technical field
The present invention relates to distributed system technical field, more particularly to a kind of NFS service fault alarm method, device and Computer readable storage medium.
Background technique
ICFS system is a kind of form of distributed file system, includes monitoring service (Monitor, Mon), data service (Object-based Storage Device, OSD), Metadata Service (Meta Data Service, MDS), network file System service (Network File System, NFS).
NFS service is that ICFS system external provides the key service of access, these services are once unavailable, then upper layer application Data, which can not be normally written ICFS storage system and allow to write-in, not can guarantee the consistency of data yet, so NFS is serviced The abnormal availability that necessarily will have a direct impact on storage system.
Traditional fault location mode is by directly consulting rear end research and development, to determine fault type.The process is needed from being System problem, module problem etc. start to be checked step by step, can just be confirmed whether it is NFS service fault problem, which needs Consume longer time.It being directed to for ICFS system, traditional positioning method tends not to the processing for timely completing failure, The normal operation of influence system.
It is those skilled in the art's urgent problem to be solved as it can be seen that how to promote troubleshooting efficiency.
Summary of the invention
The purpose of the embodiment of the present invention is that providing a kind of NFS service fault alarm method, device and computer-readable storage Medium can promote troubleshooting efficiency.
In order to solve the above technical problems, the embodiment of the present invention provides a kind of NFS service fault alarm method, including:
Obtain the NFS service status information of ICFS system;
Judge in pre-stored all kinds of fault status informations with the presence or absence of matching with the NFS service status information Target faults status information;
If so, sending NFS to client services abnormality alarming information.
Optionally, believe in judging pre-stored all kinds of fault status informations with the presence or absence of with the NFS service state Before the matched target faults status information of manner of breathing, further include:
Obtain system status information;
Judge the system status information with the presence or absence of abnormal;
It is serviced in the pre-stored all kinds of fault status informations of judgement with the presence or absence of with the NFS if it is not, then executing The step of target faults status information that status information matches;
If so, sending the prompt information of system exception to client.
Optionally, further include:
When there is no the targets to match with the NFS service status information in pre-stored all kinds of fault status informations When fault status information, then log information is exported, and the log information is sent to client.
Optionally, further include:
When former in the presence of the target to match with the NFS service status information in pre-stored all kinds of fault status informations When hindering status information, then warning note is carried out.
Optionally, all kinds of fault status informations include NFS service starting exception information, NFS service node delay machine information and NFS service document exception information.
Optionally, described to include to client transmission NFS service abnormality alarming information:
NFS service abnormality alarming information is sent to the client with short message, mail and/or SNMP document form End.
Optionally, NFS service abnormality alarming information includes NFS service fault type and failure rank, and with institute State the corresponding fault solution of NFS service fault type.
The embodiment of the invention also provides a kind of NFS service fault alarm devices, including acquiring unit, judging unit and announcement Alert unit;
The acquiring unit, for obtaining the NFS service status information of ICFS system;
The judging unit takes in pre-stored all kinds of fault status informations with the presence or absence of with the NFS for judging The target faults status information that business status information matches;If so, triggering the transmission unit;
The Alarm Unit services abnormality alarming information for sending NFS to client.
It optionally, further include prompt unit;
The acquiring unit is also used to obtain system status information;
The judging unit is also used to judge the system status information with the presence or absence of abnormal;If it is not, then triggering the announcement Alert unit;If so, triggering the prompt unit;
The prompt unit, for sending the prompt information of system exception to client.
It optionally, further include lead-out unit;
The lead-out unit, for when there is no service shape with the NFS in pre-stored all kinds of fault status informations When the target faults status information that state information matches, then log information is exported, and the log information is sent to client.
It optionally, further include alarm unit;
The alarm unit, for existing in the pre-stored all kinds of fault status informations and the NFS service state When the target faults status information that information matches, then warning note is carried out.
Optionally, all kinds of fault status informations include NFS service starting exception information, NFS service node delay machine information and NFS service document exception information.
Optionally, the Alarm Unit be specifically used for by the NFS service abnormality alarming information with short message, mail and/or SNMP document form is sent to the client.
Optionally, NFS service abnormality alarming information includes NFS service fault type and failure rank, and with institute State the corresponding fault solution of NFS service fault type.
The embodiment of the invention also provides a kind of NFS service fault alarm devices, including:
Memory, for storing computer program;
Processor, for executing the computer program to realize such as the step of above-mentioned NFS service fault alarm method.
The embodiment of the invention also provides a kind of computer readable storage medium, deposited on the computer readable storage medium Computer program is contained, the step such as above-mentioned NFS service fault alarm method is realized when the computer program is executed by processor Suddenly.
The NFS service status information of ICFS system is obtained it can be seen from above-mentioned technical proposal;Judge pre-stored each With the presence or absence of the target faults status information to match with NFS service status information in class fault status information;As presence and NFS When the target faults status information that service status information matches, then it can determine the fault type of ICFS system, at this time may be used Abnormality alarming information is serviced to send NFS to client, wherein servicing in abnormality alarming information in the NFS may include NFS clothes Business fault type and failure rank.The technical solution positions fault type by automatic detection mechanism, that is, determines Whether the ICFS system failure belongs to known fault type, provides orientation to the ICFS system failure, and it is fixed to shorten failure The position time.By sending a warning message to client, timely problem can be notified to maintenance personnel, make maintenance personnel can root Failure problems are timely solved according to fault type, improve troubleshooting efficiency.
Detailed description of the invention
In order to illustrate the embodiments of the present invention more clearly, attached drawing needed in the embodiment will be done simply below It introduces, it should be apparent that, drawings in the following description are only some embodiments of the invention, for ordinary skill people For member, without creative efforts, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of flow chart of NFS service fault alarm method provided in an embodiment of the present invention;
Fig. 2 is a kind of structural schematic diagram of NFS service fault alarm device provided in an embodiment of the present invention;
Fig. 3 is a kind of hardware structural diagram of NFS service fault alarm device provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, rather than whole embodiments.Based on this Embodiment in invention, those of ordinary skill in the art are without making creative work, obtained every other Embodiment belongs to the scope of the present invention.
In order to enable those skilled in the art to better understand the solution of the present invention, with reference to the accompanying drawings and detailed description The present invention is described in further detail.
Next, a kind of NFS service fault alarm method provided by the embodiment of the present invention is discussed in detail.Fig. 1 is this hair A kind of flow chart for NFS service fault alarm method that bright embodiment provides, this method include:
S101:Obtain the NFS service status information of ICFS system.
ICFS system can automatically detect the operating condition of NFS service.Wherein, NFS service status information is for reflecting The operating condition of NFS service.
S102:Judging whether there is in pre-stored all kinds of fault status informations matches with NFS service status information Target faults status information.
NFS service fault type includes that nfs-ganesha service cannot normally start, the section where nfs-ganesha Point delay machine, this several common fault type such as client share directory ls large amount of small documents " blocking ".Wherein, ls large amount of small documents " blocking " refers to when large amount of small documents is excessive, may there is the stuck situation of ls order.
In embodiments of the present invention, in order to reduce time of fault location, common several NFS can be serviced in advance therefore Fault status information corresponding to barrier type is stored.
It is dependent on NFS and services common several fault types, in embodiments of the present invention, pre-stored all kinds of failure shapes State information may include NFS service starting exception information, NFS service node delay machine information and NFS service document exception information.
Wherein, NFS service starting exception information is for indicating corresponding when nfs-ganesha service cannot normally start Data information.NFS service node delay machine information is used to indicate data letter corresponding when the node delay machine where nfs-ganesha Breath.NFS service document exception information is for indicating data corresponding when client share directory ls large amount of small documents " blocking " Information.
When NFS service status information and pre-stored all kinds of fault status informations match, i.e., all kinds of malfunctions There is the target faults status information to match with NFS service status information in information, then can determine that system currently occurs Failure specific fault type, S103 can be executed at this time.
S103:NFS, which is sent, to client services abnormality alarming information.
When there is the target faults status information to match with NFS service status information in all kinds of fault status informations, Illustrate that failure that CIFS system at this time occurs belongs to a kind of fault type of pre-stored a few class fault types, i.e., it at this time can be with Determine the fault type of the CIFS system failure.
Abnormality alarming information is serviced by sending NFS to client, can inform the event of developer's CIFS system in time Hinder type and saves judgement failure classes in order to which developer can directly execute processing scheme corresponding to the fault type The time of type, so that failure can be handled in time, to effectively guarantee the high availability of ICFS system.
Wherein, it may include NFS service fault type and failure rank that NFS, which services abnormality alarming information, and with it is described The corresponding fault solution of NFS service fault type.
NFS service fault type is used to indicate the specific fault type of the CIFS system failure.
Failure rank can be divided according to actual demand, and developer can be to more urgent according to failure rank Failure carries out preferential processing.
Failure rank may include urgent, important, warning, the these types of rank of prompt.It in the concrete realization, can be by nfs- The failure rank that ganesha service cannot normally start is set as " urgent ", by the event of the node delay machine where nfs-ganesha Hindering grade setting is " important ", and the failure rank of client share directory ls large amount of small documents " blocking " is set as " alerting ".When Failure rank corresponding to right every kind of fault type can be set according to actual demand, not done in the embodiment of the present invention to this It limits.
The known reason information for causing NFS service abnormal is integrated in pre-stored all kinds of fault status informations.Work as NFS When service is broken down, the problem of analyzed according to status information, caused if it is known reason, then sentenced according to known reason It is disconnected, so that it is determined that the type that is out of order.
Wherein, the possible cause for causing nfs-ganesha service that cannot normally start is the service export of nfs-ganesha The configuration Export directoey of directory service exception and nfs-ganesha are not present.
Node delay machine possible cause where causing nfs-ganesha be the management of NFS service cluster (clustered tdb, Ctdb IP handover failure) is carried out, virtual ip can not drift to normal node in the process, cause system data inconsistent.
Cause client share directory ls large amount of small documents " blocking " possible cause be file system have request block or It blocks.
For known fault type, since failure cause is Given information, in embodiments of the present invention, can be with Solution corresponding to known fault type is set in advance, in order to which developer solves in time according to the solution Failure problems.
Below the detailed process for solving failure is unfolded to introduce.
When solving NFS service fault, it is necessary first to the confirmation and collection of information are carried out, detailed process is as follows,
(1) confirm ICFS system version information, determine whether ganesha service release, confirmation ICFS state are health_ Ok, if there is request to block:block request.
Different ICFS system version processing modes can have differences, therefore when progress failure solution, need first to confirm ICFS system version information.For NFS service fault it needs to be determined that ganesha service release.Confirm that ICFS state is to protect System basic service is normal after the completion of demonstrate,proving troubleshooting.Request obstruction will cause service fault.
(2) confirm ganesha progress information and collect file:It is main determine process whether there is also, determine pid file Name collects dump.txt file.
Wrong data is had recorded in dump.txt file, can be used as the file of inquiry error reason.
(3) ganesha log, configuration file are collected, whether main confirmation service starts normal or error log information; Collect carry information mount_info.txt file.
Carry information includes the information such as server-side address, client address, protocol version.
(4) NFS service cluster management (by the corresponding relationship of virtual IP address and physical IP, realizing IP intelligent management) is collected to match Confidence breath and system group network information.
NFS service cluster management provides High Availabitity function, if the function is opened, illustrates to be hung by virtual ip It carries, when carrying out troubleshooting, needs to combine ip handoff scenario.
After the confirmation and collection work for completing information, developer can be handled specific failure.
It is as follows to be directed to the solution that nfs-ganesha service cannot normally start,
(1) check whether the service Export directoey of nfs-ganesha is normal using showmount-e order.
The service Export directoey of nfs-ganesha can be viewed when executing showmount-e order, then illustrates nfs- The service Export directoey of ganesha is normal;When the service that execution showmount-e order can not view nfs-ganesha is led Catalogue out then illustrates that the service Export directoey of nfs-ganesha is abnormal.
(2) local cache out-of-service time Attr_Expiration_Time is set.After the time, and server-side file Attribute changes really, then the data and file attribute of server-side are obtained from server-side.
Wherein, the out-of-service time can be defaulted as 10s.The specific value of certain out-of-service time, can need according to scene into Row configuration can be by the shorter of out-of-service time setting, for example, will failure when scene frequent for multi-client concurrent operations Time is set as 1s.
(3) check whether the configuration file of nfs-ganesha is correct.If configuration information mistake, execution modification script/ Ganeshamodify completes the modification of configuration file icfs.conf, and pushes to each node in system, completes each node The starting of ganesha.
The solution for being directed to the node delay machine where nfs-ganesha is as follows,
(1) server-side nfs-ganesha service state and blocking delay are checked.
Specifically, can check NFS service state by systemctl status ganesha, under normal circumstances, it is NFS service state running.And passing through ps-ef | grep ganesha checks that process whether there is.
Pass through netstat-tunpla | grep ganesha.nfsd check No. pid, check 875,2049 ports whether be LISTEN state, checks whether process number matches with No. pid that ps-ef is inquired.
(2) ctdb ip is inputted, if the address ip configured in public_addresses is assigned to all sections Point.
(3) after executing systemctl start ctdb or service ctdb start, restart ctdb process.And lead to Cross the automatic pull-up NFS service of ctdb process.
The solution for being directed to client share directory ls large amount of small documents " blocking " is as follows,
(1) it checks the pid of ganesha and checks whether system interface is abnormal.
(2) it opens delay statistics switch ganesha_mgr set_switch time_delay true and confirms that time delay is No exception:(unit is microsecond to watch-d ganesha_stat_tool show_nfs_ops, if time delay is more than tens seconds several seconds Illustrate there is choking phenomenon.
Multi-column data can be collected by opening delay statistics switch, and each column meaning is respectively:The request number received (receive_requests), the request number (handle_requests) of processing handles average delay (handle_req_ Avg_t), maximum delay (handle_req_max_t) is handled, handled minimal time delay (handle_req_min_t), request waits Average delay (queue_wait_avg_t) waits maximum delay (queue_wait_max_t), waits minimal time delay (queue_ wait_min_t))。
(3) it checks ganesha log, if there is [dbus_heartbeat] log field, illustrates that cluster has obstruction to prolong It is higher late;Pass through pstack pid>>1.txt---4.txt order is repeatedly collected, and stack information is analyzed, and eliminates blocking delay.
According to the solution of above-mentioned introduction, developer can be handled NFS service fault.It needs to illustrate It is that operating procedure involved in above-mentioned each solution is similar with operating principle when carrying out fault recovery in the prior art, right Aforesaid operations step belongs to routine operation for those skilled in the art, therefore, in embodiments of the present invention, for each step Concrete principle repeat no more.
By the way that solution is arranged, failure is solved in time after failure occurs and provides comprehensive guidance, be product After-sale service provide solid guarantee.
The NFS service status information of ICFS system is obtained it can be seen from above-mentioned technical proposal;Judge pre-stored each With the presence or absence of the target faults status information to match with NFS service status information in class fault status information;As presence and NFS When the target faults status information that service status information matches, then it can determine the fault type of ICFS system, at this time may be used Abnormality alarming information is serviced to send NFS to client, wherein servicing in abnormality alarming information in the NFS may include NFS clothes Business fault type and failure rank.The technical solution positions fault type by automatic detection mechanism, that is, determines Whether the ICFS system failure belongs to known fault type, provides orientation to the ICFS system failure, and it is fixed to shorten failure The position time.By sending a warning message to client, timely problem can be notified to maintenance personnel, make maintenance personnel can root Failure problems are timely solved according to fault type, improve troubleshooting efficiency.
In embodiments of the present invention, pre-stored all kinds of fault status informations belong to NFS service fault information.In order to The abnormal caused failure problems of other services in ICFS system are excluded, specifically, judging pre-stored all kinds of malfunctions Before whether there is the target faults status information to match with NFS service status information in information, system shape can also be obtained State information;Judge system status information with the presence or absence of abnormal.
When system status information is normal, then execute judge in pre-stored all kinds of fault status informations with the presence or absence of with The step of target faults status information that NFS service status information matches;It, then can be to visitor when system status information exception The prompt information of family end transmission system exception.
Wherein, system status information may include the status information of OSD, MON, MDS.
In addition, in order to guarantee that system basic service is normal after the completion of troubleshooting, can reaffirm system status information It is whether normal.
It can be due to OSD, MON, MDS etc. determining that the system failure is not by determining system status information When servicing failure caused by exception, then the NFS service fault for determining whether failure belongs to known reason is executed, can excluded in advance Failure caused by non-NFS service.
The fault type of pre-stored fault status information is limited, in the concrete realization, it is possible that being stored in advance All kinds of fault status informations in there is no match with NFS service status information target faults status information the case where.
It is directed to this kind of situation, can be not present and NFS service state in pre-stored all kinds of fault status informations When the target faults status information that information matches, then log information is exported, and log information is sent to client.
When there is no the target faults to match with NFS service status information in pre-stored all kinds of fault status informations When status information, illustrate that the failure problems that ICFS system occurs not are the NFS service fault for being known reason.
Developer generally requires to determine fault type according to log information, in the present invention when carrying out fault location In embodiment, when there is no the target to match with NFS service status information events in pre-stored all kinds of fault status informations When hindering status information, by sending log information to client, the operating process of developer is saved, developer is improved The efficiency of handling failure problem.
In embodiments of the present invention, in addition to send a warning message to client or log information other than, local also can be set Prompt mechanism is arranged in prompt mechanism that is, in ICFS system.
Specifically, when there is the mesh to match with NFS service status information in pre-stored all kinds of fault status informations When marking fault status information, then warning note is carried out.
By the way that warning note is arranged, staff's ICFS system can be reminded to break down, in time in order to work people Member's failure is timely handled.
Fig. 2 is a kind of structural schematic diagram of NFS service fault alarm device provided in an embodiment of the present invention, described device packet Include acquiring unit 21, judging unit 22 and Alarm Unit 23;
Acquiring unit 21, for obtaining the NFS service status information of ICFS system;
Judging unit 22 whether there is and NFS service state in pre-stored all kinds of fault status informations for judging The target faults status information that information matches;If so, triggering transmission unit;
Alarm Unit 23 services abnormality alarming information for sending NFS to client.
It optionally, further include prompt unit;
Acquiring unit is also used to obtain system status information;
Judging unit is also used to judge system status information with the presence or absence of abnormal;If it is not, then triggering Alarm Unit;If so, Then trigger prompt unit;
Prompt unit, for sending the prompt information of system exception to client.
It optionally, further include lead-out unit;
Lead-out unit, for being not present in the pre-stored all kinds of fault status informations and NFS service status information phase When matched target faults status information, then log information is exported, and log information is sent to client.
It optionally, further include alarm unit;
Alarm unit, for existing in the pre-stored all kinds of fault status informations and NFS service status information phase When the target faults status information matched, then warning note is carried out.
Optionally, all kinds of fault status informations include NFS service starting exception information, NFS service node delay machine information and NFS service document exception information.
Optionally, the Alarm Unit be specifically used for by the NFS service abnormality alarming information with short message, mail and/or SNMP document form is sent to the client.
Optionally, NFS service abnormality alarming information includes NFS service fault type and failure rank, and with institute State the corresponding fault solution of NFS service fault type.
The explanation of feature may refer to the related description of embodiment corresponding to Fig. 1 in embodiment corresponding to Fig. 2, here no longer It repeats one by one.
The NFS service status information of ICFS system is obtained it can be seen from above-mentioned technical proposal;Judge pre-stored each With the presence or absence of the target faults status information to match with NFS service status information in class fault status information;As presence and NFS When the target faults status information that service status information matches, then it can determine the fault type of ICFS system, at this time may be used Abnormality alarming information is serviced to send NFS to client, wherein servicing in abnormality alarming information in the NFS may include NFS clothes Business fault type and failure rank.The technical solution positions fault type by automatic detection mechanism, that is, determines Whether the ICFS system failure belongs to known fault type, provides orientation to the ICFS system failure, and it is fixed to shorten failure The position time.By sending a warning message to client, timely problem can be notified to maintenance personnel, make maintenance personnel can root Failure problems are timely solved according to fault type, improve troubleshooting efficiency.
Fig. 3 is a kind of hardware structural diagram of NFS service fault alarm device 30 provided in an embodiment of the present invention, described NFS service fault alarm device 30 includes:
Memory 31, for storing computer program;
Processor 32, for executing computer program to realize such as the step of above-mentioned NFS service fault alarm method.
The embodiment of the invention also provides a kind of computer readable storage medium, it is stored on computer readable storage medium Computer program is realized when computer program is executed by processor such as the step of above-mentioned NFS service fault alarm method.
It is provided for the embodiments of the invention a kind of NFS service fault alarm method, device above and computer-readable deposits Storage media is described in detail.Each embodiment is described in a progressive manner in specification, and each embodiment stresses Be the difference from other embodiments, the same or similar parts in each embodiment may refer to each other.For implementing For device disclosed in example, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place ginseng See method part illustration.It should be pointed out that for those skilled in the art, not departing from original of the invention , can be with several improvements and modifications are made to the present invention under the premise of reason, these improvement and modification also fall into right of the present invention and want In the protection scope asked.
Professional further appreciates that, unit described in conjunction with the examples disclosed in the embodiments of the present disclosure And algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware and The interchangeability of software generally describes each exemplary composition and step according to function in the above description.These Function is implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Profession Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered Think beyond the scope of this invention.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can directly be held with hardware, processor The combination of capable software module or the two is implemented.Software module can be placed in random access memory (RAM), memory, read-only deposit Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology In any other form of storage medium well known in field.

Claims (10)

1. a kind of NFS service fault alarm method, which is characterized in that including:
Obtain the NFS service status information of ICFS system;
Judge in pre-stored all kinds of fault status informations with the presence or absence of the target to match with the NFS service status information Fault status information;
If so, sending NFS to client services abnormality alarming information.
2. the method according to claim 1, wherein being in judging pre-stored all kinds of fault status informations Before the target faults status information that no presence matches with the NFS service status information, further include:
Obtain system status information;
Judge the system status information with the presence or absence of abnormal;
If it is not, then executing whether there is and the NFS service state in the pre-stored all kinds of fault status informations of judgement The step of target faults status information that information matches;
If so, sending the prompt information of system exception to client.
3. the method according to claim 1, wherein further including:
When there is no the target faults to match with the NFS service status information in pre-stored all kinds of fault status informations When status information, then log information is exported, and the log information is sent to client.
4. the method according to claim 1, wherein further including:
When there is the target faults shape that matches with the NFS service status information in pre-stored all kinds of fault status informations When state information, then warning note is carried out.
5. method according to any of claims 1-4, which is characterized in that all kinds of fault status informations include NFS clothes Business starting exception information, NFS service node delay machine information and NFS service document exception information.
6. method according to any of claims 1-4, which is characterized in that described different to client transmission NFS service Often warning information includes:
NFS service abnormality alarming information is sent to the client with short message, mail and/or SNMP document form.
7. method according to any of claims 1-4, which is characterized in that the NFS services abnormality alarming packet Include NFS service fault type and failure rank, and fault solution corresponding with the NFS service fault type.
8. a kind of NFS service fault alarm device, which is characterized in that including acquiring unit, judging unit and Alarm Unit;
The acquiring unit, for obtaining the NFS service status information of ICFS system;
The judging unit services shape with the presence or absence of with the NFS in pre-stored all kinds of fault status informations for judging The target faults status information that state information matches;If so, triggering the transmission unit;
The Alarm Unit services abnormality alarming information for sending NFS to client.
9. a kind of NFS service fault alarm device, which is characterized in that including:
Memory, for storing computer program;
Processor, for executing the computer program to realize the NFS service fault as described in claim 1 to 7 any one The step of alarm method.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium Program realizes that NFS service fault is accused as described in claim 1 to 7 any one when the computer program is executed by processor The step of alarm method.
CN201810846168.2A 2018-07-27 2018-07-27 A kind of NFS service fault alarm method, device and storage medium Pending CN108833190A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810846168.2A CN108833190A (en) 2018-07-27 2018-07-27 A kind of NFS service fault alarm method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810846168.2A CN108833190A (en) 2018-07-27 2018-07-27 A kind of NFS service fault alarm method, device and storage medium

Publications (1)

Publication Number Publication Date
CN108833190A true CN108833190A (en) 2018-11-16

Family

ID=64152040

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810846168.2A Pending CN108833190A (en) 2018-07-27 2018-07-27 A kind of NFS service fault alarm method, device and storage medium

Country Status (1)

Country Link
CN (1) CN108833190A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109726081A (en) * 2019-01-02 2019-05-07 深圳壹账通智能科技有限公司 Method, apparatus, computer equipment and the storage medium of service exception processing
CN110677480A (en) * 2019-09-29 2020-01-10 北京浪潮数据技术有限公司 Node health management method and device and computer readable storage medium
CN110716736A (en) * 2019-09-18 2020-01-21 上海麦克风文化传媒有限公司 Method and system for processing online fault of customer service feedback
CN111125048A (en) * 2019-12-06 2020-05-08 浪潮电子信息产业股份有限公司 Fault notification method, device, equipment and computer readable storage medium
CN111225020A (en) * 2019-11-07 2020-06-02 苏州浪潮智能科技有限公司 User mode network file system dual-stack access method, device and equipment
CN116680113A (en) * 2023-08-01 2023-09-01 江苏普达迪泰科技有限公司 Equipment detection implementation control system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3110075A1 (en) * 2015-06-25 2016-12-28 Xiaomi Inc. Method and apparatus for monitoring status of terminal compressor
CN106649055A (en) * 2017-01-10 2017-05-10 山东浪潮云服务信息科技有限公司 Domestic CPU (central processing unit) and operating system based software and hardware fault alarming system and method
CN106972978A (en) * 2017-05-27 2017-07-21 郑州云海信息技术有限公司 A kind of ALM method for pushing and device
CN107968727A (en) * 2017-11-29 2018-04-27 郑州云海信息技术有限公司 A kind of detection method, device and the medium of CIFS services
CN108092836A (en) * 2016-11-21 2018-05-29 深圳市蓝希领地科技有限公司 The monitoring method and device of a kind of server

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3110075A1 (en) * 2015-06-25 2016-12-28 Xiaomi Inc. Method and apparatus for monitoring status of terminal compressor
CN108092836A (en) * 2016-11-21 2018-05-29 深圳市蓝希领地科技有限公司 The monitoring method and device of a kind of server
CN106649055A (en) * 2017-01-10 2017-05-10 山东浪潮云服务信息科技有限公司 Domestic CPU (central processing unit) and operating system based software and hardware fault alarming system and method
CN106972978A (en) * 2017-05-27 2017-07-21 郑州云海信息技术有限公司 A kind of ALM method for pushing and device
CN107968727A (en) * 2017-11-29 2018-04-27 郑州云海信息技术有限公司 A kind of detection method, device and the medium of CIFS services

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109726081A (en) * 2019-01-02 2019-05-07 深圳壹账通智能科技有限公司 Method, apparatus, computer equipment and the storage medium of service exception processing
CN110716736A (en) * 2019-09-18 2020-01-21 上海麦克风文化传媒有限公司 Method and system for processing online fault of customer service feedback
CN110677480A (en) * 2019-09-29 2020-01-10 北京浪潮数据技术有限公司 Node health management method and device and computer readable storage medium
CN111225020A (en) * 2019-11-07 2020-06-02 苏州浪潮智能科技有限公司 User mode network file system dual-stack access method, device and equipment
CN111225020B (en) * 2019-11-07 2021-06-29 苏州浪潮智能科技有限公司 User mode network file system dual-stack access method, device and equipment
CN111125048A (en) * 2019-12-06 2020-05-08 浪潮电子信息产业股份有限公司 Fault notification method, device, equipment and computer readable storage medium
CN111125048B (en) * 2019-12-06 2022-04-22 浪潮电子信息产业股份有限公司 Fault notification method, device, equipment and computer readable storage medium
CN116680113A (en) * 2023-08-01 2023-09-01 江苏普达迪泰科技有限公司 Equipment detection implementation control system
CN116680113B (en) * 2023-08-01 2023-10-27 江苏普达迪泰科技有限公司 Equipment detection implementation control system

Similar Documents

Publication Publication Date Title
CN108833190A (en) A kind of NFS service fault alarm method, device and storage medium
US10713280B2 (en) Systems and methods for managing distributed database deployments
US11544288B2 (en) Systems and methods for managing distributed database deployments
US11615115B2 (en) Systems and methods for managing distributed database deployments
US20170344618A1 (en) Systems and methods for managing distributed database deployments
US7702667B2 (en) Methods and systems for validating accessibility and currency of replicated data
US9450700B1 (en) Efficient network fleet monitoring
CN112506702B (en) Disaster recovery method, device, equipment and storage medium for data center
CN104252500A (en) Method and device for carrying out fault repairing on database management platform
CN101237315A (en) A synchronous detection and failure separation method for dual control high-availability system
CN107635003A (en) The management method of system journal, apparatus and system
CN109960634A (en) A kind of method for monitoring application program, apparatus and system
CN107203443A (en) A kind of method and apparatus of the virtual machine High Availabitity based on KVM virtualization
CN112019330A (en) Intranet security audit data storage method and system based on alliance chain
WO2015131652A1 (en) Method and device for processing warning information data
CN105099762A (en) Method and system for self-inspection of operation and maintenance functions of system
CN104796283A (en) Monitoring alarm method
CN110011854A (en) MDS fault handling method, device, storage system and computer readable storage medium
CN109614297A (en) Data guard method, device, equipment, system and computer readable storage medium
US7421493B1 (en) Orphaned network resource recovery through targeted audit and reconciliation
CN100505643C (en) Network management system and its communication method
CN107634868A (en) A kind of method and system for managing network service
CN107291575A (en) Processing method and equipment during a kind of data center's failure
CN109144800A (en) A kind of collection method, device and the relevant device of server failure information
CN109104314A (en) A kind of method and device for modifying log configuration file

Legal Events

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

Application publication date: 20181116

RJ01 Rejection of invention patent application after publication