CN115361278A - Cloud host deployment method, device and equipment - Google Patents
Cloud host deployment method, device and equipment Download PDFInfo
- Publication number
- CN115361278A CN115361278A CN202210920790.XA CN202210920790A CN115361278A CN 115361278 A CN115361278 A CN 115361278A CN 202210920790 A CN202210920790 A CN 202210920790A CN 115361278 A CN115361278 A CN 115361278A
- Authority
- CN
- China
- Prior art keywords
- cloud host
- cloud
- service
- deployment
- host
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 73
- 239000000523 sample Substances 0.000 claims description 79
- 238000009434 installation Methods 0.000 claims description 24
- 238000012545 processing Methods 0.000 claims description 18
- 238000012423 maintenance Methods 0.000 description 16
- 238000004891 communication Methods 0.000 description 9
- 238000010586 diagram Methods 0.000 description 9
- 238000004590 computer program Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 238000011161 development Methods 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0806—Configuration setting for initial configuration or provisioning, e.g. plug-and-play
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0876—Aspects of the degree of configuration automation
- H04L41/0886—Fully automatic configuration
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Automation & Control Theory (AREA)
- Stored Programmes (AREA)
Abstract
The application provides a cloud host deployment method, device and equipment. The method comprises the following steps: generating a cloud host deployment request according to the cloud host configuration information and the cloud host initialization script by acquiring the cloud host configuration information and the cloud host initialization script; and sending the cloud host deployment request to a corresponding cloud manufacturer server so that the cloud manufacturer server configures the corresponding cloud host according to the cloud host configuration information, and the cloud host deploys the service according to the initialization script. According to the method and the device, manual deployment is not needed, the deployment efficiency of the cloud host can be improved, and the time is saved.
Description
Technical Field
The present application relates to the field of cloud deployment technologies, and in particular, to a cloud host deployment method, apparatus, and device.
Background
With the rapid development of internet technology, application systems on traditional physical machines begin to migrate to cloud hosts, and cloud host services have gradually become service platforms for providing comprehensive services for various internet users. Increasingly, users choose to provide services to the outside by using a cloud platform, so that a large amount of application software such as service programs and the like needs to be deployed on the cloud platform.
In the prior art, in order to ensure that data can be accurately deployed to corresponding hosts, operation and maintenance personnel need to log in each host to install and deploy services, and adjust service parameters by the operation and maintenance personnel.
However, under the condition of a large number of hosts, the operation and maintenance personnel deploy one by one, so that the operation and maintenance personnel deploy the hosts tediously, the overall operation and maintenance cost is increased, and the manual deployment efficiency is low.
Disclosure of Invention
The cloud host deployment method, the cloud host deployment device and the cloud host deployment equipment are used for solving the problems that an existing host deployment mode is low in efficiency and large in workload due to the fact that operation and maintenance workers deploy the host.
In a first aspect, the present application provides a cloud host deployment method, which is applied to a cloud host deployment request end, and includes:
the method comprises the steps of obtaining cloud host configuration information and a cloud host initialization script, and generating a cloud host deployment request according to the cloud host configuration information and the cloud host initialization script;
and sending the cloud host deployment request to a corresponding cloud manufacturer server so that the cloud manufacturer server configures the corresponding cloud host according to the cloud host configuration information, and the cloud host deploys the service according to the initialization script.
In a second aspect, the present application further provides a cloud host deployment method, which is applied to a cloud host, and includes:
receiving a starting instruction sent by a cloud manufacturer server, and executing a starting operation according to the starting instruction;
receiving a cloud host initialization script sent by the cloud manufacturer server, wherein the cloud host initialization script is sent by a cloud host deployment request end;
and deploying service according to the cloud host initialization script.
In a third aspect, the present application provides a cloud host deployment apparatus, including:
the acquisition unit is used for acquiring the configuration information of the cloud host and the initialization script of the cloud host;
the first processing unit is used for generating a cloud host deployment request according to the cloud host configuration information and the cloud host initialization script;
and the sending unit is used for sending the cloud host deployment request to a corresponding cloud manufacturer server so that the cloud manufacturer server configures the corresponding cloud host according to the cloud host configuration information, and the cloud host deploys the service according to the initialization script.
In a fourth aspect, the present application further provides a cloud host deployment apparatus, including:
the cloud manufacturer server comprises a receiving unit, a processing unit and a processing unit, wherein the receiving unit is used for receiving a starting instruction sent by the cloud manufacturer server;
the second processing unit is used for executing starting operation according to the starting instruction;
the receiving unit is further used for receiving a cloud host initialization script sent by the cloud manufacturer server, and the cloud host initialization script is sent by a cloud host deployment request terminal;
and the second processing unit is also used for initializing script deployment service according to the cloud host.
In a fifth aspect, the present invention provides an electronic device, a processor, a memory, and a transceiver;
the processor, memory and transceiver circuitry are interconnected;
a transceiver for transceiving information;
the memory stores computer-executable instructions;
the processor executes computer-executable instructions stored by the memory, causing the processor to perform the method of the first aspect.
In a sixth aspect, the present invention provides an electronic device, a processor, a memory, and a transceiver;
a processor, a memory and transceiver circuitry interconnected;
a transceiver for transceiving information;
the memory stores computer execution instructions;
the processor executes computer-executable instructions stored by the memory, causing the processor to perform the method of the second aspect.
According to the cloud host deployment method, the cloud host deployment device and the cloud host deployment equipment, the cloud host deployment request is generated according to the cloud host configuration information and the cloud host initialization script by acquiring the cloud host configuration information and the cloud host initialization script; and sending the cloud host deployment request to a corresponding cloud manufacturer server so that the cloud manufacturer server configures the corresponding cloud host according to the cloud host configuration information, and the cloud host deploys the service according to the initialization script. According to the cloud host deployment method and device, manual deployment is not needed, the cloud host deployment efficiency can be improved, and time is saved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and, together with the description, serve to explain the principles of the application.
FIG. 1 is a schematic diagram of a network architecture of a cloud host deployment method provided by the present invention;
fig. 2 is a schematic flowchart of a cloud host deployment method according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of a cloud host deployment method according to a second embodiment of the present invention;
fig. 4 is a schematic flowchart of a cloud host deployment method according to a third embodiment of the present invention;
fig. 5 is a schematic flowchart of a cloud host deployment method according to a fourth embodiment of the present invention;
fig. 6 is a schematic flowchart of a cloud host deployment method according to a fifth embodiment of the present invention;
fig. 7 is a schematic flowchart of a cloud host deployment method according to an eighth embodiment of the present invention;
fig. 8 is a schematic structural diagram of a cloud host deployment apparatus according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a cloud host deployment apparatus according to another embodiment of the present invention;
FIG. 10 is a block diagram of an electronic device used to implement a cloud host deployment method of an embodiment of the invention;
fig. 11 is a block diagram of an electronic device for implementing a cloud host deployment method according to still another embodiment of the present invention.
Specific embodiments of the present application have been shown by way of example in the drawings and will be described in more detail below. These drawings and written description are not intended to limit the scope of the inventive concepts in any manner, but rather to illustrate the inventive concepts to those skilled in the art by reference to specific embodiments.
Detailed Description
In order to make the technical solutions of the present application better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only some embodiments of the present application, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the accompanying drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the application described herein may be implemented in sequences other than those illustrated or described herein. Moreover, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or intelligent device that comprises a list of steps or elements is not necessarily limited to those steps or elements explicitly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or intelligent device.
For a clear understanding of the technical solutions of the present application, a detailed description of the prior art solutions is first provided.
With the rapid development of internet technology, application systems on traditional physical machines begin to migrate to cloud hosts, and cloud host services have gradually become service platforms for providing comprehensive services for various internet users. Increasingly, users choose to provide services to the outside by using a cloud platform, so that a large amount of application software such as service programs and the like needs to be deployed on the cloud platform. In the prior art, in order to ensure that data can be accurately deployed to corresponding hosts, operation and maintenance personnel need to log in each host to install and deploy services, and adjust service parameters by the operation and maintenance personnel. Specifically, an operation and maintenance worker wants to build a set of services such as ES, mysql, redis, cassondra and the like, firstly selects a suitable cloud manufacturer machine, and purchases a certain number of cloud hosts. After the cloud hosts are purchased successfully, operation and maintenance personnel need to log in each cloud host to install and deploy services one by one, and service parameters of each host are adjusted. After the work is finished, the operation and maintenance personnel start the service one by one and deploy the service monitoring.
However, under the condition of a large number of hosts, the operation and maintenance personnel are deployed one by one, so that the operation and maintenance personnel are cumbersome to deploy, the overall operation and maintenance cost is increased, and the manual deployment efficiency is low.
Therefore, aiming at the problems of low host deployment efficiency and high workload of the existing manual host deployment mode of operation and maintenance personnel, the inventor finds that a cloud host deployment request end is in communication connection with a cloud manufacturer server, the cloud host deployment request end obtains cloud host configuration information and a cloud host initialization script, and a cloud host deployment request is generated according to the cloud host configuration information and the cloud host initialization script; the cloud host deployment request end sends the cloud host deployment request to the corresponding cloud manufacturer server so that the cloud manufacturer server can configure the corresponding cloud host according to the cloud host configuration information, and the cloud host deploys the service according to the initialization script. The cloud host can be effectively deployed without manual deployment, the deployment efficiency can be improved, and the time can be effectively saved.
Therefore, the inventor provides a technical solution of the embodiment of the invention based on the above inventive discovery. The network architecture and the application scenario of the cloud host deployment method provided by the embodiment of the invention are introduced below.
As shown in fig. 1, a network architecture corresponding to the cloud host deployment method provided in the embodiment of the present invention includes: the system comprises a cloud host deployment request terminal 1, a cloud manufacturer server 2 and a cloud host 3. The cloud manufacturer server 2 is in communication connection with the cloud host deployment request terminal 1, and the cloud manufacturer server 2 is in communication connection with the plurality of cloud hosts 3. The cloud host deployment request terminal 1 acquires cloud host configuration information and a cloud host initialization script, and generates a cloud host deployment request according to the cloud host configuration information and the cloud host initialization script; the cloud host deployment request end sends the cloud host deployment request to the corresponding cloud manufacturer server 2, the cloud manufacturer server 2 configures the corresponding cloud host 3 according to the cloud host configuration information, and the cloud host 3 deploys the service according to the initialization script. And manual deployment is not needed, and the deployment efficiency of the cloud host can be improved. And moreover, a plurality of cloud hosts can be deployed, operation and maintenance personnel do not need to deploy one by one, and time can be effectively saved.
Embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
Example one
Fig. 2 is a schematic flowchart of a cloud host deployment method according to an embodiment of the present invention, and as shown in fig. 2, an execution subject of the cloud host deployment method according to the embodiment is a cloud host deployment device, where the cloud host deployment device is located in an electronic device, and the cloud host deployment method according to the embodiment includes the following steps:
In this embodiment, the electronic device is an electronic device to which a cloud host deployment request terminal belongs, the cloud host deployment request terminal is in communication connection with a cloud manufacturer server, and the cloud manufacturer server is in communication connection with a plurality of cloud hosts. The cloud host deployment request end obtains cloud host configuration information and a cloud host initialization script, wherein the cloud host configuration information comprises the number of cloud hosts and specification configuration of the cloud hosts. The cloud host initialization script can be used for the cloud host to deploy relevant services according to the initialization script. And the cloud host deployment request end generates a corresponding cloud host deployment request according to the cloud host configuration information and the cloud host initialization script.
And 102, sending the cloud host deployment request to a corresponding cloud manufacturer server so that the cloud manufacturer server configures the corresponding cloud host according to the cloud host configuration information, and deploying the service by the cloud host according to the initialization script.
In this embodiment, the cloud host deployment request is sent to the corresponding cloud manufacturer server, the cloud manufacturer server configures the corresponding cloud host according to the cloud host configuration information, the configuration information includes the number of the cloud hosts and the specification configuration of the cloud hosts, the cloud manufacturer server starts the corresponding number of the cloud hosts according to the number of the cloud hosts and performs related configuration on the cloud hosts according to the specification configuration of the cloud hosts, and the cloud hosts deploy services according to the initialization script, wherein the deployed services include probe services, ES, mysql, redis, cassondra and the like.
In the embodiment, the cloud host configuration information and the cloud host initialization script are obtained, the cloud host deployment request is generated according to the cloud host configuration information and the cloud host initialization script, the cloud host deployment request is sent to the corresponding cloud manufacturer server, the cloud manufacturer server configures the corresponding cloud host according to the cloud host configuration information, the cloud host deploys services according to the initialization script, manual deployment is not needed, cloud host deployment efficiency can be improved, and time is saved.
Example two
Fig. 3 is a schematic flow chart of a cloud host deployment method provided in the second embodiment of the present invention, and as shown in fig. 3, on the basis of the cloud host deployment method provided in the first embodiment of the present invention, after step 102, the method further includes the following steps:
and 103, receiving prompt information of successful starting fed back by the probe service of the cloud host.
In this embodiment, the cloud host deploys services according to the initialization script, the services include a probe service, after the cloud host deploys the probe service, the cloud host interacts with the cloud host deployment request terminal through the probe service, and the cloud host sends prompt information of successful start to the cloud host deployment request terminal by using the probe service. And the cloud host deployment request end receives prompt information of successful starting fed back by the probe service of the cloud host.
And 104, sending the configuration parameters corresponding to the target service to the probe service of the cloud host, and installing the corresponding target service by the probe service of the cloud host according to the configuration parameters corresponding to the target service.
In this embodiment, the deployment service needs to deploy a target service in addition to the probe service, where the target service includes ES, mysql, redis, cassondra, and the like. The cloud host deployment request end sends the configuration parameters corresponding to the target service to the probe service of the cloud host, and the probe service of the cloud host installs the corresponding target service according to the configuration parameters corresponding to the target service.
In this embodiment, the prompt information that the starting of the probe server of the cloud host is successful is received, the configuration parameters corresponding to the target server are sent to the probe service of the cloud host, and the probe service of the cloud host further installs the corresponding target service according to the configuration parameters, so that the automatic deployment of the cloud host can be realized, manual deployment is not needed, the deployment efficiency can be improved, and the time can be effectively saved.
EXAMPLE III
Fig. 4 is a schematic flow chart of a cloud host deployment method provided in the third embodiment of the present invention, and as shown in fig. 4, on the basis of the cloud host deployment method provided in the second embodiment of the present invention, the method further includes the following steps:
and 105, receiving installation progress information of the target service fed back by the probe service of the cloud host.
In this embodiment, the probe service of the cloud host sends installation progress information to the cloud host deployment request terminal in the process of installing the target service, and the cloud host deployment request terminal receives the installation progress information fed back by the probe service of the cloud host.
And step 106, outputting the installation progress information of the target service.
In this embodiment, the cloud host deployment request end outputs installation progress information fed back by the probe service of the cloud host, for example, plays and/or displays the installation progress information fed back by the probe service of the cloud host, so as to prompt the installation progress of the target service of the user, so that the user can know the installation situation. The probe service through the cloud host can install the target service and can monitor the installation progress of the target service.
Example four
Fig. 5 is a schematic flowchart of a cloud host deployment method according to a fourth embodiment of the present invention, and as shown in fig. 5, an execution subject of the cloud host deployment method according to the fourth embodiment is a cloud host deployment device, where the cloud host deployment device is located in an electronic device, and the cloud host deployment method according to the fourth embodiment includes the following steps:
In this embodiment, the cloud host deployment request terminal is in communication connection with the cloud manufacturer server, and the cloud manufacturer server is in communication connection with the plurality of cloud hosts. The cloud host deployment request end obtains cloud host configuration information and a cloud host initialization script, wherein the cloud host configuration information comprises the number of cloud hosts and specification configuration of the cloud hosts. The cloud manufacturer server configures corresponding cloud hosts according to the configuration information of the cloud hosts, the configuration information comprises the number of the cloud hosts and the specification configuration of the cloud hosts, the cloud manufacturer server starts the corresponding number of the cloud hosts according to the number of the cloud hosts and performs related configuration on the cloud hosts according to the specification configuration of the cloud hosts, and the cloud manufacturer server restarts the configured cloud hosts after the configuration is completed. The cloud host receives a starting instruction sent by the cloud manufacturer server and executes a starting operation according to the starting instruction.
In this embodiment, the cloud host receives a cloud host initialization script sent by a cloud manufacturer server, where the cloud host initialization script is sent by a cloud host deployment request terminal, and the cloud host initialization script is used for a cloud host deployment service.
In this embodiment, the cloud host initializes the script deployment service according to the cloud host sent by the cloud vendor server.
In the embodiment, the starting operation is completed according to the starting instruction by receiving the starting instruction sent by the cloud manufacturer server, and the corresponding server is deployed by receiving the cloud host initialization script sent by the cloud manufacturer server, so that the cloud host can be effectively deployed, manual deployment is not needed, the deployment efficiency can be improved, and the time can be effectively saved.
EXAMPLE five
Fig. 6 is a schematic flow chart of the cloud host deployment method provided in the fifth embodiment of the present invention, and as shown in fig. 6, on the basis of the cloud host deployment method provided in the fourth embodiment of the present invention, step 203 is further refined, specifically including the following steps:
In this embodiment, the cloud host deploys the probe service according to the cloud host initialization script, and the cloud host interacts with the cloud host deployment request terminal through the probe service.
In this embodiment, if the probe service of the cloud host is successfully started, the probe service of the cloud host feeds back a prompt message of successful start to the cloud host deployment request end to prompt the user that the probe service deployment is completed.
In this embodiment, the cloud host deploys the probe service according to the cloud host initialization script, and after the probe server is deployed, the probe service feeds back prompt information of successful startup to the cloud host deployment request terminal, so that a user can know the deployment progress.
EXAMPLE six
On the basis of the cloud host deployment method provided by the fifth embodiment of the present invention, after step 2032, the method further includes the following steps:
and 204, receiving configuration parameters corresponding to the target service sent by the cloud host deployment request end by using the probe service.
In this embodiment, the cloud host deployment request end receives prompt information that the probe service of the cloud host is successfully started and fed back, the cloud host deployment request end sends configuration parameters corresponding to the target service to the probe service of the cloud host, and the probe service of the cloud host installs the corresponding target service according to the configuration parameters corresponding to the target service.
And step 205, installing the corresponding target service by using the probe service according to the configuration parameters corresponding to the target service.
In this embodiment, the probe service of the cloud host installs a corresponding target service according to a configuration parameter corresponding to the target service, where the target service includes ES, mysql, redis, cassondra, and the like.
In this embodiment, the target service is deployed by receiving the configuration parameters corresponding to the target service, and the cloud host is further deployed by using the probe service, so that manual deployment is not required, and the deployment efficiency is improved.
EXAMPLE seven
On the basis of the cloud host deployment method provided by the sixth embodiment of the present invention, the method further includes the following steps:
and step 206, acquiring the installation progress information of the target service by using the probe service, and sending the installation progress information of the target service to the cloud host deployment request terminal by using the probe service.
In this embodiment, in the process of installing the target service, the probe service is used to obtain the installation progress information of the target service. The probe service of the cloud host can install the target service and can monitor the installation progress of the target service, and the probe service of the cloud host sends the installation progress information of the target service to the cloud host deployment request terminal so that a user can know the installation condition conveniently.
Example eight
Fig. 7 is a schematic flowchart of a cloud host deployment method according to an eighth embodiment of the present invention, and as shown in fig. 7, the cloud host deployment method according to the present embodiment includes the following steps:
In this embodiment, the cloud host deployment system includes a cloud host deployment request terminal, a cloud vendor server, and a cloud host. The cloud manufacturer server is in communication connection with the host deployment request terminal and the cloud host respectively. The cloud host deployment request terminal acquires cloud host configuration information and a cloud host initialization script, wherein the cloud host configuration information comprises the number of cloud hosts and specification configuration of the cloud hosts. And further generating a cloud host deployment request according to the cloud host configuration information and the cloud host initialization script.
In this embodiment, the cloud host deployment request terminal sends the cloud host deployment request to the corresponding cloud vendor server.
Step 303, the cloud manufacturer server receives the cloud host deployment request sent by the cloud host deployment request terminal, and the cloud manufacturer server analyzes the cloud host deployment request to obtain the cloud host configuration information and the cloud host initialization script.
In this embodiment, the cloud manufacturer server is in communication connection with the plurality of cloud host deployment request terminals, and the cloud manufacturer server receives the cloud host deployment request sent by the cloud host deployment request terminals. The cloud manufacturer server analyzes the cloud host deployment request, and obtains cloud host configuration information and a cloud host initialization script. The cloud manufacturer server configures corresponding cloud hosts according to the configuration information of the cloud hosts, the configuration information comprises the number of the cloud hosts and the specification configuration of the cloud hosts, and the cloud manufacturer server starts the corresponding number of the cloud hosts according to the number of the cloud hosts and performs related configuration on the cloud hosts according to the specification configuration of the cloud hosts.
Step 304, the cloud manufacturer server sends a start instruction to the cloud host.
In this embodiment, the cloud manufacturer server restarts the configured cloud host after configuration is completed, and the cloud manufacturer server sends a start instruction to the cloud host.
In step 305, the cloud host receives a starting instruction sent by the cloud manufacturer server, and executes a starting operation according to the starting instruction.
In this embodiment, the cloud host receives a start instruction sent by the cloud manufacturer server, and executes a start operation according to the start instruction.
Step 306, the cloud vendor server sends a cloud host initialization script to the cloud host.
In this embodiment, the cloud manufacturer server sends the cloud host initialization script to the cloud host, so that the cloud host deploys the corresponding service.
Step 307, the cloud host receives the cloud host initialization script sent by the cloud manufacturer server, and deploys the service according to the cloud host initialization script.
In this embodiment, the cloud host receives a cloud host initialization script sent by a cloud manufacturer server, where the cloud host initialization script is sent by a cloud host deployment request terminal, and the cloud host initialization script is used for a cloud host deployment service. The cloud host deploys the service according to the cloud host initialization script, specifically, deploys the probe service according to the cloud host initialization script, and if the probe service is started successfully, the probe service is adopted to feed back prompt information of successful starting to the cloud host deployment request terminal. The cloud host deployment request terminal receives prompt information of successful starting fed back by the probe service of the cloud host, the cloud host deployment request terminal sends configuration parameters corresponding to the target service to the probe service of the cloud host, and the probe service of the cloud host installs the corresponding target service according to the configuration parameters corresponding to the target service. And the probe service of the cloud host receives the configuration parameters corresponding to the target service sent by the cloud host deployment request terminal. And the probe service of the cloud host installs corresponding target service according to the configuration parameters corresponding to the target service, wherein the target service comprises ES, mysql, redis, cassondra and the like. The probe service of the cloud host can install the target service and can monitor the installation progress of the target service, and the probe service of the cloud host sends the installation progress information of the target service to the cloud host deployment request terminal.
In the embodiment, the interaction of the cloud host deployment request terminal, the cloud manufacturer server and the cloud host is adopted, manual deployment is not needed, the cloud host deployment efficiency can be improved, and the time is saved.
Fig. 8 is a schematic structural diagram of a cloud host deployment apparatus according to an embodiment of the present invention, and as shown in fig. 8, a cloud host deployment apparatus 200 according to the embodiment includes an obtaining unit 201, a first processing unit 202, and a sending unit 203.
The obtaining unit 201 is configured to obtain cloud host configuration information and a cloud host initialization script. The first processing unit 202 is configured to generate a cloud host deployment request according to the cloud host configuration information and the cloud host initialization script. A sending unit 203, configured to send the cloud host deployment request to a corresponding cloud vendor server, so that the cloud vendor server configures a corresponding cloud host according to the cloud host configuration information, and the cloud host deploys a service according to the initialization script.
Optionally, the cloud host deployment apparatus further includes: and a receiving unit.
And the receiving unit is used for receiving prompt information of successful starting fed back by the probe service of the cloud host. The sending unit is further used for sending the configuration parameters corresponding to the target service to the probe service of the cloud host, and the probe service of the cloud host installs the corresponding target service according to the configuration parameters corresponding to the target service.
Optionally, the cloud host deployment apparatus further includes: and an output unit.
The receiving unit is further used for receiving installation progress information of the target service fed back by the probe service of the cloud host. And an output unit for outputting the installation progress information of the target service.
Fig. 9 is a schematic structural diagram of a cloud host deployment apparatus according to still another embodiment of the present invention, and as shown in fig. 9, a cloud host deployment apparatus 300 according to this embodiment includes a receiving unit 301 and a second processing unit 302.
The receiving unit 301 is configured to receive a start instruction sent by the cloud vendor server. And a second processing unit 302, configured to perform a boot operation according to the boot instruction. The receiving unit 301 is further configured to receive a cloud host initialization script sent by the cloud manufacturer server, where the cloud host initialization script is sent by the cloud host deployment request end. The second processing unit 302 is further configured to initialize the script deployment service according to the cloud host.
Optionally, the second processing unit is further configured to deploy the probe service according to the cloud host initialization script. And if the probe service is successfully started, feeding back prompt information of successful start to the cloud host deployment request end by adopting the probe service.
Optionally, the second processing unit is further configured to receive, by using the probe service, a configuration parameter corresponding to the target service sent by the cloud host deployment request end; and installing the corresponding target service by adopting the probe service according to the configuration parameters corresponding to the target service.
Optionally, the second processing unit is further configured to send, by using the probe service, installation progress information of the target service to the cloud host deployment request terminal.
Fig. 10 is a block diagram of an electronic device for implementing a cloud server deployment method according to an embodiment of the present invention, and as shown in fig. 10, the electronic device 400 includes: a memory 401, a processor 402, and a transceiver 404.
The processor 402, memory 401 and transceiver 404 are electrically interconnected;
a transceiver 404 for transceiving information;
the processor 402 executes the computer executable instructions stored in the memory 401, so that the processor 402 executes the methods provided in the first to third embodiments.
Fig. 11 is a block diagram of an electronic device for implementing a cloud server deployment method according to another embodiment of the present invention, and as shown in fig. 11, the electronic device 500 includes: a memory 501, a processor 502, and a transceiver 503.
The processor 502, memory 501 and transceiver 503 are electrically interconnected;
a transceiver 503 for transmitting and receiving information;
the processor 502 executes the computer execution instructions stored in the memory 501, so that the processor 502 executes the methods provided in the fourth to seventh embodiments.
The Memory 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), a Flash Memory (Flash Memory), and the like. The memory is also used for storing programs, and the processor executes the programs after receiving the execution instructions.
The processor may be an integrated circuit chip having signal processing capabilities. The Processor may be a general-purpose Processor including 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), a Field 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 may be any conventional processor or the like.
It will be apparent to those skilled in the art that the image forming apparatus of the present application includes a memory for storing program instruction codes and a processor for executing the program instruction codes to implement the external network access control method applied to the image forming apparatus in the above-described embodiments. Embodiments of the present application may be provided as methods, apparatus, or computer program products. Accordingly, embodiments of the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present application 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.
In an exemplary embodiment, a computer-readable storage medium is also provided, in which computer-executable instructions are stored, the computer-executable instructions being executed by a processor to perform the method in any one of the above-mentioned embodiments.
In an exemplary embodiment, a computer program product is also provided, comprising a computer program which is executed by a processor for performing the method in any of the above embodiments.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. The invention is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.
Claims (11)
1. A cloud host deployment method is applied to a cloud host deployment request terminal, and comprises the following steps:
the method comprises the steps of obtaining cloud host configuration information and a cloud host initialization script, and generating a cloud host deployment request according to the cloud host configuration information and the cloud host initialization script;
and sending the cloud host deployment request to a corresponding cloud manufacturer server so that the cloud manufacturer server configures the corresponding cloud host according to the cloud host configuration information, and the cloud host deploys the service according to the initialization script.
2. The cloud host deployment method of claim 1, wherein the service comprises: a probe service, the probe service located at a cloud host;
after the step of sending the cloud host deployment request to the corresponding cloud vendor server, the method further includes:
receiving prompt information of successful starting fed back by the probe service of the cloud host;
and sending the configuration parameters corresponding to the target service to the probe service of the cloud host, and installing the corresponding target service by the probe service of the cloud host according to the configuration parameters corresponding to the target service.
3. The cloud host deployment method of claim 2, wherein after sending the configuration parameters corresponding to the target service to the probe service of the cloud host, the method further comprises:
receiving installation progress information of the target service fed back by the probe service of the cloud host;
and outputting the installation progress information of the target service.
4. A cloud server deployment method is applied to a cloud host, and comprises the following steps:
receiving a starting instruction sent by a cloud manufacturer server, and executing a starting operation according to the starting instruction;
receiving a cloud host initialization script sent by the cloud manufacturer server, wherein the cloud host initialization script is sent by a cloud host deployment request end;
and deploying service according to the cloud host initialization script.
5. The cloud host deployment method of claim 4, wherein the initializing a script deployment service according to the cloud host comprises:
deploying probe service according to the cloud host initialization script;
and if the probe service is successfully started, feeding back prompt information of successful start to the cloud host deployment request end by adopting the probe service.
6. The cloud host deployment method of claim 5, wherein after the feeding back the prompt information of successful start to the cloud host deployment request end by using the probe service, the method comprises:
receiving configuration parameters corresponding to the target service sent by the cloud host deployment request end by adopting the probe service;
and installing the corresponding target service by adopting the probe service according to the configuration parameters corresponding to the target service.
7. The cloud host deployment method of claim 6, further comprising:
and acquiring the installation progress information of the target service by adopting the probe service, and sending the installation progress information of the target service to the cloud host deployment request terminal by adopting the probe service.
8. A cloud host deployment apparatus, the apparatus comprising:
the acquisition unit is used for acquiring the configuration information of the cloud host and the initialization script of the cloud host;
the first processing unit is used for generating a cloud host deployment request according to the cloud host configuration information and the cloud host initialization script;
and the sending unit is used for sending the cloud host deployment request to a corresponding cloud manufacturer server so that the cloud manufacturer server configures the corresponding cloud host according to the cloud host configuration information, and the cloud host deploys the service according to the initialization script.
9. A cloud host deployment apparatus, the apparatus comprising:
the receiving unit is used for receiving a starting instruction sent by the cloud manufacturer server;
the second processing unit is used for executing starting operation according to the starting instruction;
the receiving unit is further used for receiving a cloud host initialization script sent by the cloud manufacturer server, and the cloud host initialization script is sent by a cloud host deployment request terminal;
and the second processing unit is also used for deploying services according to the cloud host initialization script.
10. An electronic device, comprising: a processor, a memory and a transceiver;
the processor, memory and transceiver circuitry are interconnected;
a transceiver for transceiving information;
the memory stores computer execution instructions;
the processor executes computer-executable instructions stored by the memory, causing the processor to perform the method of any of claims 1 to 3.
11. An electronic device, comprising: a processor, a memory and a transceiver;
the processor, memory and transceiver circuitry are interconnected;
a transceiver for transceiving information;
the memory stores computer execution instructions;
the processor executes computer-executable instructions stored by the memory, causing the processor to perform the method of any of claims 4 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210920790.XA CN115361278A (en) | 2022-08-02 | 2022-08-02 | Cloud host deployment method, device and equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210920790.XA CN115361278A (en) | 2022-08-02 | 2022-08-02 | Cloud host deployment method, device and equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115361278A true CN115361278A (en) | 2022-11-18 |
Family
ID=84032308
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210920790.XA Pending CN115361278A (en) | 2022-08-02 | 2022-08-02 | Cloud host deployment method, device and equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115361278A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140122860A1 (en) * | 2012-10-26 | 2014-05-01 | Delta Electronics, Inc. | Cloud system and boot deployment method for the cloud system |
CN108399083A (en) * | 2017-02-07 | 2018-08-14 | 北京京东尚科信息技术有限公司 | A kind of system deployment method, apparatus, electronic equipment and storage medium |
CN109672722A (en) * | 2018-10-23 | 2019-04-23 | 平安科技(深圳)有限公司 | Data deployment method and device, computer storage medium and electronic equipment |
CN110597520A (en) * | 2019-08-27 | 2019-12-20 | 深圳证券交易所 | Server, deployment method thereof and computer-readable storage medium |
CN111324412A (en) * | 2018-12-13 | 2020-06-23 | 阿里巴巴集团控股有限公司 | Service deployment method, device and storage medium |
CN114281473A (en) * | 2021-12-09 | 2022-04-05 | 苏州浪潮智能科技有限公司 | Cloud platform test environment management method, system, terminal and storage medium |
-
2022
- 2022-08-02 CN CN202210920790.XA patent/CN115361278A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140122860A1 (en) * | 2012-10-26 | 2014-05-01 | Delta Electronics, Inc. | Cloud system and boot deployment method for the cloud system |
CN108399083A (en) * | 2017-02-07 | 2018-08-14 | 北京京东尚科信息技术有限公司 | A kind of system deployment method, apparatus, electronic equipment and storage medium |
CN109672722A (en) * | 2018-10-23 | 2019-04-23 | 平安科技(深圳)有限公司 | Data deployment method and device, computer storage medium and electronic equipment |
CN111324412A (en) * | 2018-12-13 | 2020-06-23 | 阿里巴巴集团控股有限公司 | Service deployment method, device and storage medium |
CN110597520A (en) * | 2019-08-27 | 2019-12-20 | 深圳证券交易所 | Server, deployment method thereof and computer-readable storage medium |
CN114281473A (en) * | 2021-12-09 | 2022-04-05 | 苏州浪潮智能科技有限公司 | Cloud platform test environment management method, system, terminal and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108763090B (en) | Test environment deployment method, device, computer equipment and storage medium | |
CN103336688A (en) | Software integrating method and system oriented to cloud computing software research and development process | |
CN106549789B (en) | Method and system for realizing server installation | |
US8924769B2 (en) | Software burning system and burning control method | |
CN110618819A (en) | Method and device for automatically deploying WINPE system in batches and computer equipment | |
CN110413328B (en) | PXE function enabling method and device for network card port and related equipment | |
CN111741291A (en) | Screen test method, electronic device and storage medium | |
CN108804329A (en) | A kind of test system and method for data transfer integrity | |
CN107678969B (en) | Test version release method and device, version control equipment and test machine | |
CN111163167A (en) | System installation method and device | |
CN108763098B (en) | Memory data processing test system | |
CN115361278A (en) | Cloud host deployment method, device and equipment | |
CN111045919A (en) | Method, device, background server, storage medium and system for debugging program | |
CN114172803A (en) | Multi-FPGA version control and configuration system and method based on Ethernet switching technology | |
CN112732510A (en) | Testing device for unmanned vehicle computing platform | |
CN113434255A (en) | Virtual equipment creating method and device | |
CN113157481A (en) | Cluster-based server jump time fault processing method, device and system | |
CN111061623B (en) | Method, device, middle server, storage medium and system for debugging program | |
CN111768129A (en) | Delivery method, device, equipment and storage medium of proprietary cloud product | |
CN111159048A (en) | Application program testing method and device and computer readable storage medium | |
CN110764959A (en) | Deployment method and device of test environment of server | |
EP4092524B1 (en) | Ota differential upgrade method and system of master-slave architecture | |
CN112054935A (en) | Extensible service quality diagnosis configuration method and system | |
CN106506276A (en) | A kind of information detecting method for server | |
TW201508469A (en) | Test controlling system and method |
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 |