CN113282342A - Deployment method, device, system, electronic equipment and readable storage medium - Google Patents

Deployment method, device, system, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN113282342A
CN113282342A CN202110529875.0A CN202110529875A CN113282342A CN 113282342 A CN113282342 A CN 113282342A CN 202110529875 A CN202110529875 A CN 202110529875A CN 113282342 A CN113282342 A CN 113282342A
Authority
CN
China
Prior art keywords
operating system
system image
computing node
internet protocol
protocol address
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
CN202110529875.0A
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.)
Capitalonline Data Service Co ltd
Original Assignee
Capitalonline Data Service Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Capitalonline Data Service Co ltd filed Critical Capitalonline Data Service Co ltd
Priority to CN202110529875.0A priority Critical patent/CN113282342A/en
Publication of CN113282342A publication Critical patent/CN113282342A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4406Loading of operating system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • G06F8/63Image based installation; Cloning; Build to order
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • H04L61/5014Internet protocol [IP] addresses using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]
    • 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/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • 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
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

The application provides a deployment method, a device, a system, an electronic device and a readable storage medium, wherein the deployment method is applied to a computing node and comprises the following steps: receiving a pre-starting instruction, and starting a pre-execution environment according to the pre-starting instruction; initiating an operating system mirror image request to a server by utilizing the pre-execution environment; wherein the operating system image request is used for instructing the server to send an operating system image; deploying the operating system image in a memory of the compute node upon receiving the operating system image. The method and the device are beneficial to improving the starting speed of the operating system.

Description

