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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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.
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com