CN113805969A - Parameter configuration acquisition method and device, storage medium and electronic equipment - Google Patents

Parameter configuration acquisition method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN113805969A
CN113805969A CN202111106651.5A CN202111106651A CN113805969A CN 113805969 A CN113805969 A CN 113805969A CN 202111106651 A CN202111106651 A CN 202111106651A CN 113805969 A CN113805969 A CN 113805969A
Authority
CN
China
Prior art keywords
information
deployment
unit
parameter
deployment unit
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
CN202111106651.5A
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.)
China Construction Bank Corp
Original Assignee
China Construction Bank Corp
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 China Construction Bank Corp filed Critical China Construction Bank Corp
Priority to CN202111106651.5A priority Critical patent/CN113805969A/en
Publication of CN113805969A publication Critical patent/CN113805969A/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/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • 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
    • 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/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45562Creating, deleting, cloning virtual machine instances

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a method, a device, a storage medium and electronic equipment for acquiring parameter configuration, wherein each target deployment unit related to a first application system is determined by acquiring a first deployment parameter input by a user according to the first deployment parameter, each target deployment unit comprises at least one server, and each server of each target deployment unit provides the same service for the first application system; respectively searching the deployment unit information of each target deployment unit from the CMDB, wherein the deployment unit information of each target deployment unit comprises: the method comprises the following steps of obtaining system basic information, resource delivery work order basic information, configuration information and cloud service parameter information; and generating a configuration parameter requirement table of the first application system according to the searched deployment unit information so as to configure the cloud computing resources of the first application system according to the configuration parameter requirement table. The invention automatically generates the configuration parameter demand table, reduces the time length of resource delivery, does not need manual parameters and has higher efficiency.

Description

Parameter configuration acquisition method and device, storage medium and electronic equipment
Technical Field
The present invention relates to the IT field, and in particular, to a method and an apparatus for acquiring parameter configuration, a storage medium, and an electronic device.
Background
In the process of delivering the cloud computing resources, the cloud computing resources of systems such as virtual machines, physical machines, middleware, databases, storage, networks, safety and the like are involved. At present, resource supply of an application system generally provides all parameter information of cloud computing resources in a form of a parameter requirement document, and provides resource supply requirements through an ITSM service request, so as to configure corresponding cloud computing resources according to the provided resource supply requirements. For example, suppose there is a new server resource delivery requirement, a user is a service request. However, when submitting a service request, the user does not provide all the parameter information and the like required in the complete server provisioning. The service request implementer needs to send a large number of mails or telephone communications to each relevant person to determine the details of each service and parameters that need to be specifically provided. Once someone provides the implementer with the wrong information, it may result in the wrong delivery of the service, further resulting in inefficient configuration of cloud computing resources.
Disclosure of Invention
In view of the above, the present invention provides a method, an apparatus, a storage medium, and an electronic device for acquiring a parameter configuration that overcome or at least partially solve the above problems.
In a first aspect, a method for obtaining parameter configuration includes:
obtaining first deployment parameters input by a user, and determining target deployment units related to a first application system according to the first deployment parameters, wherein the first deployment parameters are deployment parameters of the first application system, each target deployment unit comprises at least one server, and the servers of each target deployment unit provide the same service for the first application system;
respectively searching the deployment unit information of each target deployment unit from a CMDB library, wherein the deployment unit information of each target deployment unit comprises: the method comprises the following steps of obtaining system basic information, resource delivery work order basic information, configuration information and cloud service parameter information;
and generating a configuration parameter requirement table of the first application system according to the searched information of each deployment unit so as to configure the cloud computing resources of the first application system according to the configuration parameter requirement table.
With reference to the first aspect, in some optional embodiments, before the obtaining the user-input first deployment parameter, the method further comprises:
configuring corresponding cloud service parameter information models for different deployment units in advance according to different middleware, software types or server types related to the different deployment units, wherein each cloud service parameter information model comprises at least one piece of cloud service parameter information;
and storing the system basic information, the resource delivery work order basic information, the configuration information and the cloud service parameter information model of the existing deployment unit into the CMDB as the deployment unit information of the corresponding existing deployment unit in advance.
With reference to the foregoing embodiment, in some optional embodiments, the respectively searching for the deployment unit information of each target deployment unit from the CMDB library includes:
searching at least one of system Chinese name, system English abbreviation, system level, system operation time, deployment platform, deployment location, development unit and operation and maintenance unit of each target deployment unit from the CMDB library as the basic information of the system;
at least one of the resource type, the application type, the capacity size, the resource delivery time and the system production time of each target deployment unit is searched from the CMDB to serve as the basic information of the resource delivery work order;
at least one of a user name, a user group name, soft connection, using software and mounting parameters of each target deployment unit is searched from the CMDB as the configuration information;
and searching the cloud service parameter information model of each target deployment unit from the CMDB, and acquiring corresponding cloud service parameter information based on the cloud service parameter information model.
With reference to the first aspect, in some optional embodiments, before the generating a configuration parameter requirement table of the first application system according to the found information of each deployment unit, the method further includes:
acquiring a second deployment parameter input by a user, and constructing at least one corresponding construction parameter according to the second deployment parameter based on a pre-established parameter construction specification;
the generating a configuration parameter requirement table of the first application system according to the searched information of each deployment unit includes:
and generating a configuration parameter demand table of the first application system according to the construction parameters and the searched information of each deployment unit.
With reference to the first aspect, in some optional embodiments, before the generating a configuration parameter requirement table of the first application system according to the found information of each deployment unit, the method further includes:
acquiring deployment unit information of the target deployment unit corresponding to other systems as synchronous information;
the generating a configuration parameter requirement table of the first application system according to the searched information of each deployment unit includes:
and generating a configuration parameter requirement table of the first application system according to the synchronous information and the searched information of each deployment unit.
In a second aspect, an apparatus for obtaining a parameter configuration includes: the system comprises a deployment determining unit, an information obtaining unit and a requirement table determining unit;
the deployment determining unit is configured to execute obtaining of a first deployment parameter input by a user, and determine target deployment units related to a first application system according to the first deployment parameter, where the first deployment parameter is a deployment parameter of the first application system, each target deployment unit includes at least one server, and each server of each target deployment unit provides the same service for the first application system;
the information obtaining unit is configured to perform a search for deployment unit information of each target deployment unit from a CMDB library, where the deployment unit information of each target deployment unit includes: the method comprises the following steps of obtaining system basic information, resource delivery work order basic information, configuration information and cloud service parameter information;
the requirement table determining unit is configured to execute generating a configuration parameter requirement table of the first application system according to the searched information of each deployment unit, so as to configure the cloud computing resources of the first application system according to the configuration parameter requirement table.
In combination with the second aspect, in certain alternative embodiments, the apparatus further comprises: a model configuration unit and a pre-storage unit;
the model configuration unit is configured to execute, before the first deployment parameter input by the user is obtained, configuring corresponding cloud service parameter information models for different deployment units in advance according to different middleware, software types or server types related to the different deployment units, wherein each cloud service parameter information model comprises at least one piece of cloud service parameter information;
the pre-storage unit is configured to perform pre-storage of the system basic information, the resource delivery work order basic information, the configuration information and the cloud service parameter information model of an existing deployment unit together as deployment unit information of the corresponding existing deployment unit in the CMDB.
In combination with the previous embodiment, in some optional embodiments, the information obtaining unit includes: the system comprises a system basic information obtaining unit, a work order basic information obtaining unit, a configuration information obtaining unit and a cloud service parameter information obtaining unit;
the system basic information obtaining unit is configured to search the CMDB library for at least one of a system Chinese name, a system English abbreviation, a system level, system running time, a deployment platform, a deployment place, a development unit and an operation and maintenance unit of each target deployment unit as the system basic information;
the work order basic information obtaining unit is configured to search at least one of the resource type, the application type, the capacity size, the resource delivery time and the system production time of each target deployment unit from the CMDB library as the resource delivery work order basic information;
the configuration information obtaining unit is configured to search the CMDB library for at least one of a user name, a user group name, a soft connection, using software and a mounting parameter of each target deployment unit as the configuration information;
the cloud service parameter information obtaining unit is configured to search the CMDB library for the cloud service parameter information model of each target deployment unit, and obtain the corresponding cloud service parameter information based on the cloud service parameter information model.
In a third aspect, a computer-readable storage medium stores a program, and the program is executed by a processor to implement the method for acquiring parameter configuration of system resource according to any one of the above.
In a fourth aspect, an electronic device includes at least one processor, and at least one memory, a bus, connected to the processor; the processor and the memory complete mutual communication through the bus; the processor is configured to call program instructions in the memory to execute any one of the above parameter configuration acquisition methods for the system resource.
By means of the technical scheme, the parameter configuration acquisition method, the parameter configuration acquisition device, the storage medium and the electronic device provided by the invention can determine each target deployment unit related to a first application system according to a first deployment parameter input by a user, wherein the first deployment parameter is a deployment parameter of the first application system, each target deployment unit comprises at least one server, and each server of each target deployment unit provides the same service for the first application system; respectively searching the deployment unit information of each target deployment unit from a CMDB library, wherein the deployment unit information of each target deployment unit comprises: the method comprises the following steps of obtaining system basic information, resource delivery work order basic information, configuration information and cloud service parameter information; and generating a configuration parameter requirement table of the first application system according to the searched information of each deployment unit so as to configure the cloud computing resources of the first application system according to the configuration parameter requirement table. Therefore, the method and the device can automatically generate the configuration parameter demand table, reduce the time length of resource delivery, do not need manual parameters and have higher efficiency.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 shows a flowchart of a parameter configuration obtaining method provided by the present invention;
FIG. 2 is a schematic diagram of an obtaining apparatus for parameter configuration according to the present invention;
fig. 3 shows a schematic structural diagram of an electronic device provided by the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
As shown in fig. 1, the present invention provides a method for acquiring parameter configuration, including: s100, S200 and S300;
s100, obtaining a first deployment parameter input by a user, and determining each target deployment unit related to a first application system according to the first deployment parameter;
the first deployment parameter is a deployment parameter of the first application system, each target deployment unit comprises at least one server, and the servers of each target deployment unit provide the same service for the first application system;
optionally, the application system generally consists of a computer hardware system, system software and application software. The computer hardware system consists of an arithmetic unit, a controller, a memory, a peripheral interface and peripheral equipment. The system software comprises an operating system, various high-level languages compiled into a popular database management system and the like. Some services, functions or services required by the application system are provided by the server, and the services, functions or services supported by different deployment units are different. The inside of the same deployment unit can be composed of a plurality of servers, and the parameters of each server are configured identically and the services are identical, which is not limited by the invention.
That is, different deployment units may be characterized by the services, functions, or services provided by the deployment units, the parameter configurations of the servers providing different services, functions, or services are different, and the parameter configurations of the servers providing the same services, functions, or services are the same, which is not limited in the present invention.
Alternatively, the first parameter of the present invention may be a ticket number of an infrastructure-based worksheet. The research refers to feasibility research, and technical and economic demonstration is carried out on related construction schemes, technical schemes and production and operation schemes at the initial stage of project construction. The infrastructure exploitable work order mainly includes application information of cloud computing resources of various infrastructure changes, related background applicable to system exploitable, project information, system architecture diagram, system deployment diagram, and the like, which is not limited in the present invention.
Optionally, the invention may be that an application system corresponds to a single number of an infrastructure-based worksheet, and each deployment unit of the system may be correspondingly determined through the single number of the infrastructure-based worksheet; the invention can also be an application system corresponding to the single number of a plurality of infrastructure-based worksheets, the single number of the infrastructure-based worksheets corresponds to a deployment unit of the application system, and each deployment unit of the system can be correspondingly determined through the single number of the infrastructure-based worksheets, which is not limited by the invention.
S200, respectively searching the deployment unit information of each target deployment unit from a CMDB;
wherein the deployment unit information of each target deployment unit comprises: the method comprises the following steps of obtaining system basic information, resource delivery work order basic information, configuration information and cloud service parameter information;
alternatively, the CMDB library according to the present invention is a Configuration Management Database (Configuration Management Database). The CMDB library is a logical database and contains the information of the full life cycle of the configuration items and the relations (including physical relations, real-time communication relations, non-real-time communication relations and dependency relations) among the configuration items. The CMDB stores and manages various configuration information of equipment in the IT architecture of the enterprise, is closely connected with all service support and service delivery processes, supports the operation of the processes, exerts the value of the configuration information and simultaneously depends on the related processes to ensure the accuracy of data.
Optionally, for any target deployment unit, the deployment unit information mentioned in the present invention refers to all information related to the deployment unit. All information related to the deployment unit may reflect part or all of the parameter configurations of all servers of the deployment unit, which is not limited in the present invention. For example, the system basic information, the resource delivery work order basic information, the configuration information, and the cloud service parameter information, and other information may collectively reflect the parameter configuration of each server of the deployment unit, which is not limited in the present invention.
Optionally, the present invention may store, in advance, the deployment unit information of the deployment unit related to the existing other application system to the CMDB library based on the deployment unit related to the existing other application system, so as to search the deployment unit information of the target deployment unit from the CMDB library, and if the CMDB library already stores the deployment unit information of the deployment unit related to the other application system and the deployment unit information of the same deployment unit as the target deployment unit, the deployment unit information of the deployment unit stored in the CMDB library may be directly obtained as the deployment unit information of the target deployment unit, thereby further improving the efficiency of the present invention.
Optionally, the present invention may further store, in the CMDB library, the deployment unit information of the deployment unit of each project plan in advance according to the target of the project design based on the result of the project plan, so as to search for the deployment unit information of the target deployment unit from the CMDB library in the following process, which is not limited in this respect.
For example, in connection with the embodiment shown in fig. 1, in some alternative embodiments, before S100, the method further comprises: step 1.1 and step 1.2;
step 1.1, configuring corresponding cloud service parameter information models for different deployment units in advance according to different middleware, software types or server types related to the different deployment units, wherein each cloud service parameter information model comprises at least one piece of cloud service parameter information;
step 1.2, the system basic information, the resource delivery work order basic information, the configuration information and the cloud service parameter information model of the existing deployment unit are stored in a CMDB library together as the deployment unit information of the corresponding existing deployment unit in advance.
Optionally, the cloud service parameter information model is configured for different deployment units, and may also be understood as: and configuring corresponding cloud service parameter information models for all servers in one deployment unit.
Optionally, different types of cloud service packages are configured according to different middleware, software types, server types and the like. Each cloud service package comprises a complete set of cloud service parameter information models. And digitizing, standardizing and online cloud service parameter information of the cloud service parameter information model of each server. For example: the weblogic cloud service parameter information model comprises parameter information such as a management Server monitoring port, a nodemanager monitoring port, a Domain name, a java installation directory, a weblogic installation directory, an Adminserver and a managed Server starting parameter.
weblogic is an application server, specifically a middleware based on the JAVAEE framework, and is a java application server for developing, integrating, deploying and managing large-scale distributed Web applications, network applications and database applications. The dynamic function of java and the security of java Enterprise standard are introduced into the development, integration, deployment and management of large-scale network application. For a detailed description of weblogic in the art, the present invention is not described in detail herein.
Optionally, specific contents respectively included in the system basic information, the resource delivery work order basic information, the configuration information, and the cloud service parameter information are not limited, and any feasible manner belongs to the protection scope of the present invention.
For example, in combination with the previous embodiment, in certain alternative embodiments, S200, comprises: step 2.1, step 2.2, step 2.3 and step 2.4;
step 2.1, at least one of system Chinese name, system English abbreviation, system level, system running time, deployment platform, deployment location, development unit and operation and maintenance unit of each target deployment unit is searched from the CMDB library to serve as basic system information;
optionally, the system basic information of the present invention may include, in addition to the above information: the recovery time target RTO and the recovery time point target RPO are not limited in this respect.
Optionally, the system chinese name, the system english abbreviation, the system level, the system runtime, the deployment platform, the deployment location, the development unit, the operation and maintenance unit, the recovery time target, and the recovery time point target are all technical concepts adopted by those skilled in the art, and reference may be specifically made to related explanations of these concepts in the field, which is not limited by the present invention.
Step 2.2, at least one of the resource type, the application type, the capacity size, the resource delivery time and the system production time of each target deployment unit is searched from the CMDB to be used as basic information of the resource delivery work order;
optionally, the basic information of the resource delivery work order may include part of the application information and the basic information of the system. The application information may include an infrastructure exploitable work order number, a resource type (virtual machine, physical machine, etc.), an application type (new supply, capacity expansion/capacity reduction, recycling, etc.), a capacity size, a resource delivery time, a system production time, and the like, which is not limited in the present invention.
Step 2.3, at least one of user information, user group information, soft connection, use software and mounting parameters of each target deployment unit is searched from the CMDB as configuration information;
optionally, the configuration information according to the present invention may include: user group information (user group name, GID), user information (master group, UID, user name, master directory, lv name, mount parameter, etc.), ulimit, sysctl, softwave, hosts, link, etc., which are not limited in this respect.
Id (groupid): a user group id, a unique identifier to identify a user group.
Uid (userid): user id, a unique identifier used to identify each user.
The Lv name: logical volume names, like disk partitions, are built on top of the re-volume groups, on top of which a file system may be built.
The ulimit is a built-in instruction of the shell and can be used for controlling resources of the shell execution program. An upper limit of a file, a data section size, a file size, a memory size, the number of files, a buffer size, a stack size, CPU time, the number of programs, a virtual memory size, and the like may be set.
The sysctl command is used to configure kernel parameters at runtime, and can be used to set or reset networking functions such as IP forwarding, IP fragmentation removal, and source routing checking.
hosts: the configuration hosts file is a file for configuring ip addresses and host names corresponding to the ip addresses. On a local area network or INTERNET, each host has an IP address, which distinguishes each host and can communicate according to IP. But the IP address is not convenient to memorize, so that the domain name (domain) is also available. In a local area network, each machine has a host name (hostname) for distinguishing the hosts and facilitating access to each other. The configuration file related to the host name is a hosts file, and the file can correspond the domain name to the ip and the host name to the ip.
link: i.e. a soft link, the function of which is to establish a synchronous link for a certain file at another location. There are two ways of linking, one is hard linking (hard linking) and the other is symbolic linking (symbolic linking), also known as soft linking. The hard link and the original file are two different names stored at the same physical address, so that the hard link is mutual; the content of the soft link is only the file name of a linked file, only the mirror image of the file is produced at the selected position, and the disk space is not occupied. Files remain synchronized and change whether they are soft or hard linked.
And 2.4, searching the cloud service parameter information model of each target deployment unit from the CMDB, and acquiring corresponding cloud service parameter information based on the cloud service parameter information model.
Optionally, the specific content of the cloud service parameter model is not limited in the present invention, and any feasible manner falls into the protection scope of the present invention. For example, different classes of cloud service packages are configured according to different middleware, software types, server types, and the like. Each cloud service package comprises a complete set of cloud service parameter information models. And digitizing, standardizing and online cloud service parameter information of each server. For example: the weblogic cloud service parameter information model comprises parameter information such as a management Server monitoring port, a nodemanager monitoring port, a Domain name, a java installation directory, a weblogic installation directory, an adminServer, a managed Server startup parameter and the like.
Each cloud service package corresponds to a set of cloud service parameter information model, and common initial values of part of common cloud service parameter information are defined, so that a user can conveniently fill and report the cloud service parameter information model.
The cloud service parameter information of weblogic comprises: the system comprises a user group name, a user password, a mounting point, a lv capacity, a target Domain name, a target Domain user name, a target Domain password, a starting parameter (managed Server Heap area maximum value, managed Server Heap area minimum value, thread pool maximum thread number, thread pool minimum thread number, adminServer Heap area maximum value, adminServerHeap area minimum value), a middleware version, a JDK version, a JAVA installation directory, a user group ID, a user ID, a lv name, a VG name, a Domain template file position, a weblogic installation directory, a log file number maximum value, a CPU core number of each slot, a PSU version and the like.
The cloud service parameter information of Oracle includes: database name, character set, national character set, database BLOCK size, backup start time, ASM disk group redundancy celebrity, archive space capacity, data type, throughput IOPS, network bandwidth MBPS, storage vendor, data space capacity, whether it is ADG/DG, tablespace requirements, application user name, role and authority, etc.
S300, generating a configuration parameter requirement table of the first application system according to the searched deployment unit information, so as to configure the cloud computing resources of the first application system according to the configuration parameter requirement table.
Optionally, basic information of the relevant resource delivery work order of the system, such as the type of system resource (virtual machine, physical machine, etc.), the deployment location, the english abbreviation of the system, the name of the deployment unit applying for the resource, the cloud service package used, and the like, may be automatically identified by filling in the infrastructure searchable work order number of the system. Meanwhile, all or part of cloud service parameter information of the system can be automatically identified according to the cloud service parameter information model, so that manual parameters are reduced, and the efficiency is high.
Optionally, part of the parameters may be intelligently matched and filled according to the input parameters. If a user name (test) is input, cloud service parameter information such as a corresponding mounting point (/ home/ap/test), a Domain name (test _ dom) and the like can be obtained. And selecting the installation of basic components such as NFT, CTM, oracle client and the like in the SOFTWARE in the configuration information, and intelligently matching user names, user group names, group ids and user ids of corresponding standards in user groups/users.
For example, in connection with the embodiment shown in fig. 1, in some alternative embodiments, before S300, the method further includes: acquiring a second deployment parameter input by a user, and constructing at least one corresponding construction parameter according to the second deployment parameter based on a pre-established parameter construction specification;
s300, comprising: and generating a configuration parameter demand table of the first application system according to the construction parameters and the searched information of each deployment unit.
And selecting the system or the related application system through the copy synchronization function, selecting the corresponding deployment unit, and copying the corresponding configuration information from the deployment units of other systems. Configuration information such as user groups, users, software information, ulimit configuration, kernel parameters, hosts file configuration, soft links and the like can be automatically matched. The mounting parameters and the like can be automatically adapted according to corresponding parameter information of different dimensions of an operating system and the like, and a user can also manually modify the mounting parameters and the like according to requirements. The method is beneficial to the configuration of the user by referring to the resource configuration information of the existing production application system, fine adjustment is carried out according to the system characteristics and requirements of the user, and the configuration meeting the target requirements is matched in a quick screening mode.
For example, in connection with the embodiment shown in fig. 1, in some alternative embodiments, before S300, the method further includes: acquiring deployment unit information of target deployment units corresponding to other systems as synchronous information;
s300, comprising: and generating a configuration parameter requirement table of the first application system according to the synchronous information and the searched information of each deployment unit.
Optionally, the present invention may also modify and correct the basic configuration information in a client-side manner.
Optionally, the present invention may also set the size of the configured parameter range, the filling order, the association relationship, and the like. The accuracy and the integrity of the parameters are verified through automatic verification, and errors of manual verification are reduced.
As shown in fig. 2, the present invention provides an apparatus for obtaining parameter configuration, including: a deployment determining unit 100, an information obtaining unit 200, and a requirement table determining unit 300;
the deployment determining unit 100 is configured to perform obtaining a first deployment parameter input by a user, and determine target deployment units related to a first application system according to the first deployment parameter, where the first deployment parameter is a deployment parameter of the first application system, each target deployment unit includes at least one server, and each server of each target deployment unit provides the same service for the first application system;
the information obtaining unit 200 is configured to perform a search for deployment unit information of each target deployment unit from a CMDB library, where the deployment unit information of each target deployment unit includes: the method comprises the following steps of obtaining system basic information, resource delivery work order basic information, configuration information and cloud service parameter information;
the requirement table determining unit 300 is configured to execute generating a configuration parameter requirement table of the first application system according to the searched information of each deployment unit, so as to configure the cloud computing resource of the first application system according to the configuration parameter requirement table.
In some alternative embodiments, in combination with the embodiment shown in fig. 2, the apparatus further comprises: a model configuration unit and a pre-storage unit;
the model configuration unit is configured to execute, before the first deployment parameter input by the user is obtained, configuring corresponding cloud service parameter information models for different deployment units in advance according to different middleware, software types or server types related to the different deployment units, wherein each cloud service parameter information model comprises at least one piece of cloud service parameter information;
the pre-storage unit is configured to perform pre-storage of the system basic information, the resource delivery work order basic information, the configuration information and the cloud service parameter information model of an existing deployment unit together as deployment unit information of the corresponding existing deployment unit in the CMDB.
In combination with the previous embodiment, in some optional embodiments, the information obtaining unit 200 includes: the system comprises a system basic information obtaining unit, a work order basic information obtaining unit, a configuration information obtaining unit and a cloud service parameter information obtaining unit;
the system basic information obtaining unit is configured to search the CMDB library for at least one of a system Chinese name, a system English abbreviation, a system level, system running time, a deployment platform, a deployment place, a development unit and an operation and maintenance unit of each target deployment unit as the system basic information;
the work order basic information obtaining unit is configured to search at least one of the resource type, the application type, the capacity size, the resource delivery time and the system production time of each target deployment unit from the CMDB library as the resource delivery work order basic information;
the configuration information obtaining unit is configured to search the CMDB library for at least one of a user name, a user group name, a soft connection, using software and a mounting parameter of each target deployment unit as the configuration information;
the cloud service parameter information obtaining unit is configured to search the CMDB library for the cloud service parameter information model of each target deployment unit, and obtain the corresponding cloud service parameter information based on the cloud service parameter information model.
In some alternative embodiments, in combination with the embodiment shown in fig. 2, the apparatus further comprises: a second deployment parameter obtaining unit;
the second deployment parameter obtaining unit is configured to obtain a second deployment parameter input by a user before the configuration parameter requirement table of the first application system is generated according to the searched information of each deployment unit, and construct a corresponding at least one construction parameter according to the second deployment parameter based on a pre-established parameter construction specification;
the requirement table determining unit 300 includes: a first requirement table determining subunit;
and the first requirement table determining subunit is configured to execute the configuration parameter requirement table of the first application system according to the construction parameters and the searched information of each deployment unit.
In some alternative embodiments, in combination with the embodiment shown in fig. 2, the apparatus further comprises: a synchronization parameter obtaining unit;
the synchronization parameter obtaining unit is configured to obtain deployment unit information of the target deployment unit corresponding to other systems as synchronization information before the configuration parameter requirement table of the first application system is generated according to the searched deployment unit information;
the requirement table determining unit 300 includes: a second requirement table determining subunit;
and the second requirement table determining subunit is configured to execute the step of generating a configuration parameter requirement table of the first application system according to the synchronization information and the searched information of each deployment unit.
The present invention provides a computer-readable storage medium, on which a program is stored, which, when executed by a processor, implements the method for acquiring parameter configuration of system resources according to any one of the above.
As shown in fig. 3, the present invention provides an electronic device 70, wherein the electronic device 70 comprises at least one processor 701, at least one memory 702 connected to the processor 701, and a bus 703; the processor 701 and the memory 702 complete mutual communication through a bus 703; the processor 701 is configured to call program instructions in the memory 702 to execute any one of the parameter configuration obtaining methods described above.
In this application, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (10)

