CN110569081A - Elastic expansion set configuration method, device, equipment and storage medium - Google Patents

Elastic expansion set configuration method, device, equipment and storage medium Download PDF

Info

Publication number
CN110569081A
CN110569081A CN201910699283.6A CN201910699283A CN110569081A CN 110569081 A CN110569081 A CN 110569081A CN 201910699283 A CN201910699283 A CN 201910699283A CN 110569081 A CN110569081 A CN 110569081A
Authority
CN
China
Prior art keywords
configuration information
preset
group
elastic
resource
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
CN201910699283.6A
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.)
Wuxi Huayun Data Technology Service Co Ltd
Original Assignee
Wuxi Huayun Data Technology Service Co Ltd
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 Wuxi Huayun Data Technology Service Co Ltd filed Critical Wuxi Huayun Data Technology Service Co Ltd
Priority to CN201910699283.6A priority Critical patent/CN110569081A/en
Publication of CN110569081A publication Critical patent/CN110569081A/en
Pending legal-status Critical Current

Links

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)
  • User Interface Of Digital Computer (AREA)

Abstract

The application provides a method, a device, equipment and a storage medium for configuring an elastic expansion group, and belongs to the field of cloud computing. The method comprises the following steps: acquiring a configuration query instruction of a user when creating an elastic expansion group; inquiring whether preset configuration information matched with the elastic expansion group exists in a resource pool or not according to the configuration inquiry instruction, wherein a plurality of preset configuration information are stored in the resource pool; and if the preset configuration information matched with the elastic stretching group exists, configuring the elastic stretching group according to the preset configuration information matched with the elastic stretching group. According to the method and the device, the time of the user for configuring the telescopic group can be shortened, and then the user can conveniently and quickly establish the elastic telescopic group, so that the establishment efficiency of the elastic telescopic group is improved, and the user experience is improved.

Description

