CN113656181A - Method and device for issuing real-time application cluster instance resources - Google Patents

Method and device for issuing real-time application cluster instance resources Download PDF

Info

Publication number
CN113656181A
CN113656181A CN202110966636.1A CN202110966636A CN113656181A CN 113656181 A CN113656181 A CN 113656181A CN 202110966636 A CN202110966636 A CN 202110966636A CN 113656181 A CN113656181 A CN 113656181A
Authority
CN
China
Prior art keywords
real
time application
application cluster
host machines
labels
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
CN202110966636.1A
Other languages
Chinese (zh)
Inventor
彭博远
许振峰
李秀萍
沈震宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN202110966636.1A priority Critical patent/CN113656181A/en
Publication of CN113656181A publication Critical patent/CN113656181A/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/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • 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/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • G06F9/5044Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals considering hardware capabilities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network

Abstract

The invention provides a method and a device for issuing real-time application cluster instance resources, which can be used in the financial field or other technical fields. The method comprises the following steps: acquiring a real-time application cluster resource application, wherein the real-time application cluster resource application comprises a specified server specification; matching the specified server specification with specification labels of the real-time application cluster hosts to obtain two real-time application cluster hosts of which the specification labels are successfully matched with the specified server specification, wherein the specification labels of the real-time application cluster hosts comprise the specification of the hosts; and issuing two real-time application cluster host machines of which the specification labels are successfully matched with the specified server specification. The device is used for executing the method, and the method and the device for issuing the real-time application cluster instance resources can simultaneously issue a plurality of bare metal servers when one-time application is carried out, so that RAC pair instances meeting production requirements are obtained.

Description

