WO2021135279A1 - Asymmetric configuration management method, apparatus and device, and readable storage medium - Google Patents

Asymmetric configuration management method, apparatus and device, and readable storage medium Download PDF

Info

Publication number
WO2021135279A1
WO2021135279A1 PCT/CN2020/110946 CN2020110946W WO2021135279A1 WO 2021135279 A1 WO2021135279 A1 WO 2021135279A1 CN 2020110946 W CN2020110946 W CN 2020110946W WO 2021135279 A1 WO2021135279 A1 WO 2021135279A1
Authority
WO
WIPO (PCT)
Prior art keywords
node
target node
configuration file
configuration
asymmetric
Prior art date
Application number
PCT/CN2020/110946
Other languages
French (fr)
Chinese (zh)
Inventor
邵宁
孟祥瑞
Original Assignee
浪潮电子信息产业股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 浪潮电子信息产业股份有限公司 filed Critical 浪潮电子信息产业股份有限公司
Publication of WO2021135279A1 publication Critical patent/WO2021135279A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0876Aspects of the degree of configuration automation
    • H04L41/0886Fully automatic configuration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0638Clock or time synchronisation among nodes; Internode synchronisation
    • H04J3/0658Clock or time synchronisation among packet nodes
    • H04J3/0661Clock or time synchronisation among packet nodes using timestamps
    • H04J3/0667Bidirectional timestamps, e.g. NTP or PTP for compensation of clock drift and for compensation of propagation delays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0893Assignment of logical groups to network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles

Definitions

  • obtaining all the symmetric configuration files corresponding to the preset nodes stored in the configuration management server includes:
  • the target node receives the symmetric configuration file sent by the configuration management server.
  • the target node Judging whether the target node is the server node according to the server node identity information in the asymmetric configuration information and the identity information of the target node;
  • the present invention converts the symmetric configuration file into the asymmetric configuration file corresponding to the target node according to the asymmetric configuration information and the specific information of the target node, so that the symmetric configuration file stored in the configuration management server can be converted into the asymmetric configuration file.
  • Each preset node can use its corresponding asymmetric configuration file to complete the configuration; and the configuration management server can manage the asymmetric configuration according to the symmetric configuration management mode, which reduces the workload of users, can better realize automation, and improve user experience.
  • the present invention also provides an asymmetrically configured management device, equipment, and computer-readable storage medium, which also have the above-mentioned beneficial effects.
  • Step 101 When configuring the target node, obtain the symmetric configuration file corresponding to all the preset nodes stored in the configuration management server; wherein the symmetric configuration file contains the asymmetric configuration information of all the preset nodes, and the target node is any preset node .
  • the processor can determine the ntp server node IP address in the step-tickers file and the target node Whether the IP addresses are the same; if they are the same, the target node is an ntp server node.
  • Step 302 Replace the IP address of the ntp server node in the step-tickers file with the local clock address of the target node, so that the target node uses the replaced step-tickers file to complete the network clock synchronization function configuration of the ntp server node.
  • the memory may also include both an internal storage unit of a distributed device and an external storage device.
  • the memory can be used not only to store the application software and various data installed in the management device of the asymmetric configuration, such as the code of the program that executes the management method of the asymmetric configuration, etc., but also to temporarily store the output that has been output or will be output. data.

Abstract

An asymmetric configuration management method, apparatus and device, and a computer readable storage medium. Said method comprises: when a target node is configured, acquiring a symmetric configuration file which is stored in a configuration management server and corresponds to all preset nodes, the symmetric configuration file containing asymmetric configuration information of all the preset nodes, and the target node being any one preset node; and according to the asymmetric configuration information and specific information about the target node, converting the symmetric configuration file into an asymmetric configuration file which corresponds to the target node, so that the configuration of the target node is completed by using the asymmetric configuration file. In the present invention, the symmetric configuration file stored in the configuration management server is converted into the asymmetric configuration file, so that the configuration of each preset node can be completed by using the asymmetric configuration file corresponding thereto; in addition, the configuration management server may perform asymmetric configuration management in a symmetric configuration management manner, reducing the workload of a user, and better achieving automation.

Description

