Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Cluster log storage method and device

A log and cluster technology, applied in the computer field, can solve problems such as inconvenience for operation and maintenance personnel to view logs

Pending Publication Date: 2022-01-14
JUHAOKAN TECH CO LTD +1
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The embodiment of the present application provides a storage method, device and system for a cluster log, which is used to solve the problem in the related art that the method for storing the cluster log makes the log inconvenient for operation and maintenance personnel to view

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
  • Cluster log storage method and device
  • Cluster log storage method and device
  • Cluster log storage method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0052] In order to make the purpose, implementation and advantages of the application clearer, the following will clearly and completely describe the exemplary embodiments of the application in conjunction with the accompanying drawings in the exemplary embodiments of the application. Obviously, the described exemplary embodiments It is only a part of the embodiments of the present application, but not all the embodiments.

[0053] Based on the exemplary embodiments described in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts fall within the protection scope of the appended claims of this application. In addition, although the disclosures in this application are introduced as exemplary one or several examples, it should be understood that each aspect of these disclosures can also independently constitute a complete implementation.

[0054] It should be noted that the brief description of the terms in this...

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 provides a cluster log storage method and device which are used for solving the problems that logs of multiple containers are stored in the same space, cannot be distinguished and are inconvenient to check by operation and maintenance personnel due to a cluster log storage method in the prior art. The method comprises the following steps: receiving a configuration file of a business service and an instance for providing the business service, wherein the configuration file comprises an instance template and a mirror image file of the container, the instance template comprises indication information used for indicating that a control device is used to configure a storage path for at least one container, and a storage space indicated by the storage path belongs to a service node; sending a storage request to the control device, wherein the storage request comprises a target path distributed to at least one container; when it is determined that setting is completed, deploying at least one container in the service node according to the mirror image file; and setting the target path of the first container to the deployment path of the first container in the service node, wherein the first container is any one of the at least one container.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to a method and device for storing cluster logs. Background technique [0002] In a cloud platform cluster environment, such as a K8s-based container cloud cluster, a large number of microservices are deployed. Each microservice can include multiple instances, and multiple instances run on one or more underlying servers. Each instance can consist of multiple containers, each with an independent deployment path. In order to record the running status of the service and facilitate problem analysis in case of failure, the container will generate logs when running the application and store the generated logs. Currently, the log storage method in the cluster is to write the container logs to a storage path different from the container deployment path in the server where the container is deployed. If there are multiple containers deployed on the server, these multiple contain...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/07H04L67/30H04L67/10
CPCG06F11/0787H04L67/30H04L67/10
Inventor 刘云冲矫恒浩王宝云吴连朋
Owner JUHAOKAN TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products