Deployment method, device, system, electronic equipment and readable storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method, an apparatus, a system, an electronic device, and a readable storage medium for deploying a program.
Background
At present, a bare metal operating system is installed in a local storage device of a computer, such as a mechanical hard disk or a solid state disk, so that the operating system needs to be started from the mechanical hard disk or the solid state disk every time the computer is started, and the reading and writing speed of the mechanical hard disk or the solid state disk is slow, which results in the slow starting speed of the operating system of the computer.
Disclosure of Invention
The embodiment of the application provides a deployment method, a device, a system, an electronic device and a readable storage medium, which are used for solving the problems existing in the related technology, and the technical scheme is as follows:
in a first aspect, an embodiment of the present application provides a deployment method applied to a computing node, including:
receiving a pre-starting instruction, and starting a pre-execution environment according to the pre-starting instruction;
initiating an operating system mirror image request to a server by utilizing the pre-execution environment; wherein the operating system image request is used for instructing the server to send an operating system image;
deploying the operating system image in a memory of the compute node upon receiving the operating system image.
In a second aspect, an embodiment of the present application provides a deployment method, applied to a server, including:
sending a pre-starting instruction to a computing node, wherein the pre-starting instruction is used for indicating the computing node to start a pre-execution environment and initiating an operating system mirror image request by using the pre-execution environment;
and returning an operating system image to the computing node based on the operating system image request under the condition that the operating system image request is received, wherein the operating system image is used for being deployed in a memory of the computing node.
In a third aspect, an embodiment of the present application provides a deployment apparatus, applied to a computing node, including:
the pre-starting instruction receiving module is used for receiving a pre-starting instruction and starting a pre-execution environment according to the pre-starting instruction;
the operating system mirror image request initiating module is used for initiating an operating system mirror image request to a server by utilizing the pre-execution environment; wherein the operating system image request is used for instructing the server to send an operating system image;
and the operating system image deployment module is used for deploying the operating system image in the memory of the computing node under the condition of receiving the operating system image.
In a third aspect, an embodiment of the present application provides a deployment apparatus, applied to a server, including:
the system comprises a pre-starting instruction sending module, a pre-starting instruction sending module and a pre-starting module, wherein the pre-starting instruction sending module is used for sending a pre-starting instruction to a computing node, and the pre-starting instruction is used for indicating the computing node to start a pre-execution environment and initiating an operating system mirror image request by utilizing the pre-execution environment;
the operating system image returning module is used for returning an operating system image to the computing node based on the operating system image request under the condition that the operating system image request is received, wherein the operating system image is used for being deployed in a memory of the computing node.
In a fourth aspect, an embodiment of the present application provides a deployment system, including a computing node and a server, where the computing node includes the deployment apparatus provided in the third aspect, and the server includes the deployment apparatus provided in the fourth aspect.
In a fifth aspect, an embodiment of the present application provides an electronic device, including: a memory and a processor. Wherein the memory and the processor are in communication with each other via an internal connection path, the memory is configured to store instructions, the processor is configured to execute the instructions stored by the memory, and the processor is configured to perform the method of any of the above aspects when the processor executes the instructions stored by the memory.
In a sixth aspect, embodiments of the present application provide a computer-readable storage medium, which stores a computer program, and when the computer program runs on a computer, the method in any one of the above-mentioned aspects is executed.
The advantages or beneficial effects in the above technical solution at least include: the starting speed of the operating system is improved.
The foregoing summary is provided for the purpose of description only and is not intended to be limiting in any way. In addition to the illustrative aspects, embodiments, and features described above, further aspects, embodiments, and features of the present application will be readily apparent by reference to the drawings and following detailed description.
Drawings
In the drawings, like reference numerals refer to the same or similar parts or elements throughout the several views unless otherwise specified. The figures are not necessarily to scale. It is appreciated that these drawings depict only some embodiments in accordance with the disclosure and are therefore not to be considered limiting of its scope.
FIG. 1 is a first flowchart of a deployment method according to an embodiment of the present application;
FIG. 2 is a second flowchart of a deployment method according to an embodiment of the present application;
FIG. 3 is a flow chart of a specific example of a deployment method according to an embodiment of the present application;
FIG. 4 is a block diagram of a first configuration of a deployment device according to an embodiment of the present application;
FIG. 5 is a block diagram of a second configuration of a deployment device according to an embodiment of the present application;
FIG. 6 is a block diagram of a deployment system according to an embodiment of the present application;
fig. 7 is a block diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In the following, only certain exemplary embodiments are briefly described. As those skilled in the art will recognize, the described embodiments may be modified in various different ways, all without departing from the spirit or scope of the present application. Accordingly, the drawings and description are to be regarded as illustrative in nature, and not as restrictive.
Fig. 1 shows a flow diagram of a deployment method according to an embodiment of the application. As shown in fig. 1, the deployment method may be applied to a computing node, and the deployment method includes:
s101, receiving a pre-starting instruction, and starting a pre-execution environment according to the pre-starting instruction.
S102, initiating an operating system mirror image request to a server by utilizing a pre-execution environment; wherein the operating system image request is used to instruct the server to send the operating system image.
S103, under the condition that the operating system image is received, deploying the operating system image in the memory of the computing node.
The computing nodes may be traditional physical computers, or virtual computers, such as cloud computers.
In step S101, a pre-Execution Environment, also called a pre-boot Execution Environment (PXE), provides a mechanism for booting a computer using a Network Interface (Network Interface). This mechanism allows the computer to boot without relying on a local data storage device (e.g., hard disk) or a locally installed operating system.
In step S101, the pre-boot instruction may be from a server, and the user specifies a computing node to be booted through the server, and then the server sends the pre-boot instruction to the computing node.
In step S103, an operating system is deployed in the memory of the computing node, so as to implement installation of the operating system in the entire memory, and after that, the computing node may also configure operations such as an internet address and a mounted data disk for the operating system that is successfully deployed, thereby completing system startup of the computing node.
Through the embodiment, each time the computing node is started, the computing node can pull the operating system image from the server, deploy the operating system in the memory and run the operating system, and realize that the operating system is installed in the full memory, namely that the operating system runs in the memory of the computing node. On one hand, the computing node can realize the diskless startup of the operating system, namely, the operating system is not read from the solid state disk or the mechanical hard disk, the problem of long startup time caused by low read-write speed of the solid state disk or the mechanical hard disk is solved, and the startup speed of the operating system is improved. On the other hand, the solid state disk or the mechanical hard disk is not needed to be used for storing the operating system, so that the problems that the stability and the service life of the operating system are influenced due to the limitation of the service life of the hard disk are solved, and the stability of the operating system is improved.
In addition, the operating system is installed in the full memory based on the embodiment, and a foundation is laid for realizing the system hot migration of the computing node. Specifically, because the operating system of the compute node is deployed in its memory, the live migration of the operating system can be implemented by sending the memory data of the source compute node to the destination compute node and sending the dirty page data of the memory generated by the source compute node in real time to the destination compute node. The embodiment is beneficial to solving the problem that the client service needs to be interrupted during system migration because the operating system is installed on the local hard disk and the system hot migration cannot be realized, and effectively ensuring the stability of the client service.
In one embodiment, the deployment method further comprises the steps of: and mounting the remote storage device, and using the mounted remote storage device as a data disk of the computing node. Wherein the remote storage device may be a data cluster.
Therefore, after the operating system is deployed in the memory, the data disk is used as a mount remote storage for the operating system to store data such as documents, videos, music, application programs and the like, so that the normal use of the computing node is realized. In addition, compared with the case that the local storage device is used as the data disk, the flexibility of the remote storage device used as the data disk is higher, for example, the computing node performs system migration, after an operating system is deployed in a memory of the computing node, only the address of the remote storage device needs to be found, and then mounting is performed through a mounting tool, so that the operation is simple and efficient.
In one embodiment, the deployment method further comprises the steps of: initiating an Internet Protocol (IP) address request to a server using a pre-execution environment; wherein the internet protocol address request is for instructing the server to allocate a first internet protocol address; in the event a first IP address is received, configuring the IP address for an operating system image disposed in memory based on the first IP address.
Specifically, the server may allocate an internet Protocol to the computing node by starting a Dynamic Host Configuration Protocol (DHCP) service, where the DHCP service controls a segment of an address range of the internet Protocol, and when a pre-execution environment of the computing node logs in the DHCP service, the internet Protocol address allocated by the DHCP service may be automatically obtained.
Therefore, the internet interconnection protocol address is successfully configured for the computing node and is used as the communication address of the computing node, and communication between the computing node and other nodes in the internet is realized.
In one embodiment, the deployment method further comprises the steps of: and receiving the guide file sent by the server. In step S103, deploying an operating system image in the memory of the computing node, including: and deploying the operating system image in the memory of the computing node according to the guide file.
Therefore, the computing node can acquire the boot file from the server, the deployment of the operating system mirror image is completed, and the normal starting of the operating system of the computing node is ensured.
In one example, the deployment method further comprises the steps of: and starting a Trivial File Transfer Protocol (TFTP) service of the computing node. File transmission between the computing node and the server is realized through a simple file transmission protocol, for example, the computing node downloads an operating system image file from the server, including files such as bootloader and kernel; the bootloader file is used for initializing hardware equipment, establishing a memory space mapping chart and adjusting the software and hardware environment of the system so as to prepare an environment for finally calling an operating system kernel; the kernel file is the core part of the operating system and consists of parts of the operating system for managing memory, files, peripherals and system resources.
Fig. 2 is a flowchart of a deployment method according to another embodiment of the present application, and as shown in fig. 2, the deployment method may be applied to a server, and the deployment method includes:
s201, sending a pre-starting instruction to the computing node, wherein the pre-starting instruction is used for indicating the computing node to start a pre-execution environment, and initiating an operating system mirror image request by using the pre-execution environment.
S202, under the condition that the operating system image request is received, returning the operating system image to the computing node based on the operating system image request, wherein the operating system image is used for being deployed in the memory of the computing node.
The deployment method correspondingly executed by the computing node may refer to the content of the previous embodiment, and is not described herein again.
Through the embodiment, each time the computing node needs to be started, the server triggers the computing node to start the pre-execution environment, provides the operating system image for the computing node, thresholded pulls the operating system image by the computing node, deploys the operating system in the memory and runs the operating system, and the full-memory installation system is realized, namely the computing node system runs in the memory completely. On one hand, the diskless system can be started, the operation system file is not read from the solid state disk or the mechanical hard disk, the problem of long starting time caused by low reading and writing speed of the solid state disk or the mechanical hard disk is solved, and the starting speed of the computing node system is improved. On the other hand, an operating system does not need to be installed by using a solid state disk or a mechanical hard disk, the problem that the stability and the service life of a system disk are influenced due to the limitation of the service life of the hard disk is solved, and the stability of the operating system of the computing node is improved.
In one embodiment, the deployment method further comprises: upon receiving an internet protocol address request for a compute node, a first internet protocol address is allocated for the compute node using a dynamic host configuration protocol service, wherein the first internet protocol address is for an internet protocol address that is an operating system image deployed in a memory of the compute node.
In this way, the server can successfully configure the internet protocol address for the computing node, and the internet protocol address serves as a communication address of the computing node to realize communication between the computing node and other nodes in the internet.
In one embodiment, the deployment method further comprises: and selecting the operating system image of the computing node from at least one operating system image provided by the operating system image template service so as to return the selected operating system image to the computing node.
For example, the server obtains the operating system type of the computing node selected by the user on the user interface, and then the server issues a corresponding selection instruction to the operating system image template service, and the operating system image template service selects the operating system image of the computing node based on the selection instruction.
Therefore, the operating system image template service can provide corresponding operating system images for the computing nodes of different operating system types, so that the normal starting of the computing nodes of different operating system operating types is realized.
In one example, the deployment method may further comprise: and starting the simple file transfer protocol service of the server, and realizing file transfer between the server and the computing node through the simple file transfer protocol. File transfers such as the compute node downloading bootloader and kernel files from a server.
In one example, in allocating a first internet protocol address for a compute node using a dynamic host configuration protocol service, the method of deployment may further comprise: the internet address of the server is sent to the compute node so that the compute node can find the server to pull the operating system image.
Based on the above embodiments, fig. 3 provides a flowchart of a specific example. As shown in fig. 3, in this specific example, there is at least one computing node, a server, and a remote storage device (which may be a data cluster), and the specific flow includes the following steps:
s301, a simple file transfer protocol (TFTP) service of the server is started.
The server starts the simple file transfer protocol service, and the simple file transfer protocol service can provide important file downloading services such as bootloader, kernel and the like for the network card of the pre-starting execution environment of the computing node.
S302, starting a Dynamic Host Configuration Protocol (DHCP) service of the server.
The dynamic host configuration protocol service of the server controls at least one internet protocol address, and the dynamic host configuration protocol service may allocate the internet protocol address to the computing node when the computing node logs into the dynamic host configuration protocol service of the server.
When the internet interconnection protocol address is distributed to the computing node, the server can also send the server address to the computing node at the same time, and the computing node downloads the operating system mirror image template through the server address.
It should be noted that the server may always start the ftp service and the dhcp service, and the two services do not need to be started each time the computing node is started.
S303, start the pre-execution environment control management service of the server.
And controlling the management service through the pre-execution environment to enable the computing node to start the network card pre-execution environment.
S304, starting the operating system image template service of the server.
The pre-execution environment management service of the server starts the operating system image template service of the server. The started operating system image template service can provide at least one operating system image for the computing node to download and install in the memory.
S305, the pre-execution environment obtains an Internet Protocol (IP) address specified by the server through a Dynamic Host Configuration Protocol (DHCP) service.
S306, the pre-execution environment obtains the operating system image and the boot file from the server through a simple file transfer protocol (TFTP) service.
S307, the computing node starts to deploy the operating system image.
And the computing node deploys the operating system mirror image in the memory of the computing node according to the operating system mirror image and the boot file.
S308, the computing node configures the Internet protocol address appointed by the server.
S309, the remote storage device (the remote storage device may be a data cluster) is mounted by the computing node, and the mounted remote storage device is used as a data disk of the computing node.
S310, the starting of the whole memory system of the computing node is completed.
Fig. 4 shows a block diagram of a deployment device according to an embodiment of the present application. As shown in fig. 4, the deployment method may be applied to a computing node, and the deployment apparatus 400 includes:
the pre-boot instruction receiving module 401 is configured to receive a pre-boot instruction, and start the pre-execution environment according to the pre-boot instruction.
An operating system mirror request initiating module 402, configured to initiate an operating system mirror request to a server by using a pre-execution environment; wherein the operating system image request is used to instruct the server to send the operating system image.
And an operating system image deployment module 403, configured to deploy an operating system image in the memory of the computing node when the operating system image is received.
In one embodiment, the deployment apparatus further comprises:
and the remote storage device mounting module is used for mounting the remote storage device and using the mounted remote storage device as a data disk of the computing node.
In one embodiment, the deployment apparatus further comprises:
an internet protocol address request initiating module, configured to initiate an internet protocol address request to a server by using a pre-execution environment; wherein the internet protocol address request is for instructing the server to allocate a first internet protocol address.
The internet protocol address configuration module is used for configuring the internet protocol address for the operating system image deployed in the memory according to the first internet protocol address under the condition that the first internet protocol address is received.
In one embodiment, the deployment apparatus further comprises: a boot file receiving module; the guide file receiving module is used for receiving the guide file sent by the server.
And the operating system mirror image deployment module is used for deploying the operating system mirror image in the memory of the computing node according to the guide file.
Fig. 5 shows a block diagram of a deployment device according to an embodiment of the application. As shown in fig. 5, the deployment method may be applied to a server, and the deployment apparatus 500 includes:
a pre-boot instruction sending module 501, configured to send a pre-boot instruction to a computing node, where the pre-boot instruction is used to instruct the computing node to start a pre-execution environment and initiate an operating system mirror request by using the pre-execution environment;
the operating system image returning module 502 is configured to, in a case that an operating system image request is received, return an operating system image to the computing node based on the operating system image request, where the operating system image is used to be deployed in a memory of the computing node.
In one embodiment, the apparatus further comprises a first internet protocol address assignment module; the first internet protocol address allocation module is used for allocating a first internet protocol address for the computing node by using a dynamic host configuration protocol service under the condition of receiving an internet protocol address request of the computing node, wherein the first internet protocol address is used as an internet protocol address of an operating system mirror image deployed in a memory of the computing node.
In one embodiment, the apparatus further comprises an operating system image selection module; the operating system image selecting module is used for selecting the operating system image of the computing node from at least one operating system image provided by the operating system image template service so as to return the selected operating system image to the computing node.
Fig. 6 shows a block diagram of a deployment system according to an embodiment of the application. As shown in fig. 6, the deployment system includes a computing node 601 and a server 602, where the computing node includes the deployment apparatus that can be applied to the computing node provided in the above embodiment, and the server includes the deployment apparatus that can be applied to the server provided in the above embodiment.
In addition, the deployment system may further include a remote storage device 603, which may be mounted by the computing node as a data disk of the computing node. The data disk can store files such as application programs, music, videos and the like of the computing nodes.
The functions of each module in each apparatus in the embodiment of the present application may refer to corresponding descriptions in the above method, and are not described herein again.
Fig. 7 shows a block diagram of an electronic device according to an embodiment of the present application. As shown in fig. 7, the electronic apparatus includes: a memory 710 and a processor 720, the memory 710 having stored therein computer programs that are executable on the processor 720. The processor 720, when executing the computer program, implements the deployment method in the above embodiments. The number of the memory 710 and the processor 720 may be one or more.
The electronic device further includes:
and a communication interface 730, configured to communicate with an external device, and perform data interactive transmission.
If the memory 710, the processor 720 and the communication interface 730 are implemented independently, the memory 710, the processor 720 and the communication interface 730 may be connected to each other through a bus and perform communication with each other. The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 7, but this is not intended to represent only one bus or type of bus.
Optionally, in an implementation, if the memory 710, the processor 720 and the communication interface 730 are integrated on a chip, the memory 710, the processor 720 and the communication interface 730 may complete communication with each other through an internal interface.
Embodiments of the present application provide a computer-readable storage medium, which stores a computer program, and when the program is executed by a processor, the computer program implements the method provided in the embodiments of the present application.
The embodiment of the present application further provides a chip, where the chip includes a processor, and is configured to call and execute the instruction stored in the memory from the memory, so that the communication device in which the chip is installed executes the method provided in the embodiment of the present application.
An embodiment of the present application further provides a chip, including: the system comprises an input interface, an output interface, a processor and a memory, wherein the input interface, the output interface, the processor and the memory are connected through an internal connection path, the processor is used for executing codes in the memory, and when the codes are executed, the processor is used for executing the method provided by the embodiment of the application.
It should be understood that the processor may be a Central Processing Unit (CPU), other general purpose processor, 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, etc. A general purpose processor may be a microprocessor or any conventional processor or the like. It is noted that the processor may be an advanced reduced instruction set machine (ARM) architecture supported processor.
Further, optionally, the memory may include a read-only memory and a random access memory, and may further include a nonvolatile random access memory. The memory may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The non-volatile memory may include a read-only memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an electrically Erasable EPROM (EEPROM), or a flash memory. Volatile memory can include Random Access Memory (RAM), which acts as external cache memory. By way of example, and not limitation, many forms of RAM are available. For example, Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), double data rate synchronous SDRAM (DDR SDRAM), Enhanced SDRAM (ESDRAM), synclink DRAM (SLDRAM), and direct memory bus RAM (DR RAM).
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. The procedures or functions according to the present application are generated in whole or in part when the computer program instructions are loaded and executed on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean 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 application. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present application, "a plurality" means two or more unless specifically limited otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process. And the scope of the preferred embodiments of the present application includes other implementations in which functions may be performed out of the order shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions.
It should be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. All or part of the steps of the method of the above embodiments may be implemented by hardware that is configured to be instructed to perform the relevant steps by a program, which may be stored in a computer-readable storage medium, and which, when executed, includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present application may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module may also be stored in a computer-readable storage medium if it is implemented in the form of a software functional module and sold or used as a separate product. The storage medium may be a read-only memory, a magnetic or optical disk, or the like.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive various changes or substitutions within the technical scope of the present application, and these should be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (17)