一种非对称配置的管理方法、装置、设备及可读存储介质Asymmetric configuration management method, device, equipment and readable storage medium
本申请要求于2019年12月30日提交中国专利局、申请号为201911398117.9、发明名称为“一种非对称配置的管理方法、装置、设备及可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office, the application number is 201911398117.9, and the invention title is "A management method, device, equipment and readable storage medium for an asymmetric configuration" on December 30, 2019. The entire content is incorporated into this application by reference.
技术领域Technical field
本发明涉及集群配置技术领域,特别涉及一种非对称配置的管理方法、装置、设备及计算机可读存储介质。The present invention relates to the technical field of cluster configuration, in particular to a management method, device, equipment and computer-readable storage medium for asymmetric configuration.
背景技术Background technique
随着现代社会科技的发展,计算机集群的使用越来越广泛。维护人员对集群的各种功能(如网络时钟同步功能和信息分发功能等)进行配置时,更加喜欢使用简单便捷的对称配置,即某个配置项或配置文件在集群所有节点上完全相同;而与对称配置相反,某个配置项或配置文件在集群所有节点上不完全相同的非对称配置,由于配置过程繁琐,维护人员往往不喜使用。With the development of modern social science and technology, the use of computer clusters has become more and more widespread. When the maintenance personnel configure various functions of the cluster (such as network clock synchronization function and information distribution function, etc.), they prefer to use simple and convenient symmetrical configuration, that is, a certain configuration item or configuration file is exactly the same on all nodes of the cluster; and Contrary to symmetric configuration, a certain configuration item or configuration file is not exactly the same asymmetric configuration on all nodes in the cluster. Maintenance personnel often do not like to use it due to the cumbersome configuration process.
例如,对Linux系统的集群进行对称配置时,/etc/hosts配置文件可以如下所示:For example, when symmetrically configuring a cluster of a Linux system, the /etc/hosts configuration file can be as follows:
192.168.1.1  server01192.168.1.1 server01
192.168.1.2  server02192.168.1.2 server02
192.168.1.3  server03192.168.1.3 server03
使得/etc/hosts配置文件可以保存集群所有成员的节点名和IP地址的对应关系,因此一般所有节点中这个文件都是一样的;The /etc/hosts configuration file can save the correspondence between the node names and IP addresses of all members of the cluster, so this file is generally the same in all nodes;
而对上述Linux系统进行非对称配置时,以网络时钟同步功能的配置为例,需要配置所有节点间通过ntp(NetworkTimeProtocol,网络时间协议)进行时钟同步;集群中的其中一个节点可以作为ntp服务器节点(假设为server01),其他节点可以作为ntp客户端节点,/etc/step-tickers配置文件用来保存ntp服务器的IP地址;那么,server01上应该配置step-tickers为: 127.127.1.0,即ntp服务器节点的本地时钟地址;而其他节点上应该配置step-tickers为:192.168.1.1,即ntp服务器节点的IP地址。When the above-mentioned Linux system is configured asymmetrically, taking the configuration of the network clock synchronization function as an example, it is necessary to configure all nodes to synchronize clocks through ntp (NetworkTimeProtocol); one of the nodes in the cluster can be used as an ntp server node (Assuming server01), other nodes can be used as ntp client nodes, and the /etc/step-tickers configuration file is used to save the IP address of the ntp server; then, the step-tickers should be configured on server01 as: 127.127.1.0, that is, the ntp server The local clock address of the node; and other nodes should be configured with step-tickers as: 192.168.1.1, which is the IP address of the ntp server node.
综上可知,对称配置比非对称配置管理起来要容易,而且也更容易实现自动化,而生产环境中的配置通常比上述例子中更加复杂,集群规模也更大。人工配置工作量大,而且更容易出错,所以对于配置管理的自动化需求更加迫切。因此,如何能够使用户对非对称配置的管理更加容易,更好实现自动化,提高用户体验,是现今急需解决的问题。In summary, symmetrical configuration is easier to manage than asymmetrical configuration, and it is easier to automate, and the configuration in the production environment is usually more complicated than the above example, and the cluster scale is also larger. Manual configuration has a large workload and is more error-prone, so the need for automation of configuration management is more urgent. Therefore, how to make the user's management of asymmetric configuration easier, better realize automation, and improve user experience is a problem that needs to be solved urgently today.
发明内容Summary of the invention
本发明的目的是提供一种非对称配置的管理方法、装置、设备及计算机可读存储介质,以实现对称配置文件到非对称配置文件的自动转换,便于用户管理,提高用户体验。The purpose of the present invention is to provide an asymmetric configuration management method, device, equipment, and computer readable storage medium to realize automatic conversion from a symmetric configuration file to an asymmetric configuration file, facilitate user management, and improve user experience.
为解决上述技术问题,本发明提供一种非对称配置的管理方法,包括:In order to solve the above technical problems, the present invention provides an asymmetric configuration management method, including:
对目标节点进行配置时,获取配置管理服务器存储的全部所述预设节点对应的对称配置文件;其中,所述对称配置文件包含全部所述预设节点的非对称配置信息,所述目标节点为任一所述预设节点;When configuring the target node, obtain the symmetric configuration files corresponding to all the preset nodes stored in the configuration management server; wherein, the symmetric configuration file contains the asymmetric configuration information of all the preset nodes, and the target node is Any of the preset nodes;
根据所述非对称配置信息和所述目标节点的特定信息,将所述对称配置文件转换为所述目标节点对应的非对称配置文件,以使所述目标节点利用所述非对称配置文件完成配置。According to the asymmetric configuration information and the specific information of the target node, the symmetric configuration file is converted into an asymmetric configuration file corresponding to the target node, so that the target node uses the asymmetric configuration file to complete configuration .
可选的,所述对目标节点进行配置时,获取配置管理服务器存储的全部所述预设节点对应的对称配置文件,包括:Optionally, when configuring the target node, obtaining all the symmetric configuration files corresponding to the preset nodes stored in the configuration management server includes:
所述配置管理服务器对所述目标节点进行配置时,获取存储的所述对称配置文件;When the configuration management server configures the target node, obtain the stored symmetric configuration file;
对应的,所述将所述对称配置文件转换为所述目标节点对应的非对称配置文件之后,还包括:Correspondingly, after the converting the symmetric configuration file into the asymmetric configuration file corresponding to the target node, the method further includes:
将所述非对称配置文件发送到所述目标节点。Sending the asymmetric configuration file to the target node.
可选的,所述对目标节点进行配置时,获取配置管理服务器存储的全部所述预设节点对应的对称配置文件,包括:Optionally, when configuring the target node, obtaining all the symmetric configuration files corresponding to the preset nodes stored in the configuration management server includes:
所述目标节点接收所述配置管理服务器发送的所述对称配置文件。The target node receives the symmetric configuration file sent by the configuration management server.
可选的,所述对称配置文件包括预设数量的服务器节点各自对应的客户端节点的配置文件时,所述根据所述非对称配置信息和所述目标节点的特定信息,将所述对称配置文件转换为所述目标节点对应的非对称配置文件,包括:Optionally, when the symmetric configuration file includes a configuration file of a client node corresponding to each of a preset number of server nodes, the symmetric configuration file is configured according to the asymmetric configuration information and the specific information of the target node. The file conversion into the asymmetric configuration file corresponding to the target node includes:
根据所述非对称配置信息中的服务器节点身份信息和所述目标节点的身份信息,判断所述目标节点是否为所述服务器节点;Judging whether the target node is the server node according to the server node identity information in the asymmetric configuration information and the identity information of the target node;
若所述目标节点为所述服务器节点,则根据所述目标节点的节点配置信息,通过调整所述对称配置文件中所述目标节点对应的客户端节点的配置文件,得到所述目标节点对应的非对称配置文件;其中,所述特定信息包括所述身份信息和所述节点配置信息;If the target node is the server node, according to the node configuration information of the target node, the configuration file of the client node corresponding to the target node in the symmetric configuration file is adjusted to obtain the corresponding An asymmetric configuration file; wherein the specific information includes the identity information and the node configuration information;
若所述目标节点为所述客户端节点,则将所述对称配置文件中所述目标节点的配置文件作为所述目标节点对应的非对称配置文件。If the target node is the client node, the configuration file of the target node in the symmetric configuration file is used as the asymmetric configuration file corresponding to the target node.
可选的,所述对称配置文件为ntp对称配置文件且所述预设数量为1时,所述对称配置文件具体为包含有ntp服务器节点IP地址的step-tickers文件;Optionally, when the symmetric configuration file is an ntp symmetric configuration file and the preset number is 1, the symmetric configuration file is specifically a step-tickers file containing the IP address of the ntp server node;
对应的,所述根据所述非对称配置信息中的服务器节点身份信息和所述目标节点的身份信息,判断所述目标节点是否为所述服务器节点,包括:Correspondingly, the judging whether the target node is the server node according to the server node identity information in the asymmetric configuration information and the identity information of the target node includes:
根据所述ntp服务器节点IP地址和所述目标节点的IP地址,判断所述目标节点是否为ntp服务器节点;Judging whether the target node is an ntp server node according to the IP address of the ntp server node and the IP address of the target node;
若所述目标节点为所述ntp服务器节点,则将所述step-tickers文件中的所述ntp服务器节点IP地址替换为所述目标节点的本地时钟地址,得到所述目标节点对应的非对称配置文件;If the target node is the ntp server node, replace the ntp server node IP address in the step-tickers file with the local clock address of the target node to obtain the asymmetric configuration corresponding to the target node file;
若所述目标节点为所述ntp客户端节点,则将所述step-tickers文件作为所述目标节点对应的非对称配置文件。If the target node is the ntp client node, the step-tickers file is used as the asymmetric configuration file corresponding to the target node.
本发明还提供了一种非对称配置的管理装置,包括:The present invention also provides an asymmetric configuration management device, including:
获取模块,用于对目标节点进行配置时,获取配置管理服务器存储的全部所述预设节点对应的对称配置文件;其中,所述对称配置文件包含全部所述预设节点的非对称配置信息,所述目标节点为任一所述预设节点;The obtaining module is used to obtain all the symmetric configuration files corresponding to the preset nodes stored in the configuration management server when configuring the target node; wherein, the symmetric configuration file includes the asymmetric configuration information of all the preset nodes, The target node is any one of the preset nodes;
转换模块,用于根据所述非对称配置信息和所述目标节点的特定信息, 将所述对称配置文件转换为所述目标节点对应的非对称配置文件,以使所述目标节点利用所述非对称配置文件完成配置。The conversion module is configured to convert the symmetric configuration file into the asymmetric configuration file corresponding to the target node according to the asymmetric configuration information and the specific information of the target node, so that the target node uses the non-symmetric configuration file. The symmetric configuration file completes the configuration.
可选的,所述对称配置文件包括预设数量的服务器节点各自对应的客户端节点的配置文件时,所述转换模块,包括:Optionally, when the symmetric configuration file includes a configuration file of a client node corresponding to each of a preset number of server nodes, the conversion module includes:
判断子模块,用于根据所述非对称配置信息中的服务器节点身份信息和所述目标节点的身份信息,判断所述目标节点是否为所述服务器节点;A judging sub-module, configured to judge whether the target node is the server node according to the server node identity information in the asymmetric configuration information and the identity information of the target node;
调整子模块,用于若所述目标节点为所述服务器节点,则根据所述目标节点的节点配置信息,通过调整所述对称配置文件中所述目标节点对应的客户端节点的配置文件,得到所述目标节点对应的非对称配置文件;其中,所述特定信息包括所述身份信息和所述节点配置信息;The adjustment sub-module is configured to, if the target node is the server node, according to the node configuration information of the target node, by adjusting the configuration file of the client node corresponding to the target node in the symmetric configuration file to obtain The asymmetric configuration file corresponding to the target node; wherein the specific information includes the identity information and the node configuration information;
确定子模块,用于若所述目标节点为所述客户端节点,则将所述对称配置文件中所述目标节点的配置文件作为所述目标节点对应的非对称配置文件。The determining sub-module is configured to, if the target node is the client node, use the configuration file of the target node in the symmetric configuration file as the asymmetric configuration file corresponding to the target node.
可选的,所述对称配置文件为ntp对称配置文件且所述预设数量为1时,所述对称配置文件具体为包含有ntp服务器节点IP地址的step-tickers文件;Optionally, when the symmetric configuration file is an ntp symmetric configuration file and the preset number is 1, the symmetric configuration file is specifically a step-tickers file containing the IP address of the ntp server node;
对应的,所述判断子模块具体用于根据所述ntp服务器节点IP地址和所述目标节点的IP地址,判断所述目标节点是否为ntp服务器节点;Correspondingly, the judgment submodule is specifically configured to judge whether the target node is an ntp server node according to the IP address of the ntp server node and the IP address of the target node;
调整子模块具体用于若所述目标节点为所述ntp服务器节点,则将所述step-tickers文件中的所述ntp服务器节点IP地址替换为所述目标节点的本地时钟地址,得到所述目标节点对应的非对称配置文件;The adjustment submodule is specifically configured to replace the IP address of the ntp server node in the step-tickers file with the local clock address of the target node if the target node is the ntp server node to obtain the target The asymmetric configuration file corresponding to the node;
确定子模块具体用于若所述目标节点为所述ntp客户端节点,则将所述step-tickers文件作为所述目标节点对应的非对称配置文件。The determining submodule is specifically configured to use the step-tickers file as the asymmetric configuration file corresponding to the target node if the target node is the ntp client node.
本发明还提供了一种非对称配置的管理设备,包括:The present invention also provides an asymmetrically configured management device, including:
存储器,用于存储计算机程序;Memory, used to store computer programs;
处理器,用于执行所述计算机程序时实现如上述所述的非对称配置的管理方法的步骤。The processor is used to implement the steps of the above-mentioned asymmetric configuration management method when the computer program is executed.
本发明还提供了一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如上述所述的 非对称配置的管理方法的步骤。The present invention also provides a computer-readable storage medium having a computer program stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the asymmetric configuration management method as described above are realized.
本发明所提供的一种非对称配置的管理方法,包括:对目标节点进行配置时,获取配置管理服务器存储的全部预设节点对应的对称配置文件;其中,对称配置文件包含全部预设节点的非对称配置信息,目标节点为任一预设节点;根据非对称配置信息和目标节点的特定信息,将对称配置文件转换为目标节点对应的非对称配置文件,以使目标节点利用非对称配置文件完成配置;An asymmetric configuration management method provided by the present invention includes: when configuring a target node, obtaining symmetric configuration files corresponding to all preset nodes stored in a configuration management server; wherein, the symmetric configuration file contains information about all preset nodes. Asymmetric configuration information, the target node is any preset node; according to the asymmetric configuration information and the specific information of the target node, the symmetric configuration file is converted into the asymmetric configuration file corresponding to the target node, so that the target node uses the asymmetric configuration file Complete the configuration;
可见,本发明通过根据非对称配置信息和目标节点的特定信息,将对称配置文件转换为目标节点对应的非对称配置文件,可以将配置管理服务器存放的对称配置文件转换为非对称配置文件,使各预设节点可以利用各自对应的非对称配置文件完成配置;并且配置管理服务器可以按照对称配置的管理方式进行非对称配置的管理,降低了用户的工作量,可以更好的实现自动化,提高了用户体验。此外,本发明还提供了一种非对称配置的管理装置、设备及计算机可读存储介质,同样具有上述有益效果。It can be seen that the present invention converts the symmetric configuration file into the asymmetric configuration file corresponding to the target node according to the asymmetric configuration information and the specific information of the target node, so that the symmetric configuration file stored in the configuration management server can be converted into the asymmetric configuration file. Each preset node can use its corresponding asymmetric configuration file to complete the configuration; and the configuration management server can manage the asymmetric configuration according to the symmetric configuration management mode, which reduces the workload of users, can better realize automation, and improve user experience. In addition, the present invention also provides an asymmetrically configured management device, equipment, and computer-readable storage medium, which also have the above-mentioned beneficial effects.
附图说明Description of the drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据提供的附图获得其他的附图。In order to explain the embodiments of the present invention or the technical solutions in the prior art more clearly, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only It is an embodiment of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on the provided drawings without creative work.
图1为本发明实施例所提供的一种非对称配置的管理方法的流程图;FIG. 1 is a flowchart of an asymmetric configuration management method provided by an embodiment of the present invention;
图2为现有技术中的非对称配置文件的分发示意图;Figure 2 is a schematic diagram of the distribution of an asymmetric configuration file in the prior art;
图3为本发明实施例所提供的一种非对称配置的管理方法的非对称配置文件的分发示意图;3 is a schematic diagram of distributing an asymmetric configuration file in an asymmetric configuration management method provided by an embodiment of the present invention;
图4为本发明实施例所提供的另一种非对称配置的管理方法的对称配置文件转换流程图;4 is a flowchart of symmetric configuration file conversion of another asymmetric configuration management method provided by an embodiment of the present invention;
图5为本发明实施例所提供的另一种非对称配置的管理方法的对称配置文件转换流程图;5 is a flowchart of symmetric configuration file conversion of another asymmetric configuration management method provided by an embodiment of the present invention;
图6为本发明实施例所提供的一种非对称配置的管理装置的结构框图。Fig. 6 is a structural block diagram of an asymmetric configuration management device provided by an embodiment of the present invention.
具体实施方式Detailed ways
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, 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 These are a part of the embodiments of the present invention, but not all of 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.
请参考图1,图1为本发明实施例所提供的一种非对称配置的管理方法的流程图。该方法可以包括:Please refer to FIG. 1, which is a flowchart of an asymmetric configuration management method according to an embodiment of the present invention. The method can include:
步骤101:对目标节点进行配置时,获取配置管理服务器存储的全部预设节点对应的对称配置文件;其中,对称配置文件包含全部预设节点的非对称配置信息,目标节点为任一预设节点。Step 101: When configuring the target node, obtain the symmetric configuration file corresponding to all the preset nodes stored in the configuration management server; wherein the symmetric configuration file contains the asymmetric configuration information of all the preset nodes, and the target node is any preset node .
其中,本步骤中的预设节点可以为配置管理服务器需要利用对称配置文件进行配置的集群中的节点;本步骤中的目标节点可以为利用对称配置文件进行配置的全部预设节点中的任意一个预设节点。Among them, the preset node in this step can be a node in the cluster that the configuration management server needs to configure using a symmetric configuration file; the target node in this step can be any one of all preset nodes configured using a symmetric configuration file Preset node.
可以理解的是,本实施例的目的可以为通过将配置管理服务器存储的对称配置文件转换为目标节点对应的非对称配置文件,使目标节点可以利用其对应的非对称配置文件完成配置,如网络时钟同步功能配置或信息分发功能配置等,即各预设节点可以利用对称配置文件转换的各自对应的非对称配置文件完成配置。只要可以实现上述目的,对于本实施例所提供的方法的执行主体的选择,可以由设计人员根据实用场景和用户需求自行设置,如执行主体可以为配置管理服务器,即配置管理服务器的处理器在对目标节点进行配置时,获取存储的对称配置文件,并在将对称配置文件转换为目标节点对应的非对称配置文件后,将该非对称配置文件发送到目标节点,使目标节点可以直接利用该非对称配置文件完成配置,如图3中配置管理服务器可以利用转换模块将对称配置文件转换各预设节点(节点1至节点n)对应的非对称配置文件(非对称配置文件1至非对称配置文件n)后,再分发到各预设节点;执行主体也可以为目标节点,如目标节点的处理器在对目标节点进行配置时,可以利用配置管理服务器发送的对称配置文件,将对称配置文件转换为目标节点对应的非对称配置文件,并通过该 非对称配置文件完成自身的配置。只要可以实现本实施例的目的,本实施例对此不做任何限制。It is understandable that the purpose of this embodiment may be to convert the symmetric configuration file stored in the configuration management server into the asymmetric configuration file corresponding to the target node, so that the target node can use its corresponding asymmetric configuration file to complete the configuration, such as network Clock synchronization function configuration or information distribution function configuration, etc., that is, each preset node can use the corresponding asymmetric configuration file converted from the symmetric configuration file to complete the configuration. As long as the above objectives can be achieved, the selection of the execution subject of the method provided in this embodiment can be set by the designer according to practical scenarios and user needs. For example, the execution subject can be the configuration management server, that is, the processor of the configuration management server is in When configuring the target node, obtain the stored symmetric configuration file, and after converting the symmetric configuration file into the asymmetric configuration file corresponding to the target node, send the asymmetric configuration file to the target node so that the target node can directly use the The asymmetric configuration file completes the configuration. As shown in Figure 3, the configuration management server can use the conversion module to convert the symmetric configuration file to the asymmetric configuration file corresponding to each preset node (node 1 to node n) (asymmetric configuration file 1 to asymmetric configuration) After the file n), it is distributed to each preset node; the execution subject can also be the target node. For example, the processor of the target node can use the symmetric configuration file sent by the configuration management server to configure the symmetric configuration file when configuring the target node. Convert to the asymmetric configuration file corresponding to the target node, and complete its configuration through the asymmetric configuration file. As long as the purpose of this embodiment can be achieved, this embodiment does not impose any limitation on this.
具体的,本步骤中的对称配置文件可以为配置管理服务器上存储的对全部预设节点进行配置所需的对称配置格式的文件,对称配置文件中可以包含全部预设节点的非对称配置信息,以使配置管理服务器或目标节点(即各预设节点)可以利用非对称配置信息和目标节点的特定信息,将对称配置文件转换为目标节点对应的非对称配置文件,从而使目标节点利用非对称配置文件完成配置。对于对称配置文件的具体内容,可以由设计人员根据实用场景和用户需求自行设置,如对称配置文件可以包括预设数量的服务器节点各自对应的客户端节点的配置文件,即对称配置文件可以包括预设数量的配置文件,对称配置文件中的非对称配置信息可以包括服务器节点身份信息或服务器节点身份信息和服务器节点配置信息,从而使配置管理服务器或目标节点可以利用服务器节点身份信息确定目标节点是否为服务器节点;在目标节点为服务器节点时,利用服务器节点配置信息或目标节点发送的节点配置信息,对对称配置文件中该服务器节点对应的客户端节点的配置文件进行调整,得到目标节点对应的非对称配置文件;在目标节点为客户端节点时,直接将对称配置文件中该客户端节点的配置文件作为目标节点对应的非对称配置文件。例如,对称配置文件为ntp对称配置文件,即利用对称配置文件对各预设节点进行网络同步功能配置,并且上述预设数量为1时,对称配置文件可以具体为包含一个ntp服务器节点IP地址的step-tickers文件。只要配置管理服务器或目标节点可以利用对称配置文件中的非对称配置信息和目标节点的特定信息,将对称配置文件转换为目标节点对应的非对称配置文件,本实施例对此不做任何限制。Specifically, the symmetric configuration file in this step may be a file in a symmetric configuration format required to configure all preset nodes stored on the configuration management server, and the symmetric configuration file may contain asymmetric configuration information of all preset nodes. So that the configuration management server or the target node (that is, each preset node) can use the asymmetric configuration information and the specific information of the target node to convert the symmetric configuration file into the asymmetric configuration file corresponding to the target node, so that the target node can use the asymmetric configuration file. The configuration file completes the configuration. The specific content of the symmetric configuration file can be set by the designer according to practical scenarios and user needs. For example, the symmetric configuration file can include the configuration files of the client nodes corresponding to the preset number of server nodes, that is, the symmetric configuration file can include the preset configuration files. Set a number of configuration files, the asymmetric configuration information in the symmetric configuration file can include server node identity information or server node identity information and server node configuration information, so that the configuration management server or the target node can use the server node identity information to determine whether the target node is Is a server node; when the target node is a server node, use the server node configuration information or the node configuration information sent by the target node to adjust the configuration file of the client node corresponding to the server node in the symmetric configuration file to obtain the corresponding target node Asymmetric configuration file; when the target node is a client node, the configuration file of the client node in the symmetric configuration file is directly used as the asymmetric configuration file corresponding to the target node. For example, the symmetric configuration file is an ntp symmetric configuration file, that is, the symmetric configuration file is used to configure the network synchronization function of each preset node, and when the above preset number is 1, the symmetric configuration file may specifically include an IP address of an ntp server node step-tickers file. As long as the configuration management server or the target node can use the asymmetric configuration information in the symmetric configuration file and the specific information of the target node to convert the symmetric configuration file into the asymmetric configuration file corresponding to the target node, this embodiment does not impose any limitation on this.
步骤102:根据非对称配置信息和目标节点的特定信息,将对称配置文件转换为目标节点对应的非对称配置文件,以使目标节点利用非对称配置文件完成配置。Step 102: According to the asymmetric configuration information and the specific information of the target node, the symmetric configuration file is converted into the asymmetric configuration file corresponding to the target node, so that the target node uses the asymmetric configuration file to complete the configuration.
可以理解的是,本步骤的目的可以为利用对称配置文件中的非对称配置信息和目标节点的特定信息,将对称配置文件转换为目标节点对应的非对称配置文件,使得目标节点可以利用得到的非对称配置文件完成配置。It is understandable that the purpose of this step can be to use the asymmetric configuration information in the symmetric configuration file and the specific information of the target node to convert the symmetric configuration file into the asymmetric configuration file corresponding to the target node, so that the target node can use the obtained The asymmetric configuration file completes the configuration.
具体的,本步骤中对称配置文件中的非对称配置信息的具体内容,可以由设计人员自行设置,如非对称配置信息可以包括包含有预设数量的服务器的身份信息的服务器节点身份信息,例如预设数量为1且对称配置文件为ntp对称配置文件时,非对称配置信息可以为step-tickers文件中的ntp服务器节点IP地址。Specifically, the specific content of the asymmetric configuration information in the symmetric configuration file in this step can be set by the designer. For example, the asymmetric configuration information may include server node identity information containing a preset number of server identity information, for example When the preset number is 1 and the symmetric configuration file is an ntp symmetric configuration file, the asymmetric configuration information can be the IP address of the ntp server node in the step-tickers file.
对应的,本步骤中目标节点的特定信息可以为将对称配置文件转换为目标节点对应的非对称配置文件时,所需使用的目标节点的信息,如目标节点的身份信息(如IP地址)和节点配置信息,即其配置文件中与其他预设节点的配置文件不同的信息,如服务器节点的本地时钟地址。目标节点的特定信息可以在对称配置文件中的非对称配置信息中,也可以为配置管理服务器或目标节点实际采集的信息,如配置管理服务器可以接收目标节点发送的特定信息,从而将将对称配置文件转换为目标节点对应的非对称配置文件,并发送给目标节点。Correspondingly, the specific information of the target node in this step can be the information of the target node that needs to be used when the symmetric configuration file is converted to the asymmetric configuration file corresponding to the target node, such as the identity information of the target node (such as IP address) and Node configuration information, that is, information in its configuration file that is different from the configuration files of other preset nodes, such as the local clock address of the server node. The specific information of the target node can be in the asymmetric configuration information in the symmetric configuration file, or it can be the information actually collected by the configuration management server or the target node. For example, the configuration management server can receive the specific information sent by the target node, so that the symmetric configuration will be configured. The file is converted into an asymmetric configuration file corresponding to the target node and sent to the target node.
需要说明的是,对于本步骤中处理器根据非对称配置信息和目标节点的特定信息,将对称配置文件转换为目标节点对应的非对称配置文件的具体方式,可以由设计人员自行设置,如对称配置文件包括预设数量的服务器节点各自对应的客户端节点的配置文件时,处理器可以根据非对称配置信息中的服务器节点身份信息和目标节点的身份信息,判断目标节点是否为服务器节点;若目标节点为服务器节点,则根据目标节点的节点配置信息,通过调整对称配置文件中目标节点对应的客户端节点的配置文件,得到目标节点对应的非对称配置文件;其中,特定信息包括身份信息和节点配置信息;若目标节点为客户端节点,则将对称配置文件中目标节点的配置文件作为目标节点对应的非对称配置文件。It should be noted that the specific method for the processor in this step to convert the symmetric configuration file into the asymmetric configuration file corresponding to the target node according to the asymmetric configuration information and the specific information of the target node can be set by the designer, such as symmetric When the configuration file includes the configuration file of the client node corresponding to the preset number of server nodes, the processor can determine whether the target node is a server node according to the server node identity information and the identity information of the target node in the asymmetric configuration information; if If the target node is a server node, according to the node configuration information of the target node, the asymmetric configuration file corresponding to the target node is obtained by adjusting the configuration file of the client node corresponding to the target node in the symmetric configuration file; the specific information includes identity information and Node configuration information; if the target node is a client node, the configuration file of the target node in the symmetric configuration file is used as the asymmetric configuration file corresponding to the target node.
例如,对称配置文件具体为包含有一个ntp服务器节点IP地址(如192.168.1.1)的step-tickers文件时,本步骤中处理器可以判断step-tickers文件中的ntp服务器节点IP地址与目标节点的IP地址是否一致;若一致,则说明目标节点为ntp服务器节点,可以将step-tickers文件中的ntp服务器节点IP地址替换为目标节点的本地时钟地址(如127.127.1.0),得到目标节点对应的非对称配置文件,即包含该本地时钟地址的step-tickers文件, 从而使目标节点可以将该step-tickers文件覆盖自身旧的step-tickers文件,完成ntp服务器节点的网络时钟同步功能配置;若不一致,则说明目标节点为ntp客户端节点,可以将step-tickers文件作为目标节点对应的非对称配置文件,从而使目标节点可以将该step-tickers文件覆盖自身旧的step-tickers文件,完成ntp客户端节点的网络时钟同步功能配置。For example, when the symmetric configuration file is specifically a step-tickers file containing an ntp server node IP address (such as 192.168.1.1), in this step the processor can determine the ntp server node IP address in the step-tickers file and the target node Whether the IP addresses are the same; if they are the same, the target node is an ntp server node. You can replace the ntp server node IP address in the step-tickers file with the local clock address of the target node (such as 127.127.1.0) to get the corresponding target node Asymmetric configuration file, that is, the step-tickers file containing the local clock address, so that the target node can overwrite its own old step-tickers file with the step-tickers file to complete the network clock synchronization function configuration of the ntp server node; if it is inconsistent , It means that the target node is an ntp client node, and the step-tickers file can be used as the asymmetric configuration file corresponding to the target node, so that the target node can overwrite its old step-tickers file with the step-tickers file to complete the ntp client The network clock synchronization function configuration of the end node.
需要说明的是,本实施例中通过将配置管理服务器存储的对称配置文件转换为目标节点对应的非对称配置文件,可以使配置管理服务器维护对称配置文件,如配置管理服务器可以维护一个包含有ntp服务器节点IP地址(如192.168.1.1)的step-tickers文件,而不需要如图2所示的现有技术般维护多个非对称配置文件;并且通过对称配置文件到目标节点对应的非对称配置文件的自动转换,不需要用户选择每个预设节点对应的非对称配置文件再分发,而是如图3所示在分发过程中自动将对称配置文件转换为目标节点对应的非对称配置文件,或者直接将对称配置文件分发到目标节点,由目标节点自动将对称配置文件转换为非对称配置文件;减少了用户的工作量,可以更好的实现自动化,提高了用户体验。It should be noted that, in this embodiment, by converting the symmetric configuration file stored by the configuration management server into the asymmetric configuration file corresponding to the target node, the configuration management server can maintain the symmetric configuration file. For example, the configuration management server can maintain a configuration file containing ntp The step-tickers file of the server node's IP address (such as 192.168.1.1), without the need to maintain multiple asymmetric configuration files as shown in the prior art shown in Figure 2; and through the symmetric configuration file to the target node's corresponding asymmetric configuration The automatic conversion of files does not require the user to select the asymmetric configuration file corresponding to each preset node to redistribute. Instead, as shown in Figure 3, the symmetric configuration file is automatically converted into the asymmetric configuration file corresponding to the target node during the distribution process. Or directly distribute the symmetric configuration file to the target node, and the target node automatically converts the symmetric configuration file into an asymmetric configuration file; this reduces the user's workload, enables better automation, and improves the user experience.
具体的,本实施例是以全部预设节点中的任意一个预设节点(即目标节点)为例进行的展示,也就是说,配置管理服务器需要配置的全部预设节点各自对应的非对称配置文件均可以通过与本实施例所提供的方法相同或相似的方式实现,从而完成全部预设节点的配置,本实施例对此不做任何限制。Specifically, in this embodiment, any one of the preset nodes (that is, the target node) is shown as an example, that is, the configuration management server needs to configure the corresponding asymmetric configuration of all the preset nodes. The files can be implemented in the same or similar manner as the method provided in this embodiment, so as to complete the configuration of all preset nodes, and this embodiment does not impose any limitation on this.
本实施例中,本发明实施例通过根据非对称配置信息和目标节点的特定信息,将对称配置文件转换为目标节点对应的非对称配置文件,可以将配置管理服务器存放的对称配置文件转换为非对称配置文件,使各预设节点可以利用各自对应的非对称配置文件完成配置;并且配置管理服务器可以按照对称配置的管理方式进行非对称配置的管理,降低了用户的工作量,可以更好的实现自动化,提高了用户体验。In this embodiment, the embodiment of the present invention converts the symmetric configuration file into the asymmetric configuration file corresponding to the target node according to the asymmetric configuration information and the specific information of the target node, so that the symmetric configuration file stored in the configuration management server can be converted into a non-symmetric configuration file. Symmetric configuration file, so that each preset node can use its corresponding asymmetric configuration file to complete the configuration; and the configuration management server can manage asymmetric configuration according to the management mode of symmetric configuration, which reduces the workload of users and can be better Realize automation and improve user experience.
基于上述实施例,对称配置文件包括预设数量的服务器节点各自对应的客户端节点的配置文件时,可以通过本实施例所提供的方法将对称配置 文件转换为目标节点对应的非对称配置文件。具体的,请参考图4,图4为本发明实施例所提供的另一种非对称配置的管理方法的对称配置文件转换流程图。对称配置文件转换过程可以包括:Based on the above embodiment, when the symmetric configuration file includes the configuration files of the client nodes corresponding to the preset number of server nodes, the symmetric configuration file can be converted into the asymmetric configuration file corresponding to the target node by the method provided in this embodiment. Specifically, please refer to FIG. 4, which is a symmetric configuration file conversion flowchart of another asymmetric configuration management method provided by an embodiment of the present invention. The symmetric configuration file conversion process can include:
步骤201:根据对称配置文件中非对称配置信息中的服务器节点身份信息和目标节点的身份信息,判断目标节点是否为服务器节点;若是,则进入步骤202;若否,则进入步骤203。Step 201: Determine whether the target node is a server node according to the server node identity information and the identity information of the target node in the asymmetric configuration information in the symmetric configuration file; if yes, go to step 202; if not, go to step 203.
其中,本实施例中对称配置文件包括预设数量的服务器节点各自对应的客户端节点的配置文件;如对称配置文件可以包括预设数量的配置文件,即每个服务器节点对应的多个客户端节点可以采用相同的配置文件。对称配置文件中的非对称配置信息可以包括服务器节点身份信息,如服务器节点IP地址。Among them, the symmetric configuration file in this embodiment includes the configuration files of the client nodes corresponding to a preset number of server nodes; for example, the symmetric configuration file may include a preset number of configuration files, that is, multiple clients corresponding to each server node. The nodes can use the same configuration file. The asymmetric configuration information in the symmetric configuration file may include server node identity information, such as the server node IP address.
可以理解的是,本步骤的目的可以为利用对称配置文件中非对称配置信息中的服务器节点身份信息和目标节点的特定信息中的目标节点的身份信息,确定目标节点是否为服务器节点。It is understandable that the purpose of this step can be to determine whether the target node is a server node by using the server node identity information in the asymmetric configuration information in the symmetric configuration file and the target node's identity information in the target node specific information.
步骤202:根据目标节点的节点配置信息,通过调整对称配置文件中目标节点对应的客户端节点的配置文件,得到目标节点对应的非对称配置文件。Step 202: According to the node configuration information of the target node, the asymmetric configuration file corresponding to the target node is obtained by adjusting the configuration file of the client node corresponding to the target node in the symmetric configuration file.
其中,本实施例中目标节点为服务器节点时,目标节点的特定信息可以包括目标节点的身份信息和目标节点的节点配置信息。目标节点的节点配置信息可以为调整对称配置文件中目标节点(即服务器节点)对应的客户端节点的配置文件所需的信息,如目标节点的本地时钟地址。Wherein, when the target node is a server node in this embodiment, the specific information of the target node may include the identity information of the target node and the node configuration information of the target node. The node configuration information of the target node may be information required to adjust the configuration file of the client node corresponding to the target node (ie, the server node) in the symmetric configuration file, such as the local clock address of the target node.
可以理解的是,本步骤中的目的可以为在目标节点为服务器节点时,利用目标节点的节点配置信息,将对称配置文件中目标节点对应的客户端节点的配置文件调整为目标节点对应的非对称配置文件,如利用目标节点的本地时钟地址替换对称配置文件中目标节点对应的客户端节点的配置文件中的目标节点的IP地址,即服务器节点IP地址。It is understandable that the purpose of this step can be to use the node configuration information of the target node when the target node is the server node to adjust the configuration file of the client node corresponding to the target node in the symmetric configuration file to the non-target node corresponding to the target node. A symmetric configuration file, such as using the local clock address of the target node to replace the IP address of the target node in the configuration file of the client node corresponding to the target node in the symmetric configuration file, that is, the server node IP address.
步骤203:将对称配置文件中目标节点的配置文件作为目标节点对应的非对称配置文件。Step 203: Use the configuration file of the target node in the symmetric configuration file as the asymmetric configuration file corresponding to the target node.
可以理解的是,本步骤的目的可以为在目标节点为客户端节点时,直 接将对称配置文件中目标节点的配置文件作为目标节点对应的非对称配置文件,即客户端节点对应的非对称配置文件可以为对称配置文件中该客户端节点的配置文件。It is understandable that the purpose of this step can be to directly use the configuration file of the target node in the symmetric configuration file as the asymmetric configuration file corresponding to the target node when the target node is a client node, that is, the asymmetric configuration corresponding to the client node The file may be the configuration file of the client node in the symmetric configuration file.
基于上述实施例,对称配置文件包括有一个ntp服务器节点IP地址(如192.168.1.1)的step-tickers文件时,可以通过本实施例所提供的方法将对称配置文件转换为目标节点对应的非对称配置文件,完成网络时钟同步功能配置。具体的,请参考图5,图5为本发明实施例所提供的另一种非对称配置的管理方法的对称配置文件转换流程图。对称配置文件转换过程可以包括:Based on the above embodiment, when the symmetric configuration file includes a step-tickers file with the IP address of the ntp server node (such as 192.168.1.1), the symmetric configuration file can be converted into the asymmetric corresponding to the target node by the method provided in this embodiment The configuration file completes the configuration of the network clock synchronization function. Specifically, please refer to FIG. 5, which is a symmetric configuration file conversion flowchart of another asymmetric configuration management method provided by an embodiment of the present invention. The symmetric configuration file conversion process can include:
步骤301:判断step-tickers文件中的ntp服务器节点IP地址与目标节点的IP地址是否一致;若是,则进入步骤302;若否,则进入步骤303。Step 301: Determine whether the IP address of the ntp server node in the step-tickers file is consistent with the IP address of the target node; if yes, go to step 302; if not, go to step 303.
可以理解的是,本步骤中通过判断step-tickers文件中的ntp服务器节点IP地址与目标节点的IP地址,确定目标节点是ntp服务器节点还是ntp客户端节点。It is understandable that in this step, by judging the IP address of the ntp server node and the IP address of the target node in the step-tickers file, it is determined whether the target node is an ntp server node or an ntp client node.
步骤302:将step-tickers文件中的ntp服务器节点IP地址替换为目标节点的本地时钟地址,使目标节点利用替换后的step-tickers文件完成ntp服务器节点的网络时钟同步功能配置。Step 302: Replace the IP address of the ntp server node in the step-tickers file with the local clock address of the target node, so that the target node uses the replaced step-tickers file to complete the network clock synchronization function configuration of the ntp server node.
其中,本步骤的目的可以为在step-tickers文件中的ntp服务器节点IP地址与目标节点的IP地址一致时,确定目标节点为ntp服务器节点,通过将step-tickers文件中的ntp服务器节点IP地址替换为目标节点的本地时钟地址(如127.127.1.0),得到目标节点对应的非对称配置文件,即包含该本地时钟地址的step-tickers文件,从而使目标节点可以将该step-tickers文件覆盖自身旧的step-tickers文件,完成ntp服务器节点的网络时钟同步功能配置。Among them, the purpose of this step can be when the IP address of the ntp server node in the step-tickers file is consistent with the IP address of the target node, the target node is determined to be the ntp server node, and the ntp server node IP address in the step-tickers file Replace with the local clock address of the target node (such as 127.127.1.0) to obtain the asymmetric configuration file corresponding to the target node, that is, the step-tickers file containing the local clock address, so that the target node can overwrite itself with the step-tickers file The old step-tickers file completes the network clock synchronization function configuration of the ntp server node.
步骤303:将step-tickers文件作为目标节点对应的非对称配置文件,使目标节点利用step-tickers文件完成ntp客户端节点的网络时钟同步功能配置。Step 303: Use the step-tickers file as the asymmetric configuration file corresponding to the target node, so that the target node uses the step-tickers file to complete the network clock synchronization function configuration of the ntp client node.
可以理解的是,本步骤的目的可以为在step-tickers文件中的ntp服务 器节点IP地址与目标节点的IP地址不一致时,确定目标节点为ntp客户端节点,通过将step-tickers文件作为目标节点对应的非对称配置文件,使目标节点可以将该step-tickers文件覆盖自身旧的step-tickers文件,完成ntp客户端节点的网络时钟同步功能配置。It is understandable that the purpose of this step can be that when the IP address of the ntp server node in the step-tickers file is inconsistent with the IP address of the target node, the target node is determined to be the ntp client node, and the step-tickers file is used as the target node The corresponding asymmetric configuration file enables the target node to overwrite its own old step-tickers file with the step-tickers file to complete the network clock synchronization function configuration of the ntp client node.
请参考图6,图6为本发明实施例所提供的一种非对称配置的管理装置的结构框图,该装置可以包括:Please refer to FIG. 6, which is a structural block diagram of an asymmetric configuration management apparatus provided by an embodiment of the present invention, and the apparatus may include:
获取模块10,用于对目标节点进行配置时,获取配置管理服务器存储的全部预设节点对应的对称配置文件;其中,对称配置文件包含全部预设节点的非对称配置信息,目标节点为任一预设节点;The obtaining module 10 is used to obtain symmetric configuration files corresponding to all preset nodes stored in the configuration management server when configuring the target node; wherein, the symmetric configuration file contains the asymmetric configuration information of all preset nodes, and the target node is any one Preset node
转换模块20,用于根据非对称配置信息和目标节点的特定信息,将对称配置文件转换为目标节点对应的非对称配置文件,以使目标节点利用非对称配置文件完成配置。The conversion module 20 is used for converting the symmetric configuration file into the asymmetric configuration file corresponding to the target node according to the asymmetric configuration information and the specific information of the target node, so that the target node uses the asymmetric configuration file to complete the configuration.
可选的,对称配置文件包括预设数量的服务器节点各自对应的客户端节点的配置文件时,转换模块20,可以包括:Optionally, when the symmetric configuration file includes the configuration files of the client nodes corresponding to the preset number of server nodes, the conversion module 20 may include:
判断子模块,用于根据非对称配置信息中的服务器节点身份信息和目标节点的身份信息,判断目标节点是否为服务器节点;The judgment sub-module is used to judge whether the target node is a server node according to the server node identity information and the identity information of the target node in the asymmetric configuration information;
调整子模块,用于若目标节点为服务器节点,则根据目标节点的节点配置信息,通过调整对称配置文件中目标节点对应的客户端节点的配置文件,得到目标节点对应的非对称配置文件;其中,特定信息包括身份信息和节点配置信息;The adjustment sub-module is used to obtain the asymmetric configuration file corresponding to the target node by adjusting the configuration file of the client node corresponding to the target node in the symmetric configuration file according to the node configuration information of the target node if the target node is a server node; , The specific information includes identity information and node configuration information;
确定子模块,用于若目标节点为客户端节点,则将对称配置文件中目标节点的配置文件作为目标节点对应的非对称配置文件。The determining sub-module is used to, if the target node is a client node, use the configuration file of the target node in the symmetric configuration file as the asymmetric configuration file corresponding to the target node.
可选的,对称配置文件为ntp对称配置文件且预设数量为1时,对称配置文件具体为包含有ntp服务器节点IP地址的step-tickers文件;Optionally, when the symmetric configuration file is an ntp symmetric configuration file and the preset number is 1, the symmetric configuration file is specifically a step-tickers file containing the IP address of the ntp server node;
对应的,判断子模块可以具体用于根据ntp服务器节点IP地址和目标节点的IP地址,判断目标节点是否为ntp服务器节点;Correspondingly, the judgment sub-module can be specifically used to judge whether the target node is an ntp server node according to the IP address of the ntp server node and the IP address of the target node;
调整子模块可以具体用于若目标节点为ntp服务器节点,则将step-tickers文件中的ntp服务器节点IP地址替换为目标节点的本地时钟地 址,得到目标节点对应的非对称配置文件;The adjustment submodule can be specifically used to replace the IP address of the ntp server node in the step-tickers file with the local clock address of the target node if the target node is an ntp server node to obtain the asymmetric configuration file corresponding to the target node;
确定子模块可以具体用于若目标节点为ntp客户端节点,则将step-tickers文件作为目标节点对应的非对称配置文件。The determining sub-module may be specifically used to use the step-tickers file as the asymmetric configuration file corresponding to the target node if the target node is an ntp client node.
本实施例中,本发明实施例通过转换模块20根据非对称配置信息和目标节点的特定信息,将对称配置文件转换为目标节点对应的非对称配置文件,可以将配置管理服务器存放的对称配置文件转换为非对称配置文件,使各预设节点可以利用各自对应的非对称配置文件完成配置;并且配置管理服务器可以按照对称配置的管理方式进行非对称配置的管理,降低了用户的工作量,可以更好的实现自动化,提高了用户体验。In this embodiment, the embodiment of the present invention uses the conversion module 20 to convert the symmetric configuration file into the asymmetric configuration file corresponding to the target node according to the asymmetric configuration information and the specific information of the target node, and the symmetric configuration file stored in the configuration management server can be converted. Converted to an asymmetric configuration file, so that each preset node can use its corresponding asymmetric configuration file to complete the configuration; and the configuration management server can manage the asymmetric configuration according to the symmetric configuration management mode, which reduces the workload of users. Better automation and improved user experience.
本发明实施例还提供了一种非对称配置的管理设备,包括:The embodiment of the present invention also provides an asymmetrically configured management device, including:
存储器,用于存储计算机程序;Memory, used to store computer programs;
处理器,用于执行计算机程序时实现如上述实施例所提供的非对称配置的管理方法的步骤。The processor is used to implement the steps of the asymmetric configuration management method provided in the above-mentioned embodiment when the computer program is executed.
其中,本实施例中的存储器至少包括一种类型的可读存储介质,该可读存储介质包括闪存、硬盘、多媒体卡、卡型存储器(例如,SD或DX存储器等)、磁性存储器、磁盘、光盘等。存储器在一些实施例中可以是非对称配置的管理设备的内部存储单元,例如服务器(如配置管理服务器或节点服务器)的硬盘。存储器在另一些实施例中也可以是非对称配置的管理设备的外部存储设备,例如服务器上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digita,SD)卡,闪存卡(Flash Card)等。进一步地,存储器还可以既包括分布式设备的内部存储单元也包括外部存储设备。存储器不仅可以用于存储安装于非对称配置的管理设备的应用软件及各类数据,例如:执行非对称配置的管理方法的程序的代码等,还可以用于暂时地存储已经输出或者将要输出的数据。Wherein, the memory in this embodiment includes at least one type of readable storage medium. The readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), magnetic memory, magnetic disk, CD etc. In some embodiments, the memory may be an internal storage unit of an asymmetrically configured management device, such as a hard disk of a server (such as a configuration management server or a node server). In other embodiments, the memory may also be an asymmetrically configured external storage device of the management device, such as a plug-in hard disk equipped on a server, a smart memory card (Smart Media Card, SMC), and a Secure Digita (SD) card. , Flash Card, etc. Further, the memory may also include both an internal storage unit of a distributed device and an external storage device. The memory can be used not only to store the application software and various data installed in the management device of the asymmetric configuration, such as the code of the program that executes the management method of the asymmetric configuration, etc., but also to temporarily store the output that has been output or will be output. data.
本实施例中的处理器在一些实施例中可以是中央处理器(Central Processing Unit,CPU)、控制器、微控制器、微处理器或其他数据处理芯片,用于运行存储器中存储的程序代码或处理数据,例如执行非对称配置的管理方法的程序的代码等。The processor in this embodiment may be a central processing unit (CPU), controller, microcontroller, microprocessor, or other data processing chip in some embodiments, and is used to run the program code stored in the memory Or processing data, such as the code of a program that executes the management method of asymmetric configuration, etc.
此外,本发明实施例还提供了一种计算机可读存储介质,该计算机可读存储介质上存储有计算机程序,计算机程序被处理器执行时实现如上述实施例所提供的非对称配置的管理方法的步骤。In addition, the embodiment of the present invention also provides a computer-readable storage medium, the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the asymmetric configuration management method as provided in the above-mentioned embodiment is implemented. A step of.
其中,该计算机可读存储介质可以包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。Among them, the computer-readable storage medium may include: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc. The medium of the program code.
说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似部分互相参见即可。对于实施例公开的装置、设备及计算机可读存储介质而言,由于其与实施例公开的方法相对应,所以描述的比较简单,相关之处参见方法部分说明即可。The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same or similar parts between the various embodiments can be referred to each other. For the device, equipment and computer-readable storage medium disclosed in the embodiment, since they correspond to the method disclosed in the embodiment, the description is relatively simple, and the relevant part can be referred to the description of the method part.
以上对本发明所提供的一种非对称配置的管理方法、装置、设备及计算机可读存储介质进行了详细介绍。本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想。应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以对本发明进行若干改进和修饰,这些改进和修饰也落入本发明权利要求的保护范围内。The foregoing describes in detail an asymmetric configuration management method, device, equipment, and computer-readable storage medium provided by the present invention. Specific examples are used in this article to illustrate the principle and implementation of the present invention. The description of the above examples is only used to help understand the method and core idea of the present invention. It should be pointed out that for those of ordinary skill in the art, without departing from the principle of the present invention, several improvements and modifications can be made to the present invention, and these improvements and modifications also fall within the protection scope of the claims of the present invention.

Claims (10)

  1. 一种非对称配置的管理方法,其特征在于,包括:A management method for asymmetric configuration, which is characterized in that it includes:
    对目标节点进行配置时,获取配置管理服务器存储的全部所述预设节点对应的对称配置文件;其中,所述对称配置文件包含全部所述预设节点的非对称配置信息,所述目标节点为任一所述预设节点;When configuring the target node, obtain all the symmetric configuration files corresponding to the preset nodes stored in the configuration management server; wherein the symmetric configuration file contains the asymmetric configuration information of all the preset nodes, and the target node is Any of the preset nodes;
    根据所述非对称配置信息和所述目标节点的特定信息,将所述对称配置文件转换为所述目标节点对应的非对称配置文件,以使所述目标节点利用所述非对称配置文件完成配置。According to the asymmetric configuration information and the specific information of the target node, the symmetric configuration file is converted into an asymmetric configuration file corresponding to the target node, so that the target node uses the asymmetric configuration file to complete configuration .
  2. 根据权利要求1所述的非对称配置的管理方法,其特征在于,所述对目标节点进行配置时,获取配置管理服务器存储的全部所述预设节点对应的对称配置文件,包括:The method for managing asymmetric configuration according to claim 1, wherein when configuring the target node, obtaining all the symmetric configuration files corresponding to the preset nodes stored in the configuration management server comprises:
    所述配置管理服务器对所述目标节点进行配置时,获取存储的所述对称配置文件;When the configuration management server configures the target node, obtain the stored symmetric configuration file;
    对应的,所述将所述对称配置文件转换为所述目标节点对应的非对称配置文件之后,还包括:Correspondingly, after the converting the symmetric configuration file into the asymmetric configuration file corresponding to the target node, the method further includes:
    将所述非对称配置文件发送到所述目标节点。Sending the asymmetric configuration file to the target node.
  3. 根据权利要求1所述的非对称配置的管理方法,其特征在于,所述对目标节点进行配置时,获取配置管理服务器存储的全部所述预设节点对应的对称配置文件,包括:The method for managing asymmetric configuration according to claim 1, wherein when configuring the target node, obtaining all the symmetric configuration files corresponding to the preset nodes stored in the configuration management server comprises:
    所述目标节点接收所述配置管理服务器发送的所述对称配置文件。The target node receives the symmetric configuration file sent by the configuration management server.
  4. 根据权利要求1至3任一项所述的非对称配置的管理方法,其特征在于,所述对称配置文件包括预设数量的服务器节点各自对应的客户端节点的配置文件时,所述根据所述非对称配置信息和所述目标节点的特定信息,将所述对称配置文件转换为所述目标节点对应的非对称配置文件,包括:The asymmetric configuration management method according to any one of claims 1 to 3, wherein when the symmetric configuration file includes a configuration file of a client node corresponding to each of a preset number of server nodes, the The conversion of the asymmetric configuration information and the specific information of the target node into the asymmetric configuration file corresponding to the target node includes:
    根据所述非对称配置信息中的服务器节点身份信息和所述目标节点的身份信息,判断所述目标节点是否为所述服务器节点;Judging whether the target node is the server node according to the server node identity information in the asymmetric configuration information and the identity information of the target node;
    若所述目标节点为所述服务器节点,则根据所述目标节点的节点配置信息,通过调整所述对称配置文件中所述目标节点对应的客户端节点的配 置文件,得到所述目标节点对应的非对称配置文件;其中,所述特定信息包括所述身份信息和所述节点配置信息;If the target node is the server node, according to the node configuration information of the target node, the configuration file of the client node corresponding to the target node in the symmetric configuration file is adjusted to obtain the corresponding An asymmetric configuration file; wherein the specific information includes the identity information and the node configuration information;
    若所述目标节点为所述客户端节点,则将所述对称配置文件中所述目标节点的配置文件作为所述目标节点对应的非对称配置文件。If the target node is the client node, the configuration file of the target node in the symmetric configuration file is used as the asymmetric configuration file corresponding to the target node.
  5. 根据权利要求4所述的非对称配置的管理方法,其特征在于,所述对称配置文件为ntp对称配置文件且所述预设数量为1时,所述对称配置文件具体为包含有ntp服务器节点IP地址的step-tickers文件;The asymmetric configuration management method according to claim 4, wherein when the symmetric configuration file is an ntp symmetric configuration file and the preset number is 1, the symmetric configuration file specifically includes an ntp server node The step-tickers file of the IP address;
    对应的,所述根据所述非对称配置信息中的服务器节点身份信息和所述目标节点的身份信息,判断所述目标节点是否为所述服务器节点,包括:Correspondingly, the judging whether the target node is the server node according to the server node identity information in the asymmetric configuration information and the identity information of the target node includes:
    根据所述ntp服务器节点IP地址和所述目标节点的IP地址,判断所述目标节点是否为ntp服务器节点;Judging whether the target node is an ntp server node according to the IP address of the ntp server node and the IP address of the target node;
    若所述目标节点为所述ntp服务器节点,则将所述step-tickers文件中的所述ntp服务器节点IP地址替换为所述目标节点的本地时钟地址,得到所述目标节点对应的非对称配置文件;If the target node is the ntp server node, replace the ntp server node IP address in the step-tickers file with the local clock address of the target node to obtain the asymmetric configuration corresponding to the target node file;
    若所述目标节点为所述ntp客户端节点,则将所述step-tickers文件作为所述目标节点对应的非对称配置文件。If the target node is the ntp client node, the step-tickers file is used as the asymmetric configuration file corresponding to the target node.
  6. 一种非对称配置的管理装置,其特征在于,包括:An asymmetrically configured management device, characterized in that it comprises:
    获取模块,用于对目标节点进行配置时,获取配置管理服务器存储的全部所述预设节点对应的对称配置文件;其中,所述对称配置文件包含全部所述预设节点的非对称配置信息,所述目标节点为任一所述预设节点;The obtaining module is used to obtain all the symmetric configuration files corresponding to the preset nodes stored in the configuration management server when configuring the target node; wherein, the symmetric configuration file includes the asymmetric configuration information of all the preset nodes, The target node is any one of the preset nodes;
    转换模块,用于根据所述非对称配置信息和所述目标节点的特定信息,将所述对称配置文件转换为所述目标节点对应的非对称配置文件,以使所述目标节点利用所述非对称配置文件完成配置。The conversion module is configured to convert the symmetric configuration file into the asymmetric configuration file corresponding to the target node according to the asymmetric configuration information and the specific information of the target node, so that the target node uses the non-symmetric configuration file. The symmetric configuration file completes the configuration.
  7. 根据权利要求6所述的非对称配置的管理装置,其特征在于,所述对称配置文件包括预设数量的服务器节点各自对应的客户端节点的配置文件时,所述转换模块,包括:The asymmetric configuration management device according to claim 6, wherein when the symmetric configuration file includes a preset number of configuration files of a client node corresponding to each of the server nodes, the conversion module includes:
    判断子模块,用于根据所述非对称配置信息中的服务器节点身份信息和所述目标节点的身份信息,判断所述目标节点是否为所述服务器节点;A judging sub-module, configured to judge whether the target node is the server node according to the server node identity information in the asymmetric configuration information and the identity information of the target node;
    调整子模块,用于若所述目标节点为所述服务器节点,则根据所述目 标节点的节点配置信息,通过调整所述对称配置文件中所述目标节点对应的客户端节点的配置文件,得到所述目标节点对应的非对称配置文件;其中,所述特定信息包括所述身份信息和所述节点配置信息;The adjustment sub-module is configured to, if the target node is the server node, according to the node configuration information of the target node, by adjusting the configuration file of the client node corresponding to the target node in the symmetric configuration file to obtain The asymmetric configuration file corresponding to the target node; wherein the specific information includes the identity information and the node configuration information;
    确定子模块,用于若所述目标节点为所述客户端节点,则将所述对称配置文件中所述目标节点的配置文件作为所述目标节点对应的非对称配置文件。The determining sub-module is configured to, if the target node is the client node, use the configuration file of the target node in the symmetric configuration file as the asymmetric configuration file corresponding to the target node.
  8. 根据权利要求7所述的非对称配置的管理装置,其特征在于,所述对称配置文件为ntp对称配置文件且所述预设数量为1时,所述对称配置文件具体为包含有ntp服务器节点IP地址的step-tickers文件;The asymmetric configuration management device according to claim 7, wherein when the symmetric configuration file is an ntp symmetric configuration file and the preset number is 1, the symmetric configuration file specifically includes an ntp server node The step-tickers file of the IP address;
    对应的,所述判断子模块具体用于根据所述ntp服务器节点IP地址和所述目标节点的IP地址,判断所述目标节点是否为ntp服务器节点;Correspondingly, the judgment submodule is specifically configured to judge whether the target node is an ntp server node according to the IP address of the ntp server node and the IP address of the target node;
    调整子模块具体用于若所述目标节点为所述ntp服务器节点,则将所述step-tickers文件中的所述ntp服务器节点IP地址替换为所述目标节点的本地时钟地址,得到所述目标节点对应的非对称配置文件;The adjustment submodule is specifically configured to replace the IP address of the ntp server node in the step-tickers file with the local clock address of the target node if the target node is the ntp server node to obtain the target The asymmetric configuration file corresponding to the node;
    确定子模块具体用于若所述目标节点为所述ntp客户端节点,则将所述step-tickers文件作为所述目标节点对应的非对称配置文件。The determining submodule is specifically configured to use the step-tickers file as the asymmetric configuration file corresponding to the target node if the target node is the ntp client node.
  9. 一种非对称配置的管理设备,其特征在于,包括:An asymmetrically configured management device, which is characterized in that it comprises:
    存储器,用于存储计算机程序;Memory, used to store computer programs;
    处理器,用于执行所述计算机程序时实现如权利要求1至5任一项所述的非对称配置的管理方法的步骤。The processor is configured to implement the steps of the asymmetric configuration management method according to any one of claims 1 to 5 when the computer program is executed.
  10. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1至5任一项所述的非对称配置的管理方法的步骤。A computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the asymmetric configuration according to any one of claims 1 to 5 is realized The steps of the management method.