Elastic expansion set configuration method, device, equipment and storage medium
Technical Field
The application relates to the field of cloud computing, in particular to a method, a device, equipment and a storage medium for configuring an elastic expansion group.
Background
At present, when a user creates an elastic stretching group, a large number of configuration parameters need to be configured for the elastic stretching group, and the configured parameters include resource configuration and policy configuration, and the resource configuration also includes a large number of configuration parameters, such as parameters of specification, mirror image, creation policy (affinity, anti-affinity, and the like), storage, security group configuration, login mode, user data injection, and the like. The policy configuration also includes a number of configuration parameters, such as trigger conditions, cooling time, upper and lower limits of the number of resources in the cluster, health check mode, health check interval, specification and number of resources to be added, and removal mode and number of resources. Therefore, a great amount of time and energy are consumed for configuring each item when the user creates the elastic stretching group, which causes low efficiency of creating the elastic stretching group and poor user experience.
disclosure of Invention
an object of the embodiments of the present application is to provide a method, an apparatus, a device, and a storage medium for configuring an elastic expansion group, so as to improve the creation efficiency of the elastic expansion group and enhance the user experience.
In a first aspect, a configuration query instruction of a user when creating an elastic expansion group is obtained in a method for configuring an elastic expansion group provided in an embodiment of the present application; inquiring whether preset configuration information matched with the elastic expansion group exists in a resource pool or not according to the configuration inquiry instruction, wherein a plurality of preset configuration information are stored in the resource pool; and if the preset configuration information matched with the elastic stretching group exists, configuring the elastic stretching group according to the preset configuration information matched with the elastic stretching group.
In the implementation process, a configuration query instruction of a user when creating an elastic expansion group is obtained, so as to query whether preset configuration information matched with the elastic expansion group exists in a resource pool or not according to the configuration query instruction, and when the preset configuration information matched with the elastic expansion group exists, the elastic expansion group is configured according to the preset configuration information matched with the elastic expansion group. Therefore, the user can directly configure the elastic telescopic group based on the preset configuration information, the user does not need to configure each sub item in the telescopic group one by one, the time of the user for configuring the telescopic group can be shortened, the user can conveniently and quickly establish the elastic telescopic group, the establishment efficiency of the elastic telescopic group is improved, and the user experience is improved.
With reference to the first aspect, an embodiment of the present application provides a first possible implementation manner of the first aspect, where the preset configuration information includes preset resource configuration information and/or preset policy configuration information.
In the implementation process, whether the preset resource configuration information and the preset strategy configuration information matched with the elastic expansion group created by the user exist or not is directly inquired, so that when the matched preset resource configuration information and/or preset strategy configuration information exist, the elastic expansion group can be directly configured based on the preset resource configuration information and/or the preset strategy configuration information, the user does not need to configure each sub item in the expansion group one by one, the time of the user for configuring the expansion group can be reduced, the user can conveniently and rapidly create the elastic expansion group, and the user experience is improved.
With reference to the first possible implementation manner of the first aspect, an embodiment of the present application provides a second possible implementation manner of the first aspect, where if there is preset configuration information that matches the elastic stretching group, configuring the elastic stretching group according to the preset configuration information that matches the elastic stretching group, includes: if preset resource configuration information matched with the elastic stretching group exists, configuring the resource items of the elastic stretching group according to the preset resource configuration information matched with the elastic stretching group; and/or if preset strategy configuration information matched with the elastic stretching group exists, configuring the stretching strategy item of the elastic stretching group according to the preset strategy configuration information matched with the elastic stretching group.
In the implementation process, when the matched preset resource configuration information and/or preset strategy configuration information exist, the elastic telescopic group can be directly configured based on the preset resource configuration information and/or the preset strategy configuration information, so that a user does not need to configure each sub item in the telescopic group one by one, the time for configuring the telescopic group by the user can be reduced, the user can conveniently and quickly create the elastic telescopic group, and the user experience is improved.
With reference to any implementation manner of the first aspect, this application provides a third possible implementation manner of the first aspect, and the method further includes: if the preset configuration information matched with the elastic telescopic group does not exist, acquiring configuration information input by a user; and configuring the elastic telescopic group according to the configuration information. .
In the implementation process, when the resource pool has no preset configuration information matched with the elastic expansion group created by the user, the user can manually input the configuration information, so that the user can still successfully create the elastic expansion group when the user does not inquire the matched preset configuration information.
With reference to any one of the first aspect to the second implementation manner of the first aspect, this application provides a fourth possible implementation manner of the first aspect, and the method further includes: collecting configuration information created by a plurality of users when creating an elastic expansion group; and storing the configuration information as the preset configuration information to the resource pool.
In the implementation process, the configuration information created by the plurality of users when creating the elastic stretching group is collected, and the collected configuration information is stored in the resource pool as the preset configuration information, so that on one hand, the subsequent users can reuse the configuration information when creating the elastic stretching group, and the time for the users to create the elastic stretching group is shortened. On the other hand, the data in the resource pool can be richer, and the reuse rate of the data is further improved.
in a second aspect, an elastic expansion group configuring device provided in an embodiment of the present application includes: the acquisition unit is used for acquiring a configuration query instruction of a user when the elastic expansion group is created; the query unit is used for querying whether preset configuration information matched with the elastic expansion group exists in a resource pool or not according to the configuration query instruction, wherein a plurality of preset configuration information are stored in the resource pool; and the first configuration unit is used for configuring the elastic telescopic group according to the preset configuration information matched with the elastic telescopic group if the preset configuration information matched with the elastic telescopic group exists.
With reference to the second aspect, an embodiment of the present application provides a first possible implementation manner of the second aspect, where the preset configuration information includes preset resource configuration information and/or preset policy configuration information.
With reference to the first possible implementation manner of the second aspect, an embodiment of the present application provides a second possible implementation manner of the second aspect, where the first configuration unit is further configured to: if preset resource configuration information matched with the elastic stretching group exists, configuring the resource items of the elastic stretching group according to the preset resource configuration information matched with the elastic stretching group; and/or if preset strategy configuration information matched with the elastic stretching group exists, configuring the stretching strategy item of the elastic stretching group according to the preset strategy configuration information matched with the elastic stretching group.
In combination with any implementation manner of the second aspect, this application provides a third possible implementation manner of the second aspect, and the apparatus further includes: a second configuration unit to: if the preset configuration information matched with the elastic telescopic group does not exist, acquiring configuration information input by a user; and configuring the elastic telescopic group according to the configuration information.
With reference to any one of the second aspect to the second implementation manner of the second aspect, this application provides a fifth possible implementation manner of the second aspect, and the apparatus further includes: collecting configuration information created by a plurality of users when creating an elastic expansion group; and storing the configuration information as the preset configuration information to the resource pool.
In a third aspect, an electronic device provided in an embodiment of the present application includes: memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the elastic stretching group configuration method according to any one of the first aspect when executing the computer program.
In a fourth aspect, a storage medium is provided in an embodiment of the present application, where the storage medium has instructions stored thereon, and when the instructions are executed on a computer, the instructions cause the computer to perform the elastic telescopic group configuration method according to any one of the first aspect.
In a fifth aspect, an embodiment of the present application provides a computer program product, which when run on a computer, causes the computer to execute the elastic stretching group configuration method according to any one of the first aspect.
Additional features and advantages of the disclosure will be set forth in the description which follows, or in part may be learned by the practice of the above-described techniques of the disclosure, or may be learned by practice of the disclosure.
in order to make the aforementioned objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments of the present application will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and that those skilled in the art can also obtain other related drawings based on the drawings without inventive efforts.
fig. 1 is a flowchart of a method for configuring an elastic expansion/contraction group according to an embodiment of the present disclosure;
Fig. 2 is a schematic view of an operation interface for configuring an elastic expansion group according to an embodiment of the present disclosure;
Fig. 3 is a schematic structural diagram of an elastic expansion group configuring apparatus according to an embodiment of the present disclosure;
Fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
Referring to fig. 1, fig. 1 is a flowchart illustrating a method for configuring an elastic expansion/contraction group according to an embodiment of the present invention, it should be understood that the method can be performed by an elastic expansion/contraction group configuration apparatus shown in fig. 3, which corresponds to the electronic device shown in fig. 4, which can be various devices capable of performing the method, such as a computer or a cloud server, and the present invention is not limited thereto, and specifically includes the following steps:
Step S101, acquiring a configuration query instruction of a user when creating an elastic expansion group.
Optionally, the configuration query instruction carries description information describing the item to be queried, for example, the configuration query instruction carries "test 1", where test1 is the description information describing the item to be queried.
as an implementation scenario, after a user logs in a cloud server through a webpage, the configuration query instruction for creating the elastic expansion group is input on the webpage, and after the configuration query instruction input by the user is collected by the webpage, the configuration query instruction is forwarded to the cloud server.
Alternatively, the user may log in the webpage through the terminal device, for example, the webpage may be logged in through a device such as a mobile phone, a tablet, or a computer.
As another implementation scenario, a user enters an operation interface of a client on a terminal device installed with the client, an elastic stretching group is created in the operation interface, and when the user creates the elastic stretching group at the client, the client monitors a configuration query instruction input by the user. Wherein the client communicates with the cloud server.
optionally, the client is an Application (APP).
Optionally, after the client acquires the configuration query instruction, the instruction is forwarded to the cloud server. Namely, step S101, includes: and acquiring a configuration query instruction sent by the terminal equipment, wherein the configuration query instruction is acquired when the terminal equipment creates the elastic expansion group.
Of course, in actual use, the client may perform the query locally based on the configuration query instruction.
for example, as shown in fig. 2, the user may input the information to be queried in the input box of the operation interface "please input name", and the operation interface generates a configuration query instruction after monitoring the user input information, for example, when the user clicks a search button next to the input box "please input name".
And S102, inquiring whether preset configuration information matched with the elastic expansion group exists in a resource pool or not according to the configuration inquiry instruction.
the resource pool stores a plurality of preset configuration information.
Optionally, the resource pool is used for storing preset configuration information.
Alternatively, the resource pool may also be referred to as a database or a storage medium. Here, the number of the carbon atoms is not particularly limited.
Optionally, the number of the preset configuration information in the resource pool may be updated, that is, may be increased. Of course, the number of preset configuration information in the resource pool can also be reduced. For example, configuration information (such as policy configuration and/or resource configuration) configured by different users is continuously added to the resource pool, and the quantity of the preset configuration information in the resource pool is updated.
It should be understood that all configuration information (e.g., policy configuration and/or resource configuration) when updated into the resource pool may be referred to as preset configuration information.
It should be understood that the presets in the preset configuration information are not limiting of the configuration information, but are merely used for distinction. For example, the preset configuration information may also be referred to as first configuration information or second configuration information.
It is to be understood that the above examples are illustrative only and not limiting.
As an embodiment, the preset configuration information includes preset resource configuration information, and step S102 includes: and inquiring whether preset resource configuration information matched with the elastic expansion group exists in a resource pool or not according to the configuration inquiry instruction.
Optionally, the preset resource configuration information is used to configure the resource items of the elastic scaling group to be created.
Optionally, the preset resource configuration information includes, but is not limited to: specification, mirroring, creating policies (affinity, anti-affinity, etc.), storage, security group configuration, login method, user data injection, etc.
It should be understood that the preset resource configuration information may also include fewer sub-configuration items or more sub-configuration items than those described above. For example, the preset resource configuration information may include specification, mirroring, storage, login manner, and the like.
It should be understood that the plurality of sub-configuration items in the preset resource configuration information are already configured with parameters.
Optionally, the resource items of the elastic scaling group include each sub-configuration item in the preset resource configuration information.
That is, resource items include specifications, mirroring, creation policies (affinity, anti-affinity, etc.), storage, security group configuration, login methods, user data injection, and the like.
For example, assuming that there is a preset resource configuration information named test1 in the resource pool, the configuration parameters of each sub-configuration item of the test1 may be: the name is test1, the item is test1, and the specification: CPU (core) is 1 core, memory (GB) is 1 GB; the image may be a system image, such as Cent _ 001; the storage may be specified on a system disk or a normal disk, and may set the size of the storage. The login mode can be password login or key pair login.
In the implementation manner, whether the preset resource configuration information matched with the elastic stretching group created by the user exists or not is directly inquired, so that when the matched preset resource configuration information exists, the resource items of the elastic stretching group can be directly configured based on the preset resource configuration information, the user does not need to configure each sub item in the resource items one by one, the time for configuring the resource items by the user can be reduced, the user can conveniently and quickly create the elastic stretching group, and the user experience is improved.
As another embodiment, the preset configuration information includes preset policy configuration information, and step S102 includes: and inquiring whether preset strategy configuration information matched with the elastic expansion group exists in a resource pool or not according to the configuration inquiry instruction.
Optionally, the preset policy setting information is used to configure the scaling policy items of the elastic scaling group to be created.
Optionally, the preset policy configuration information includes, but is not limited to: triggering conditions, cooling time, upper and lower limits of the number of resources in the telescopic group, health check mode, health check interval, resource specification and number of newly added resources, mode and number of removed resources and the like.
It should be understood that the preset policy configuration information may also include fewer sub-configuration items or more sub-configuration items than those described above. For example, the preset policy configuration information may include a trigger condition, a cooling time, an upper and lower limit of the number of resources (i.e., cloud hosts) in the scalable group, a health check mode, and the like.
It should be understood that the plurality of sub-configuration items in the preset policy configuration information are already configured with parameters.
Optionally, the flexible policy item of the flexible group includes each sub-configuration item in the preset policy configuration information.
that is, the scaling strategy items include trigger conditions, cooling time, upper and lower limits of the number of resources in the scaling group, health check mode, health check interval, resource specification and number of newly added resources, and mode and number of removed resources.
In the implementation manner, whether the preset strategy configuration information matched with the elastic expansion group created by the user exists or not is directly inquired, so that when the matched preset strategy configuration information exists, the expansion strategy item of the elastic expansion group can be directly configured based on the preset strategy configuration information, the user does not need to configure each sub item in the expansion strategy item one by one, the time of the user for configuring the expansion strategy item can be reduced, the user can conveniently and quickly create the elastic expansion group, and the user experience is improved.
Optionally, when creating the elastic scaling group, the user may configure the resource item first and configure the scaling policy item.
Of course, when creating the elastic scaling group, the user may also configure the scaling policy item first and then configure the resource item.
Even, when the user creates the elastic scaling group, the configuration of the scaling strategy item and the resource item can be completed at the same time.
As another embodiment, the preset configuration information includes preset resource configuration information and preset policy configuration information, and step S102 includes: and inquiring whether preset resource configuration information and preset strategy configuration information matched with the elastic expansion group exist in a resource pool or not according to the configuration inquiry instruction.
optionally, all the preset resource configuration information and the preset policy configuration information in the resource pool are classified respectively to form two major classes, that is, one class is used for storing all the preset resource configuration information, and the other class is used for storing the preset policy configuration information.
Optionally, when creating the elastic expansion group, the user may query the preset resource configuration information and the preset policy configuration information based on one instruction. For example, the preset resource configuration information and the preset policy configuration information are queried based on the same description information.
In the implementation process, whether the preset resource configuration information and the preset strategy configuration information matched with the elastic expansion group created by the user exist or not is directly inquired, so that when the matched preset resource configuration information and/or preset strategy configuration information exist, the elastic expansion group can be directly configured based on the preset resource configuration information and/or the preset strategy configuration information, the user does not need to configure each sub item in the expansion group one by one, the time of the user for configuring the expansion group can be reduced, the user can conveniently and rapidly create the elastic expansion group, and the user experience is improved.
As another embodiment, the preset configuration information includes preset resource configuration information or preset policy configuration information, and step S102 includes: and inquiring whether preset resource configuration information or preset strategy configuration information matched with the elastic expansion group exists in a resource pool or not according to the configuration inquiry instruction.
In the implementation process, whether preset resource configuration information or preset strategy configuration information matched with the configuration query instruction exists or not is queried in the resource pool, so that when the preset resource configuration information or the preset strategy configuration information exists, the telescopic group can be rapidly configured through the preset resource configuration information or the preset strategy configuration information, the time for configuring the telescopic group by a user is shortened, the user can conveniently and rapidly establish the elastic telescopic group, and the user experience is improved.
And step S103, configuring the elastic expansion group according to preset configuration information matched with the elastic expansion group.
Optionally, when there is preset configuration information matched with the elastic stretching group, the preset configuration information matched with the elastic stretching group is bound (or associated) with the elastic stretching group, so as to implement rapid configuration of the elastic stretching group.
As an implementation manner, the preset configuration information includes preset resource configuration information and preset policy configuration information; step S103, comprising: if preset resource configuration information matched with the elastic stretching group exists, configuring the resource items of the elastic stretching group according to the preset resource configuration information matched with the elastic stretching group; and if preset strategy configuration information matched with the elastic stretching group exists, configuring the stretching strategy items of the elastic stretching group according to the preset strategy configuration information matched with the elastic stretching group. Or if preset resource configuration information matched with the elastic stretching group exists and preset strategy configuration information matched with the elastic stretching group does not exist, configuring the resource items of the elastic stretching group according to the preset resource configuration information matched with the elastic stretching group. Or if preset strategy configuration information matched with the elastic stretching group exists and preset resource configuration information matched with the elastic stretching group does not exist, configuring the stretching strategy items of the elastic stretching group according to the preset strategy configuration information matched with the elastic stretching group.
As another embodiment, the preset configuration information includes preset resource configuration information or preset policy configuration information; step S103, comprising: if preset resource configuration information matched with the elastic stretching group exists, configuring the resource items of the elastic stretching group according to the preset resource configuration information matched with the elastic stretching group; or if preset strategy configuration information matched with the elastic stretching group exists, configuring the stretching strategy item of the elastic stretching group according to the preset strategy configuration information matched with the elastic stretching group.
In a possible embodiment, the method further comprises: if the preset configuration information matched with the elastic telescopic group does not exist, acquiring configuration information input by a user; and configuring the elastic telescopic group according to the configuration information.
Optionally, the absence of the preset configuration information matched with the elastic stretching group means that there is no preset resource configuration information matched with the elastic stretching group and there is no preset policy configuration information matched with the elastic stretching group.
Optionally, the configuration information comprises resource configuration information.
Optionally, if there is no preset resource configuration information matched with the elastic expansion group, acquiring resource configuration information input by a user; and configuring the resource items of the elastic telescopic group according to the resource configuration information.
Optionally, the resource configuration information refers to configuration information input by a user based on each sub-item of the resource item.
As an implementation scenario, a user may configure each sub-item of a resource item through an operation interface.
In the implementation process, when the resource pool has no preset resource configuration information matched with the elastic expansion group created by the user, the user can manually configure the resource configuration information, so that the user can still successfully create the elastic expansion group when the user does not inquire the matched preset resource configuration information.
Optionally, the configuration information comprises policy configuration information.
Optionally, if there is no preset policy configuration information matched with the elastic expansion group, acquiring policy configuration information input by a user; and configuring the flexible strategy items of the elastic flexible group according to the strategy configuration information.
As an implementation scenario, a user may configure each sub-item of the scaling policy item through an operation interface.
In the implementation process, when there is no preset policy configuration information matching with the elastic expansion group created by the user in the resource pool, the user can manually configure the policy configuration information by himself, so that the user can still successfully create the elastic expansion group when the user does not inquire the matching preset policy configuration information.
Optionally, the configuration information includes resource configuration information and policy configuration information, and if there is no preset configuration information matching the elastic stretching group, acquiring configuration information input by a user includes: and if the preset resource configuration information and the preset strategy configuration information which are matched with the elastic expansion group do not exist, acquiring the resource configuration information and the strategy configuration information which are input by a user.
in a possible embodiment, the method further comprises: collecting configuration information created by a plurality of users when creating an elastic expansion group; and storing the configuration information as the preset configuration information to the resource pool.
optionally, collecting configuration information created by a plurality of users when creating the elastic expansion group includes: and acquiring the strategy configuration and/or the resource configuration created by a plurality of users when the elastic scaling group is created.
Optionally, collecting policy configurations and/or resource configurations created by a plurality of users when creating the elastic scaling group includes: and collecting the strategy configuration and/or the resource configuration created by a plurality of historical users when the elastic scaling group is created.
Optionally, the resource configuration refers to configuration information for configuring resource items of the elastic scaling group.
Optionally, the policy configuration refers to configuration information for configuring a flexible policy item of the flexible group.
Alternatively, the historical user refers to a user before the current time.
It should be appreciated that the user who created the elastic warp group at the current time may be the same user as the historical user described above. For example, the collected policy configuration and/or resource configuration may be created by user A on the previous day, and when user A creates the elastic expansion group again at the current time, user A on the previous day may be referred to as a historical user.
In the implementation process, the acquired policy configuration and/or resource configuration created by the plurality of users when creating the elastic stretching group are acquired and stored as preset configuration information in the resource pool, so that on one hand, the subsequent users can reuse the acquired policy configuration and/or resource configuration when creating the elastic stretching group, and the time for the users to create the elastic stretching group is shortened. On the other hand, the data in the resource pool can be richer, and the reuse rate of the data is further improved.
According to the configuration method of the elastic expansion group, the configuration query instruction of the user when the elastic expansion group is created is obtained, whether preset configuration information matched with the elastic expansion group exists in a resource pool or not is queried according to the configuration query instruction, and when the preset configuration information matched with the elastic expansion group exists, the elastic expansion group is configured according to the preset configuration information matched with the elastic expansion group. Therefore, the user can directly configure the elastic telescopic group based on the preset configuration information, the user does not need to configure each sub item in the telescopic group one by one, the time of the user for configuring the telescopic group can be shortened, the user can conveniently and quickly create the elastic telescopic group, and the user experience is improved.
Based on the same inventive concept, as shown in fig. 3, an elastic stretching group configuring apparatus corresponding to the elastic stretching group configuring method shown in fig. 1 is further provided in the embodiments of the present application, it should be understood that the apparatus 400 corresponds to the embodiment of the method shown in fig. 1, and can perform the steps related to the embodiment of the method, and the specific functions of the apparatus 400 can be referred to the description above, and the detailed description is appropriately omitted here to avoid redundancy. The apparatus 400 includes at least one software functional module that can be stored in a memory in the form of software or firmware (firmware) or solidified in an Operating System (OS) of the electronic device. Specifically, the apparatus 400 includes:
An obtaining unit 410, configured to obtain a configuration query instruction of a user when creating the elastic expansion group.
the querying unit 420 is configured to query whether preset configuration information matched with the elastic expansion group exists in a resource pool according to the configuration query instruction, where a plurality of preset configuration information are stored in the resource pool.
A first configuration unit 430, configured to configure the elastic stretching group according to preset configuration information matched with the elastic stretching group if the preset configuration information matched with the elastic stretching group exists.
Optionally, the preset configuration information includes preset resource configuration information and/or preset policy configuration information, and the querying unit 420 is further configured to: and inquiring whether preset resource configuration information and/or preset strategy configuration information matched with the elastic expansion group exists in a resource pool or not according to the configuration inquiry instruction.
Optionally, the first configuration unit 430 is further configured to: if preset resource configuration information matched with the elastic stretching group exists, configuring the resource items of the elastic stretching group according to the preset resource configuration information matched with the elastic stretching group; and/or if preset strategy configuration information matched with the elastic stretching group exists, configuring the stretching strategy item of the elastic stretching group according to the preset strategy configuration information matched with the elastic stretching group.
In a possible embodiment, the apparatus 400 further comprises: a second configuration unit to: if the preset configuration information matched with the elastic telescopic group does not exist, acquiring configuration information input by a user; and configuring the elastic telescopic group according to the configuration information.
In a possible embodiment, the apparatus 400 further comprises: collecting configuration information created by a plurality of users when creating an elastic expansion group; and storing the configuration information as the preset configuration information to the resource pool.
Fig. 4 is a block diagram of a structure of an electronic device 600 in an embodiment of the present application, as shown in fig. 4. Electronic device 600 may include a processor 610, a communication interface 620, a memory 630, and at least one communication bus 640. Wherein communication bus 640 is used to enable direct, coupled communication of these components. The communication interface 620 of the device in the embodiment of the present application is used for performing signaling or data communication with other node devices. The processor 610 may be an integrated circuit chip having signal processing capabilities.
The Processor 610 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; but may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components. The various methods, steps, and logic blocks disclosed in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor 610 may be any conventional processor or the like.
The Memory 630 may be, but is not limited to, a Random Access Memory (RAM), a Read Only Memory (ROM), a Programmable Read-Only Memory (PROM), an Erasable Read-Only Memory (EPROM), an electrically Erasable Read-Only Memory (EEPROM), and the like. The memory 630 stores computer readable instructions that, when executed by the processor 610, the electronic device 600 may perform the various steps involved in the method embodiment of fig. 1 described above.
Optionally, the electronic device 600 may be a computer or a cloud server.
The electronic device 600 may further include a memory controller, an input-output unit, and a display unit.
the memory 630, the memory controller, the processor 610, the input/output unit, and the display unit are electrically connected to each other directly or indirectly to realize data transmission or interaction. For example, these components may be electrically coupled to each other via one or more communication buses 640. The processor 610 is configured to execute executable modules stored in the memory 630, such as software functional modules or computer programs included in the apparatus 400. Also, the apparatus 400 is configured to perform the following method: acquiring a configuration query instruction of a user when creating an elastic expansion group; inquiring whether preset configuration information matched with the elastic expansion group exists in a resource pool or not according to the configuration inquiry instruction, wherein a plurality of preset configuration information are stored in the resource pool; and if the preset configuration information matched with the elastic stretching group exists, configuring the elastic stretching group according to the preset configuration information matched with the elastic stretching group.
The input and output unit is used for providing input data for a user to realize the interaction of the user and the electronic device 600. The input/output unit may be, but is not limited to, a mouse, a keyboard, and the like.
The display unit provides an interactive interface (e.g., a user interface) between the electronic device 600 and a user or is used to display operation items for reference by the user. In this embodiment, the display unit may be a liquid crystal display or a touch display. In the case of a touch display, the display can be a capacitive touch screen or a resistive touch screen, which supports single-point and multi-point touch operations. The support of single-point and multi-point touch operations means that the touch display can sense touch operations simultaneously generated from one or more positions on the touch display, and the sensed touch operations are sent to the processor for calculation and processing. For example, the display unit may display preset configuration information obtained by the processor 610 performing the steps illustrated in fig. 1.
It will be appreciated that the configuration shown in FIG. 4 is merely illustrative and that the electronic device 600 may include more or fewer components than shown in FIG. 4 or may have a different configuration than shown in FIG. 4. The components shown in fig. 4 may be implemented in hardware, software, or a combination thereof.
The embodiment of the present application further provides a storage medium, where the storage medium stores instructions, and when the instructions are run on a computer, when the computer program is executed by a processor, the method in the method embodiment is implemented, and in order to avoid repetition, details are not repeated here.
The present application also provides a computer program product which, when run on a computer, causes the computer to perform the method of the method embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
In addition, units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
Furthermore, the functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
In this document, 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.
The above description is only an example of the present application and is not intended to limit the scope of the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (10)