1. A method for deployment, applied to a compute node, comprising:
receiving a pre-starting instruction, and starting a pre-execution environment according to the pre-starting instruction;
initiating an operating system mirror image request to a server by utilizing the pre-execution environment; wherein the operating system image request is used for instructing the server to send an operating system image;
deploying the operating system image in a memory of the compute node upon receiving the operating system image.
2. The method of claim 1, further comprising:
and mounting the remote storage device, wherein the mounted remote storage device is used as a data disk of the computing node.
3. The method of claim 1, further comprising:
initiating an internet protocol address request to the server using the pre-execution environment; wherein the internet protocol address request is to instruct the server to allocate a first internet protocol address;
and under the condition that the first internet protocol address is received, configuring an internet protocol address for the operating system image deployed in the memory according to the first internet protocol address.
4. The method according to any one of claims 1 to 3, further comprising: receiving a guide file sent by the server;
the deploying the operating system image in the memory of the compute node comprises: and deploying the operating system mirror image in the memory of the computing node according to the guide file.
5. A method for deployment, applied to a server, comprising:
sending a pre-starting instruction to a computing node, wherein the pre-starting instruction is used for indicating the computing node to start a pre-execution environment and initiating an operating system mirror image request by using the pre-execution environment;
and returning an operating system image to the computing node based on the operating system image request under the condition that the operating system image request is received, wherein the operating system image is used for being deployed in a memory of the computing node.
6. The method of claim 5, further comprising:
upon receiving an internet protocol address request for the compute node, allocating a first internet protocol address for the compute node using a dynamic host configuration protocol service, wherein the first internet protocol address is for an internet protocol address that is an operating system image deployed in the compute node memory.
7. The method of claim 5 or 6, further comprising:
and selecting the operating system image of the computing node from at least one operating system image provided by the operating system image template service so as to return the selected operating system image to the computing node.
8. A deployment apparatus, applied to a compute node, comprising:
the pre-starting instruction receiving module is used for receiving a pre-starting instruction and starting a pre-execution environment according to the pre-starting instruction;
the operating system mirror image request initiating module is used for initiating an operating system mirror image request to a server by utilizing the pre-execution environment; wherein the operating system image request is used for instructing the server to send an operating system image;
and the operating system image deployment module is used for deploying the operating system image in the memory of the computing node under the condition of receiving the operating system image.
9. The apparatus of claim 8, further comprising:
and the remote storage device mounting module is used for mounting the remote storage device and using the mounted remote storage device as a data disk of the computing node.
10. The apparatus of claim 8, further comprising:
an internet protocol address request initiating module, configured to initiate an internet protocol address request to the server by using the pre-execution environment; wherein the internet protocol address request is to instruct the server to allocate a first internet protocol address;
an internet protocol address configuration module, configured to configure an internet protocol address for an operating system image deployed in the memory according to the first internet protocol address when the first internet protocol address is received.
11. The apparatus of any one of claims 8 to 10, further comprising: a boot file receiving module; wherein the content of the first and second substances,
the guide file receiving module is used for receiving the guide file sent by the server;
the operating system image deployment module is used for deploying the operating system image in the memory of the computing node according to the guide file.
12. A deployment apparatus, applied to a server, includes:
the system comprises a pre-starting instruction sending module, a pre-starting instruction sending module and a pre-starting module, wherein the pre-starting instruction sending module is used for sending a pre-starting instruction to a computing node, and the pre-starting instruction is used for indicating the computing node to start a pre-execution environment and initiating an operating system mirror image request by utilizing the pre-execution environment;
the operating system image returning module is used for returning an operating system image to the computing node based on the operating system image request under the condition that the operating system image request is received, wherein the operating system image is used for being deployed in a memory of the computing node.
13. The apparatus of claim 12, wherein the apparatus further comprises a first internet protocol address assignment module; wherein the content of the first and second substances,
the first internet protocol address allocation module is configured to allocate a first internet protocol address to the computing node by using a dynamic host configuration protocol service in a case where an internet protocol address request of the computing node is received, where the first internet protocol address is used for an internet protocol address that is an operating system image deployed in the memory of the computing node.
14. The apparatus of claim 12 or 13, further comprising an operating system image selection module; wherein the content of the first and second substances,
the operating system image selecting module is used for selecting the operating system image of the computing node from at least one operating system image provided by an operating system image template service so as to return the selected operating system image to the computing node.
15. A deployment system comprising a computing node comprising the deployment apparatus of any one of claims 8-11 and a server comprising the deployment apparatus of any one of claims 12-14.
16. An electronic device, comprising: a processor and a memory, the memory having stored therein instructions that are loaded and executed by the processor to implement the deployment method of any of claims 1-4 or the deployment method of any of claims 5-7.
17. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the deployment method of any one of claims 1 to 4 or the deployment method of any one of claims 5 to 7.
CN202110529875.0A 2021-05-14 2021-05-14 Deployment method, device, system, electronic equipment and readable storage medium Pending CN113282342A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110529875.0A CN113282342A (en) 2021-05-14 2021-05-14 Deployment method, device, system, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110529875.0A CN113282342A (en) 2021-05-14 2021-05-14 Deployment method, device, system, electronic equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN113282342A true CN113282342A (en) 2021-08-20