PCT/CN2020/110946 2019-12-30 2020-08-25 Asymmetric configuration management method, apparatus and device, and readable storage medium WO2021135279A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911398117.9 2019-12-30
CN201911398117.9A CN111193622B (en) 2019-12-30 2019-12-30 Asymmetric configuration management method, device and equipment and readable storage medium

Publications (1)

Publication Number Publication Date
WO2021135279A1 true WO2021135279A1 (en) 2021-07-08

Family

ID=70709665

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/110946 WO2021135279A1 (en) 2019-12-30 2020-08-25 Asymmetric configuration management method, apparatus and device, and readable storage medium

Country Status (2)

Country Link
CN (1) CN111193622B (en)
WO (1) WO2021135279A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113794587A (en) * 2021-08-31 2021-12-14 新华三云计算技术有限公司 Port configuration method and device
CN116795636A (en) * 2023-06-21 2023-09-22 广州市玄武无线科技股份有限公司 Service system data monitoring method and device, electronic equipment and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111193622B (en) * 2019-12-30 2021-11-09 浪潮电子信息产业股份有限公司 Asymmetric configuration management method, device and equipment and readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102455936A (en) * 2010-11-25 2012-05-16 中标软件有限公司 Trunk quick allocation method
CN103634144A (en) * 2013-11-15 2014-03-12 新浪网技术(中国)有限公司 Method, system and equipment for managing multi-IDC (internet data center) cluster configuration file
CN107454140A (en) * 2017-06-27 2017-12-08 北京溢思得瑞智能科技研究院有限公司 A kind of Ceph cluster automatically dispose method and system based on big data platform
US20190020580A1 (en) * 2017-07-14 2019-01-17 Nicira, Inc. Asymmetric network elements sharing an anycast address
CN111193622A (en) * 2019-12-30 2020-05-22 浪潮电子信息产业股份有限公司 Asymmetric configuration management method, device and equipment and readable storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106603281A (en) * 2016-12-07 2017-04-26 乐视控股(北京)有限公司 Configuration file management method and system
CN107483250A (en) * 2017-08-21 2017-12-15 郑州云海信息技术有限公司 Decentralized configuration management method, device and the system for realizing decentralized configuration management
CN108600029B (en) * 2018-05-09 2022-11-08 深圳壹账通智能科技有限公司 Configuration file updating method and device, terminal equipment and storage medium
CN110138588B (en) * 2019-04-04 2022-07-08 微梦创科网络科技(中国)有限公司 Method and system for automatically managing configuration files, configuration management platform and client

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102455936A (en) * 2010-11-25 2012-05-16 中标软件有限公司 Trunk quick allocation method
CN103634144A (en) * 2013-11-15 2014-03-12 新浪网技术(中国)有限公司 Method, system and equipment for managing multi-IDC (internet data center) cluster configuration file
CN107454140A (en) * 2017-06-27 2017-12-08 北京溢思得瑞智能科技研究院有限公司 A kind of Ceph cluster automatically dispose method and system based on big data platform
US20190020580A1 (en) * 2017-07-14 2019-01-17 Nicira, Inc. Asymmetric network elements sharing an anycast address
CN111193622A (en) * 2019-12-30 2020-05-22 浪潮电子信息产业股份有限公司 Asymmetric configuration management method, device and equipment and readable storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113794587A (en) * 2021-08-31 2021-12-14 新华三云计算技术有限公司 Port configuration method and device
CN116795636A (en) * 2023-06-21 2023-09-22 广州市玄武无线科技股份有限公司 Service system data monitoring method and device, electronic equipment and storage medium
CN116795636B (en) * 2023-06-21 2024-02-13 广州市玄武无线科技股份有限公司 Service system data monitoring method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN111193622B (en) 2021-11-09
CN111193622A (en) 2020-05-22

