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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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 ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


