CN104615509B - System for improving running reliability of portal website - Google Patents

System for improving running reliability of portal website Download PDF

Info

Publication number
CN104615509B
CN104615509B CN201510065456.0A CN201510065456A CN104615509B CN 104615509 B CN104615509 B CN 104615509B CN 201510065456 A CN201510065456 A CN 201510065456A CN 104615509 B CN104615509 B CN 104615509B
Authority
CN
China
Prior art keywords
module
server
auxiliary
main
real time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510065456.0A
Other languages
Chinese (zh)
Other versions
CN104615509A (en
Inventor
娄征
高莉莎
韦磊
陈璐
张韬
黄海鸣
朱沪宁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jiangsu Dongze Software Science & Technology Co Ltd
State Grid Corp of China SGCC
State Grid Jiangsu Electric Power Co Ltd
Nanjing Power Supply Co of Jiangsu Electric Power Co
Original Assignee
Jiangsu Dongze Software Science & Technology Co Ltd
State Grid Corp of China SGCC
State Grid Jiangsu Electric Power Co Ltd
Nanjing Power Supply Co of Jiangsu Electric Power Co
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 Jiangsu Dongze Software Science & Technology Co Ltd, State Grid Corp of China SGCC, State Grid Jiangsu Electric Power Co Ltd, Nanjing Power Supply Co of Jiangsu Electric Power Co filed Critical Jiangsu Dongze Software Science & Technology Co Ltd
Priority to CN201510065456.0A priority Critical patent/CN104615509B/en
Publication of CN104615509A publication Critical patent/CN104615509A/en
Application granted granted Critical
Publication of CN104615509B publication Critical patent/CN104615509B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention provides a system for improving running reliability of a portal website. The system comprises a main server and an auxiliary server, the main server comprises a main monitoring module, a main storage module, an alarm module and a main communication module, the auxiliary server comprises an auxiliary monitoring module, an auxiliary storage module and an auxiliary communication module, the main monitoring module is used for monitoring the working state of the main server in real time, the main storage module is used for uploading data contents of the main server to an outer disk array in real time, the alarm module is used for sending alarm signals, the main communication module is in communication with the auxiliary communication module, the auxiliary monitoring module is used for continuously monitoring the working state of the auxiliary server in real time, and the auxiliary storage module is used for carrying out interaction with data stored by the outer disk array in real time. The system can monitor the working state of the servers in real time, when the main server is abnormal, the main server is switched into the auxiliary server in real time, the running stability of the portal website is effectively improved.

Description

A kind of system for improving portal website's operational reliability
Technical field
The present invention relates to a kind of website runtime, especially a kind of for improve portal website's operational reliability it is System.
Background technology
Portal website as the great principles and policies of the company of implementing, issue company highlight, publicity advanced personage's deed Carrier it is desirable to its offer is round-the-clock, high-performance, the quick service processing, have very strong ageing.And the website of current company Server is limited due to stand-alone environment, there is the weakness such as peak period response is relatively slow, service is unstable, to website orientation content and Service is provided all to bring inconvenience.For lifting corporate image, improve office efficiency, accelerate informatization enterprise and build process, have The necessary high reliability framework implementing portal website is flat for the development offer more high-quality of company's routine work to ensure this carrier Platform.
Portal website adopts apache2.0 as html server, and user passes through this server software, is able to access that website Static information;Jcms system is the portal management information system using j2ee framework, and this system deployment is in bea On weblogic8.2 middleware server, the information that user edits in portal management information system, manually or automatically generate Static page is on system disk;Jcms site information management system adopts db2 as the database software system of this system.
Content of the invention
The technical problem to be solved in the present invention is that existing portal website is limited due to stand-alone environment, there is peak period response Problem relatively slow, that service is unstable.
In order to solve above-mentioned technical problem, the invention provides a kind of for improve portal website's operational reliability be System, the secondary server be connected including master server and with master server twisted-pair feeder, master server includes main monitoring modular, master Memory module, alarm module and principal communication module;Secondary server includes auxiliary monitoring module, auxiliary storage module and auxiliary Help communication module;Main monitoring modular is used for monitoring the working condition of master server in real time, if returning error message or occurring ringing Answer time delay to exceed the delay threshold of setting, be then judged as that abnormal conditions occur, disable the external network connection of master server at once Port, and send alarm signal to alarm module, send to principal communication module simultaneously and start order;Main memory module is used in real time The data content of master server is uploaded to external disk array by ground;Alarm module generates after receiving alarm signal accordingly Prompting message, and it is sent to management personnel in the form of mail or network and short message;Principal communication module is after receiving startup order Immediately subsidiary communications module is sent to by starting order by twisted-pair feeder;Subsidiary communications module is receiving after startup is ordered at once Triggering auxiliary monitoring module is started working, and enables the external network connection port of secondary server;Auxiliary monitoring module continues Monitor the working condition of secondary server in real time;Auxiliary storage module is used for the data with external disk array stores in real time Interact.
Using the working condition of main monitoring modular real-time monitoring master server, and when abnormal occurring in server, by leading Communication module notifies secondary server to start working it is ensured that the uninterrupted reliability service of portal website;Using main memory module and auxiliary Memory module is helped to be capable of the two-node cluster hot backup of master server and secondary server it is ensured that portal website is after switching server Can normally run;Management personnel can be notified in time to be safeguarded when master server abnormal using alarm module.
As the further limits scheme of the present invention, the working condition of master server and secondary server all includes apache Working condition, jcms working state of system and db2 data base's running status, jcms system is the website pipe using j2ee framework Reason information system.It is monitored using the performance to server can be met to the monitoring of these three states, find door in time The abnormal conditions that website is run.
As the further limits scheme of the present invention, delay threshold is 8 ~ 10 seconds.Using the times of 8 ~ 10 seconds as time delay Threshold value can effectively prevent abnormal erroneous judgement, also will not delay long server switching time.
The beneficial effects of the present invention is: (1) adopts the working condition of main monitoring modular real-time monitoring master server, and When server abnormal, secondary server is notified to start working it is ensured that portal website is uninterruptedly reliable by principal communication module Run;(2) it is capable of the two-node cluster hot backup of master server and secondary server using main memory module and auxiliary storage module, Ensure that portal website can normally run after switching server;(3) alarm module is adopted can to occur in master server abnormal When notify management personnel to be safeguarded in time.
Brief description
Fig. 1 is the system structure diagram of the present invention.
Specific embodiment
As shown in figure 1, the system for improving portal website's operational reliability of the present invention, including master server and with The secondary server that master server twisted-pair feeder is connected, wherein, master server includes main monitoring modular, main memory module, warning mould Block and principal communication module;Secondary server includes auxiliary monitoring module, auxiliary storage module and subsidiary communications module.
Main monitoring modular is used for monitoring the working condition of master server in real time, if returning error message or response and prolong When exceed the delay threshold of setting, then be judged as occurring abnormal conditions, disable the external network connection port of master server at once, And send alarm signal to alarm module, send to principal communication module simultaneously and start order;Main memory module is used in real time to The data content of master server is uploaded to external disk array;Alarm module generates corresponding prompting after receiving alarm signal Information, and it is sent to management personnel in the form of mail or network and short message;Principal communication module is receiving after startup is ordered immediately Subsidiary communications module is sent to by starting order by twisted-pair feeder;Subsidiary communications module triggers after receiving startup order at once Auxiliary monitoring module is started working, and enables the external network connection port of secondary server;Auxiliary monitoring module continues in real time The working condition of ground monitoring secondary server;Auxiliary storage module is used for carrying out with the data of external disk array stores in real time Interaction;The working condition of master server and secondary server all include apache working condition, jcms working state of system and Db2 data base's running status, jcms system is the portal management information system using j2ee framework;Delay threshold is 8 ~ 10 seconds.
Main monitoring modular and auxiliary monitoring module are all to detect apache working condition, jcms system by three thread synchronization System working condition and db2 data base's running status, concrete monitoring process is:
(1) detect apache working condition
Apache server loads test page info.php, c++ program, is conducted interviews by http agreement, such as Fruit returns error message or return is delayed over 10 seconds, that is, judge that this apache server occurs abnormal, and by principal communication mould Block notifies subsidiary communications module to start secondary server, if not returning error message and postponing to be less than 8 seconds, judges apache Exception in server.
(2) detect jcms working state of system
Load test page info.java, c++ program passes through, conducted interviews jcms system by http agreement Tomcat server, if return error message or return are delayed over 10 seconds, that is, judges that this jcms system occurs abnormal, and Subsidiary communications module is notified to start secondary server by principal communication module, if not returning error message and postponing to be less than 8 seconds, Judge that exception in jcms system.
(3) detect db2 data base's running status
Whether inquiry db2 normally runs, and the db2 title in process is made a look up, and checks whether db2 runs normal;
Whether inquiry db2 deadlock, and data base is run with inquiry sql, if return error message or return postpone More than 10 seconds, that is, judge that deadlock in db2, and notify subsidiary communications module to start secondary server by principal communication module, if Do not return error message and postpone to be less than 8 seconds, then judge that deadlock in non-db2.
As described above, being described in detail to embodiments of the invention, but as long as essentially without depart from this Bright inventive point and effect can have a lot of deformation, and this will be readily apparent to persons skilled in the art.Therefore, this The variation of sample is also integrally incorporated within protection scope of the present invention.

Claims (1)

1. a kind of system for improving portal website's operational reliability it is characterised in that: include master server and with main clothes Business device twisted-pair feeder be connected secondary server, described master server include main monitoring modular, main memory module, alarm module and Principal communication module;Described secondary server includes auxiliary monitoring module, auxiliary storage module and subsidiary communications module;Described master Monitoring modular is used for monitoring the working condition of master server in real time, if return error message or appearance response time delay exceed setting Delay threshold, then be judged as occurring abnormal conditions, disable the external network connection port of master server at once, and to warning mould Block sends alarm signal, sends to principal communication module simultaneously and starts order;Described main memory module is used in real time by main service The data content of device is uploaded to external disk array;Described alarm module generates corresponding prompting after receiving alarm signal to be believed Breath, and it is sent to management personnel in the form of mail or network and short message;Described principal communication module is vertical after receiving startup order Subsidiary communications module is sent to by starting order by twisted-pair feeder;Described subsidiary communications module is vertical after receiving startup order Carve triggering auxiliary monitoring module to start working, and enable the external network connection port of secondary server;Described auxiliary monitoring mould Block continues to monitor the working condition of secondary server in real time;Described auxiliary storage module be used in real time with external disk array The data of storage interacts;
The working condition of described master server and secondary server all include apache working condition, jcms working state of system with And db2 data base's running status, jcms system is the portal management information system using j2ee framework;
Described delay threshold is 8 ~ 10 seconds.
CN201510065456.0A 2015-02-06 2015-02-06 System for improving running reliability of portal website Active CN104615509B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510065456.0A CN104615509B (en) 2015-02-06 2015-02-06 System for improving running reliability of portal website

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510065456.0A CN104615509B (en) 2015-02-06 2015-02-06 System for improving running reliability of portal website

Publications (2)

Publication Number Publication Date
CN104615509A CN104615509A (en) 2015-05-13
CN104615509B true CN104615509B (en) 2017-02-01

Family

ID=53149966

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510065456.0A Active CN104615509B (en) 2015-02-06 2015-02-06 System for improving running reliability of portal website

Country Status (1)

Country Link
CN (1) CN104615509B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109591817A (en) * 2017-09-30 2019-04-09 上海欧菲智能车联科技有限公司 The test device and test method of Lane Departure Warning System
CN108833155A (en) * 2018-03-19 2018-11-16 山东超越数控电子股份有限公司 A kind of two-node cluster hot backup storage system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6839788B2 (en) * 2001-09-28 2005-01-04 Dot Hill Systems Corp. Bus zoning in a channel independent storage controller architecture
CN101119187B (en) * 2007-09-06 2010-05-19 上海可鲁系统软件有限公司 Master-salve equipment switch control method
CN101262479B (en) * 2008-04-25 2012-03-21 成都市华为赛门铁克科技有限公司 A network file share method, server and network file share system

Also Published As

Publication number Publication date
CN104615509A (en) 2015-05-13

Similar Documents

Publication Publication Date Title
CN110224858B (en) Log-based alarm method and related device
CN104408071A (en) Distributive database high-availability method and system based on cluster manager
CN105656590A (en) Time synchronization method, device and system
WO2016183967A1 (en) Failure alarm method and apparatus for key component, and big data management system
US20140281646A1 (en) Power management method for server system
CN103036719A (en) Cross-regional service disaster method and device based on main cluster servers
CN104506357A (en) High-usability cluster node management method
CN103559570A (en) Fault recording master station information management system
CN103024326A (en) Video backup method and system based on security and protection home gateway
CN103607314A (en) System for monitoring and managing server by using SNMP (Simple Network Management Protocol)
CN104615509B (en) System for improving running reliability of portal website
CN111694707A (en) Small server cluster management system and method
CN105634814A (en) Method for monitoring server asset information change
CN112162899A (en) Big data cluster service based monitoring method and system
CN108833451B (en) Domestic safety control platform-based multistage control system and control method
CN113468023A (en) Monitoring method, monitoring device, monitoring medium and electronic equipment
CN107993408A (en) Based on pressure sensing robot of the community guardian system of closestool
Koch An Internet of Things approach to electrical power monitoring and outage reporting
CN102291273A (en) IOT (the Internet of things) voltage current polling system for
CN103457771B (en) The management method of the cluster virtual machine of a kind of HA and equipment
CN105227394A (en) A kind of fault detect of the DB2 database based on x86 platform and changing method
CN202583765U (en) Equipment room power failure automatic response system
CN111461678B (en) Public security case-related property management and collection platform
CN112260398B (en) Power grid monitoring system supporting dynamic expansion
US20120230207A1 (en) Early detection of loss of continuity in a maintenance association

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant