CN113391853A - Method, apparatus, device, medium, and program product for configuring an environment across systems - Google Patents

Method, apparatus, device, medium, and program product for configuring an environment across systems Download PDF

Info

Publication number
CN113391853A
CN113391853A CN202110663459.XA CN202110663459A CN113391853A CN 113391853 A CN113391853 A CN 113391853A CN 202110663459 A CN202110663459 A CN 202110663459A CN 113391853 A CN113391853 A CN 113391853A
Authority
CN
China
Prior art keywords
environment
configuration
cross
execution plan
parameters
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.)
Pending
Application number
CN202110663459.XA
Other languages
Chinese (zh)
Inventor
杜亚东
葛峥
林子涯
陈宏伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
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 Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN202110663459.XA priority Critical patent/CN113391853A/en
Publication of CN113391853A publication Critical patent/CN113391853A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention provides a method for configuring an environment across a system, which can be applied to the financial field or other fields. The method for configuring the environment across the system comprises the following steps: acquiring an execution plan, and acquiring software configuration parameters according to the execution plan; acquiring the parameters and generating a configuration file according to the parameters; and finishing the local application environment configuration according to the configuration file. Through predictably acquiring various indexes of system application software configuration parameters, a configuration file is generated to rapidly build a basic environment and an application environment with the same configuration so as to recover a service environment with the same production. Meanwhile, the available application environment can be automatically generated in batch, the tedious operation of manual configuration is omitted, and the risk of human configuration errors is reduced. The invention also provides a control device, equipment, a storage medium and a program product for the cross-system configuration environment.

Description

