Role configuration method of distributed system and role configuration device

A technology of distributed system and configuration method, applied in transmission systems, digital transmission systems, electrical components, etc., can solve the problems of difficult role adjustment, large number of templates, single variability, etc., to achieve the effect of convenient operation and simple configuration

Active Publication Date: 2017-03-22
GUANGZHOU SHIYUAN ELECTRONICS CO LTD
View PDF3 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The existing technology mainly adopts the following methods: one is to use a unified template for deployment, that is, to implement the deployment of distributed systems through a common installation method or system image, and the configuration cost of each generated node is the same , it needs to be manually set again before it can run normally; the problem is that the variability is single, and the template making process is time-consuming and laborious, which requires professional personnel to complete, and the flexibility is insufficient
The other is to configure different templates for different roles, which will make the number of templates abnormally large, making it difficult to deploy and adjust roles

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
  • Role configuration method of distributed system and role configuration device
  • Role configuration method of distributed system and role configuration device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0043] see figure 1 , the embodiment of the present invention provides a distributed system role configuration method, which can be executed by a distributed system role configuration device (hereinafter referred to as the role configuration device), and includes the following steps:

[0044] S101. Automatically configure the IP address of each node in the cluster.

[0045] In the embodiment of the present invention, while configuring the IP address of each n...

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 discloses a role configuration method of a distributed system. The method comprises steps that an IP address of each node of a cluster is configured; roles of each node of the cluster is set according to a preset cluster configuration file; each node comprises at least one role; a role mounting file corresponding to the roles of each node is generated; according to the IP address of the node, the role mounting files are sent to the corresponding nodes so that the nodes can mount the roles according to the received role mounting files. The invention further provides a role configuration device of the distributed system, and thereby the roles of each node in the cluster of the distributed system can be automatically and conveniently mounted and deployed.

Description

technical field [0001] The invention relates to the field of distributed systems, in particular to a role configuration method and device for a distributed system. Background technique [0002] A distributed system is a software system built on a network. Through the distributed system, a job can be divided into multiple tasks, and multiple tasks can be processed simultaneously on different computer nodes, so as to complete the job quickly and safely. [0003] When building a distributed system, the roles of each node (computer) in the distributed system need to be deployed, for example, for distributed hadoop, it includes hadoop-master roles and hadoop-slaver roles. The existing technology mainly adopts the following methods: one is to use a unified template for deployment, that is, to implement the deployment of distributed systems through a common installation method or system image, and the configuration cost of each generated node is the same , it needs to be manually...

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/24
CPCH04L41/0843H04L41/0886
Inventor 陈振安
Owner GUANGZHOU SHIYUAN ELECTRONICS CO LTD
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