Method and device for issuing real-time application cluster instance resources
Technical Field
The invention relates to the financial field or other technical fields, in particular to a method and a device for issuing real-time application cluster instance resources.
Background
With the rapid development of the cloud computing industry and related technologies, various computing and storage resources gradually evolve from a traditional physical server deployment mode to a cloud deployment mode represented by an elastic cloud server; by means of the elastic resource supply capacity of the large-scale cloud management platform, rapid construction and elastic resource expansion of computing, storage, network resources and high-order cloud services are achieved.
With the popularization of the cloud deployment mode, the issue of the issuing efficiency of some complex resource supply scenarios gradually emerges, taking Real Application Clusters (RAC) construction as an example, the traditional method is that operation and maintenance personnel need to apply for two types (RAC1, RAC2) of bare metal resources for multiple times on a cloud management platform to obtain two or more bare metal servers, and because the traditional RAC cluster construction process of the cloud management platform includes repeated server resource issuing steps, in a large-scale resource supply scenario, the resource supply efficiency of the process is low, and the actual demands of high production efficiency and automatic deployment cannot be met.
Disclosure of Invention
For solving the problems in the prior art, embodiments of the present invention provide a method and an apparatus for issuing real-time application cluster instance resources, which can at least partially solve the problems in the prior art.
In one aspect, the present invention provides a method for issuing real-time application cluster instance resources, including: acquiring a real-time application cluster resource application, wherein the real-time application cluster resource application comprises a specified server specification; matching the specified server specification with specification labels of the real-time application cluster hosts to obtain two real-time application cluster hosts of which the specification labels are successfully matched with the specified server specification, wherein the specification labels of the real-time application cluster hosts comprise the specification of the hosts; and issuing two real-time application cluster host machines of which the specification labels are successfully matched with the specified server specification.
Optionally, the real-time application cluster resource application further includes at least one of the following parameters: a designated operating system image, designated network configuration parameters, and a designated backend storage type; the two real-time application cluster host machines which issue the specification labels and are successfully matched with the specified server specification comprise: issuing and installing the operating system mirror image appointed in the real-time application cluster application on the two real-time application cluster host machines; and/or configuring network configuration parameters specified in the real-time application cluster resource application for the two real-time application cluster host machines; and/or docking corresponding shared storage resources for the two real-time application cluster host machines according to the specified back-end storage type.
Optionally, the specification label of the real-time application cluster host further includes a cabinet where the host is located; the step of matching the specified server specification with the specification labels of the real-time application cluster host machines to obtain two real-time application cluster host machines with the specification labels successfully matched with the specified server specification comprises the following steps: and according to the specified server specification, respectively searching the real-time application cluster host machines with specification labels matched with the specified server specification in different cabinets to obtain two real-time application cluster host machines respectively belonging to different cabinets.
Optionally, the specification label of the real-time application cluster host further includes available partitions where the host is located, at least two cabinets are deployed in each available partition, and real-time application cluster hosts with the same specification and quantity are deployed on each cabinet in the same available partition.
Optionally, the real-time application cluster resource application further includes a designated available partition; the step of matching the specified server specification with the specification labels of the real-time application cluster host machines to obtain two real-time application cluster host machines with the specification labels successfully matched with the specified server specification comprises the following steps: and in the appointed available partition, according to the appointed server specification, respectively searching the real-time application cluster host machines with specification labels matched with the appointed server specification in different cabinets to obtain two real-time application cluster host machines respectively belonging to different cabinets.
Optionally, the specified server specification includes a central processing unit core number and a memory capacity; the specification label of the real-time application cluster host machine comprises the central processing unit core number and the memory capacity of the host machine.
In another aspect, the present invention provides an apparatus for issuing real-time application cluster instance resources, where the apparatus includes: the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring a real-time application cluster resource application, and the real-time application cluster resource application comprises a specified server specification; the matching module is used for matching the specified server specification with the specification labels of the real-time application cluster host machines to obtain two real-time application cluster host machines of which the specification labels are successfully matched with the specified server specification, wherein the specification labels of the real-time application cluster host machines comprise the specifications of the host machines; and the issuing module is used for issuing two real-time application cluster host machines of which the specification labels are successfully matched with the specified server specification.
Optionally, the real-time application cluster resource application further includes at least one of the following parameters: a designated operating system image, designated network configuration parameters, and a designated backend storage type; the issuing module is specifically configured to: issuing and installing the operating system mirror image appointed in the real-time application cluster application on the two real-time application cluster host machines; and/or configuring network configuration parameters specified in the real-time application cluster resource application for the two real-time application cluster host machines; and/or docking corresponding shared storage resources for the two real-time application cluster host machines according to the specified back-end storage type.
Optionally, the specification label of the real-time application cluster host further includes a cabinet where the host is located; the matching module is specifically configured to: and according to the specified server specification, respectively searching the real-time application cluster host machines with specification labels matched with the specified server specification in different cabinets to obtain two real-time application cluster host machines respectively belonging to different cabinets.
Optionally, the specification label of the real-time application cluster host further includes available partitions where the host is located, at least two cabinets are deployed in each available partition, and real-time application cluster hosts with the same specification and quantity are deployed on each cabinet in the same available partition.
Optionally, the real-time application cluster resource application further includes a designated available partition; the matching module is specifically configured to: and in the appointed available partition, according to the appointed server specification, respectively searching the real-time application cluster host machines with specification labels matched with the appointed server specification in different cabinets to obtain two real-time application cluster host machines respectively belonging to different cabinets.
In another aspect, the present invention provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the method for issuing real-time application cluster instance resources according to any of the above embodiments when executing the program.
In yet another aspect, the present invention provides a computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the steps of the method for issuing real-time application cluster instance resources according to any one of the above embodiments.
The method for issuing the real-time application cluster instance resources comprises the steps of setting specification labels for real-time application cluster host machines in advance, assigning server specifications by a user before issuing the resources when issuing the real-time application cluster instance resources, automatically matching paired host machine resources according to the mapping relation between specification parameters assigned by the user and the host machine specification labels, and simultaneously issuing a plurality of bare metal servers when applying for once, so that RAC pair instances meeting production requirements are obtained.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts. In the drawings:
fig. 1 is a flowchart illustrating a method for issuing a real-time application cluster instance resource according to a first embodiment of the present invention.
Fig. 2 is a schematic structural diagram of deployment of physical resources of a real-time application cluster host according to an embodiment of the present invention.
Fig. 3 is a flowchart illustrating a method for issuing a real-time application cluster instance resource according to another embodiment of the present invention.
Fig. 4 is a schematic structural diagram of an apparatus for issuing real-time application cluster instance resources according to an embodiment of the present invention.
Fig. 5 is a schematic physical structure diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the embodiments of the present invention are further described in detail below with reference to the accompanying drawings. The exemplary embodiments and descriptions of the present invention are provided to explain the present invention, but not to limit the present invention. It should be noted that the embodiments and features of the embodiments in the present application may be arbitrarily combined with each other without conflict.
The execution subject of the method for issuing the real-time application cluster instance resource provided by the embodiment of the invention includes but is not limited to a computer.
Fig. 1 is a schematic flow chart of a method for issuing instance resources of a real-time application cluster according to an embodiment of the present invention, and as shown in fig. 1, the method for issuing instance resources of a real-time application cluster according to an embodiment of the present invention includes:
s101, acquiring a real-time application cluster resource application, wherein the real-time application cluster resource application comprises a specified server specification;
in this step, the real-time application cluster resource application may be sent by a user (e.g., an operation and maintenance worker) through a cloud management platform, and is used for applying for building bare metal server resources of a real-time application cluster; the user can specify the specification of the server to be applied through the cloud management platform.
S102, matching the specified server specification with specification labels of real-time application cluster host machines to obtain two real-time application cluster host machines of which the specification labels are successfully matched with the specified server specification, wherein the specification labels of the real-time application cluster host machines comprise the specification of the host machines;
in this step, the real-time application cluster hosts provide Bare Metal Servers (BMS) for building a real-time application cluster for the cloud management platform, and each host has a corresponding specification tag for recording the specification of the host, so as to be conveniently matched with the Server specification specified in the real-time application cluster resource application.
At least two specification labels can be arranged in a resource domain of the cloud management platform, the specification labels of the at least two specification labels are successfully matched with the specified server specification, and at this time, any two hosts can be selected from the successfully matched real-time application cluster hosts as a pair of real-time application cluster instances to be issued.
S103, issuing two real-time application cluster host machines with the specification labels successfully matched with the specified server specification.
In this step, the two real-time application cluster hosts are respectively used as the RAC1 and RAC2 bare metal servers in a pair of RAC resource instances (LEAF pairs), so that a plurality of bare metal server resources are issued at the same time in one application.
The method for issuing the real-time application cluster instance resources provided by the embodiment of the invention sets the specification labels for the real-time application cluster host in advance, when the real-time application cluster instance resources are issued, the user designates the server specification before the resources are issued, the paired host resources are automatically matched through the mapping relation between the specification parameters designated by the user and the host specification labels, and a plurality of bare metal servers are issued at the same time when the application is applied, so that the RAC pair instance meeting the production requirement is obtained.
Optionally, the real-time application cluster resource application further includes at least one of the following parameters: a designated operating system image, designated network configuration parameters, and a designated backend storage type; the two real-time application cluster host machines which issue the specification labels and are successfully matched with the specified server specification comprise:
issuing and installing the operating system mirror image appointed in the real-time application cluster application on the two real-time application cluster host machines; and/or
Configuring network configuration parameters specified in the real-time application cluster resource application for the two real-time application cluster host machines; and/or
And docking corresponding shared storage resources for the two real-time application cluster host machines according to the specified rear-end storage type.
In this embodiment, before acquiring the real-time application cluster resource application, multiple operating system images and/or backend storage types may be displayed to the user, so that the user may select, according to the requirement, the backend storage type to which the operating system image and/or oracle RAC resource required by the RAC is delivered and then docked. The real-time application cluster resource application may further include the number and capacity of shared data disks specified by the user according to the requirement.
The network configuration parameters include public network ip (public ip) respectively designated for two hosts: the system comprises a VPC and a subnet, and is used for distributing real IP accessed by an external network; private network IP (priv ip) used for data synchronization between RAC examples; virtual ip (vip) to support failover. The configuring the network configuration parameters specified in the real-time application cluster resource application for the two real-time application cluster host machines comprises: and 2 network card mounts (eth0, eth1) are respectively carried out on each host machine in the process of issuing the two real-time application cluster host machines, eth0 is used for binding public network IP and VIP, and eth1 is used for binding private network IP used for carrying out data synchronization between RAC instances.
Optionally, in the above embodiment, after the two real-time application cluster hosts are completely issued, the externally exposed SCAN _ IP may be uniformly configured for the two hosts, so as to balance the load of the cluster node and forward the request.
Optionally, the specification label of the real-time application cluster host further includes a cabinet where the host is located; the step of matching the specified server specification with the specification labels of the real-time application cluster host machines to obtain two real-time application cluster host machines with the specification labels successfully matched with the specified server specification comprises the following steps:
and according to the specified server specification, respectively searching the real-time application cluster host machines with specification labels matched with the specified server specification in different cabinets to obtain two real-time application cluster host machines respectively belonging to different cabinets.
In this embodiment, when physical resources of the RAC hosts are deployed, multiple hosts of the same specification can be deployed on different cabinets respectively, and when corresponding RAC resources are matched according to a real-time application cluster resource application, two bare metal resource servers which belong to different cabinets respectively and have the same specification are used as a pair of RAC resources matched with the resource application, so that disaster tolerance capability after the RAC resources are issued can be ensured.
Optionally, the specification label of the real-time application cluster host may further include available partitions where the host is located, at least two cabinets are deployed in each available partition, and real-time application cluster hosts with the same specification and quantity are deployed on each cabinet in the same available partition.
In this embodiment, the physical resources of the RAC host are deployed as follows: in order to ensure disaster tolerance capability and physical high availability capability after RAC resources are issued, a bare metal server is adopted for RAC resource instance building, a single AZ (available zone) multi-cabinet deployment strategy (see fig. 2) is adopted in a scene, namely, one cabinet is respectively allocated to each RAC type (RAC1 and RAC2), and physical servers belonging to the same RAC specification in the same AZ are deployed on cross-cabinet pairs and cross-LEAF pairs in equal quantity.
Optionally, the real-time application cluster resource application further includes a designated available partition; the step of matching the specified server specification with the specification labels of the real-time application cluster host machines to obtain two real-time application cluster host machines with the specification labels successfully matched with the specified server specification comprises the following steps:
and in the appointed available partition, according to the appointed server specification, respectively searching the real-time application cluster host machines with specification labels matched with the appointed server specification in different cabinets to obtain two real-time application cluster host machines respectively belonging to different cabinets.
In this embodiment, the RAC resource pair is selected from the same available partition, so that the response speed between two bare metal servers in the RAC resource pair can be increased.
Optionally, the specified server specification includes a central processing unit core number and a memory capacity; the specification label of the real-time application cluster host machine comprises the central processing unit core number and the memory capacity of the host machine.
In this embodiment, the number of the central processing unit cores and the memory capacity can reflect the performance of the server, so that a user can specify the number of the central processing unit cores and the memory capacity of the bare metal server for building the real-time application cluster according to the requirement. When the corresponding real-time application cluster host is matched for the real-time application cluster resource application, if the number of central processor cores and the memory capacity in the specification label of the real-time application cluster host are consistent with the number of central processor cores and the memory capacity specified in the real-time application cluster resource application, the real-time application cluster host is considered to be successfully matched with the resource application.
In order to better understand the present invention, the following describes a method for issuing real-time application cluster instance resources provided by the present invention with a specific embodiment.
As shown in fig. 3, a method for issuing real-time application cluster instance resources provided in an embodiment of the present invention includes:
s201, selecting a target resource domain through a cloud management platform interface by a user, selecting a target available partition (AZ) under the current target resource domain, selecting a cloud resource type (RAC), selecting an operating system mirror image required by RAC issuing according to requirements, designating a rear-end storage type, designating a public network VPC and a subnet divided by RAC resource instances, and designating a server specification;
in the step, a user can initiate an RAC resource application work order through a cloud management platform interface, after the user initiates the RAC resource application work order, the cloud management platform can display at least two resource domains provided by the cloud management platform to the user, and each resource domain is respectively deployed in different regions; the cloud management platform can provide different types of cloud resources (such as RAC-type cloud resources), operating system images, backend storage types (such as SAN-type, distributed fast storage and the like), server specifications and the like, and can be freely selected by users.
The designated public network VPC and the designated sub-network can be input by a user through a cloud management platform interface, and the user needs to configure one public network VPC and sub-network for each bare metal server because each RAC resource instance has two bare metal servers.
S202, according to server specifications appointed by a user, matching bare metal server resources of the target available partition under a target resource domain for the user;
specifically, the matching, according to the server specification specified by the user, the bare metal server resource of the target available partition in the target resource domain for the user includes: and in the target available partition under the specified target resource domain, according to the specified server specification, respectively searching the bare metal servers with specification labels matched with the specified server specification in different cabinets to obtain two bare metal servers respectively belonging to different cabinets.
In order to ensure disaster recovery capability and high physical availability capability after the RAC resource is issued, the RAC host of this embodiment employs a physical resource deployment strategy as shown in fig. 2.
In order to reduce the steps of issuing redundant resources and realize the single supply of the Oracle RAC, the tag design needs to be performed on the RAC host, when the user front end selects the server specification of a specific CPU and a specific memory, the real 2-class RAC specification is automatically matched, taking three RAC specifications of 28C64G, 56C128G and 112C256G as examples, and the tag comparison relationship of the RAC specification under a plurality of available partitions AZ is shown in the following table:
Figure BDA0003224156290000081
Figure BDA0003224156290000091
s203, judging whether the matching is successful;
in this step, if the number of cores and the memory capacity of the central processing unit in the specification tag are consistent with the specified number of cores and the specified memory capacity of the central processing unit, the matching is considered to be successful.
S204, if the matching is successful, generating an RAC1 type and an RAC2 type Bare Metal Server (BMS) application order respectively;
s205, distributing public network IP and private network IP designated by a user for the RAC1 type bare metal server and the RAC2 type bare metal server respectively, and binding VIP;
s206, uniformly configuring SCAN _ IP for the bare metal servers of the RAC1 type and the RAC2 type.
According to the method for issuing the real-time application cluster instance resources, the physical disaster tolerance capability, the high availability performance and the process automation supply efficiency of the cloud management supply bare metal RAC instance can be effectively improved by designing in three aspects of host physical resource deployment, RAC specification label naming specification and resource issuing process. The main advantages of the proposed resource issuing strategy of the present invention are as follows:
1. and allocating the physical servers with the same RAC specification in the same AZ in equal quantity on a cross-cabinet and cross-LEAF pair, and realizing the disaster recovery capability of issuing RAC bare metal instances from a hardware allocation layer.
2. And designing a corresponding RAC specification label according to the usable partition AZ and the server specification (CPU and memory) in the cloud management resource domain, and spontaneously matching the 2 types of real RAC types according to the RAC label configured at the rear end.
3. In the process design, RAC instance resources are bound, and for the same RAC specification, a user can obtain the minimum-scale bare metal RAC instance clusters (RAC1 and RAC2) only through one application.
Fig. 4 is a schematic structural diagram of an apparatus for issuing instance resources of a real-time application cluster according to an embodiment of the present invention, and as shown in fig. 4, the apparatus for issuing instance resources of a real-time application cluster according to an embodiment of the present invention includes: an obtaining module 31, configured to obtain a real-time application cluster resource application, where the real-time application cluster resource application includes a specified server specification; a matching module 32, configured to match the specified server specification with specification tags of real-time application cluster hosts to obtain two real-time application cluster hosts whose specification tags are successfully matched with the specified server specification, where the specification tags of the real-time application cluster hosts include the specification of the hosts; and the issuing module 33 is configured to issue two real-time application cluster hosts in which the specification labels are successfully matched with the specified server specification.
The device for issuing the real-time application cluster instance resources provided by the embodiment of the invention sets the specification labels for the real-time application cluster host in advance, when the real-time application cluster instance resources are issued, the user designates the server specification before the resources are issued, the paired host resources are automatically matched through the mapping relation between the specification parameters designated by the user and the host specification labels, and a plurality of bare metal servers are issued at the same time when the application is applied, so that the RAC pair instance meeting the production requirement is obtained.
Optionally, the real-time application cluster resource application further includes at least one of the following parameters: a designated operating system image, designated network configuration parameters, and a designated backend storage type; the issuing module is specifically configured to: issuing and installing the operating system mirror image appointed in the real-time application cluster application on the two real-time application cluster host machines; and/or configuring network configuration parameters specified in the real-time application cluster resource application for the two real-time application cluster host machines; and/or docking corresponding shared storage resources for the two real-time application cluster host machines according to the specified back-end storage type.
Optionally, the specification label of the real-time application cluster host further includes a cabinet where the host is located; the matching module is specifically configured to: and according to the specified server specification, respectively searching the real-time application cluster host machines with specification labels matched with the specified server specification in different cabinets to obtain two real-time application cluster host machines respectively belonging to different cabinets.
Optionally, the specification label of the real-time application cluster host further includes available partitions where the host is located, at least two cabinets are deployed in each available partition, and real-time application cluster hosts with the same specification and quantity are deployed on each cabinet in the same available partition.
Optionally, the real-time application cluster resource application further includes a designated available partition; the matching module is specifically configured to: and in the appointed available partition, according to the appointed server specification, respectively searching the real-time application cluster host machines with specification labels matched with the appointed server specification in different cabinets to obtain two real-time application cluster host machines respectively belonging to different cabinets.
The embodiment of the apparatus provided in the present invention may be specifically configured to execute the processing flows of the above method embodiments, and the functions of the apparatus are not described herein again, and refer to the detailed description of the above method embodiments.
It should be noted that the method and apparatus for issuing a real-time application cluster instance resource provided in the embodiments of the present invention may be used in the financial field, and may also be used in any technical field other than the financial field.
Fig. 5 is a schematic physical structure diagram of an electronic device according to an embodiment of the present invention, and as shown in fig. 5, the electronic device may include: a processor (processor)401, a communication Interface (communication Interface)402, a memory (memory)403 and a communication bus 404, wherein the processor 401, the communication Interface 402 and the memory 403 complete communication with each other through the communication bus 404. Processor 401 may call logic instructions in memory 403 to perform a method as described in any of the above embodiments, including, for example: acquiring a real-time application cluster resource application, wherein the real-time application cluster resource application comprises a specified server specification; matching the specified server specification with specification labels of the real-time application cluster hosts to obtain two real-time application cluster hosts of which the specification labels are successfully matched with the specified server specification, wherein the specification labels of the real-time application cluster hosts comprise the specification of the hosts; and issuing two real-time application cluster host machines of which the specification labels are successfully matched with the specified server specification.
In addition, the logic instructions in the memory 403 may be implemented in the form of software functional units and stored in a computer readable storage medium when the software functional units are sold or used as independent products. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The present embodiment discloses a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, enable the computer to perform the method provided by the above-mentioned method embodiments, for example, comprising: acquiring a real-time application cluster resource application, wherein the real-time application cluster resource application comprises a specified server specification; matching the specified server specification with specification labels of the real-time application cluster hosts to obtain two real-time application cluster hosts of which the specification labels are successfully matched with the specified server specification, wherein the specification labels of the real-time application cluster hosts comprise the specification of the hosts; and issuing two real-time application cluster host machines of which the specification labels are successfully matched with the specified server specification.
The present embodiment provides a computer-readable storage medium, which stores a computer program, where the computer program causes the computer to execute the method provided by the above method embodiments, for example, the method includes: acquiring a real-time application cluster resource application, wherein the real-time application cluster resource application comprises a specified server specification; matching the specified server specification with specification labels of the real-time application cluster hosts to obtain two real-time application cluster hosts of which the specification labels are successfully matched with the specified server specification, wherein the specification labels of the real-time application cluster hosts comprise the specification of the hosts; and issuing two real-time application cluster host machines of which the specification labels are successfully matched with the specified server specification.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In the description herein, reference to the description of the terms "one embodiment," "a particular embodiment," "some embodiments," "for example," "an example," "a particular example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are only exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (13)

