Method and system for monitoring node in PaaS cloud platform

A cloud platform and node technology, applied in the field of cloud computing, to achieve the effect of high availability

Active Publication Date: 2013-02-13
BEIJING SOHU NEW MEDIA INFORMATION TECH
View PDF4 Cites 65 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, the purpose of the embodiments of the present invention is to provide a node moni...

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and system for monitoring node in PaaS cloud platform
  • Method and system for monitoring node in PaaS cloud platform
  • Method and system for monitoring node in PaaS cloud platform

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0059] see image 3 , is a flow chart of a method in Embodiment 1 of the present invention. The present invention generally involves three parties, a monitoring module, a Zookeeper cluster, and a monitored node. This embodiment is described from the perspective of a monitoring module. The monitoring module is a module newly added to the PaaS cloud platform after the present invention applies the PaaS cloud platform to the Zookeeper cluster. Its basic functions are briefly introduced above, and are further described in detail below:

[0060] This embodiment provides a node monitoring method of a PaaS cloud platform, and the method is used for a monitoring module of a PaaS cloud, see image 3 As shown, the method includes:

[0061] S301. Monitor the parent node on the Zookeeper cluster, and the monitored node is registered as a child node of the parent node on the Zookeeper cluster. In some embodiments of the present invention, the preferred monitoring of the parent node on t...

Embodiment 2

[0073] This embodiment corresponds to Embodiment 1, and is described from the perspective of a Zookeeper cluster. The present embodiment provides a kind of node monitoring method of PaaS cloud platform, and described method is used for Zookeeper cluster, see Figure 4 As shown, the method includes:

[0074] S401. Accept registration of a newly started monitored node. In some embodiments of the present invention, the accepting the registration of the newly started monitored node may specifically include:

[0075] A registration request of a newly started monitored node is received, and a child node corresponding to the monitored node is created under the parent node, wherein the type of the child node is a temporary node.

[0076] S402. Send a new node registration notification to the monitoring module of the PaaS cloud platform. In some embodiments of the present invention, the notification can be implemented in the form of triggering a callback function.

[0077] S403. Mo...

Embodiment 3

[0080] This embodiment echoes the first and second embodiments, and is described from the perspective of the monitored node. This embodiment provides a node monitoring method of a PaaS cloud platform, and the method is used for the monitored node. Figure 5 As shown, the method includes:

[0081] S501. Registering on the Zookeeper cluster when starting. In some embodiments of the present invention, the registering on the Zookeeper cluster may specifically include: registering as a child node of the parent node on the Zookeeper cluster, wherein the type of the child node is a temporary node.

[0082] S502. Maintain heartbeat information communication with the Zookeeper cluster during normal operation.

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to the technical field of cloud computing, and discloses a method and a system for monitoring nodes in a PaaS (Platform as a Service) cloud platform. The method comprises the following step: father nodes in a Zookeeper cluster are monitored, and the monitored nodes in the Zookeeper cluster are registered as sub-nodes of the father nodes; when the monitored nodes occur anomaly, a node anomaly notification transmitted by the Zookeeper cluster is received; and the monitored nodes which occur anomaly are removed from the PaaS cloud platform according to the node anomaly notification. The method combines the PaaS cloud platform with the Zookeeper cluster to enable the Zookeeper cluster to instantly perceive after node failures occur and notify a monitor module or other service used for monitoring the nodes in real time, so that the notified monitor module and the other service used for monitoring the nodes can remove the failed nodes timely, and accordingly, the timely monitor of the nodes is realized and high usability of the user access is guaranteed.

Description

technical field [0001] The invention relates to the technical field of cloud computing, in particular to a node monitoring method and system of a PaaS cloud platform. Background technique [0002] PaaS, Platform as a Service, is a kind of cloud computing service, or a way of realizing cloud computing. It provides a basic platform, extends on-demand services, and enables customers to customize applications according to their needs. Compared with IaaS (Infrastructure as a Service), PaaS provides higher-level services, not only providing infrastructure and other services, but also providing an application operating environment, a large number of Service services, application deployment, monitoring, and load balancing , automatic scaling and other features, greatly simplify the application development process, save the cost of application resources, reduce the cycle of deployment and online, and can ensure the security, isolation and high availability of applications. [0003]...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): H04L12/26H04L29/08
Inventor 于顺治
Owner BEIJING SOHU NEW MEDIA INFORMATION TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products