Method, apparatus, device, medium, and program product for configuring an environment across systems
Technical Field
The present invention relates to the field of financial system service equipment technology, and in particular, to a method, an apparatus, a device, a medium, and a program product for cross-system configuration environment.
Background
The rapid increase of data is a typical characteristic of the current generation, and as products and services are rapidly and iteratively developed, the security of data and the stability of services become more important, and higher requirements are put forward on the high availability of a system. Taking the financial industry as an example, as business iteration is accelerated, network infrastructure changes also grow exponentially, and in order to ensure that data is not lost and highly available, backup and multiple access are often adopted for implementation, but how can the data be efficiently applied? Under the condition of concurrent execution of a large number of tasks, if abnormal faults occur in the service, the standby environment is particularly important and is used for quickly recovering the service under the condition that the faults cannot be quickly positioned. How to rapidly recover the application and the service, after the basic environment is ready, it should be ensured that the configuration and the production of the environment configuration and the application are kept consistent, so as to achieve rapid service reception and reduce influence, and at the moment, the configuration and the construction by manual combing certainly cannot meet the requirements of rapidness and accuracy.
Disclosure of Invention
The invention mainly aims to provide a method, a device, equipment, a medium and a program product for cross-system configuration environment, aiming at solving the technical problems of low manual configuration efficiency and high error risk in the prior art.
In order to achieve the above object, the present invention provides a method for configuring an environment across a system, which is applied in the field of financial systems, and the method for configuring the environment across the system comprises the following steps:
acquiring an execution plan, and acquiring software configuration parameters according to the execution plan;
acquiring the parameters and generating a configuration file according to the parameters;
and finishing the local application environment configuration according to the configuration file.
Optionally, the collected parameters include operating system layer parameters and software layer parameters.
Optionally, the operating system layer parameters include operating system version, kernel parameters, file handle, storage information, environment variable configuration, firewall, ACL, and routing information.
Optionally, the collected software layer parameters include software version information, software installation information, installation directory structure, storage of software usage, software dependencies, environment variable configuration, execution plan, and software execution user information.
Optionally, before the step of obtaining an execution plan and acquiring software configuration parameters according to the execution plan, the method further includes:
generating the execution plan acquired periodically.
Optionally, before the step of obtaining an execution plan and acquiring software configuration parameters according to the execution plan, the method further includes:
generating the execution plan for a specified acquisition.
Optionally, after the step of obtaining the parameters and generating the configuration file according to the parameters, the method further includes:
and temporarily storing the configuration file according to a certain file naming mode and format.
Optionally, the step of completing the configuration of the local application environment according to the configuration file includes:
and downloading the configuration file to a configuration file server, pulling the configuration file from the server by the server to be configured, and completing the configuration of the local application environment through the configuration file.
In addition, in order to achieve the above object, the present invention further provides a control apparatus for a cross-system configuration environment, including a storage, a processor, and a control program of the cross-system configuration environment, which is stored in the storage and can run on the processor, wherein the control program of the cross-system configuration environment is configured to implement the steps of the control method of the cross-system configuration environment as described above.
In addition, to achieve the above object, the present invention further provides an apparatus for configuring an environment across systems, comprising:
the script management device is used for managing the script of the acquisition parameter;
the acquisition device is used for acquiring parameters and generating a configuration file;
the configuration device is used for building a basic environment and an application environment with the same configuration; and the number of the first and second groups,
the control device of the cross-system configuration environment is electrically connected with the script management device, the acquisition device and the configuration device, and the control device of the cross-system configuration environment is the control device of the cross-system configuration environment according to claim 6.
Optionally, the collecting device comprises:
the execution plan visualization customizing device is electrically connected with the control device of the cross-system configuration environment and is used for monitoring the link states of the script server and the downstream server in real time and setting an execution plan; and the number of the first and second groups,
and the execution plan acquisition device is electrically connected with the control device of the cross-system configuration environment and is used for executing the execution plan.
Optionally, the device of the cross-system configuration environment further includes a storage device, the storage device is electrically connected to the control device of the cross-system configuration environment, and the storage device is configured to classify and store the result of the execution plan collecting device in a persistent manner.
In addition, to achieve the above object, the present invention further provides a storage medium, on which a control program of a cross-system configuration environment is stored, and the control program of the cross-system configuration environment implements the steps of the control method of the cross-system configuration environment as described above when being executed by a processor.
Furthermore, to achieve the above object, the present invention also proposes a computer program product comprising a computer program which, when being executed by a processor, realizes the steps of the control method across system configuration environments as described above.
The technical scheme provided by the invention can be applied to the financial field or other fields. The method for configuring the environment across the system comprises the following steps: acquiring an execution plan, and acquiring software configuration parameters according to the execution plan; acquiring the parameters and generating a configuration file according to the parameters; and finishing the local application environment configuration according to the configuration file. Through predictably acquiring various indexes of system application software configuration parameters, a configuration file is generated to rapidly build a basic environment and an application environment with the same configuration so as to recover a service environment with the same production. Meanwhile, the available application environment can be automatically generated in batch, the tedious operation of manual configuration is omitted, and the risk of human configuration errors is reduced. In addition, the task execution progress can be predicted, a user can know the current progress and the actual execution condition of the task conveniently, and the task execution progress and the execution echoing can be checked in real time. The technical scheme provided by the invention overcomes the defect of manual processing, can effectively reduce the pressure of operation and maintenance personnel, quickly recover the service and reduce the production, operation and maintenance risks. The configuration environment of the system and the application can be effectively restored, so that the rapid establishment and generation of the standby environment are realized, and the inconsistency of manual configuration is avoided. The emergency and recovery efficiency of the fault scene is improved, the manual experience of operation and maintenance personnel is further converted into an automatic function, and the emergency efficiency and level of the operation environment are further improved. The method can display the execution progress and the execution condition of the acquired task, and provides effective data and judgment basis for operation and maintenance personnel to monitor the task execution process.
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, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the structures shown in the drawings without creative efforts.
FIG. 1 is a schematic structural diagram of a device adapted to implement a cross-system configuration environment of the above-described method in accordance with an embodiment of the present disclosure;
FIG. 2 is a schematic block diagram of a control device for the cross-system configuration environment of FIG. 1;
fig. 3 is a flowchart illustrating an embodiment of a method for configuring an environment across systems according to the present invention.
The reference numbers illustrate:
reference numerals Name (R) Reference numerals Name (R)
100 Apparatus for configuring an environment across systems 1803 Random access memory
101 Control device for cross-system configuration environment 1804 Bus line
102 Script management device 1805 I/O interface
103 Execution plan visualization customization device 1806 Input part
104 Execution plan acquisition device 1807 Output section
105 Configuration device 1808 Storage section
106 Storage device 1809 Communication part
1801 Processor with a memory having a plurality of memory cells 1810 Driver
1802 Read-only memory 1811 Removable media
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to specific embodiments and the accompanying drawings. The technical solutions in the present invention are clearly and completely described, and it is obvious that the described embodiments are some, not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. It should be understood that the description is illustrative only and is not intended to limit the scope of the present disclosure. In the following detailed description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the embodiments of the disclosure. It may be evident, however, that one or more embodiments may be practiced without these specific details. Moreover, in the following description, descriptions of well-known structures and techniques are omitted so as to not unnecessarily obscure the concepts of the present disclosure.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. The terms "comprises," "comprising," and the like, as used herein, specify the presence of stated features, steps, operations, and/or components, but do not preclude the presence or addition of one or more other features, steps, operations, or components.
All terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art unless otherwise defined. It is noted that the terms used herein should be interpreted as having a meaning that is consistent with the context of this specification and should not be interpreted in an idealized or overly formal sense.
Where a convention analogous to "at least one of A, B and C, etc." is used, in general such a construction is intended in the sense one having skill in the art would understand the convention (e.g., "a system having at least one of A, B and C" would include but not be limited to systems that have a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.). Where a convention analogous to "A, B or at least one of C, etc." is used, in general such a construction is intended in the sense one having skill in the art would understand the convention (e.g., "a system having at least one of A, B or C" would include but not be limited to systems that have a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.).
Some block diagrams and/or flow diagrams are shown in the figures. It will be understood that some blocks of the block diagrams and/or flowchart illustrations, or combinations thereof, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the instructions, which execute via the processor, create means for implementing the functions/acts specified in the block diagrams and/or flowchart block or blocks. The techniques of this disclosure may be implemented in hardware and/or software (including firmware, microcode, etc.). In addition, the techniques of this disclosure may take the form of a computer program product on a computer-readable storage medium having instructions stored thereon for use by or in connection with an instruction execution system.
It should be noted that, if directional indication is involved in the embodiment of the present invention, the directional indication is only used for explaining the relative positional relationship, the motion situation, and the like between the components in a certain posture, and if the certain posture is changed, the directional indication is changed accordingly.
In addition, if there is a description of "first", "second", etc. in an embodiment of the present invention, the description of "first", "second", etc. is for descriptive purposes only and is not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In addition, the meaning of "and/or" appearing throughout includes three juxtapositions, exemplified by "A and/or B" including either A or B or both A and B. Also, the technical solutions in the embodiments may be combined with each other, but must be based on the realization of those skilled in the art, and when the technical solutions are contradictory or cannot be realized, the combination of the technical solutions should be considered to be absent and not be within the protection scope of the present invention.
In the description of the present invention, it should be noted that the terms "upper", "lower", "top", "bottom", "inner", "outer", and the like indicate orientations or positional relationships based on those shown in the drawings, and are only for convenience of description and simplification of description, but do not indicate or imply that the referred device or element must have a specific orientation, be constructed in a specific orientation, and be operated, and thus, should not be construed as limiting the present invention.
In the description of the present invention, it should be noted that, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.
In addition, in the description of the present invention, "a plurality", and "a plurality" mean two or more unless otherwise specified.
The rapid increase of data is a typical characteristic of the current generation, and as products and services are rapidly and iteratively developed, the security of data and the stability of services become more important, and higher requirements are put forward on the high availability of a system. Taking the financial industry as an example, as business iteration is accelerated, network infrastructure changes also grow exponentially, and in order to ensure that data is not lost and highly available, backup and multiple access are often adopted for implementation, but how can the data be efficiently applied? Under the condition of concurrent execution of a large number of tasks, if abnormal faults occur in the service, the standby environment is particularly important and is used for quickly recovering the service under the condition that the faults cannot be quickly positioned. How to rapidly recover the application and the service, after the basic environment is ready, it should be ensured that the configuration and the production of the environment configuration and the application are kept consistent, so as to achieve rapid service reception and reduce influence, and at the moment, the configuration and the construction by manual combing certainly cannot meet the requirements of rapidness and accuracy.
In view of this, the invention provides a method for configuring an environment across a system, which generates a configuration file to rapidly construct a basic environment and an application environment with the same configuration by predictably collecting various indexes of configuration parameters of system application software, so as to recover a service environment with the same production. The method aims to solve the technical problems of low manual configuration efficiency and high error risk in the prior art.
Fig. 1 illustrates an apparatus 100 for a cross-system configuration environment in accordance with an embodiment of the present disclosure. It should be noted that fig. 1 is only an example of a device 100 in a cross-system configuration environment to which the embodiments of the present disclosure may be applied to help a person skilled in the art understand the technical content of the present disclosure, but does not mean that the embodiments of the present disclosure may not be applied to other devices, systems, environments or scenarios.
As shown in fig. 1, an apparatus 100 of a cross-system configuration environment according to the disclosed embodiment includes a control device 101 of the cross-system configuration environment, a script management device 102, an execution plan visualization customizing device 103, an execution plan collecting device 104, a configuration device 105, and a storage device 106. The script management device 102 is used for managing a script of the acquisition parameter; the configuration device 105 is used for building a basic environment and an application environment with the same configuration; the control device 101 of the cross-system configuration environment is electrically connected to the script management device 102, the acquisition device, and the configuration device 105, and the control device 101 of the cross-system configuration environment is the above-mentioned control device of the cross-system configuration environment. The execution plan visualization customizing device 103 is electrically connected with the control device 101 of the cross-system configuration environment, and the execution plan visualization customizing device 103 is used for monitoring the link states of the script server and the downstream server in real time and setting an execution plan; the execution plan acquisition device 104 is electrically connected to the control device 101 of the cross-system configuration environment, and the execution plan acquisition device 104 is used for executing the execution plan. The apparatus 100 for cross-system configuration environment further comprises a storage device 106, the storage device 106 is electrically connected with the control device 101 of the cross-system configuration environment, and the storage device 106 is used for classifying and storing the result of the execution plan collecting device 104 in a persistent manner.
The script management device 102 is responsible for the unified management of the acquisition parameter scripts, classifies and processes the scripts according to the types of the application software, and also comprises script issuing link management. The execution plan visualization customizing device 103 monitors link states of the script server and the downstream server in real time in a visualization mode, can formulate a parameter configuration file to be acquired, appoints the server to be acquired, also supports setting of a periodic acquisition plan, and further realizes formulation of an execution plan of the script according to needs. The plan execution acquisition device 104 is responsible for executing the execution plan issued by the execution plan visualization customizing device 103, and temporarily stores the configuration file according to a certain file naming mode and format. The storage 106 is responsible for categorizing the results of the scheduled execution acquisition 104 into persistent storage. The configuration means 105 is responsible for configuring and validating the persisted configuration file to the destination server, involving optional configuration application functions, having administrative rights to the destination server.
It should be noted that, a part of the apparatus 100 for cross-system configuration environment in the embodiment of the present disclosure corresponds to a part of the method for cross-system configuration environment in the embodiment of the present disclosure, and specific implementation details and technical effects thereof are also the same, and are not described herein again. Fig. 1 schematically shows a block diagram of a system suitable for implementing the above described method according to an embodiment of the present disclosure. The apparatus 100 illustrated in fig. 1 in the cross-system configuration environment is only an example and should not bring any limitations to the functionality or scope of use of the disclosed embodiments.
Referring to fig. 2, fig. 2 is a schematic structural diagram of a control device 1800 in a cross-system configuration environment according to an embodiment of the present invention.
As shown in fig. 2, the control device 1800 of the cross-system configuration environment may include: a processor 1801, which may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)1802 or a program loaded from a storage portion 1808 into a Random Access Memory (RAM) 1803. The processor 1801 may include, for example, a general purpose microprocessor (e.g., a CPU), an instruction set processor and/or associated chipset, and/or a special purpose microprocessor (e.g., an Application Specific Integrated Circuit (ASIC)), among others. The processor 1801 may also include onboard memory for caching purposes. The processor 1801 may include a single processing unit or multiple processing units for performing the different actions of the method flows in accordance with embodiments of the present disclosure.
In the RAM1803, various programs and data necessary for the operation of the electronic apparatus 1800 are stored. The processor 1801, ROM 1802, and RAM1803 are connected to one another by a bus 1804. The processor 1801 performs various operations of the method flows according to embodiments of the present disclosure by executing programs in the ROM 1802 and/or the RAM 1803. Note that the programs may also be stored in one or more memories other than ROM 1802 and RAM 1803. The processor 1801 may also perform various operations of method flows according to embodiments of the present disclosure by executing programs stored in the one or more memories.
According to an embodiment of the present disclosure, the electronic device 1800 may also include an input/output (I/O) interface 1805, the input/output (I/O) interface 1805 also being connected to the bus 1804. The electronic device 1800 may also include one or more of the following components connected to the I/O interface 1805: an input portion 1806 including a keyboard, a mouse, and the like; an output portion 1807 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage portion 1808 including a hard disk and the like; and a communication section 1809 including a network interface card such as a LAN card, a modem, or the like. The communication section 1809 performs communication processing via a network such as the internet. A driver 1810 is also connected to the I/O interface 1805 as needed. A removable medium 1811 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 1810 as necessary, so that a computer program read out therefrom is mounted in the storage portion 1808 as necessary. The communication section 1809 is used for implementing connection communication among these components, and includes various connection types such as wired, wireless communication links, or fiber optic cables. Input/output (I/O) interface ]805 may also include a standard wired interface, which may be a USB interface, a wireless interface.
The control apparatus 1800 of the cross-system configuration environment shown in fig. 2 further includes: the network interface is mainly used for connecting a background server and carrying out data communication with the background server; the user interface is mainly used for connecting user equipment; the control device of the cross-system configuration environment calls the control program of the cross-system configuration environment stored in the memory through the processor 1801, and executes the control procedure of the cross-system configuration environment provided by the embodiment of the present invention.
Those skilled in the art will appreciate that the configuration shown in FIG. 2 does not constitute a limitation of the control device 1800 across a system configuration environment, and may include more or fewer components than shown, or some components in combination, or a different arrangement of components.
Based on the above hardware structure, an embodiment of the method for configuring an environment across systems according to the present invention is provided.
Referring to fig. 3, fig. 3 is a flowchart illustrating an embodiment of a method for configuring an environment across systems according to the present invention, wherein the method for configuring an environment across systems includes the following steps:
s10: and acquiring an execution plan and acquiring software configuration parameters according to the execution plan.
S20: and acquiring the parameters and generating a configuration file according to the parameters.
S30: and finishing the local application environment configuration according to the configuration file.
It should be noted that, collecting software configuration parameters may be divided into: operating system layer parameters and software layer parameters. The collected operating system layer information comprises operating system version, kernel parameter, file handle, storage information, environment variable configuration, firewall, ACL, routing information and the like, and a collection strategy can also be configured according to needs. The collected application software layer information comprises software version information, software installation information, an installation directory structure, storage of software use, software dependence, environment variable configuration, an execution plan, software execution user information and the like, and a collection strategy can also be configured as required.
In the technical scheme disclosed by the invention, the acquisition, storage, application and the like of the related user information and software configuration parameters are all in accordance with the regulations of related laws and regulations, necessary security measures are taken, and the customs of the public order is not violated.
Further, before step S10, the method further includes the following steps:
s09: generating the execution plan acquired periodically.
Further, before step S10, the method further includes the following steps:
s08: generating the execution plan for a specified acquisition.
It should be noted that the execution plan visualization customizing device monitors link states of the script server and the downstream server in real time in a visualization mode, can make parameter configuration files to be acquired, specify the servers to be acquired, and also support setting of periodic acquisition plans, thereby realizing making of the execution plan of the script according to needs.
Further, the following steps are also included after step S20:
s21: and temporarily storing the configuration file according to a certain file naming mode and format.
Further, step S30 includes:
s31: and downloading the configuration file to a configuration file server, pulling the configuration file from the server by the server to be configured, and completing the configuration of the local application environment through the configuration file.
It should be noted that, the operating system environment configuration check: inquiring an operating system version configuration table applicable to software according to the acquired software version information, checking and comparing a software preinstallation environment, and judging whether installation requirements are met; if yes, executing the subsequent operation; otherwise, it cannot be implemented.
Operating system environment configuration: and carrying out relevant configuration and an effective strategy on the pre-installed system environment according to the collected system parameter configuration file, carrying out manual judgment on the places with the objections and deciding the effective strategy, and confirming that the strategy is effective.
Application software environment configuration: checking whether the dependence of the software is installed or not according to the acquired software information configuration file, and if the dependence is not installed, installing the dependence package; the software of the corresponding version is pulled from the remote mirror image library, the installed catalog and the used storage of the software are planned, the creation of related users and the configuration and the pre-validation of environment variables are carried out at the same time, the installation and the configuration of the software are completed through corresponding strategies, all the strategies are confirmed to be validated and configured correctly, and the manual decision step is added in the whole process.
In summary, the technical solution provided by the present invention can be applied to the financial field or other fields. The method for configuring the environment across the system comprises the following steps: acquiring an execution plan, and acquiring software configuration parameters according to the execution plan; acquiring the parameters and generating a configuration file according to the parameters; and finishing the local application environment configuration according to the configuration file. Through predictably acquiring various indexes of system application software configuration parameters, a configuration file is generated to rapidly build a basic environment and an application environment with the same configuration so as to recover a service environment with the same production. Meanwhile, the available application environment can be automatically generated in batch, the tedious operation of manual configuration is omitted, and the risk of human configuration errors is reduced. In addition, the task execution progress can be predicted, a user can know the current progress and the actual execution condition of the task conveniently, and the task execution progress and the execution echoing can be checked in real time. The technical scheme provided by the invention overcomes the defect of manual processing, can effectively reduce the pressure of operation and maintenance personnel, quickly recover the service and reduce the production, operation and maintenance risks. The configuration environment of the system and the application can be effectively restored, so that the rapid establishment and generation of the standby environment are realized, and the inconsistency of manual configuration is avoided. The emergency and recovery efficiency of the fault scene is improved, the manual experience of operation and maintenance personnel is further converted into an automatic function, and the emergency efficiency and level of the operation environment are further improved. The method can display the execution progress and the execution condition of the acquired task, and provides effective data and judgment basis for operation and maintenance personnel to monitor the task execution process.
The present disclosure also provides a computer-readable storage medium, which may be embodied in the apparatus/system described in the above embodiments; or may exist separately and not be incorporated into the device/system. The computer-readable storage medium carries one or more programs which, when executed, implement the method according to an embodiment of the disclosure.
According to an embodiment of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium. Examples may include, but are not limited to: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
For example, according to embodiments of the present disclosure, a computer-readable storage medium may include the ROM and/or RAM and/or one or more memories other than ROM and RAM described above.
According to embodiments of the present disclosure, method flows according to embodiments of the present disclosure may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable storage medium, the computer program containing program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication section, and/or installed from a removable medium. The computer program, when executed by a processor, performs the above-described functions defined in the system of the embodiments of the present disclosure. The systems, devices, apparatuses, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the present disclosure.
When the computer program product runs in a computer system, the program code is used for causing the computer system to realize the item recommendation method provided by the embodiment of the disclosure. The computer program performs the above-described functions defined in the system/apparatus of the embodiments of the present disclosure when executed by the processor 1801. The systems, apparatuses, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the present disclosure.
In one embodiment, the computer program may be hosted on a tangible storage medium such as an optical storage device, a magnetic storage device, or the like. In another embodiment, the computer program may also be transmitted in the form of a signal on a network medium, distributed, downloaded and installed via the communication section 1809, and/or installed from a removable media 1811. The computer program containing program code may be transmitted using any suitable network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the foregoing.
In such embodiments, the computer program may be downloaded and installed from a network via the communication portion 1809, and/or installed from the removable media 1811. The computer program, when executed by the processor 1801, performs the above-described functions defined in the system of the embodiments of the present disclosure. The systems, devices, apparatuses, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the present disclosure.
In accordance with embodiments of the present disclosure, program code for executing computer programs provided by embodiments of the present disclosure may be written in any combination of one or more programming languages, and in particular, these computer programs may be implemented using high level procedural and/or object oriented programming languages, and/or assembly/machine languages. The programming language includes, but is not limited to, programming languages such as Java, C + +, python, the "C" language, or the like. The program code may execute entirely on the user computing device, partly on the user device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions. Those skilled in the art will appreciate that various combinations and/or combinations of features recited in the various embodiments and/or claims of the present disclosure can be made, even if such combinations or combinations are not expressly recited in the present disclosure. In particular, various combinations and/or combinations of the features recited in the various embodiments and/or claims of the present disclosure may be made without departing from the spirit or teaching of the present disclosure. All such combinations and/or associations are within the scope of the present disclosure.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention or portions thereof that contribute to the prior art may be embodied in the form of a software product, where the computer software product is stored in a storage medium (e.g., a Read Only Memory (ROM)/Random Access Memory (RAM), a magnetic disk, an optical disk), and includes several instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention. The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are only exemplary embodiments of the present invention, and are not intended to limit the present invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (14)

