CN100461802C - Monitoring method for double machine application system based on surrogate process - Google Patents

Monitoring method for double machine application system based on surrogate process Download PDF

Info

Publication number
CN100461802C
CN100461802C CNB2004100647003A CN200410064700A CN100461802C CN 100461802 C CN100461802 C CN 100461802C CN B2004100647003 A CNB2004100647003 A CN B2004100647003A CN 200410064700 A CN200410064700 A CN 200410064700A CN 100461802 C CN100461802 C CN 100461802C
Authority
CN
China
Prior art keywords
shipper
agent process
application
dual systems
group
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
CNB2004100647003A
Other languages
Chinese (zh)
Other versions
CN1750566A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CNB2004100647003A priority Critical patent/CN100461802C/en
Publication of CN1750566A publication Critical patent/CN1750566A/en
Application granted granted Critical
Publication of CN100461802C publication Critical patent/CN100461802C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

Proxy process based monitor method for double machine applied system, which contains setting double machine proxy process between double machine applied system and process group, which is used as the resource of double machine system for managing applied process group, configuring monitoring rule and real time monitoring applied process group, realizing the information interaction, insuring the safety exit of process group, effectively raising applied system reliability and safety.

Description

Method for supervising based on the two-shipper application system of agent process
Technical field
The present invention relates to the method for supervising of two-shipper application system, relate in particular to a kind of method for supervising of the two-shipper application system based on agent process.
Background technology
At the background server end of telecommunication system, generally all adopt dual systems, can in time recover to guarantee application system business under abnormal conditions.The method of traditional dual systems management application process group generally is that all application processes are set at the two-shipper resource respectively, and application process resource group of these resources compositions, in actual moving process, dual systems is monitored the ruuning situation of this resource group in real time, decision rule according to dual systems, take place under unusual (withdraw from number of times as process resource and surpass set point) and the expendable situation in the resource group, dual systems is initiated the two-shipper switching, start (online) application process resource group promptly in host computer side unloading (offline) application process resource group, and in the standby host side.
There is bigger limitation in traditional dual systems management application process method: at first dual systems is judged the operation conditions of application process resource group, if appearring in several applications process repeatedly, some are thought unusual phenomenon (normally withdrawing from) as application process by dual systems, dual systems will be initiated the two-shipper switching, thereby influence the operation of all application processes in the whole resource group; Secondly when two-shipper switched, dual systems was not generally notified application process resource group, and the application process of normal operation will be killed by force, can't do the on-site cleanup work before withdrawing from, and caused systemic breakdown and business information to lose; At last, it all is to be initiated by dual systems that two-shipper switches, and under some special situations, application process resource group can't initiatively require to carry out two-shipper and switch.
Summary of the invention
The technical problem to be solved in the present invention is to provide a kind of method for supervising of the two-shipper application system based on agent process, with reliability and the fail safe that has improved application system.
Be to realize the technical problem to be solved in the present invention, the method for supervising that the invention provides a kind of two-shipper application system based on the two-shipper agent process comprises:
By between dual systems and application process group, the two-shipper agent process being set, with its resource as dual systems, and by its management application process group, the monitoring rule of customization application processes group, the operation of application processes group is monitored in real time;
By between dual systems and two-shipper agent process, the shared drive district being set, being used for dual systems monitoring, notice two-shipper agent process and the application system execution thereof of two-shipper agent process are withdrawed from safely.
The present invention can improve the flexibility and the validity of application processes group monitoring according to actual conditions customization rationally about the rule of application process group, avoids the operation that influences whole application system unusually of several applications process; Realize the information interaction of dual systems and two-shipper agent process, improved the initiative of application system, guaranteed that the safety of application process group withdraws from, improved the reliability and the fail safe of application system effectively.
Description of drawings
Graph of a relation between Fig. 1 dual systems, two-shipper agent process and the application process group;
Mutual control structure figure between Fig. 2 dual systems and the agent process;
The flow chart of Fig. 3 two-shipper agent process monitoring application process group;
The flow chart of Fig. 4 two-shipper agent process keep-alive operation;
The flow chart of Fig. 5 dual systems monitoring two-shipper agent process resource;
The flow chart of notice two-shipper agent process when unloading of Fig. 6 dual systems or switchable resource;
Fig. 7 two-shipper agent process is accepted the flow chart of two-shipper switching notice.
Embodiment
Below in conjunction with accompanying drawing, substantially be described in further detail according to the enforcement of the order of accompanying drawing to technical scheme:
Fig. 1 has introduced the relation between dual systems, two-shipper agent process and the application process group.The two-shipper agent process is in the middle of dual systems and the set of applications, has taken on the role in intermediate layer, and the two-shipper agent software is defined as a resource of dual systems, according to the interface that dual systems provides, is responsible for the keep-alive operation of two-shipper resource; Two-shipper agent software management application process group, the monitoring rule of customized application process group, be responsible for application process startup, stop to move and the two-shipper of resource switches.
Fig. 2 has introduced mutual control structure between dual systems and the two-shipper agent process.This structure leaves in the famous shared drive, is operated simultaneously by dual systems and two-shipper agent process, and 2 fields are respectively the keep-alive mark of two-shipper agent process and the OPT-OUT NOTICE mark of dual systems.Two-shipper agent process timing t 1 second is revised keep-alive tag field in the shared drive, such as the keep-alive tag field being added 1 (following all regularly add 1 with the keep-alive tag field be example), zero clearing during greater than maximum; The dual systems monitoring process reads keep-alive mark initial value when starting, circulation time-delay t2 reads this value second, compares with initial value in second at n*t2.Mark is withdrawed from set when dual systems switching or unloading resource, with notice two-shipper agent process.
Fig. 3 has introduced the monitoring strategies of a kind of two-shipper agent process about the application process group.Two-shipper agent process t regularly triggers second, at first with process counting and anomalous counts zero clearing, checks all runnings state of a process of application process group one by one.If current process i operation is normal, check next process; If process i withdraws from, the two-shipper agent process is restarted process i, and anomalous counts adds 1, if the two-shipper agent process judges that anomalous counts is greater than the maximum of setting, on-site cleanup work before all application process groups of two-shipper agent process message informing are done and withdrawed from, in this process, two-shipper agent process timing t was checked the state of all application processes in 3 seconds, if confirming all application processes withdraws from, then the two-shipper agent process calls the two-shipper interface and initiates the two-shipper switching, switches otherwise initiate two-shipper up to overtime back two-shipper agent process.
Above-mentioned situation has been described a kind of monitoring strategies commonly used, can customize and optimizes according to actual conditions when reality is used.
Fig. 4 has introduced the situation of two-shipper agent process keep-alive operation.Two-shipper agent process timing t read the keep-alive marker word segment value of shared drive in 1 second, when this field value composes zero during greater than maximum, otherwise keep-alive marker word segment value was added 1.
Fig. 5 has introduced the flow process of dual systems monitoring two-shipper agent process resource.Resource distribution according to the two-shipper agent process; dual systems starts a monitoring process (as the MonitorProgram process of Veritas two-shipper, the Agent process of Rose HA); the ruuning situation of regular check two-shipper agent process resource; at first monitoring process reads shared drive keep-alive tag field and notes initial value; circulation time-delay t2 reads this value second, compares with initial value.If in second, the keep-alive mark value is inconsistent with the record initial value at n*t2, monitoring process is normal to dual systems report two-shipper agent process resource; N*t2 in second the keep-alive mark do not change all the time, monitoring process report two-shipper agent process resource exception, whether dual systems initiates two-shipper according to the collocation strategy decision of two-shipper agent process resource switches or restarts the two-shipper agent process.
The operational circumstances of notice two-shipper agent process when Fig. 6 has introduced dual systems unloading or switchable resource.When dual systems was carried out unloading (offline) or switch (failover) two-shipper agent process resource, dual systems withdrawed from tag field and resource is set withdraws from mark in the shared drive district.
Fig. 7 has introduced the realization flow that the two-shipper agent process is accepted the two-shipper switching notice.When dual systems is carried out unloading (offline) or switch (failover) two-shipper agent process resource, dual systems set shared drive withdraw from mark, require the two-shipper agent process to withdraw from.Two-shipper agent process timing scan shared drive withdraws from the marker word segment value, as finds that this mark is set, sends out all processes of message informing application process group, and application process is done process and withdrawed from preceding on-site cleanup work.In this process, two-shipper agent process timing t was checked the running status of all application processes in 3 seconds, withdrawed from if confirm all application processes, and then the two-shipper agent process withdraws from immediately, otherwise up to overtime, the two-shipper agent process just logs off.

