CN107463458A - A kind of IPSAN monitoring abnormal states and recovery system - Google Patents

A kind of IPSAN monitoring abnormal states and recovery system Download PDF

Info

Publication number
CN107463458A
CN107463458A CN201710668491.0A CN201710668491A CN107463458A CN 107463458 A CN107463458 A CN 107463458A CN 201710668491 A CN201710668491 A CN 201710668491A CN 107463458 A CN107463458 A CN 107463458A
Authority
CN
China
Prior art keywords
ipsan
abnormal
monitoring
client
state
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
CN201710668491.0A
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.)
WELLTRANS O&E TECHNOLOGIES Co Ltd
Original Assignee
WELLTRANS O&E 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 WELLTRANS O&E TECHNOLOGIES Co Ltd filed Critical WELLTRANS O&E TECHNOLOGIES Co Ltd
Priority to CN201710668491.0A priority Critical patent/CN107463458A/en
Publication of CN107463458A publication Critical patent/CN107463458A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0751Error or fault detection not based on redundancy
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0706Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment
    • G06F11/0727Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment in a storage system, e.g. in a DASD or network based storage system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0766Error or fault reporting or storing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0766Error or fault reporting or storing
    • G06F11/0787Storage of error reports, e.g. persistent data storage, storage using memory protection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0793Remedial or corrective actions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3034Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a storage system, e.g. DASD based or network based
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3055Monitoring arrangements for monitoring the status of the computing system or of the computing system component, e.g. monitoring if the computing system is on, off, available, not available
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/324Display of status information
    • G06F11/327Alarm or error message display
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/324Display of status information
    • G06F11/328Computer systems status display

Abstract

The invention provides a kind of IPSAN monitoring abnormal states and recovery system; including state detection module; the IPSAN information for needing to detect is read from configuration file; periodic detection IPSAN states; abnormality report is generated when IPSAN occurs abnormal, abnormality report is sent respectively to abnormal restoring module and monitoring client;Abnormal restoring module, the abnormality report that the state detection module is sent is received, performs recovery operation;Monitor client, the abnormality report that reception state detection module is sent, IPSAN real-time status is shown in client end interface, and preserve state change journal, the present invention realizes IPSAN monitoring abnormal states and the automation recovered, allow operating personnel to understand IPSAN state in time, reduce due to video storage failure caused by IPSAN abnormal states.

Description