1. A method of configuring an elastic expansion and contraction group, the method comprising:
Acquiring a configuration query instruction of a user when creating an elastic expansion group;
Inquiring whether preset configuration information matched with the elastic expansion group exists in a resource pool or not according to the configuration inquiry instruction, wherein a plurality of preset configuration information are stored in the resource pool;
And if the preset configuration information matched with the elastic stretching group exists, configuring the elastic stretching group according to the preset configuration information matched with the elastic stretching group.
2. The method according to claim 1, wherein the preset configuration information comprises preset resource configuration information and/or preset policy configuration information.
3. The method of claim 2, wherein the configuring the elastic expansion group according to the preset configuration information matched with the elastic expansion group if the preset configuration information matched with the elastic expansion group exists comprises:
If preset resource configuration information matched with the elastic stretching group exists, configuring the resource items of the elastic stretching group according to the preset resource configuration information matched with the elastic stretching group; and/or the presence of a gas in the gas,
And if the preset strategy configuration information matched with the elastic telescopic group exists, configuring the telescopic strategy item of the elastic telescopic group according to the preset strategy configuration information matched with the elastic telescopic group.
4. the method according to any one of claims 1-3, further comprising:
If the preset configuration information matched with the elastic telescopic group does not exist, acquiring configuration information input by a user;
And configuring the elastic telescopic group according to the configuration information.
5. The method according to any one of claims 1-3, further comprising:
Collecting configuration information created by a plurality of users when creating an elastic expansion group;
And storing the configuration information as the preset configuration information to the resource pool.
6. An elastic expansion group deployment device, the device comprising:
The acquisition unit is used for acquiring a configuration query instruction of a user when the elastic expansion group is created;
The query unit is used for querying whether preset configuration information matched with the elastic expansion group exists in a resource pool or not according to the configuration query instruction, wherein a plurality of preset configuration information are stored in the resource pool;
and the first configuration unit is used for configuring the elastic telescopic group according to the preset configuration information matched with the elastic telescopic group if the preset configuration information matched with the elastic telescopic group exists.
7. The apparatus according to claim 6, wherein the preset configuration information comprises preset resource configuration information and/or preset policy configuration information.
8. The apparatus of claim 6, wherein the first configuration unit is further configured to:
If preset resource configuration information matched with the elastic stretching group exists, configuring the resource items of the elastic stretching group according to the preset resource configuration information matched with the elastic stretching group; and/or the presence of a gas in the gas,
And if the preset strategy configuration information matched with the elastic telescopic group exists, configuring the telescopic strategy item of the elastic telescopic group according to the preset strategy configuration information matched with the elastic telescopic group.
9. An electronic device comprising a processor, a memory, and a computer program stored in the memory and executable on the processor, the processor implementing the method of any one of claims 1-5 when executing the computer program.
10. A storage medium having stored therein instructions which, when run on a computer, cause the computer to perform the method of any one of claims 1-5.
CN201910699283.6A 2019-07-30 2019-07-30 Elastic expansion set configuration method, device, equipment and storage medium Pending CN110569081A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910699283.6A CN110569081A (en) 2019-07-30 2019-07-30 Elastic expansion set configuration method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910699283.6A CN110569081A (en) 2019-07-30 2019-07-30 Elastic expansion set configuration method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN110569081A true CN110569081A (en) 2019-12-13

