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

Method and device for batch modification of server configuration information in cluster

A technology for configuring information and servers, applied in digital transmission systems, electrical components, transmission systems, etc., can solve problems such as difficult to meet the requirements of enterprise efficiency, enterprise loss, and low efficiency

Inactive Publication Date: 2017-08-18
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF4 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This modification method is relatively cumbersome to implement, and it can be barely competent when the number of servers is small, but now enterprises often run hundreds or even more servers, and the workload of modifying servers with the above method is huge , which

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 batch modification of server configuration information in cluster
  • Method and device for batch modification of server configuration information in cluster
  • Method and device for batch modification of server configuration information in cluster

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0037] figure 1 It is a flowchart of a method for modifying configuration information of servers in a cluster in batches provided by an embodiment of the present invention. Please refer to figure 1 , the specific steps of the method for modifying server configuration information in the cluster in batches include:

[0038] Step S10: Obtain the modification script written by the user, and send the modification script to the first path on the servers in the cluster.

[0039] Wherein, the modification script includes instructions for modifying configuration information.

[0040] In this step, the purpose of sending the modified script to the servers in the cluster is to run on the servers in the cluster subsequently to achieve corresponding effects. The first path can be specified according to actual needs, and there is no limitation here. The file path can be clearly planned, so that it is convenient to find its specific location when using the modified script. On the other h...

Embodiment 2

[0045] figure 2 It is a flow chart of another method for modifying configuration information of servers in a cluster in batches provided by an embodiment of the present invention. figure 2 In steps S10-S11 and figure 1 Same, no more details here.

[0046] Such as figure 2 As shown, as a preferred implementation, before granting the modified script executable permission, it further includes:

[0047] Step S20: Obtain the relationship script written by the user, and send the relationship script to the second path on the server.

[0048] Wherein, the relationship script records the corresponding relationship between the IP address and the configuration information.

[0049] Correspondingly, the modification script also includes an instruction for obtaining the local IP address and an instruction for matching configuration information corresponding to the IP address in the relationship script according to the local IP address.

[0050] It is understandable that the IP addres...

Embodiment 3

[0055] image 3 It is a flow chart of another method for modifying configuration information of servers in a cluster in batches provided by an embodiment of the present invention. image 3 Steps S10-S11 and steps S20 and figure 2 Same, no more details here.

[0056] Such as image 3 As shown, as a preferred implementation manner, before obtaining the relationship script written by the user and obtaining the modification script written by the user, it further includes:

[0057] Step S30: Generate an rsa public key and an rsa private key, and send the rsa public key and the rsa private key to the server to implement password-free login to the server.

[0058] Due to the mechanism of the RSA algorithm, the data encrypted by the rsa public key can only be decrypted by the corresponding rsa private key. When the device used by the user needs to log in to the server without a password, the device used by the user sends data encrypted by the rsa public key, and the server needs ...

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 method and a device for batch modification of server configuration information in a cluster. The method comprises: obtaining a modification script edited by a user and sending the modification script to a first path in a server in a cluster, wherein the modification script including an instruction of modifying configuration information; and when the modification script is sent to the server, giving the execution authority of the modification script, and running the modification script to modify the configuration information. The method runs the modification script in each server in the cluster to make each server in the cluster modify the configuration information of the server, so that batch modification of the servers of the cluster is achieved, and the tedious work of modifying server by server in the cluster is reduced. Besides, the device for batch modification of server configuration information in a cluster has the above effects too.

Description

technical field [0001] The invention relates to the field of server configuration, in particular to a method and device for modifying server configuration information in a cluster in batches. Background technique [0002] With the advent of the era of big data and cloud computing, information technology is developing rapidly, followed by an exponential increase in the demand for basic IT facilities. Since the server is the most basic IT facility to realize big data and cloud computing, the number of servers is increasing in the process of IT enterprise development, which seems to have brought a huge challenge to the personnel responsible for modifying and managing servers in the enterprise . [0003] The existing method for modifying server configuration information is to manually log in to each server, and modify the configuration information after finding the configuration file. This modification method is relatively cumbersome to implement, and it can be barely competen...

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/24H04L29/08
CPCH04L41/0813H04L41/0876H04L67/10
Inventor 赵俊
Owner ZHENGZHOU YUNHAI INFORMATION TECH CO LTD