A kind of IPSAN monitoring abnormal states and recovery system
Technical field
The present invention relates to technical field of data storage, more particularly to a kind of IPSAN monitoring abnormal states and recovery system.
Background technology
Often occur when doing extensive video storage due to IPSAN (IP storage area networks) abnormal state, and occur Storage is abnormal, and then causes the loss of video data.For such case, it is common practice to:Sign in server, check and deposit Storage service and IPSAN states, to judge IPSAN exceptions.But the method needs staff to check to judge the exception of system, and After often there are IPSAN exceptions, staff fails to find the problem in time, so as to cause a large amount of loss of video data.
The content of the invention
It is an object of the invention to for above-mentioned the deficiencies in the prior art, there is provided a kind of IPSAN monitoring abnormal states and Recovery system, the problem of IPSAN causes video data loss extremely is can solve the problem that, can be notified in time after exception occurs in IPSAN To client, allow operating personnel to understand the generation of the abnormal conditions in time, and automatically attempt to recover the exception that IPSAN occurs.
To achieve the above object, present invention employs following technical scheme:
The invention provides a kind of IPSAN monitoring abnormal states and recovery system, including detection service end and monitoring client End, the detection service end include state detection module and abnormal restoring module,
1) state detection module, the IPSAN information for needing to detect from configuration file reading, periodic detection IPSAN states, when Abnormality report is generated when IPSAN occurs abnormal, abnormality report is sent respectively to abnormal restoring module and monitoring visitor Family end;
2) abnormal restoring module, the abnormality report that the state detection module is sent is received, performs and recovers behaviour Make;
3) client is monitored, the abnormality report that reception state detection module is sent, IPSAN is shown in client end interface Real-time status, and preserve state change journal.
Further, the state detection module periodic detection IPSAN states, abnormal shape is generated when IPSAN occurs abnormal State is reported, specifically includes following steps:
A) iSCSI session status, is obtained by iscsiadm orders;
B), can judgement from iSCSI session status, extract the IPSAN specified session status;
If can, the result extracted is continued to analyze, judges whether IPSAN session status is normal, is given birth to if abnormal The report disconnected into session;
If can not, the report that generation session is not logged in.
Further, the abnormal restoring module performs recovery operation, specifically includes following steps:
I), close MSS service;
II), log in IPSAN, mount directory;
III), restart MSS service.
Further, before the state detection module reads the IPSAN information for needing to detect from configuration file, also wrap Include:Monitoring client reads IP address and the port at the detection service end for needing to connect from configuration file, with detection service end Establish connection.
Further, after the monitoring client establishes connection with detection service end, monitoring client sends IPSAN address columns Table inquiry request, the state detection module return to IPSAN address lists, the monitoring client-cache IPSAN address lists.
Further, the abnormality report is to utilize iSCSI session status, analyzes IPSAN connection shapes in specified time The anomalous variation of state and generate.
Further, a monitoring client can carry out network connection with multiple detection service ends simultaneously.
Beneficial effects of the present invention are:The present invention reads IPSAN status informations by state detection module, and by IPSAN Abnormal conditions notify abnormal restoring module and monitoring client in time, and abnormal restoring module automatically attempts to recover what IPSAN occurred IPSAN status displaying informations abnormal, that monitoring client upgrades in time on client end interface.Realize IPSAN abnormalities prison The automation surveyed and recovered, allow operating personnel to understand IPSAN state in time, and accuracy is high, error is small, reduce due to Video storage failure caused by IPSAN abnormal states.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, with reference to embodiment, to the present invention It is further elaborated.It should be appreciated that specific embodiment described herein is not used to limit only to explain the present invention The fixed present invention.
A kind of IPSAN monitoring abnormal states and recovery system, including detection service end and monitoring client, the detection clothes Business end includes state detection module and abnormal restoring module,
1) state detection module, the IPSAN information for needing to detect from configuration file reading, periodic detection IPSAN states, when Abnormality report is generated when IPSAN occurs abnormal, abnormality report is sent respectively to abnormal restoring module and monitoring visitor Family end;
2) abnormal restoring module, the abnormality report that the state detection module is sent is received, performs and recovers behaviour Make;
3) client is monitored, the abnormality report that reception state detection module is sent, IPSAN is shown in client end interface Real-time status, and preserve state change journal.
The state detection module is detected, and specifically includes following steps:
A) iSCSI session status, is obtained by iscsiadm orders;
B), can judgement from iSCSI session status, extract the IPSAN specified session status;
If can, the result extracted is continued to analyze, judges whether IPSAN session status is normal, is given birth to if abnormal The report disconnected into session;
If can not, the report that generation session is not logged in.
The abnormal restoring module performs recovery operation, specifically includes following steps:
I), close MSS service;
II), log in IPSAN, mount directory;
III), restart MSS service.
Before the state detection module reads the IPSAN information for needing to detect from configuration file, in addition to:Monitoring visitor IP address and the port at the detection service end for needing to connect are read in family end from configuration file, establish and connect with detection service end.
After the monitoring client establishes connection with detection service end, monitoring client sends the inquiry of IPSAN address lists Request, state detection module return to IPSAN address lists, monitor client-cache IPSAN address lists.
The abnormality report is to utilize iSCSI session status, analyzes the exception of IPSAN connection status in specified time Change and generate.
One monitoring client can carry out network connection with multiple detection service ends simultaneously.
Specific embodiment one
A kind of IPSAN monitoring abnormal states and recovery system, the system include detection service end and monitoring client, detection Service end includes state detection module and abnormal restoring module.
State monitoring module, it is used for
The IPSAN information lists for needing to detect are read from configuration file and are cached, necessity is provided for perform detection operation Information.IPSAN information lists include IPSAN target titles, IPSAN IP address, MSS IP address.
ISCSI session status is obtained by iscsiadm orders, from iSCSI session status, extracts what is specified IPSAN session status.If the IPSAN states specified can not be read from iSCSI sessions, IPSAN states be session not Log in.
IPSAN session status has:
Session is not logged in (server does not establish session with IPSAN, and session status is No Session)
Session disconnects (server disconnects after establishing session with IPSAN, session status FAILED)
Session is normal (server and IPSAN sessions are normal, session status LOGIN_IN)
ISCSI session status is obtained, and the frequency of analyzing IP SAN states is defaulted as 5 minutes.
When the situation that session is not logged in or session disconnects occurs in IPSAN, it is current that generation includes IPSAN IP address, IPSAN Abnormality including state, MSS IP address, current time is reported and abnormality report is sent respectively into abnormal restoring Module and monitoring client.
State monitoring module can also provide the inquiry of the IP address list, IPSAN connection status that obtain IPSAN for client Function.
Abnormal restoring module, is used for
The abnormality report that reception state detection module is sent, is saved in abnormality queue;
Abnormality is read from abnormal state list, performs recovery operation.
Client is monitored, is used for
The address list at the detection service end for needing to connect, the address list bag at detection service end are read from configuration file IP address and the port at detection service end are included, establishes and connects with detection service end.
IPSAN address lists are inquired about from the state monitoring module at detection service end, cache IPSAN address lists, and show On client end interface.One monitoring client can carry out network connection with multiple detection service ends simultaneously.It is multiple when connecting Client needs to perform the operation multiple during detection service end.
When being disconnected with detection service end, the IPSAN states that monitoring client need to be detected the detection service end are deleted Remove or do not show;IPSAN address lists need to be inquired about again when reconnecting, and inquire about IPSAN current state.
The abnormality report that reception state detection module is sent, update the IPSAN status displays letter on client end interface Breath, and preserve state change journal.
Specific embodiment two
A kind of IPSAN monitoring abnormal states and restoration methods, comprise the following steps:
Monitoring client reads IP address and the port at the detection service end for needing to connect from configuration file, is taken with detection Connection is established at business end.Send IPSAN address list inquiry requests.
State detection module returns to IPSAN address lists.
Client-cache IPSAN address lists are monitored, and specify the IPSAN that need to be detected.
State detection module obtains the IPSAN information that need to be detected from configuration file, starts to detect.Pass through execution ISCSI states are inquired about in iscsiadm orders, are analyzed according to iSCSI session results, by matching Target and Current Portal, obtain the session currently connected.In iSCSI sessions, if Target IP SAN sessions are found, to the knot inquired Fruit continues to analyze, and obtains the value of iSCSI Session state fields, the state of IPSAN sessions is judged according to this value, such as Fruit state is LOGGED_IN, then session is normal, otherwise reports that session disconnects.If not finding Target IP SAN sessions, report Session is not logged in.If iscsiadm orders are not present ,-bash can be returned:iscsiadm:Command not found, report It can not detect, stop the startup of detection program.
State detection module generation when anomalous variation occurs for IPSAN connection status includes IPSAN IP address, IPSAN Abnormality report reporting including current state, MSS IP address, current time is to client, and by the abnormality report Accuse and give abnormal restoring module.
The abnormality report that abnormal restoring module reception state detection module is sent, is saved in abnormality queue;From Abnormality is read in abnormal state list, performs recovery operation, MSS services is first shut off, then logs in IPSAN, carry mesh Record, restart MSS services.
The abnormality report that client reception state detection module is sent is monitored, updates the IPSAN on client end interface Status displaying information, and preserve state change journal.
Embodiment described above only expresses embodiments of the present invention, and its description is more specific and detailed, but can not Therefore it is interpreted as the limitation to the scope of the claims of the present invention.It should be pointed out that for the person of ordinary skill of the art, Without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to the protection model of the present invention Enclose.Therefore, the protection domain of patent of the present invention should be determined by the appended claims.