1. A method of configuring an environment across a system, comprising the steps of:
acquiring an execution plan, and acquiring configuration parameters according to the execution plan;
acquiring the parameters and generating a configuration file according to the parameters;
and finishing the local application environment configuration according to the configuration file.
2. The method of configuring an environment across a system of claim 1, wherein the collected parameters comprise operating system layer parameters and software layer parameters.
3. The method of configuring an environment across a system of claim 2, wherein the operating system layer parameters comprise operating system version, kernel parameters, file handles, storage information, environment variable configuration, firewalls, ACLs, routing information.
4. The method of configuring a cross-system environment of claim 2, wherein collecting software layer parameters comprises software version information, software installation information, installation directory structure, storage of software usage, dependencies of software, environment variable configuration, execution plan, and software execution user information.
5. The method of cross-system configuration environment of claim 1, further comprising, prior to the step of obtaining an execution plan and collecting software configuration parameters according to the execution plan:
generating the execution plan acquired periodically.
6. The method of cross-system configuration environment of claim 1, further comprising, prior to the step of obtaining an execution plan and collecting software configuration parameters according to the execution plan:
generating the execution plan for a specified acquisition.
7. The method of claim 1, wherein after the steps of obtaining the parameters and generating a configuration file based on the parameters, further comprising:
and temporarily storing the configuration file according to a certain file naming mode and format.
8. The method of configuring an environment across a system of claim 1, wherein the step of completing a configuration of a local application environment according to the configuration file comprises:
and downloading the configuration file to a configuration file server, pulling the configuration file from the server by the server to be configured, and completing the configuration of the local application environment through the configuration file.
9. A control apparatus of a cross-system configuration environment, comprising a storage, a processor, and a control program of the cross-system configuration environment, which is stored in the storage and can run on the processor, wherein the control program of the cross-system configuration environment is configured to implement the steps of the control method of the cross-system configuration environment according to any one of claims 1 to 8.
10. An apparatus for configuring an environment across a system, comprising:
the script management device is used for managing the script of the acquisition parameter;
the acquisition device is used for acquiring parameters and generating a configuration file;
the configuration device is used for building a basic environment and an application environment with the same configuration; and the number of the first and second groups,
the control device of the cross-system configuration environment is electrically connected with the script management device, the acquisition device and the configuration device, and the control device of the cross-system configuration environment is the control device of the cross-system configuration environment according to claim 6.
11. The apparatus for cross-system configuration environment of claim 10, wherein said acquisition means comprises:
the execution plan visualization customizing device is electrically connected with the control device of the cross-system configuration environment and is used for monitoring the link states of the script server and the downstream server in real time and not setting an execution plan; and the number of the first and second groups,
and the execution plan acquisition device is electrically connected with the control device of the cross-system configuration environment and is used for executing the execution plan.
12. The apparatus for cross-system configuration environment according to claim 10, wherein the apparatus for cross-system configuration environment further comprises a storage device electrically connected to the control device of the cross-system configuration environment, the storage device configured to persistently store the results of the execution plan collecting device.
13. A storage medium, characterized in that the storage medium stores thereon a control program of a cross-system configuration environment, which when executed by a processor implements the steps of the control method of the cross-system configuration environment according to any one of claims 1 to 8.
14. A computer program product comprising a computer program which, when executed by a processor, carries out the steps of the control method across a system configuration environment according to any one of claims 1-8.
CN202110663459.XA 2021-06-15 2021-06-15 Method, apparatus, device, medium, and program product for configuring an environment across systems Pending CN113391853A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110663459.XA CN113391853A (en) 2021-06-15 2021-06-15 Method, apparatus, device, medium, and program product for configuring an environment across systems

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110663459.XA CN113391853A (en) 2021-06-15 2021-06-15 Method, apparatus, device, medium, and program product for configuring an environment across systems