1. A method for acquiring parameter configuration is characterized by comprising the following steps:
obtaining first deployment parameters input by a user, and determining target deployment units related to a first application system according to the first deployment parameters, wherein the first deployment parameters are deployment parameters of the first application system, each target deployment unit comprises at least one server, and the servers of each target deployment unit provide the same service for the first application system;
respectively searching the deployment unit information of each target deployment unit from a CMDB library, wherein the deployment unit information of each target deployment unit comprises: the method comprises the following steps of obtaining system basic information, resource delivery work order basic information, configuration information and cloud service parameter information;
and generating a configuration parameter requirement table of the first application system according to the searched information of each deployment unit so as to configure the cloud computing resources of the first application system according to the configuration parameter requirement table.
2. The method of claim 1, wherein prior to the obtaining the user-entered first deployment parameter, the method further comprises:
configuring corresponding cloud service parameter information models for different deployment units in advance according to different middleware, software types or server types related to the different deployment units, wherein each cloud service parameter information model comprises at least one piece of cloud service parameter information;
and storing the system basic information, the resource delivery work order basic information, the configuration information and the cloud service parameter information model of the existing deployment unit into the CMDB as the deployment unit information of the corresponding existing deployment unit in advance.
3. The method according to claim 2, wherein the searching deployment unit information of each target deployment unit from the CMDB library comprises:
searching at least one of system Chinese name, system English abbreviation, system level, system operation time, deployment platform, deployment location, development unit and operation and maintenance unit of each target deployment unit from the CMDB library as the basic information of the system;
at least one of the resource type, the application type, the capacity size, the resource delivery time and the system production time of each target deployment unit is searched from the CMDB to serve as the basic information of the resource delivery work order;
at least one of a user name, a user group name, soft connection, using software and mounting parameters of each target deployment unit is searched from the CMDB as the configuration information;
and searching the cloud service parameter information model of each target deployment unit from the CMDB, and acquiring corresponding cloud service parameter information based on the cloud service parameter information model.
4. The method according to claim 1, wherein before the generating a configuration parameter requirement table of the first application system according to the searched information of each deployment unit, the method further comprises:
acquiring a second deployment parameter input by a user, and constructing at least one corresponding construction parameter according to the second deployment parameter based on a pre-established parameter construction specification;
the generating a configuration parameter requirement table of the first application system according to the searched information of each deployment unit includes:
and generating a configuration parameter demand table of the first application system according to the construction parameters and the searched information of each deployment unit.
5. The method according to claim 1, wherein before the generating a configuration parameter requirement table of the first application system according to the searched information of each deployment unit, the method further comprises:
acquiring deployment unit information of the target deployment unit corresponding to other systems as synchronous information;
the generating a configuration parameter requirement table of the first application system according to the searched information of each deployment unit includes:
and generating a configuration parameter requirement table of the first application system according to the synchronous information and the searched information of each deployment unit.
6. An apparatus for obtaining parameter configuration, comprising: the system comprises a deployment determining unit, an information obtaining unit and a requirement table determining unit;
the deployment determining unit is configured to execute obtaining of a first deployment parameter input by a user, and determine target deployment units related to a first application system according to the first deployment parameter, where the first deployment parameter is a deployment parameter of the first application system, each target deployment unit includes at least one server, and each server of each target deployment unit provides the same service for the first application system;
the information obtaining unit is configured to perform a search for deployment unit information of each target deployment unit from a CMDB library, where the deployment unit information of each target deployment unit includes: the method comprises the following steps of obtaining system basic information, resource delivery work order basic information, configuration information and cloud service parameter information;
the requirement table determining unit is configured to execute generating a configuration parameter requirement table of the first application system according to the searched information of each deployment unit, so as to configure the cloud computing resources of the first application system according to the configuration parameter requirement table.
7. The apparatus of claim 6, further comprising: a model configuration unit and a pre-storage unit;
the model configuration unit is configured to execute, before the first deployment parameter input by the user is obtained, configuring corresponding cloud service parameter information models for different deployment units in advance according to different middleware, software types or server types related to the different deployment units, wherein each cloud service parameter information model comprises at least one piece of cloud service parameter information;
the pre-storage unit is configured to perform pre-storage of the system basic information, the resource delivery work order basic information, the configuration information and the cloud service parameter information model of an existing deployment unit together as deployment unit information of the corresponding existing deployment unit in the CMDB.
8. The apparatus of claim 7, wherein the information obtaining unit comprises: the system comprises a system basic information obtaining unit, a work order basic information obtaining unit, a configuration information obtaining unit and a cloud service parameter information obtaining unit;
the system basic information obtaining unit is configured to search the CMDB library for at least one of a system Chinese name, a system English abbreviation, a system level, system running time, a deployment platform, a deployment place, a development unit and an operation and maintenance unit of each target deployment unit as the system basic information;
the work order basic information obtaining unit is configured to search at least one of the resource type, the application type, the capacity size, the resource delivery time and the system production time of each target deployment unit from the CMDB library as the resource delivery work order basic information;
the configuration information obtaining unit is configured to search the CMDB library for at least one of a user name, a user group name, a soft connection, using software and a mounting parameter of each target deployment unit as the configuration information;
the cloud service parameter information obtaining unit is configured to search the CMDB library for the cloud service parameter information model of each target deployment unit, and obtain the corresponding cloud service parameter information based on the cloud service parameter information model.
9. A computer-readable storage medium on which a program is stored, the program implementing the parameter configuration acquisition method of the system resource according to any one of claims 1 to 5 when executed by a processor.
10. An electronic device comprising at least one processor, and at least one memory, bus connected to the processor; the processor and the memory complete mutual communication through the bus; the processor is configured to call program instructions in the memory to perform a parameter configuration acquisition method of a system resource according to any one of claims 1 to 5.
CN202111106651.5A 2021-09-22 2021-09-22 Parameter configuration acquisition method and device, storage medium and electronic equipment Pending CN113805969A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111106651.5A CN113805969A (en) 2021-09-22 2021-09-22 Parameter configuration acquisition method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111106651.5A CN113805969A (en) 2021-09-22 2021-09-22 Parameter configuration acquisition method and device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN113805969A true CN113805969A (en) 2021-12-17