Family

ID=77279226

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110529875.0A Pending CN113282342A (en) 2021-05-14 2021-05-14 Deployment method, device, system, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN113282342A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114265628A (en) * 2021-12-22 2022-04-01 曙光信息产业股份有限公司 Deployment method, device, electronic equipment, storage medium and system of operating system
WO2023125482A1 (en) * 2021-12-27 2023-07-06 华为技术有限公司 Cluster management method and device, and computing system
WO2024051292A1 (en) * 2022-09-09 2024-03-14 华为技术有限公司 Data processing system, memory mirroring method and apparatus, and computing device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103037002A (en) * 2012-12-21 2013-04-10 中标软件有限公司 Method and system for arranging server cluster in cloud computing cluster environment
CN103984575A (en) * 2014-05-28 2014-08-13 浪潮电子信息产业股份有限公司 Rapid deployment method of cluster Linux operation system in cloud-computing environment
US9081747B1 (en) * 2012-03-06 2015-07-14 Big Bang Llc Computer program deployment to one or more target devices
CN106502797A (en) * 2016-10-28 2017-03-15 郑州云海信息技术有限公司 A kind of group system and the dispositions method of group system
CN106713379A (en) * 2015-08-10 2017-05-24 广州西麦信息科技有限公司 Automatic cloud computing deployment system and method thereof
CN110532065A (en) * 2019-09-02 2019-12-03 广州市品高软件股份有限公司 A kind of dispositions method and device of bare metal server

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9081747B1 (en) * 2012-03-06 2015-07-14 Big Bang Llc Computer program deployment to one or more target devices
CN103037002A (en) * 2012-12-21 2013-04-10 中标软件有限公司 Method and system for arranging server cluster in cloud computing cluster environment
CN103984575A (en) * 2014-05-28 2014-08-13 浪潮电子信息产业股份有限公司 Rapid deployment method of cluster Linux operation system in cloud-computing environment
CN106713379A (en) * 2015-08-10 2017-05-24 广州西麦信息科技有限公司 Automatic cloud computing deployment system and method thereof
CN106502797A (en) * 2016-10-28 2017-03-15 郑州云海信息技术有限公司 A kind of group system and the dispositions method of group system
CN110532065A (en) * 2019-09-02 2019-12-03 广州市品高软件股份有限公司 A kind of dispositions method and device of bare metal server

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114265628A (en) * 2021-12-22 2022-04-01 曙光信息产业股份有限公司 Deployment method, device, electronic equipment, storage medium and system of operating system
CN114265628B (en) * 2021-12-22 2024-05-28 曙光信息产业股份有限公司 Operating system deployment method, device, electronic equipment, storage medium and system
WO2023125482A1 (en) * 2021-12-27 2023-07-06 华为技术有限公司 Cluster management method and device, and computing system
WO2024051292A1 (en) * 2022-09-09 2024-03-14 华为技术有限公司 Data processing system, memory mirroring method and apparatus, and computing device

Similar Documents

Publication Publication Date Title
US6810478B1 (en) System for remote booting of muntliple operating systems using chained bootstrap mechanism in a network
CN113282342A (en) Deployment method, device, system, electronic equipment and readable storage medium
US8407458B2 (en) Embedded device for implementing a boot process on a host
CN109558212B (en) Virtualization management method and system of physical equipment, physical equipment and medium
US20040193867A1 (en) Configurabel network boot management for hetergenous boot options
CN110908753B (en) Intelligent fusion cloud desktop server, client and system
CN111782339B (en) Container creation method and device, electronic equipment and storage medium
US6928538B2 (en) Method and system for delayed booting of a target device in a network environment
CN110955494B (en) Virtual machine disk image construction method, device, equipment and medium
US20120005321A1 (en) Router and remote boot method using the router
US7631054B2 (en) Method and system for generating list of operating systems for a target device
US8140683B2 (en) Method and system for selecting an operating system at user login on a target device
CN113741914A (en) Operating system installation mechanism
CN110489305B (en) Server management method and device
CN110099095B (en) Software deployment method and device, electronic equipment and computer-readable storage medium
JP2002288104A (en) Computer system, and method and program for its resource assigning
CN112486508B (en) Deployment method of operating system, server and computer storage medium
US20200364040A1 (en) System and Method for Restoring a Previously Functional Firmware Image on a Non-Volatile Dual Inline Memory Module
US9342316B1 (en) Installing digital signage device operating system from flash memory and registering signage device to a global network
CN114020344B (en) Bus resource reservation method, device, equipment and storage medium
US7287104B2 (en) Interface circuit for card-type memory, ASIC including interface circuit, and image forming apparatus including ASIC
US10572166B1 (en) Firmware download for a solid state storage card
CN113064655B (en) BIOS network starting method and device and computer readable storage medium
US20210141657A1 (en) Pausing deployment of a virtual machine prior to a machine name dependency
CN109656720B (en) Address space allocation method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20210820

RJ01 Rejection of invention patent application after publication