Publications (1)

Publication Number Publication Date
CN113391853A true CN113391853A (en) 2021-09-14

Family

ID=77621280

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110663459.XA Pending CN113391853A (en) 2021-06-15 2021-06-15 Method, apparatus, device, medium, and program product for configuring an environment across systems

Country Status (1)

Country Link
CN (1) CN113391853A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113992407A (en) * 2021-10-27 2022-01-28 北京天融信网络安全技术有限公司 Security policy configuration method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102655460A (en) * 2012-01-05 2012-09-05 中国工商银行股份有限公司 Redundancy backup method and system of production server
CN110865904A (en) * 2018-10-29 2020-03-06 北京安天网络安全技术有限公司 Computer system management method, device, electronic equipment and storage medium
CN111045854A (en) * 2018-10-12 2020-04-21 伊姆西Ip控股有限责任公司 Method, apparatus and computer program product for managing service containers
CN111708550A (en) * 2020-07-17 2020-09-25 腾讯科技(深圳)有限公司 Application deployment method and device, computer equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102655460A (en) * 2012-01-05 2012-09-05 中国工商银行股份有限公司 Redundancy backup method and system of production server
CN111045854A (en) * 2018-10-12 2020-04-21 伊姆西Ip控股有限责任公司 Method, apparatus and computer program product for managing service containers
CN110865904A (en) * 2018-10-29 2020-03-06 北京安天网络安全技术有限公司 Computer system management method, device, electronic equipment and storage medium
CN111708550A (en) * 2020-07-17 2020-09-25 腾讯科技(深圳)有限公司 Application deployment method and device, computer equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113992407A (en) * 2021-10-27 2022-01-28 北京天融信网络安全技术有限公司 Security policy configuration method and device
CN113992407B (en) * 2021-10-27 2023-10-13 北京天融信网络安全技术有限公司 Security policy configuration method and device

Similar Documents

Publication Publication Date Title
CN110546606B (en) Tenant upgrade analysis system and method
US10261776B2 (en) Automated deployment and servicing of distributed applications
US11789721B1 (en) Systems and methods for infrastructure and middleware provisioning
US9602599B2 (en) Coordinating application migration processes
US11228497B2 (en) Topology based management with stage and version policies
US11474834B2 (en) Removing DevOps tools from DevOps toolchains
US20130291052A1 (en) Trusted public infrastructure grid cloud
US20180048520A1 (en) Using Computing Platform Definitions to Provide Segmented Computing Platforms In a Computing System
US8996447B2 (en) Decision service manager
US9208184B1 (en) System design support apparatus and system design supporting method
US9256400B2 (en) Decision service manager
US10901830B2 (en) Electronic checklist
US10372572B1 (en) Prediction model testing framework
US20210255917A1 (en) Structured Software Delivery And Operation Automation
CN114930785A (en) System and method for implementing an orchestration engine
US10789563B2 (en) Building confidence of system administrator in productivity tools and incremental expansion of adoption
CN113391853A (en) Method, apparatus, device, medium, and program product for configuring an environment across systems
CN106970865B (en) Monitoring and management of software as a service in a micro-cloud environment
US8230418B2 (en) Computer program product for evaluating the workloads of installation plans in quantity by building a pre-requisite relation knowledge-base
CN114356401A (en) Gray scale distribution method and device, electronic equipment and computer readable storage medium
US10644939B2 (en) Decision service manager
CN111897794A (en) Database maintenance method and device, electronic equipment and storage medium
US20240168744A1 (en) System and Method for Managing Cloud Deployment Configuration Files and Container Base Images
US20240171464A1 (en) Data Center Monitoring and Management Operation Including Microservice Centrality Calculation Operation
US20230047978A1 (en) System and Method for Real-Time Configuration Analysis

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