Family

ID=78939798

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111106651.5A Pending CN113805969A (en) 2021-09-22 2021-09-22 Parameter configuration acquisition method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN113805969A (en)

Similar Documents

Publication Publication Date Title
CN112214330A (en) Method and device for deploying master nodes in cluster and computer-readable storage medium
US10922303B1 (en) Early detection of corrupt data partition exports
US10142180B2 (en) Method and system for providing unified configuration information to disparate system software components
US10581676B2 (en) System and method for providing configuration settings to services in a cloud infrastructure
US20050262501A1 (en) Software distribution method and system supporting configuration management
WO2009098909A1 (en) Virtual appliance assignment system
KR20010099633A (en) Reconfiguration manager for controlling upgrades of electronic devices
CN108958744B (en) Deployment method, device, medium and electronic equipment of big data distributed cluster
EP3442201B1 (en) Cloud platform construction method and cloud platform
WO2021258951A1 (en) Method and apparatus for generating mirror image file, and computer-readable storage medium
CN103425472A (en) System for dynamically creating software testing environments on basis of cloud computing and method for implementing system
US10761869B2 (en) Cloud platform construction method and cloud platform storing image files in storage backend cluster according to image file type
US20200371902A1 (en) Systems and methods for software regression detection
CN112764751A (en) Interface generation method and device, interface request method and device and storage medium
CN110928554A (en) Deployment method, device, equipment and storage medium
CN111736762B (en) Synchronous updating method, device, equipment and storage medium of data storage network
CN108073630B (en) Service search access management method and system based on dynamic configuration
CN110233904B (en) Equipment updating method, device, system, storage medium and computer equipment
CN111427577A (en) Code processing method and device and server
CN109002263B (en) Method and device for adjusting storage capacity
CN109218378B (en) Design method of small logistics management platform based on cloud platform
WO2024041035A1 (en) Machine learning model management method and device, model management platform, and storage medium
CN115604120B (en) Multi-cloud cluster resource sharing method, device, equipment and storage medium
CN113805969A (en) Parameter configuration acquisition method and device, storage medium and electronic equipment
US11734136B1 (en) Quick disaster recovery in distributed computing environment

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