Claims (7)

1. method for supervising based on the two-shipper application system of two-shipper agent process, it is characterized in that: by between dual systems and application process group, the two-shipper agent process being set, with its resource as dual systems, and by its management application process group, the monitoring rule of customization application processes group, the operation of application processes group is monitored in real time;
By between dual systems and two-shipper agent process, the shared drive district being set, being used for dual systems monitoring, notice two-shipper agent process and the application system execution thereof of two-shipper agent process are withdrawed from safely.
2. according to the described method for supervising of claim 1, it is characterized in that: the real-time monitoring of wherein said two-shipper agent process application processes group is included in dual systems unloading resource or carries out when switching, and is responsible for notice application process group.
3. according to the described method for supervising of claim 2, it is characterized in that: the real-time monitoring of wherein said two-shipper agent process application processes group is included in the dual systems running, in conjunction with the overall operation situation of application process group, judge that initiatively initiating two-shipper under abnormal conditions switches.
4. according to the described method for supervising of claim 3, it is characterized in that: wherein said abnormal conditions comprise that the application process group withdraws from number of times unusually and surpasses set point.
5. according to the described method for supervising of claim 3, it is characterized in that: the wherein said two-shipper of initiatively initiating switches and to comprise that the two-shipper agent process sends out all application process groups of message informing and do on-site cleanup work before withdrawing from, in this process, the two-shipper agent process is regularly checked the state of all application processes, if confirming all application processes withdraws from, then the two-shipper agent process calls the two-shipper interface and initiates the two-shipper switching, switches otherwise initiate two-shipper up to overtime back two-shipper agent process.
6. according to the described method for supervising of claim 1, it is characterized in that described dual systems may further comprise the steps the monitoring of two-shipper agent process:
(1) the two-shipper agent process is regularly revised the keep-alive mark in shared drive district, to show the existing state of application process;
(2) dual systems regularly starts a monitoring process; this process checks that in the time of setting keep-alive marks whether to change; check result is fed back to dual systems, and dual systems determines whether initiating the two-shipper switching or restarts the two-shipper agent process according to the collocation strategy of feedback result and two-shipper agent process resource.
7. according to the described method for supervising of claim 6, it is characterized in that: further be included in when the keep-alive mark changes in the setting-up time, this monitoring process is normal to dual systems report two-shipper agent process resource; When the keep-alive mark does not change in setting-up time, report two-shipper agent process resource exception.
CNB2004100647003A 2004-09-16 2004-09-16 Monitoring method for double machine application system based on surrogate process Active CN100461802C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2004100647003A CN100461802C (en) 2004-09-16 2004-09-16 Monitoring method for double machine application system based on surrogate process

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2004100647003A CN100461802C (en) 2004-09-16 2004-09-16 Monitoring method for double machine application system based on surrogate process