1. A method for issuing real-time application cluster instance resources is characterized by comprising the following steps:
acquiring a real-time application cluster resource application, wherein the real-time application cluster resource application comprises a specified server specification;
matching the specified server specification with specification labels of the real-time application cluster hosts to obtain two real-time application cluster hosts of which the specification labels are successfully matched with the specified server specification, wherein the specification labels of the real-time application cluster hosts comprise the specification of the hosts;
and issuing two real-time application cluster host machines of which the specification labels are successfully matched with the specified server specification.
2. The method of claim 1, wherein the real-time application cluster resource application further comprises at least one of the following parameters: a designated operating system image, designated network configuration parameters, and a designated backend storage type;
the two real-time application cluster host machines which issue the specification labels and are successfully matched with the specified server specification comprise:
issuing and installing the operating system mirror image appointed in the real-time application cluster application on the two real-time application cluster host machines; and/or
Configuring network configuration parameters specified in the real-time application cluster resource application for the two real-time application cluster host machines; and/or
And docking corresponding shared storage resources for the two real-time application cluster host machines according to the specified rear-end storage type.
3. The method according to claim 1, wherein the specification label of the real-time application cluster host further comprises a cabinet where the host is located;
the step of matching the specified server specification with the specification labels of the real-time application cluster host machines to obtain two real-time application cluster host machines with the specification labels successfully matched with the specified server specification comprises the following steps:
and according to the specified server specification, respectively searching the real-time application cluster host machines with specification labels matched with the specified server specification in different cabinets to obtain two real-time application cluster host machines respectively belonging to different cabinets.
4. The method according to claim 3, wherein the specification label of the real-time application cluster host further includes an available partition where the host is located, at least two cabinets are deployed in each available partition, and real-time application cluster hosts with the same specification and quantity are deployed on the cabinets in the same available partition.
5. The method of claim 4, wherein the real-time application cluster resource application further comprises a designated available partition;
the step of matching the specified server specification with the specification labels of the real-time application cluster host machines to obtain two real-time application cluster host machines with the specification labels successfully matched with the specified server specification comprises the following steps:
and in the appointed available partition, according to the appointed server specification, respectively searching the real-time application cluster host machines with specification labels matched with the appointed server specification in different cabinets to obtain two real-time application cluster host machines respectively belonging to different cabinets.
6. The method of claim 1, wherein the specified server specifications include a number of central processor cores, a memory capacity; the specification label of the real-time application cluster host machine comprises the central processing unit core number and the memory capacity of the host machine.
7. An apparatus for issuing instance resources of a real-time application cluster, comprising:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring a real-time application cluster resource application, and the real-time application cluster resource application comprises a specified server specification;
the matching module is used for matching the specified server specification with the specification labels of the real-time application cluster host machines to obtain two real-time application cluster host machines of which the specification labels are successfully matched with the specified server specification, wherein the specification labels of the real-time application cluster host machines comprise the specifications of the host machines;
and the issuing module is used for issuing two real-time application cluster host machines of which the specification labels are successfully matched with the specified server specification.
8. The apparatus of claim 7, wherein the real-time application cluster resource application further comprises at least one of the following parameters: a designated operating system image, designated network configuration parameters, and a designated backend storage type; the issuing module is specifically configured to:
issuing and installing the operating system mirror image appointed in the real-time application cluster application on the two real-time application cluster host machines; and/or
Configuring network configuration parameters specified in the real-time application cluster resource application for the two real-time application cluster host machines; and/or
And docking corresponding shared storage resources for the two real-time application cluster host machines according to the specified rear-end storage type.
9. The apparatus according to claim 7, wherein the specification label of the real-time application cluster host further includes a cabinet where the host is located; the matching module is specifically configured to:
and according to the specified server specification, respectively searching the real-time application cluster host machines with specification labels matched with the specified server specification in different cabinets to obtain two real-time application cluster host machines respectively belonging to different cabinets.
10. The apparatus according to claim 9, wherein the specification label of the real-time application cluster host further includes available partitions where the hosts are located, at least two cabinets are deployed in each available partition, and real-time application cluster hosts with the same specification and quantity are deployed on each cabinet in the same available partition.
11. The apparatus of claim 10, wherein the real-time application cluster resource application further comprises a designated available partition; the matching module is specifically configured to:
and in the appointed available partition, according to the appointed server specification, respectively searching the real-time application cluster host machines with specification labels matched with the appointed server specification in different cabinets to obtain two real-time application cluster host machines respectively belonging to different cabinets.
12. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method of any of claims 1 to 6 are implemented when the computer program is executed by the processor.
13. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 6.
CN202110966636.1A 2021-08-23 2021-08-23 Method and device for issuing real-time application cluster instance resources Pending CN113656181A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110966636.1A CN113656181A (en) 2021-08-23 2021-08-23 Method and device for issuing real-time application cluster instance resources

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110966636.1A CN113656181A (en) 2021-08-23 2021-08-23 Method and device for issuing real-time application cluster instance resources

