CN111966465A - Method, system, equipment and medium for modifying configuration parameters of host machine in real time - Google Patents
Method, system, equipment and medium for modifying configuration parameters of host machine in real time Download PDFInfo
- Publication number
- CN111966465A CN111966465A CN202010846607.7A CN202010846607A CN111966465A CN 111966465 A CN111966465 A CN 111966465A CN 202010846607 A CN202010846607 A CN 202010846607A CN 111966465 A CN111966465 A CN 111966465A
- Authority
- CN
- China
- Prior art keywords
- directory
- command
- configuration file
- host
- modifying
- Prior art date
- Legal status (The legal status 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 status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 46
- 230000008859 change Effects 0.000 claims abstract description 22
- 238000002955 isolation Methods 0.000 claims abstract description 17
- 230000004048 modification Effects 0.000 claims abstract description 14
- 238000012986 modification Methods 0.000 claims abstract description 14
- 230000004044 response Effects 0.000 claims abstract description 13
- 238000012544 monitoring process Methods 0.000 claims abstract description 9
- 230000006870 function Effects 0.000 claims description 12
- 238000004590 computer program Methods 0.000 claims description 6
- 238000012423 maintenance Methods 0.000 description 5
- 230000008569 process Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 230000007246 mechanism Effects 0.000 description 4
- 230000000694 effects Effects 0.000 description 3
- 238000001514 detection method Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000005856 abnormality Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000014509 gene expression Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000002715 modification method Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
- G06F2009/45595—Network integration; Enabling network access in virtual machine instances
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Abstract
The invention discloses a method, a system, equipment and a storage medium for modifying configuration parameters of a host machine in real time, wherein the method comprises the following steps: creating a dispatch unit in the K8S cluster and associating the directory of hosts with the dispatch unit to eliminate logical isolation of hosts from the dispatch unit; writing the service application program into a scheduling unit, and monitoring a configuration file of a directory; in response to receiving a command for modifying the configuration parameters of the host, writing the command into a configuration file of the directory through the service application; and in response to detecting a change in the configuration file for the directory, modifying the configuration parameters of the host based on the change. The invention realizes the association between the pod and the host machine by utilizing the volume of the kubernets, solves the logic isolation between the host machine and the application, and can realize the real-time modification of the configuration parameters of the host machine.
Description
Technical Field
The present invention relates to the field of containers, and more particularly, to a method, a system, a computer device, and a readable medium for modifying configuration parameters of a host in real time.
Background
With the gradual complexity of the functions of the application system, services to be provided become more and more, and the traditional single service mode has a huge challenge in terms of new function development, service maintenance and the like. Therefore, some services with single function or strong relevance need to be extracted from the whole to form independent services, which gradually evolves into a micro-service architecture. In the micro-service architecture, decoupling is realized among all services, the services are independently operated on all nodes, service requests are carried out in a service calling mode, a single service is down, other service processes are not influenced, and the availability of the system is greatly improved. A huge system is often composed of dozens or even hundreds of micro-services, and the deployment of these micro-services on a traditional virtual machine faces the problems of difficult operation and maintenance and slow deployment, so in recent years, the containerization technology is being widely applied to the micro-service architecture. Kubernetes (K8S) is a relatively common containerized application deployment tool. The micro-services between Pod (dispatch unit) and Pod, Pod and host are logically isolated from each other.
In a very common case, some operations to modify the hosts are provided externally through containerized services provided by kubernets, such as configuring NTP (network time protocol) servers of the hosts. Because the service runs in the pod and has logic isolation with the host, the direct modification of the host configuration file cannot be realized. However, it is common practice to modify the configuration file of the host computer by using remote login commands such as ssh, but this method has a great problem. In a formal production environment, the background login information of the host is only kept by operation and maintenance personnel and is opaque to a user, so that the operation can be realized only by contacting the operation and maintenance personnel, and thus, complete functions cannot be provided for the outside.
Disclosure of Invention
In view of this, an object of the embodiments of the present invention is to provide a method, a system, a computer device, and a computer-readable storage medium for modifying a configuration parameter of a host in real time, which implement association between a pod and the host by using a volume of kubernets, and solve a logical isolation between the host and an application, so as to implement modifying the configuration parameter of the host in real time.
Based on the above object, an aspect of the embodiments of the present invention provides a method for modifying configuration parameters of a host in real time, including the following steps: creating a dispatch unit in a K8S cluster and associating a directory of hosts with the dispatch unit to eliminate logical isolation of the hosts from the dispatch unit; writing a service application program into the scheduling unit, and monitoring a configuration file of the directory; in response to receiving a command to modify a host configuration parameter, writing the command to a configuration file of the directory by the service application; and in response to detecting a change in the configuration file of the directory, modifying the configuration parameters of the host based on the change.
In some embodiments, said associating a directory of hosts with said dispatch unit to eliminate logical isolation of said hosts from said dispatch unit comprises: and mounting the file directory of the file system of the host machine to the scheduling unit.
In some embodiments, said writing, by said service application, said command to said directory's configuration file comprises: and transmitting the command to a corresponding application based on the interface of the service application program, generating a corresponding splicing command according to a function required to be realized, and writing the splicing command into a configuration file of the directory.
In some embodiments, said writing said splice command to a configuration file of said directory comprises: and converting the format of the splicing command and writing the splicing command into the configuration file of the directory.
In some embodiments, said modifying a configuration parameter of said host based on said change comprises: and reading the configuration file of the directory, acquiring the splicing command in the configuration file and modifying the configuration file of the host machine based on the splicing command.
In some embodiments, the obtaining the splicing command in the configuration file and modifying the configuration file of the host based thereon includes: and analyzing the splicing command according to a preset format and modifying the configuration file of the host machine based on the analyzed splicing command.
In some embodiments, the method further comprises: and detecting whether the modified configuration parameters of the host machine conform to the command.
In another aspect of the embodiments of the present invention, a system for modifying configuration parameters of a host in real time is further provided, including: an association module configured to create a dispatch unit in a K8S cluster and associate a directory of hosts with the dispatch unit to eliminate logical isolation of the hosts from the dispatch unit; the monitoring module is configured to write a service application program into the scheduling unit and monitor the configuration file of the directory; the execution module is configured to respond to a command for modifying the configuration parameters of the host machine and write the command into the configuration file of the directory through the service application program; and a modification module configured to modify the configuration parameters of the host based on the change in response to detecting the change in the configuration file of the directory.
In another aspect of the embodiments of the present invention, there is also provided a computer device, including: at least one processor; and a memory storing computer instructions executable on the processor, the instructions when executed by the processor implementing the steps of the method as above.
In a further aspect of the embodiments of the present invention, a computer-readable storage medium is also provided, in which a computer program for implementing the above method steps is stored when the computer program is executed by a processor.
The invention has the following beneficial technical effects: the association between the pod and the host is realized by using the volume of the kubernets, so that the logic isolation between the host and the application is solved, and the configuration parameters of the host can be modified in real time.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other embodiments can be obtained by using the drawings without creative efforts.
FIG. 1 is a schematic diagram of an embodiment of a method for modifying configuration parameters of a host in real time according to the present invention;
fig. 2 is a schematic diagram of a hardware structure of an embodiment of the computer device for modifying configuration parameters of a host in real time according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the following embodiments of the present invention are described in further detail with reference to the accompanying drawings.
It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are used for distinguishing two entities with the same name but different names or different parameters, and it should be noted that "first" and "second" are merely for convenience of description and should not be construed as limitations of the embodiments of the present invention, and they are not described in any more detail in the following embodiments.
In view of the above, a first aspect of the embodiments of the present invention provides an embodiment of a method for modifying configuration parameters of a host in real time. Fig. 1 is a schematic diagram illustrating an embodiment of a method for modifying configuration parameters of a host in real time according to the present invention. As shown in fig. 1, the embodiment of the present invention includes the following steps:
s1, creating a scheduling unit in the K8S cluster, and associating the directory of the host machine with the scheduling unit to eliminate the logical isolation of the host machine and the scheduling unit;
s2, writing the service application program into the scheduling unit, and monitoring the configuration file of the directory;
s3, in response to receiving a command for modifying the configuration parameters of the host, writing the command into the configuration file of the directory through the service application program; and
and S4, responding to the detected change of the configuration file of the directory, and modifying the configuration parameters of the host machine based on the change.
Kubernets (K8S) is an open source application for managing containerization across multiple hosts in a cloud platform, and its goal is to make deploying containerized applications simple and efficient. The Pod is the smallest scheduling unit of K8S, and there is logical separation between the Pod and the host, i.e. the operation instruction and the file system are independent. The embodiment of the invention is mainly applied to a kubernets architecture, and provides an interface through the service running in the pod to realize the real-time modification of the configuration parameters of the host machine.
The schedule elements are created in the K8S cluster and the directory of hosts and schedule elements are associated to eliminate logical isolation of hosts from schedule elements.
In some embodiments, said associating a directory of hosts with said dispatch unit to eliminate logical isolation of said hosts from said dispatch unit comprises: and mounting the file directory of the file system of the host machine to the scheduling unit. A certain file directory in a host file system can be used as a resource volume in kubernets and is mounted on a pod, and at the moment, an application program running in the pod can modify the file content in the volume like modifying a local file.
The service application is written into the scheduling unit and the configuration file of the directory is monitored. The service application program is deployed in pod of kubernets, and can continuously monitor the configuration file of the mounted directory through a watch mechanism.
In response to receiving a command to modify a configuration parameter of a host, the command is written into a configuration file of a directory by a service application.
In some embodiments, said writing, by said service application, said command to said directory's configuration file comprises: and transmitting the command to a corresponding application based on the interface of the service application program, generating a corresponding splicing command according to a function required to be realized, and writing the splicing command into a configuration file of the directory. The user transfers the configuration parameters to be modified or the commands to be executed to the background application by calling the interface of the service, and the background application installs the corresponding command splicing commands according to the different functions to be realized.
In some embodiments, said writing said splice command to a configuration file of said directory comprises: and converting the format of the splicing command and writing the splicing command into the configuration file of the directory.
In response to detecting a change to the configuration file of the directory, modifying the configuration parameters of the host based on the change. The host machine continuously monitors the mounted directory through the watch mechanism, when a file modification event occurs, the system calls a program, reads the file content, analyzes the command according to a fixed format, and executes corresponding operations, such as modifying certain configuration files or executing certain commands.
In some embodiments, said modifying a configuration parameter of said host based on said change comprises: and reading the configuration file of the directory, acquiring the splicing command in the configuration file and modifying the configuration file of the host machine based on the splicing command.
In some embodiments, the obtaining the splicing command in the configuration file and modifying the configuration file of the host based thereon includes: and analyzing the splicing command according to a preset format and modifying the configuration file of the host machine based on the analyzed splicing command.
In some embodiments, the method further comprises: and detecting whether the modified configuration parameters of the host machine conform to the command. In order to avoid the occurrence of an abnormality in the modification process, a detection mechanism may be provided, when the configuration parameters of the host are modified, the configuration parameters may be compared with the command, and if the configuration parameters are consistent, the modification process is normal.
The embodiment of the invention realizes a multi-architecture host configuration real-time modification method based on an event monitoring mechanism under a kubernets architecture, solves the problem that the application in a pod node can not directly modify the configuration parameters of the host, and realizes the real-time modification of a service application host configuration file by a client under the condition of not increasing operation and maintenance workload.
It should be particularly noted that, the steps in the embodiments of the method for modifying the configuration parameters of the host in real time may be mutually intersected, replaced, added, and deleted, so that these methods for modifying the configuration parameters of the host in real time, which are reasonably changed by permutation and combination, should also belong to the scope of the present invention, and should not limit the scope of the present invention to the embodiments.
In view of the above, a second aspect of the embodiments of the present invention provides a system for modifying configuration parameters of a host in real time, including: an association module configured to create a dispatch unit in a K8S cluster and associate a directory of hosts with the dispatch unit to eliminate logical isolation of the hosts from the dispatch unit; the monitoring module is configured to write a service application program into the scheduling unit and monitor the configuration file of the directory; the execution module is configured to respond to a command for modifying the configuration parameters of the host machine and write the command into the configuration file of the directory through the service application program; and a modification module configured to modify the configuration parameters of the host based on the change in response to detecting the change in the configuration file of the directory.
In some embodiments, the association module is configured to: and mounting the file directory of the file system of the host machine to the scheduling unit.
In some embodiments, the execution module is configured to: and transmitting the command to a corresponding application based on the interface of the service application program, generating a corresponding splicing command according to a function required to be realized, and writing the splicing command into a configuration file of the directory.
In some embodiments, the execution module is further configured to: and converting the format of the splicing command and writing the splicing command into the configuration file of the directory.
In some embodiments, the modification module is configured to: and reading the configuration file of the directory, acquiring the splicing command in the configuration file and modifying the configuration file of the host machine based on the splicing command.
In some embodiments, the modification module is configured to: and analyzing the splicing command according to a preset format and modifying the configuration file of the host machine based on the analyzed splicing command.
In some embodiments, further comprising: and the detection module is configured for detecting whether the modified configuration parameters of the host machine conform to the command.
In view of the above object, a third aspect of the embodiments of the present invention provides a computer device, including: at least one processor; and a memory storing computer instructions executable on the processor, the instructions being executable by the processor to perform the steps of: s1, creating a scheduling unit in the K8S cluster, and associating the directory of the host machine with the scheduling unit to eliminate the logical isolation of the host machine and the scheduling unit; s2, writing the service application program into the scheduling unit, and monitoring the configuration file of the directory; s3, in response to receiving a command for modifying the configuration parameters of the host, writing the command into the configuration file of the directory through the service application program; and S4, responding to the detected change of the configuration file of the directory, and modifying the configuration parameters of the host machine based on the change.
In some embodiments, said associating a directory of hosts with said dispatch unit to eliminate logical isolation of said hosts from said dispatch unit comprises: and mounting the file directory of the file system of the host machine to the scheduling unit.
In some embodiments, said writing, by said service application, said command to said directory's configuration file comprises: and transmitting the command to a corresponding application based on the interface of the service application program, generating a corresponding splicing command according to a function required to be realized, and writing the splicing command into a configuration file of the directory.
In some embodiments, said writing said splice command to a configuration file of said directory comprises: and converting the format of the splicing command and writing the splicing command into the configuration file of the directory.
In some embodiments, said modifying a configuration parameter of said host based on said change comprises: and reading the configuration file of the directory, acquiring the splicing command in the configuration file and modifying the configuration file of the host machine based on the splicing command.
In some embodiments, the obtaining the splicing command in the configuration file and modifying the configuration file of the host based thereon includes: and analyzing the splicing command according to a preset format and modifying the configuration file of the host machine based on the analyzed splicing command.
In some embodiments, the steps further comprise: and detecting whether the modified configuration parameters of the host machine conform to the command.
Fig. 2 is a schematic hardware structure diagram of an embodiment of the computer device for modifying configuration parameters of a host in real time according to the present invention.
Taking the apparatus shown in fig. 2 as an example, the apparatus includes a processor 301 and a memory 302, and may further include: an input device 303 and an output device 304.
The processor 301, the memory 302, the input device 303 and the output device 304 may be connected by a bus or other means, and fig. 2 illustrates the connection by a bus as an example.
The memory 302 is a non-volatile computer-readable storage medium, and can be used for storing non-volatile software programs, non-volatile computer-executable programs, and modules, such as program instructions/modules corresponding to the method for modifying configuration parameters of a host in real time in the embodiment of the present application. The processor 301 executes various functional applications and data processing of the server by running the nonvolatile software programs, instructions and modules stored in the memory 302, that is, implements the method for modifying the configuration parameters of the host in real time according to the above method embodiment.
The memory 302 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of a method of modifying configuration parameters of the host in real time, and the like. Further, the memory 302 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some embodiments, memory 302 optionally includes memory located remotely from processor 301, which may be connected to a local module via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 303 may receive information such as a user name and a password that are input. The output means 304 may comprise a display device such as a display screen.
Program instructions/modules corresponding to one or more methods for modifying a configuration parameter of a host in real time are stored in the memory 302, and when executed by the processor 301, perform the method for modifying a configuration parameter of a host in real time in any of the above-described method embodiments.
Any embodiment of the computer device executing the method for modifying the configuration parameters of the host in real time can achieve the same or similar effects as any corresponding embodiment of the method.
The invention also provides a computer readable storage medium storing a computer program which, when executed by a processor, performs the method as above.
Finally, it should be noted that, as one of ordinary skill in the art can appreciate that all or part of the processes of the methods of the above embodiments can be implemented by a computer program to instruct related hardware, and the program of the method for modifying the configuration parameters of the host in real time can be stored in a computer readable storage medium, and when executed, the program can include the processes of the embodiments of the methods as described above. The storage medium of the program may be a magnetic disk, an optical disk, a Read Only Memory (ROM), a Random Access Memory (RAM), or the like. The embodiments of the computer program may achieve the same or similar effects as any of the above-described method embodiments.
The foregoing is an exemplary embodiment of the present disclosure, but it should be noted that various changes and modifications could be made herein without departing from the scope of the present disclosure as defined by the appended claims. The functions, steps and/or actions of the method claims in accordance with the disclosed embodiments described herein need not be performed in any particular order. Furthermore, although elements of the disclosed embodiments of the invention may be described or claimed in the singular, the plural is contemplated unless limitation to the singular is explicitly stated.
It should be understood that, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly supports the exception. It should also be understood that "and/or" as used herein is meant to include any and all possible combinations of one or more of the associated listed items.
The numbers of the embodiments disclosed in the embodiments of the present invention are merely for description, and do not represent the merits of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
Those of ordinary skill in the art will understand that: the discussion of any embodiment above is meant to be exemplary only, and is not intended to intimate that the scope of the disclosure, including the claims, of embodiments of the invention is limited to these examples; within the idea of an embodiment of the invention, also technical features in the above embodiment or in different embodiments may be combined and there are many other variations of the different aspects of the embodiments of the invention as described above, which are not provided in detail for the sake of brevity. Therefore, any omissions, modifications, substitutions, improvements, and the like that may be made without departing from the spirit and principles of the embodiments of the present invention are intended to be included within the scope of the embodiments of the present invention.
Claims (10)
1. A method for modifying configuration parameters of a host machine in real time is characterized by comprising the following steps:
creating a dispatch unit in a K8S cluster and associating a directory of hosts with the dispatch unit to eliminate logical isolation of the hosts from the dispatch unit;
writing a service application program into the scheduling unit, and monitoring a configuration file of the directory;
in response to receiving a command to modify a host configuration parameter, writing the command to a configuration file of the directory by the service application; and
in response to detecting a change in the configuration file of the directory, modifying configuration parameters of the host based on the change.
2. The method of claim 1, wherein associating the directory of hosts with the dispatch unit to eliminate logical isolation of the hosts from the dispatch unit comprises:
and mounting the file directory of the file system of the host machine to the scheduling unit.
3. The method of claim 1, wherein the writing, by the service application, the command to the configuration file of the directory comprises:
and transmitting the command to a corresponding application based on the interface of the service application program, generating a corresponding splicing command according to a function required to be realized, and writing the splicing command into a configuration file of the directory.
4. The method of claim 3, wherein writing the splice command to the configuration file of the directory comprises:
and converting the format of the splicing command and writing the splicing command into the configuration file of the directory.
5. The method of claim 4, wherein modifying the configuration parameters of the host based on the change comprises:
and reading the configuration file of the directory, acquiring the splicing command in the configuration file and modifying the configuration file of the host machine based on the splicing command.
6. The method of claim 5, wherein obtaining the join command in the configuration file and modifying the configuration file of the host based thereon comprises:
and analyzing the splicing command according to a preset format and modifying the configuration file of the host machine based on the analyzed splicing command.
7. The method of claim 1, further comprising:
and detecting whether the modified configuration parameters of the host machine conform to the command.
8. A system for modifying configuration parameters of a host in real time, comprising:
an association module configured to create a dispatch unit in a K8S cluster and associate a directory of hosts with the dispatch unit to eliminate logical isolation of the hosts from the dispatch unit;
the monitoring module is configured to write a service application program into the scheduling unit and monitor the configuration file of the directory;
the execution module is configured to respond to a command for modifying the configuration parameters of the host machine and write the command into the configuration file of the directory through the service application program; and
a modification module configured to modify a configuration parameter of the host based on a change in the configuration file of the directory in response to detecting the change.
9. A computer device, comprising:
at least one processor; and
a memory storing computer instructions executable on the processor, the instructions when executed by the processor implementing the steps of the method of any one of claims 1 to 7.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010846607.7A CN111966465B (en) | 2020-08-21 | 2020-08-21 | Method, system, equipment and medium for modifying host configuration parameters in real time |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010846607.7A CN111966465B (en) | 2020-08-21 | 2020-08-21 | Method, system, equipment and medium for modifying host configuration parameters in real time |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111966465A true CN111966465A (en) | 2020-11-20 |
CN111966465B CN111966465B (en) | 2023-06-02 |
Family
ID=73389864
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010846607.7A Active CN111966465B (en) | 2020-08-21 | 2020-08-21 | Method, system, equipment and medium for modifying host configuration parameters in real time |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111966465B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112965761A (en) * | 2021-03-10 | 2021-06-15 | 中国民航信息网络股份有限公司 | Data processing method, system, electronic equipment and storage medium |
CN113407504A (en) * | 2021-06-15 | 2021-09-17 | 中科曙光国际信息产业有限公司 | Data processing method, user space file system and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108845917A (en) * | 2018-04-09 | 2018-11-20 | 东峡大通(北京)管理咨询有限公司 | File journalization carry module, system and method in container |
CN110955578A (en) * | 2019-11-26 | 2020-04-03 | 深圳市信联征信有限公司 | Log collection method and device based on host machine, computer equipment and storage medium |
US20200192875A1 (en) * | 2018-12-17 | 2020-06-18 | Sap Se | Documenting modifications to configuration file |
-
2020
- 2020-08-21 CN CN202010846607.7A patent/CN111966465B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108845917A (en) * | 2018-04-09 | 2018-11-20 | 东峡大通(北京)管理咨询有限公司 | File journalization carry module, system and method in container |
US20200192875A1 (en) * | 2018-12-17 | 2020-06-18 | Sap Se | Documenting modifications to configuration file |
CN110955578A (en) * | 2019-11-26 | 2020-04-03 | 深圳市信联征信有限公司 | Log collection method and device based on host machine, computer equipment and storage medium |
Non-Patent Citations (1)
Title |
---|
ALEX: "如何在Pod中执行宿主机上的命令", 《HTTPS://BLOG.GMEM.CC/EXEC-HOST-CMD-FROM-WITHIN-A-POD》 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112965761A (en) * | 2021-03-10 | 2021-06-15 | 中国民航信息网络股份有限公司 | Data processing method, system, electronic equipment and storage medium |
CN112965761B (en) * | 2021-03-10 | 2023-10-10 | 中国民航信息网络股份有限公司 | Data processing method, system, electronic equipment and storage medium |
CN113407504A (en) * | 2021-06-15 | 2021-09-17 | 中科曙光国际信息产业有限公司 | Data processing method, user space file system and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN111966465B (en) | 2023-06-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11336531B2 (en) | Discovery and management of devices | |
US11307967B2 (en) | Test orchestration platform | |
CN109495308B (en) | Automatic operation and maintenance system based on management information system | |
US8095923B2 (en) | System and method for deploying and managing intelligent nodes in a distributed network | |
EP2661014B1 (en) | Polling sub-system and polling method for communication network system and communication apparatus | |
CN103490941B (en) | A kind of cloud computing environment monitors Configuration Online method in real time | |
US9473356B2 (en) | Automatic configuration of applications based on host metadata using application-specific templates | |
CN111966465B (en) | Method, system, equipment and medium for modifying host configuration parameters in real time | |
US20230214229A1 (en) | Multi-tenant java agent instrumentation system | |
WO2024077885A1 (en) | Management method, apparatus and device for container cluster, and non-volatile readable storage medium | |
DeCusatis et al. | Modeling software defined networks using mininet | |
US11424984B2 (en) | Autodiscovery with dynamic configuration launching | |
CN111930565B (en) | Process fault self-healing method, device and equipment for components in distributed management system | |
US10462234B2 (en) | Application resilience system and method thereof for applications deployed on platform | |
CN113127009A (en) | Automatic deployment method and device for big data management platform | |
CN115357198B (en) | Mounting method and device of storage volume, storage medium and electronic equipment | |
CN112422349B (en) | Network management system, method, equipment and medium for NFV | |
US11743108B1 (en) | Dynamic customization of network controller data path based on controller internal state awareness | |
US11775401B1 (en) | Intelligent coordination of log analysis and repair processes in a multi-cloud system | |
US20240111579A1 (en) | Termination of sidecar containers | |
US20230344520A1 (en) | Intelligent Monitoring and Repair of Network Services Using Log Feeds Provided Over Li-Fi Networks | |
US11431783B2 (en) | Direct binary file transfer based network management system free of messaging, commands and data format conversions | |
Feeney et al. | Autonomic management of smart spaces | |
WO2024076425A1 (en) | Termination of sidecar containers | |
CA3200033A1 (en) | Rapid error detection through command validation |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |