Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for automatically configuring large data cluster based on docker container

A docker container and automatic configuration technology, applied in the computer field, can solve problems such as complex logic

Active Publication Date: 2018-12-28
中科曙光国际信息产业有限公司
View PDF6 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Of course, it is also possible to check the startup status of the container. When all the containers are found to be started normally, then run an external program to configure each container separately. Although this saves the user from the trouble of manual configuration, the implementation logic Complicated and requires additional monitoring and configuration programs

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 device for automatically configuring large data cluster based on docker container
  • Method and device for automatically configuring large data cluster based on docker container
  • Method and device for automatically configuring large data cluster based on docker container

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] In order to make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be described clearly and completely in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments It is only a part of the embodiments of the present invention, not all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.

[0027] The invention provides a method for automatically configuring a big data cluster based on a Docker container, such as figure 1 As shown, the method includes:

[0028] S11. Register its host name and IP address in the external domain name system DNS when each Docker container is created.

[0029] S12. Write the Docker containe...

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 method and a device for automatically configuring a large data cluster based on a Docker container. The method comprises: registering a host name and an IP address of the hostname and the IP address into an external domain name system DNS when each Docker container is created; the domain name of Docker container is written into the environment variable of each Docker container by variable injection. Performing a template replacement program using the EntryPoint functionality provided by the Docker container; reading the environment variables of each Docker container for configuration of the big data component. The invention can provide a configuration-free large data cluster for a user, that is, the large data cluster in a container allocated to the user can be used without any subsequent configuration.

Description

Technical field [0001] The present invention relates to the field of computer technology, in particular to a method and device for automatic configuration of a big data cluster based on a Docker container. Background technique [0002] The traditional big data training system is mostly for big data beginners, and the purpose is to popularize the basic knowledge related to big data. If you allocate several physical opportunities for each user, it will cost a lot and the resources will not be fully utilized. Therefore, the mainstream Big data training systems currently provide users with training environments that are often based on multi-tenancy or virtual machines. The multi-tenant method is to open a separate Linux system account for each user in a big data cluster environment, and use the multi-user and multi-task features of the Linux system to meet the simultaneous use requirements of different users. However, this method has poor isolation, and users are prone to data inter...

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): H04L12/24H04L29/08H04L29/12
CPCH04L41/0803H04L67/10H04L61/4511
Inventor 于宏亮宋怀明谢莹莹郭庆蒋丹东
Owner 中科曙光国际信息产业有限公司