Publications (1)

Publication Number Publication Date
CN113656181A true CN113656181A (en) 2021-11-16

Family

ID=78480678

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110966636.1A Pending CN113656181A (en) 2021-08-23 2021-08-23 Method and device for issuing real-time application cluster instance resources

Country Status (1)

Country Link
CN (1) CN113656181A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114785806A (en) * 2022-02-09 2022-07-22 紫光云(南京)数字技术有限公司 Automatic setting method for resource scheduling label

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108076112A (en) * 2016-11-15 2018-05-25 北京金山云网络技术有限公司 A kind of host dispatching method and device
CN110362381A (en) * 2019-06-21 2019-10-22 深圳市汇川技术股份有限公司 HDFS cluster High Availabitity dispositions method, system, equipment and storage medium
CN110868435A (en) * 2018-08-27 2020-03-06 中移(苏州)软件技术有限公司 Bare metal server scheduling method and device and storage medium
WO2021051933A1 (en) * 2019-09-20 2021-03-25 平安科技(深圳)有限公司 Container cloud platform-based available area construction method and apparatus, device and storage medium
US20210224095A1 (en) * 2020-01-22 2021-07-22 Vmware, Inc. Object-based approaches to support internet small computer system interface (iscsi) services in distributed storage system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108076112A (en) * 2016-11-15 2018-05-25 北京金山云网络技术有限公司 A kind of host dispatching method and device
CN110868435A (en) * 2018-08-27 2020-03-06 中移(苏州)软件技术有限公司 Bare metal server scheduling method and device and storage medium
CN110362381A (en) * 2019-06-21 2019-10-22 深圳市汇川技术股份有限公司 HDFS cluster High Availabitity dispositions method, system, equipment and storage medium
WO2021051933A1 (en) * 2019-09-20 2021-03-25 平安科技(深圳)有限公司 Container cloud platform-based available area construction method and apparatus, device and storage medium
US20210224095A1 (en) * 2020-01-22 2021-07-22 Vmware, Inc. Object-based approaches to support internet small computer system interface (iscsi) services in distributed storage system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114785806A (en) * 2022-02-09 2022-07-22 紫光云(南京)数字技术有限公司 Automatic setting method for resource scheduling label