Similar Documents

Publication Publication Date Title
WO2021135279A1 (en) Asymmetric configuration management method, apparatus and device, and readable storage medium
US11232080B2 (en) Systems and methods for providing access to a data file stored at a data storage system
US11216418B2 (en) Method for seamless access to a cloud storage system by an endpoint device using metadata
US8788760B2 (en) Adaptive caching of data
US8341118B2 (en) Method and system for dynamically replicating data within a distributed storage system
WO2021012568A1 (en) Data processing method and related device
JP2018088293A (en) Database system providing single tenant environment and a plurality of tenant environments
WO2019201039A1 (en) Method and system for updating application and application server
WO2017041649A1 (en) Application deployment method and device
WO2015035816A1 (en) Nginx server configuration maintenance method and system
WO2019056882A1 (en) Method and system for cross-platform deployment
US10262024B1 (en) Providing consistent access to data objects transcending storage limitations in a non-relational data store
CN105677789A (en) Method and system for managing directory capacity of distributed file system
WO2022095366A1 (en) Redis-based data reading method and apparatus, device, and readable storage medium
CN114339135A (en) Load balancing method and device, electronic equipment and storage medium
CN113746641B (en) ODX protocol processing method based on distributed storage
US10140302B2 (en) Autonomic generation of document structure in a content management system
CN108062225B (en) Method for issuing application cluster by multi-template combination
US20240054054A1 (en) Data Backup Method and System, and Related Device
WO2016045392A1 (en) Service deployment method, service management method and apparatus
CN116450353A (en) Processor core matching method and device, electronic equipment and storage medium
CN115189931A (en) Distributed key management method, device, equipment and storage medium
WO2020220272A1 (en) Method and system for changing resource state, terminal, and storage medium
CN111030849B (en) Adjustment method and device for load balancing configuration file
US9501528B2 (en) Efficient response of common information model (CIM) server

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20910751

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20910751

Country of ref document: EP

Kind code of ref document: A1