Family

ID=68773317

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910699283.6A Pending CN110569081A (en) 2019-07-30 2019-07-30 Elastic expansion set configuration method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110569081A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130198718A1 (en) * 2012-01-31 2013-08-01 Red Hat Inc. Automated configuration of an application in a computing platform
CN105511905A (en) * 2015-11-25 2016-04-20 北京金山安全软件有限公司 Information loading method and device
CN105791018A (en) * 2016-03-11 2016-07-20 中国联合网络通信集团有限公司 NFV network element configuration method and system
CN107506241A (en) * 2017-08-25 2017-12-22 郑州云海信息技术有限公司 A kind of flexible method of cloud platform automatic elastic
CN108108204A (en) * 2016-11-23 2018-06-01 湖北省楚天云有限公司 The application program collocation method and device of cloud computing platform

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130198718A1 (en) * 2012-01-31 2013-08-01 Red Hat Inc. Automated configuration of an application in a computing platform
CN105511905A (en) * 2015-11-25 2016-04-20 北京金山安全软件有限公司 Information loading method and device
CN105791018A (en) * 2016-03-11 2016-07-20 中国联合网络通信集团有限公司 NFV network element configuration method and system
CN108108204A (en) * 2016-11-23 2018-06-01 湖北省楚天云有限公司 The application program collocation method and device of cloud computing platform
CN107506241A (en) * 2017-08-25 2017-12-22 郑州云海信息技术有限公司 A kind of flexible method of cloud platform automatic elastic