Similar Documents

Publication Publication Date Title
US11704144B2 (en) Creating virtual machine groups based on request
CN108924268B (en) Container cloud service system and pod creation method and device
CN112187545B (en) Network slice deployment method and device
EP3761170B1 (en) Virtual machine creation method and apparatus
US9667750B2 (en) Client-initiated leader election in distributed client-server systems
EP2922238B1 (en) Resource allocation method
US10686755B2 (en) Assigning IP addresses and configuration parameters in hyper-converged infrastructure
CN111880902A (en) Pod creation method, device, equipment and readable storage medium
US10263907B2 (en) Managing virtual network ports
CN103078965B (en) The IP address management method of virtual machine
CN114244717B (en) Configuration method and device of virtual network card resources, computer equipment and medium
CN107818104B (en) Database deployment method, database deployment device, control equipment and system
CN110221918A (en) A kind of correlating method, the apparatus and system of NS and VNF
CN107666493B (en) Database configuration method and equipment thereof
EP3442201B1 (en) Cloud platform construction method and cloud platform
US11928493B2 (en) Sharing of FPGA board by multiple virtual machines
US8832215B2 (en) Load-balancing in replication engine of directory server
US10761869B2 (en) Cloud platform construction method and cloud platform storing image files in storage backend cluster according to image file type
EP3629160A1 (en) Method and device for managing vnf instantiation
US20200387404A1 (en) Deployment of virtual node clusters in a multi-tenant environment
CN113656181A (en) Method and device for issuing real-time application cluster instance resources
CN108667750B (en) Virtual resource management method and device
CN113220432A (en) Multi-cloud interconnection method, device, equipment, storage medium and product
US10592221B2 (en) Parallel distribution of application services to virtual nodes
CN114629958B (en) Resource allocation method, device, electronic 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