Publications (2)

Publication Number Publication Date
CN1750566A CN1750566A (en) 2006-03-22
CN100461802C true CN100461802C (en) 2009-02-11

Family

ID=36605819

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2004100647003A Active CN100461802C (en) 2004-09-16 2004-09-16 Monitoring method for double machine application system based on surrogate process

Country Status (1)

Country Link
CN (1) CN100461802C (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101071388B (en) * 2006-05-12 2010-05-12 联想(北京)有限公司 Process-isolation control system and method
US8701125B2 (en) * 2011-09-06 2014-04-15 The Nielsen Company (Us), Llc Methods and apparatus to detect uninstallation of an on-device meter
CN108563515B (en) * 2018-03-14 2021-08-27 中国银联股份有限公司 Business process management method and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1366242A (en) * 2001-01-19 2002-08-28 华为技术有限公司 Method for implementing dual-system standby
CN1476178A (en) * 2003-07-08 2004-02-18 大唐移动通信设备有限公司 Device and method for realizing high availability in communication system
US20040111414A1 (en) * 2002-12-06 2004-06-10 International Business Machines Corporation System and method for selective execution of statements with surrogate authority

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1366242A (en) * 2001-01-19 2002-08-28 华为技术有限公司 Method for implementing dual-system standby
US20040111414A1 (en) * 2002-12-06 2004-06-10 International Business Machines Corporation System and method for selective execution of statements with surrogate authority
CN1476178A (en) * 2003-07-08 2004-02-18 大唐移动通信设备有限公司 Device and method for realizing high availability in communication system

Also Published As

Publication number Publication date
CN1750566A (en) 2006-03-22

Similar Documents

Publication Publication Date Title
US9684574B2 (en) Method and system for implementing remote disaster recovery switching of service delivery platform
EP3472971B1 (en) Technique for resolving a link failure
CN100388218C (en) Method for realizing backup between servers
CN103607297A (en) Fault processing method of computer cluster system
CN104301136A (en) Method and equipment for reporting and processing fault information
CN101876924A (en) Database fault automatic detection and transfer method
CN101262369B (en) Master/slave realization method for dispatching server and dispatching server
CN105141400A (en) High-availability cluster management method and related equipment
CN109525434B (en) Redundancy backup method based on onboard equipment board card
CN100461802C (en) Monitoring method for double machine application system based on surrogate process
CN109768884A (en) The implementation method of communication system and its high availability, device and computer equipment
CN111813348A (en) Node event processing device, method, equipment and medium in unified storage equipment
CN102026042A (en) Keep-alive and self-healing method and device for advanced telecom computing architecture control surface
CN100576805C (en) Object retrieval system and method
EP4206839A1 (en) Method for managing ecu on vehicle, and ecu and readable storage medium
CN100433653C (en) Network pipe abnormal state user interface restoring method
CN111309456B (en) Task execution method and system
JP2007280155A (en) Reliability improving method in dispersion system
CN114968129A (en) Disk array redundancy method, system, computer device and storage medium
CN111309515A (en) Disaster recovery control method, device and system
CN104408059A (en) Fault processing method and device
CN101651580B (en) Method and device for triggering double-machine switching
JP2003345620A (en) Process monitoring method for multi-node cluster system
JP6107159B2 (en) Database system and database system control method
CN112486713B (en) Frozen screen processing method and electronic equipment

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