Similar Documents

Publication Publication Date Title
JP6865219B2 (en) Event batch processing, output sequencing, and log-based state storage in continuous query processing
KR102493449B1 (en) Edge computing test methods, devices, electronic devices and computer-readable media
US20210240721A1 (en) Application Recommending Method and System, and Server
US10338977B2 (en) Cluster-based processing of unstructured log messages
WO2021129367A1 (en) Method and apparatus for monitoring distributed storage system
WO2021189953A1 (en) Log data processing method and apparatus, computer device, and storage medium
JP7169973B2 (en) Systems and methods for updating multi-tier cloud-based application stacks
CN110532322B (en) Operation and maintenance interaction method, system, computer readable storage medium and equipment
CN108984544B (en) Method and device for modifying configuration information of distributed system
US20220300698A1 (en) Techniques for web framework detection
JP2022048088A (en) Method and apparatus for testing code, electronic device, storage medium and computer program
CN111309574B (en) Information processing method, device and equipment
CN112491617B (en) Link tracking method, device, electronic equipment and medium
CN110661665A (en) Alarm method based on Internet of things cloud platform, computer storage medium and equipment
US11734454B2 (en) Method for providing applet service capability, electronic device, and storage medium
US10114731B2 (en) Including kernel object information in a user dump
CN111078695A (en) Method and device for calculating metadata association relation in enterprise
CN110581885A (en) Method, device and equipment for determining equipment synchronization and storage medium
CN113268260A (en) Routing method and device for web front end
CN110765090B (en) Log data management method and device, storage medium and electronic equipment
CN109213782B (en) Search interface configuration and display method and device and communication equipment
CN112804330B (en) Application communication method and device
US9317354B2 (en) Dynamically determining an external systems management application to report system errors
CN111756618B (en) Group chat processing method and device, electronic equipment and readable storage medium
CN112328658A (en) User profile data processing method, device, equipment and storage medium

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20191213