Claims (7)

1. a kind of IPSAN monitoring abnormal states and recovery system, it is characterised in that:Including detection service end and client is monitored, The detection service end includes state detection module and abnormal restoring module,
1) state detection module, the IPSAN information for needing to detect from configuration file reading, periodic detection IPSAN states, when Abnormality report is generated when IPSAN occurs abnormal, abnormality report is sent respectively to abnormal restoring module and monitoring visitor Family end;
2) abnormal restoring module, the abnormality report that the state detection module is sent is received, performs recovery operation;
3) client is monitored, the abnormality report that reception state detection module is sent, shows that IPSAN is real-time in client end interface State, and preserve state change journal.
2. a kind of IPSAN monitoring abnormal states according to claim 1 and recovery system, it is characterised in that:The state Detection module periodic detection IPSAN states, abnormality report is generated when IPSAN occurs abnormal, specifically includes following steps:
A) iSCSI session status, is obtained by iscsiadm orders;
B), can judgement from iSCSI session status, extract the IPSAN specified session status;
If can, the result extracted is continued to analyze, judges whether IPSAN session status is normal, meeting is generated if abnormal Talk about the report disconnected;
If can not, the report that generation session is not logged in.
3. a kind of IPSAN monitoring abnormal states according to claim 1 and recovery system, it is characterised in that:The exception Recovery module performs recovery operation, specifically includes following steps:
I), close MSS service;
II), log in IPSAN, mount directory;
III), restart MSS service.
4. a kind of IPSAN monitoring abnormal states according to claim 1 and recovery system, it is characterised in that:In the shape Before state detection module reads the IPSAN information for needing to detect from configuration file, in addition to:Monitor client from configuration file IP address and the port at the detection service end for needing to connect are read, establishes and connects with detection service end.
5. a kind of IPSAN monitoring abnormal states according to claim 4 and recovery system, it is characterised in that:The monitoring After client establishes connection with detection service end, monitoring client sends IPSAN address list inquiry requests, the state-detection Module returns to IPSAN address lists, the monitoring client-cache IPSAN address lists.
6. a kind of IPSAN monitoring abnormal states according to claim 1 and recovery system, it is characterised in that:The exception State report is to utilize iSCSI session status, analyzes the anomalous variation of IPSAN connection status in specified time and generates.
7. a kind of IPSAN monitoring abnormal states according to claim 1 and recovery system, it is characterised in that:Described in one Monitor that client can carry out network connection with multiple detection service ends simultaneously.
CN201710668491.0A 2017-08-08 2017-08-08 A kind of IPSAN monitoring abnormal states and recovery system Pending CN107463458A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710668491.0A CN107463458A (en) 2017-08-08 2017-08-08 A kind of IPSAN monitoring abnormal states and recovery system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710668491.0A CN107463458A (en) 2017-08-08 2017-08-08 A kind of IPSAN monitoring abnormal states and recovery system

Publications (1)

Publication Number Publication Date
CN107463458A true CN107463458A (en) 2017-12-12

Family

ID=60547372

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710668491.0A Pending CN107463458A (en) 2017-08-08 2017-08-08 A kind of IPSAN monitoring abnormal states and recovery system

Country Status (1)

Country Link
CN (1) CN107463458A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109299182A (en) * 2018-11-13 2019-02-01 郑州云海信息技术有限公司 The management method and device of the session connection of database

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1945537A (en) * 2006-07-27 2007-04-11 清华大学 Method for realizing high speed solid storage device based on storage region network
CN101162974A (en) * 2007-11-21 2008-04-16 杭州华三通信技术有限公司 Multicast video storing method, system and equipment
CN104660616A (en) * 2015-03-18 2015-05-27 上海斐讯数据通信技术有限公司 Conversation remaining server side and conversation processing method thereof
CN105516640A (en) * 2015-12-15 2016-04-20 Tcl集团股份有限公司 Method and system for detecting abnormality of video communication conversation

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1945537A (en) * 2006-07-27 2007-04-11 清华大学 Method for realizing high speed solid storage device based on storage region network
CN101162974A (en) * 2007-11-21 2008-04-16 杭州华三通信技术有限公司 Multicast video storing method, system and equipment
CN104660616A (en) * 2015-03-18 2015-05-27 上海斐讯数据通信技术有限公司 Conversation remaining server side and conversation processing method thereof
CN105516640A (en) * 2015-12-15 2016-04-20 Tcl集团股份有限公司 Method and system for detecting abnormality of video communication conversation

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109299182A (en) * 2018-11-13 2019-02-01 郑州云海信息技术有限公司 The management method and device of the session connection of database

Similar Documents

Publication Publication Date Title
US20140068040A1 (en) System for Enabling Server Maintenance Using Snapshots
CN102355368B (en) Fault processing method of network equipment and system
CN110716842B (en) Cluster fault detection method and device
CN104219091A (en) System and method for network operation fault detection
CN103810076B (en) The monitoring method and device of data duplication
CN102333206B (en) Monitoring storage system and method for improving reliability of monitoring storage
CN111371623B (en) Service performance and safety monitoring method and device, storage medium and electronic equipment
CN111314115A (en) Alarm method, device and equipment based on IDL log and readable medium
CN108989134B (en) SDN-based virtualized network data plane configuration recovery system and method
CN113872795A (en) Intelligent monitoring analysis and fault processing system and method for distributed server
CN109240891A (en) A kind of monitoring method and device of SR whole machine cabinet server
CN104052634A (en) Information security monitoring system and method
CN108880885B (en) Message processing method and device
CN108199901B (en) Hardware repair reporting method, system, device, hardware management server and storage medium
CN105224441A (en) Virtual machine information harvester, method and virtual machine information maintaining method and system
CN106911510B (en) Usability monitoring system and method for network access system
US10721135B1 (en) Edge computing system for monitoring and maintaining data center operations
CN104734895B (en) Service monitoring system and business monitoring method
CN105490847B (en) A kind of private cloud storage system interior joint failure real-time detection and processing method
CN111083176B (en) Cloud self-adaptive online method and device for monitoring camera
CN107463458A (en) A kind of IPSAN monitoring abnormal states and recovery system
CN113890903A (en) Alarm information management system and method
CN106897189A (en) A kind of daily record monitoring system based on data real time propelling movement
CN111193801A (en) National standard 28181 platform distributed cluster realization system based on JAIN-SIP
CN113778709B (en) Interface calling method, device, server and storage medium

Legal Events

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

Application publication date: 20171212

RJ01 Rejection of invention patent application after publication