CN113495732A - Server deployment method, device, equipment and readable storage medium - Google Patents

Server deployment method, device, equipment and readable storage medium Download PDF

Info

Publication number
CN113495732A
CN113495732A CN202110687356.7A CN202110687356A CN113495732A CN 113495732 A CN113495732 A CN 113495732A CN 202110687356 A CN202110687356 A CN 202110687356A CN 113495732 A CN113495732 A CN 113495732A
Authority
CN
China
Prior art keywords
server
deployed
deployment
servers
information
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
CN202110687356.7A
Other languages
Chinese (zh)
Inventor
王者
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Potevio Co ltd
Original Assignee
China Potevio 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 China Potevio Co ltd filed Critical China Potevio Co ltd
Priority to CN202110687356.7A priority Critical patent/CN113495732A/en
Publication of CN113495732A publication Critical patent/CN113495732A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The application relates to a server deployment method, a device, equipment and a readable storage medium, relating to the technical field of servers and acquiring hardware information of a plurality of servers to be deployed; grouping the servers to be deployed based on hardware information to obtain a plurality of groups of server sets to be deployed; determining personalized configuration information of each group of server sets to be deployed based on a preset differential configuration strategy; and carrying out batch system deployment on each server to be deployed in the server set to be deployed according to the personalized configuration information. Therefore, the server to be deployed is automatically grouped by acquiring the hardware information of the server, and the grouped servers to be deployed are individually configured based on the preset differential configuration strategy, so that the server is deployed in batch and in differential mode, and the efficiency and accuracy of deployment are greatly improved.

Description

Server deployment method, device, equipment and readable storage medium
Technical Field
The present application relates to the field of server technologies, and in particular, to a server deployment method, apparatus, device, and readable storage medium.
Background
Cloud computing is a new generation information service mode which can access a virtual resource pool through a network to obtain computing resources (such as networks, servers, storage, applications, services and the like), and because the cloud computing can be quickly obtained and released only by investing less management work and consuming little manual intervention, and has the characteristics of convenience, use according to needs and the like at any time and any place, the urgent requirements of people on high-performance computing capacity or mass data storage space are effectively met, so that the cloud computing is quickly developed and becomes an important component of a strategic emerging industry. With the development of cloud computing, the deployment number of servers in a central machine room is increasingly huge, hundreds or even more servers of the same model need to be brought on line in batch at the same time, and the servers may need to be divided into a plurality of clusters to be deployed with different operating systems or different components or different hard disk partitioning schemes or different network groups.
In the related art, the deployment of the server is usually realized by using a PXE (Preboot eXecution Environment) batch deployment manner, but this method only solves the consistency problem at the time of batch deployment, but the differentiation under the batch deployment of the same batch of servers with the same model and the same configuration is difficult to realize according to the configuration files, the server models and the like, even if the configuration file is modified manually through the information such as the MAC Address (local area network Address) or the IP Address (Internet Protocol Address) to realize the differentiation under the batch deployment, it is also a very heavy, inefficient task, and is very prone to malfunctions when modifying large numbers of configuration files, once a configuration error which is not discovered in time occurs, it is also very difficult to find the server with the wrong configuration from a large number of the same servers.
Disclosure of Invention
The embodiment of the application provides a server deployment method, a server deployment device, a server deployment apparatus and a readable storage medium, so as to solve the problems of low deployment efficiency and poor accuracy caused by the fact that a PXE method in the related art cannot realize differentiated deployment of a server or realizes differentiated deployment of the server manually.
In a first aspect, a server deployment method is provided, which includes the following steps:
acquiring hardware information of a plurality of servers to be deployed;
grouping the servers to be deployed based on hardware information to obtain a plurality of groups of server sets to be deployed;
determining personalized configuration information of each group of server sets to be deployed based on a preset differential configuration strategy;
and carrying out batch system deployment on each server to be deployed in the server set to be deployed according to the personalized configuration information.
In some embodiments, the hardware information comprises CPU host frequency.
In some embodiments, the grouping the plurality of servers to be deployed based on the hardware information to obtain a plurality of sets of servers to be deployed includes:
and taking all the servers to be deployed with the same CPU main frequency as a group of server sets to be deployed, thereby obtaining a plurality of groups of server sets to be deployed.
In some embodiments, the determining the personalized configuration information of each group of the set of servers to be deployed based on a preset differentiated configuration policy includes:
the differential configuration strategy comprises a mapping relation between a CPU (central processing unit) dominant frequency and an operating system, and the operating system to be installed in each group of the server set to be deployed is determined based on the CPU dominant frequency;
and taking the configuration file information of the operating system to be installed, the boot image file information, the initialization configuration information, the driver, the pre-installed software package list and the installed task list as the personalized configuration information of each group of the server set to be deployed.
In some embodiments, the post-installation task list includes a system configuration program for modifying network parameters and system parameters of the server to be deployed based on the hardware information.
In some embodiments, after the modifying the network parameters and the system parameters of the server to be deployed based on the hardware information, the method further includes:
after the software in the pre-installed software package list is installed, sending a test script to the server to be deployed so that the server to be deployed can test the deployment correctness based on the test script and the auxiliary test software, wherein the pre-installed software package list comprises the auxiliary test software packages.
In a second aspect, a server deployment apparatus is provided, including:
the system comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring hardware information of a plurality of servers to be deployed;
the grouping unit is used for grouping the servers to be deployed based on the hardware information to obtain a plurality of groups of server sets to be deployed;
the deployment unit is used for determining personalized configuration information of each group of the server set to be deployed based on a preset differential configuration strategy; and carrying out batch system deployment on each server to be deployed in the server set to be deployed according to the personalized configuration information.
In some embodiments, the hardware information comprises CPU host frequency.
In a third aspect, a computer device is provided, comprising: the server deployment system comprises a memory and a processor, wherein at least one instruction is stored in the memory, and is loaded and executed by the processor to realize the server deployment method.
In a fourth aspect, there is provided a computer-readable storage medium characterized by: the computer storage medium stores computer instructions that, when executed by a computer, cause the computer to perform the aforementioned server deployment method.
The beneficial effect that technical scheme that this application provided brought includes: the server deployment method and the server deployment system not only realize the batch and differentiated deployment of the servers, but also improve the efficiency and accuracy of the deployment.
The embodiment of the application provides a server deployment method, a device, equipment and a readable storage medium, which are used for acquiring hardware information of a plurality of servers to be deployed; grouping the servers to be deployed based on hardware information to obtain a plurality of groups of server sets to be deployed; determining personalized configuration information of each group of server sets to be deployed based on a preset differential configuration strategy; and carrying out batch system deployment on each server to be deployed in the server set to be deployed according to the personalized configuration information. Therefore, according to the embodiment of the application, the automatic grouping of the servers to be deployed is completed by acquiring the hardware information of the servers, and the grouped servers to be deployed are configured individually based on the preset differential configuration strategy, so that the batch and differential deployment of the servers is realized, the deployment consistency of the same type of servers is ensured, and the deployment efficiency and the deployment accuracy are greatly improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flowchart of a server deployment method according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a specific server deployment according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of a server deployment apparatus according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, 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 some embodiments of the present application, but 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.
The embodiment of the application provides a server deployment method, a server deployment device, equipment and a readable storage medium, so as to solve the problems of low deployment efficiency and poor accuracy caused by the fact that a PXE method in the related technology cannot realize differentiated deployment of a server or realizes differentiated deployment of the server manually.
Fig. 1 is a schematic flowchart of a server deployment method provided in an embodiment of the present application, which includes the following steps:
s1: acquiring hardware information of a plurality of servers to be deployed;
s2: grouping the servers to be deployed based on hardware information to obtain a plurality of groups of server sets to be deployed;
s3: determining personalized configuration information of each group of server sets to be deployed based on a preset differential configuration strategy;
s4: and carrying out batch system deployment on each server to be deployed in the server set to be deployed according to the personalized configuration information.
Exemplarily, the PXE batch deployment method in the prior art can only obtain information such as a conventional server model, a component model, IP, MAC, etc., but cannot obtain information unique to a server local machine such as a server motherboard serial number, a CPU (central processing Unit) serial number, an FRU (Field replaceable Unit) component model, etc., whereas the embodiment of the present application enables a centralized deployment server (the centralized deployment server integrates a DHCP (Dynamic Host Configuration Protocol), a Boot (bootstrap) service, a TFTP (simple File Transfer Protocol, HTTP (Hypertext Transfer Protocol)) and grouping the servers to be deployed according to hardware information unique to the server local machine by obtaining hardware information unique to the server local machine such as the server motherboard serial number, the CPU master frequency, the FRU component model, etc., thereby obtaining a plurality of groups of server sets to be deployed;
such as: taking all the servers to be deployed with the same CPU master frequency as a set of servers to be deployed to obtain a plurality of sets of servers to be deployed; specifically, the CPU main frequency is used as a preset grouping rule; taking all the servers to be deployed with the CPU master frequency of 3.0 as a first group of server sets to be deployed; taking all the servers to be deployed with the CPU master frequency of 2.8 as a second group of server sets to be deployed; and taking all the servers to be deployed with the CPU main frequency of 2.6 as a third group of server sets to be deployed. In addition, grouping can also be performed manually, and grouping information is sent to the centralized deployment server, for example: assuming that n servers are required to be grouped and deployed in batches, detailed configuration of the n servers is provided for a system administrator before being put on shelf, the system administrator simply plans the servers on a centralized deployment server according to actual requirements, and only needs to simply divide all the servers to be deployed into m groups (m is more than 1 and less than or equal to n, wherein m and n are positive integers), the planning information can comprise IP, MAC, switch routing and interface tables, server configuration information, serial numbers, part models, serial numbers and other contents of each group of servers, the installation position does not need to be concerned when the servers are put on shelf for installation, the system administrator makes grouping information according to the information of each server, the centralized configuration server can automatically summarize common points of the servers in the same group according to the collected detailed information of the servers to be deployed, and dynamically generates grouping information or independent configuration information files corresponding to each server to be deployed according to the common point information, and simultaneously adding server grouping information and the exclusive identification code of each server to be deployed in an automatic configuration program in the task after installation.
The differentiated configuration policy includes, but is not limited to, a mapping relationship between a CPU dominant frequency and an operating system, a mapping relationship between a CPU serial number and an operating system, and a mapping relationship between a server motherboard serial number and an operating system, such as: the centralized deployment server can determine the operating system to be installed in each group of servers to be deployed based on the CPU dominant frequency; then, taking configuration file information, boot image file information, initialization configuration information, a driver, a pre-installed software package list and an installed task list of the operating system to be installed as personalized configuration information of each group of the server set to be deployed; that is, the centralized deployment server sends the personalized configuration information to the servers to be deployed, so that each server to be deployed in the server set to be deployed performs system deployment and guidance according to the personalized configuration information, and thus differentiated batch system deployment is realized.
Therefore, according to the embodiment of the application, the automatic grouping of the servers to be deployed is completed by acquiring the hardware information of the servers, and the grouped servers to be deployed are configured individually based on the preset differential configuration strategy, so that the batch and differential deployment of the servers is realized, the deployment consistency of the same type of servers is ensured, and the deployment efficiency and the deployment accuracy are greatly improved.
Further, in an embodiment of the present application, the post-installation task list includes a system configuration program, and the system configuration program is configured to modify network parameters and system parameters of the server to be deployed based on the hardware information. After the system is installed, the server to be deployed automatically executes a system configuration program contained in the task list after installation, the program can be automatically configured into planned network parameters and system parameters according to local characteristic information such as local model, serial number and the like, and the test network can be automatically added after deployment is completed, so that the information such as IP, host name, account number, password and the like does not need to be manually modified one by one.
Further, in this embodiment of the present application, after the modifying the network parameter and the system parameter of the server to be deployed based on the hardware information, the method further includes:
after the software in the pre-installed software package list is installed, sending a test script to the server to be deployed so that the server to be deployed can test the deployment correctness based on the test script and the auxiliary test software, wherein the pre-installed software package list comprises the auxiliary test software packages. In practical application, the centralized deployment server obtains Basic information of a powered-up server through a DHCP service, performs firmware communication with a BMC (Baseboard Management Controller) and a BIOS (Basic Input Output System), automatically synchronizes BIOS parameters corresponding to the server to a main BIOS thereof, configures the BIOS parameters to a PXE start mode, automatically controls the powered-up of the server to be deployed after checking that a power supply is normal, actively sends detailed server information to the centralized deployment server after the server to be deployed acquires a predetermined IP address and a predetermined central deployment server address through a network card, and automatically groups the server according to the information, and automatically sends a pre-installed software package list, a bootstrap image file, an initialization configuration, a driver and other files to the server to be deployed according to a standard PXE boot process, And after the configuration server checks the correctness, loading the received mirror image and the configuration file to execute the installation process of the operating system. After the system is installed, a server to be deployed automatically executes a system configuration program contained in a task list after installation, the program can be automatically configured into planned network parameters and system parameters according to local characteristic information such as local model, serial number and the like, and the test network can be automatically added after deployment is completed, so that information such as IP, host name, account number, password and the like does not need to be manually modified one by one. After the configuration is completed, other tasks contained in the task list after installation can be automatically and sequentially executed, wherein the tasks comprise tasks of installing various specified test programs, auxiliary programs and software dependency packages, executing the test programs, generating test reports and uploading the test reports to a specified server.
Therefore, on the basis of a conventional PXE batch deployment mode, the embodiment of the application can acquire more local detailed information of the server to be deployed before the standard PXE is guided through the communication with firmware of BMC and BIOS, namely besides the conventional server model, part model, IP, MAC and other information, local unique information such as a server mainboard serial number, a CPU serial number, an FRU part model, a serial number and the like which cannot be acquired by the existing system can be submitted to the centralized deployment server, so that the centralized deployment server can identify and classify and control the centralized deployment server; then the centralized deployment server responds to a request sent by a network card of a server to be deployed, groups of servers deployed in batches are automatically determined, different groups are given different execution strategies, deployment consistency of the same group can be guaranteed, a system deployed in batches is guaranteed to have preset host information including IP (Internet protocol), host names, account numbers, passwords and the like, differentiation of the deployment in batches can be achieved, and efficiency of batch deployment and verification test of the servers is greatly improved by the aid of the groups; the issued automatic test script can also configure the servers to be deployed according to different strategies according to the server and the component information, so that the batch deployment can be realized, the efficiency is improved, the consistency is ensured, and the requirements of the deployment and the classification test of the same batch of servers according to planning groups can be met.
Therefore, the embodiment of the application enhances the network card function in the standard PXE boot process, and increases the identification process of the servers to be deployed and the component information, so that the control precision of the centralized deployment server reaches each server to be deployed. The server on-line in batches is automatically deployed and tested, the time can be shortened in multiples, the server can be completed by shortening several weeks from the past to several days or even several hours, the on-line deployment and the testing efficiency of the server system are greatly improved, meanwhile, the deployment consistency and the testing process of the same type of server can be strictly guaranteed to be completely the same, the system on-line time is accelerated, the energy consumption of invalid time is saved, the stability of the system can be improved, and the economic benefit is increased.
Referring to fig. 2, the specific process steps of the server deployment method include:
n1: the servers to be deployed send DHCP requests to the DHCP service, and the step N2 is carried out;
n2: the DHCP service returns a DHCP response to each server to be deployed, and the step N3 is carried out;
n3: each server to be deployed sends an acquired Boot service address to the DHCP service, and the step is transferred to the step N4;
n4: the DHCP service returns Boot service addresses to all the servers to be deployed, and the step is transferred to the step N5;
n5: each server to be deployed sends unique hardware information including a server mainboard serial number, a CPU main frequency, an FRU component model and the like, and conventional information such as an MAC address, an IP address, component information and the like to the Boot service, and the step is switched to step N6;
n6: the Boot service groups the servers to be deployed according to unique hardware information and conventional information of the servers to be deployed, determines personalized configuration information of each group of server sets to be deployed based on a preset differential configuration strategy, returns corresponding Boot images and configuration file addresses to the servers to be deployed, and goes to step N7;
n7: each server to be deployed sends a request for acquiring the starting image and the configuration file to the TFTP service according to the received starting image and the received configuration file address, and the step is switched to step N8;
n8: the TFTP service returns corresponding starting mirror images and configuration files to each server to be deployed, and the step is switched to the step N9;
n9: each server to be deployed sends corresponding system deployment configuration information, namely personalized configuration information including configuration file information, boot image file information, initialization configuration information, a driver, a pre-installed software package list, an installed task list and the like of an operating system to be installed to the HTTP service according to the received boot image and the configuration file, and the step 10 is carried out;
n10: the HTTP service returns corresponding system deployment configuration information to each server to be deployed, and the step is switched to step N11;
n11: each server to be deployed deploys the system and guides the system according to the received system deployment configuration information, and after the deployment and the guidance of the system are completed, the step is switched to step N12;
n12: each server to be deployed executes the system deployed script, sends the local information and the pre-installed software package list information, the installed task list information request predetermined software and the test script to the HTTP service, and goes to step N13;
n13: the HTTP service returns corresponding preset software and test scripts to each server to be deployed, and the step is switched to step N14;
n14: and each server to be deployed receives the preset software and the test script, performs software installation and program test, and sends the test result and the local information to the HTTP service to complete the deployment and performance test of the server to be deployed.
It can be seen that, in the embodiment of the present application, an extension is made in step N5, in addition to the step of sending the information such as the conventional MAC and IP, the information of the model and serial number of the sending server, the model and serial number of the motherboard, the model and serial number of the CPU, and the information of other FRU components are also added, so that the centralized deployment server can obtain more detailed information of the servers to be deployed, and in step 6, in addition to the response to the information such as the conventional MAC and IP, the response to the information of the sending server model and serial number of the server to be deployed, the model and serial number of the motherboard, the model and serial number of the CPU, and the information of other FRU components are also correspondingly added, thereby realizing differentiated responses of different requests, and achieving organic combination of fine control and batch control. For a server to be deployed, the network card increases the transmission capability of local information, for a centralized deployment server, differentiated response capability is increased in a Boot service function, refined control is realized through issuing of a difference strategy, the problem that the server is difficult to quickly and effectively identify only by information such as the MAC (media access control) address and the IP (Internet protocol) address of the network card is solved through the expansion of the step N5 and the step N6, and grouping deployment and testing can be completed without concerning the physical position of nodes in a grouping manner; when the physical position of the specified server to be deployed needs to be located, the only server to be deployed can be identified by issuing a UID (User Identification) control instruction by the centralized deployment server. In the deployment process, the automatic batch differential deployment of the servers can be realized by acquiring the local information and the differential deployment configuration strategy of the servers to be deployed for the servers, so that the batch differential deployment efficiency of the servers is greatly improved, and the deployment consistency of the servers of the same type can be ensured. And after the system deployment is finished, the to-be-deployed server can automatically restart and automatically load a newly deployed operating system, and can automatically execute the task after installation as required, wherein the system configuration program in the task list after installation can acquire the specified test configuration according to the local information, automatically finish the modification of network parameters and system parameters, automatically join in the test network, finish the uploading of the local information and the installation of test program scripts, auxiliary test software packages, dependent software packages and the like, automatically finish the test program, can inform the centralized deployment service system of finishing the progress at any time, and can automatically upload the test result to the specified server after the test is finished.
Referring to fig. 3, an embodiment of the present application further provides a server deployment apparatus, including:
the system comprises an acquisition unit, a deployment unit and a deployment unit, wherein the acquisition unit is used for acquiring hardware information of a plurality of servers to be deployed, and the hardware information comprises unique hardware information of a server local machine, such as a server mainboard serial number, a CPU main frequency, an FRU component model and the like;
the grouping unit is used for grouping the servers to be deployed based on the hardware information to obtain a plurality of groups of server sets to be deployed;
wherein, the grouping unit is specifically configured to: taking all the servers to be deployed with the same CPU master frequency as a set of servers to be deployed, thereby obtaining a plurality of sets of servers to be deployed;
the deployment unit is used for determining personalized configuration information of each group of the server set to be deployed based on a preset differential configuration strategy; and carrying out batch system deployment on each server to be deployed in the server set to be deployed according to the personalized configuration information.
The differential configuration strategy comprises a mapping relation between CPU (central processing unit) dominant frequencies and operating systems, and the operating systems to be installed in each group of the server set to be deployed are determined based on the CPU dominant frequencies; the deployment unit is specifically configured to: and taking the configuration file information of the operating system to be installed, the boot image file information, the initialization configuration information, the driver, the pre-installed software package list and the installed task list as the personalized configuration information of each group of the server set to be deployed.
Further, in an embodiment of the present application, the post-installation task list includes a system configuration program, and the system configuration program is configured to modify network parameters and system parameters of the server to be deployed based on the hardware information.
Further, in an embodiment of the present application, the deployment unit is further configured to: after the software in the pre-installed software package list is installed, sending a test script to the server to be deployed so that the server to be deployed can test the deployment correctness based on the test script and the auxiliary test software, wherein the pre-installed software package list comprises the auxiliary test software packages.
Therefore, according to the embodiment of the application, the automatic grouping of the servers to be deployed is completed by acquiring the hardware information of the servers, and the grouped servers to be deployed are configured individually based on the preset differential configuration strategy, so that the batch and differential deployment of the servers is realized, the deployment consistency of the same type of servers is ensured, and the deployment efficiency and the deployment accuracy are greatly improved.
It should be noted that, as is clear to those skilled in the art, for convenience and brevity of description, the specific working processes of the apparatus and each unit described above may refer to corresponding processes in the foregoing embodiment of the server deployment method, and are not described herein again.
The apparatus provided by the above embodiments may be implemented in the form of a computer program, which can be run on a computer device as shown in fig. 4.
An embodiment of the present application further provides a computer device, including: the server deployment method comprises a memory, a processor and a network interface which are connected through a system bus, wherein at least one instruction is stored in the memory, and the at least one instruction is loaded and executed by the processor so as to realize all or part of the steps of the server deployment method.
The network interface is used for performing network communication, such as sending distributed tasks. Those skilled in the art will appreciate that the architecture shown in fig. 4 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
The Processor may be a CPU, other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable Gate Array (FPGA) or other programmable logic device, discrete Gate or transistor logic device, discrete hardware components, etc. The general purpose processor may be a microprocessor or the processor may be any conventional processor or the like, the processor being the control center of the computer device and the various interfaces and lines connecting the various parts of the overall computer device.
The memory may be used to store computer programs and/or modules, and the processor may implement various functions of the computer device by executing or executing the computer programs and/or modules stored in the memory, as well as by invoking data stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a video playing function, an image playing function, etc.), and the like; the storage data area may store data (such as video data, image data, etc.) created according to the use of the cellular phone, etc. In addition, the memory may include high speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.
Embodiments of the present application also provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements all or part of the steps of the foregoing server deployment method.
The embodiments of the present application may implement all or part of the foregoing processes, or may be implemented by a computer program to instruct related hardware, where the computer program may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the computer program may implement the steps of the foregoing methods. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer readable medium may include: any entity or device, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer memory, Read-Only memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunication signals, software distribution medium, etc., capable of carrying computer program code. It should be noted that the computer readable medium may contain other components which may be suitably increased or decreased as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, in accordance with legislation and patent practice, the computer readable medium does not include electrical carrier signals and telecommunications signals.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, server, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is merely exemplary of the present application and is presented to enable those skilled in the art to understand and practice the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A server deployment method is characterized by comprising the following steps:
acquiring hardware information of a plurality of servers to be deployed;
grouping the servers to be deployed based on hardware information to obtain a plurality of groups of server sets to be deployed;
determining personalized configuration information of each group of server sets to be deployed based on a preset differential configuration strategy;
and carrying out batch system deployment on each server to be deployed in the server set to be deployed according to the personalized configuration information.
2. The server deployment method of claim 1, wherein: the hardware information comprises CPU main frequency.
3. The server deployment method of claim 2, wherein the grouping the plurality of servers to be deployed based on the hardware information to obtain a plurality of sets of servers to be deployed comprises:
and taking all the servers to be deployed with the same CPU main frequency as a group of server sets to be deployed, thereby obtaining a plurality of groups of server sets to be deployed.
4. The server deployment method according to claim 3, wherein the determining personalized configuration information of each group of the set of servers to be deployed based on a preset differentiated configuration policy includes:
the differential configuration strategy comprises a mapping relation between a CPU (central processing unit) dominant frequency and an operating system, and the operating system to be installed in each group of the server set to be deployed is determined based on the CPU dominant frequency;
and taking the configuration file information of the operating system to be installed, the boot image file information, the initialization configuration information, the driver, the pre-installed software package list and the installed task list as the personalized configuration information of each group of the server set to be deployed.
5. The server deployment method of claim 4, wherein: the post-installation task list includes a system configuration program for modifying network parameters and system parameters of the server to be deployed based on the hardware information.
6. The server deployment method according to claim 5, wherein after the modifying the network parameters and the system parameters of the server to be deployed based on the hardware information, the method further comprises:
after the software in the pre-installed software package list is installed, sending a test script to the server to be deployed so that the server to be deployed can test the deployment correctness based on the test script and the auxiliary test software, wherein the pre-installed software package list comprises the auxiliary test software packages.
7. A server deployment apparatus, comprising:
the system comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring hardware information of a plurality of servers to be deployed;
the grouping unit is used for grouping the servers to be deployed based on the hardware information to obtain a plurality of groups of server sets to be deployed;
the deployment unit is used for determining personalized configuration information of each group of the server set to be deployed based on a preset differential configuration strategy; and carrying out batch system deployment on each server to be deployed in the server set to be deployed according to the personalized configuration information.
8. A server deployment apparatus as claimed in claim 7, wherein: the hardware information comprises CPU main frequency.
9. A computer device, comprising: a memory and a processor, the memory having stored therein at least one instruction that is loaded and executed by the processor to implement the server deployment method of any of claims 1-6.
10. A computer-readable storage medium characterized by: the computer storage medium stores computer instructions that, when executed by a computer, cause the computer to perform the server deployment method of any of claims 1 to 6.
CN202110687356.7A 2021-06-21 2021-06-21 Server deployment method, device, equipment and readable storage medium Pending CN113495732A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110687356.7A CN113495732A (en) 2021-06-21 2021-06-21 Server deployment method, device, equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110687356.7A CN113495732A (en) 2021-06-21 2021-06-21 Server deployment method, device, equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN113495732A true CN113495732A (en) 2021-10-12

Family

ID=77998079

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110687356.7A Pending CN113495732A (en) 2021-06-21 2021-06-21 Server deployment method, device, equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN113495732A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113949629A (en) * 2021-10-15 2022-01-18 深圳忆联信息系统有限公司 Server substrate management controller initialization method and device and computer equipment
CN114168177A (en) * 2022-02-10 2022-03-11 浙江大学 Personalized task processing method and device supporting mass mobile devices
CN114356425A (en) * 2021-12-22 2022-04-15 绿盟科技集团股份有限公司 Server cluster deployment method, control server and working server
CN115134225A (en) * 2022-06-29 2022-09-30 济南浪潮数据技术有限公司 Automatic configuration method and device of server and computer readable storage medium
CN115396303A (en) * 2022-08-25 2022-11-25 苏州浪潮智能科技有限公司 Server building method, device, equipment and medium
CN114282504B (en) * 2021-11-20 2023-11-07 苏州浪潮智能科技有限公司 Server development method, device, computer equipment and storage medium
CN117892924A (en) * 2024-03-12 2024-04-16 天津理工大学 Deployment planning method and device for machine room equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104767649A (en) * 2015-04-30 2015-07-08 杭州华三通信技术有限公司 Bare metal server deployment method and device
CN105187245A (en) * 2015-08-25 2015-12-23 浪潮(北京)电子信息产业有限公司 Batch deployment system and method of server virtualization platform operating system
JP2017107283A (en) * 2015-12-07 2017-06-15 富士通株式会社 Initialization method, deployment server, deployment program, and initialization program
US20170171021A1 (en) * 2015-12-09 2017-06-15 Lenovo Enterprise Solutions (Singapore) Pte. Ltd. Automatic deployment of a new server in a peer-to-peer network of servers
CN109298868A (en) * 2018-08-22 2019-02-01 华东计算技术研究所(中国电子科技集团公司第三十二研究所) Intelligent dynamic deployment and unloading method for mapping image data processing software
CN112230942A (en) * 2020-09-28 2021-01-15 烽火通信科技股份有限公司 Automatic deployment method and system supporting various domestic operating systems
CN112527398A (en) * 2020-12-14 2021-03-19 北京嘀嘀无限科技发展有限公司 Personalized installation method and system of operating system
CN112564989A (en) * 2021-02-23 2021-03-26 鲁班(北京)电子商务科技有限公司 Application deployment method and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104767649A (en) * 2015-04-30 2015-07-08 杭州华三通信技术有限公司 Bare metal server deployment method and device
CN105187245A (en) * 2015-08-25 2015-12-23 浪潮(北京)电子信息产业有限公司 Batch deployment system and method of server virtualization platform operating system
JP2017107283A (en) * 2015-12-07 2017-06-15 富士通株式会社 Initialization method, deployment server, deployment program, and initialization program
US20170171021A1 (en) * 2015-12-09 2017-06-15 Lenovo Enterprise Solutions (Singapore) Pte. Ltd. Automatic deployment of a new server in a peer-to-peer network of servers
CN109298868A (en) * 2018-08-22 2019-02-01 华东计算技术研究所(中国电子科技集团公司第三十二研究所) Intelligent dynamic deployment and unloading method for mapping image data processing software
CN112230942A (en) * 2020-09-28 2021-01-15 烽火通信科技股份有限公司 Automatic deployment method and system supporting various domestic operating systems
CN112527398A (en) * 2020-12-14 2021-03-19 北京嘀嘀无限科技发展有限公司 Personalized installation method and system of operating system
CN112564989A (en) * 2021-02-23 2021-03-26 鲁班(北京)电子商务科技有限公司 Application deployment method and device

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
ROUA TOUIHRI 等: "SDN-Based Batch Flow Routing in CamCube Server-Only Data Center Networks", 《ICC 2020 - 2020 IEEE INTERNATIONAL CONFERENCE ON COMMUNICATIONS (ICC)》, pages 1 - 6 *
张超: "VMware虚拟化服务器的构建方法与展望", 《通信技术》, vol. 43, no. 9, pages 88 - 91 *
袁金艳: "多虚拟机快速部署机制的研究", 《中国优秀硕士学位论文全文数据库 信息科技辑》, pages 138 - 48 *

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113949629A (en) * 2021-10-15 2022-01-18 深圳忆联信息系统有限公司 Server substrate management controller initialization method and device and computer equipment
CN114282504B (en) * 2021-11-20 2023-11-07 苏州浪潮智能科技有限公司 Server development method, device, computer equipment and storage medium
CN114356425A (en) * 2021-12-22 2022-04-15 绿盟科技集团股份有限公司 Server cluster deployment method, control server and working server
CN114168177A (en) * 2022-02-10 2022-03-11 浙江大学 Personalized task processing method and device supporting mass mobile devices
CN114168177B (en) * 2022-02-10 2022-07-19 浙江大学 Personalized task processing method and device supporting mass mobile devices
CN115134225A (en) * 2022-06-29 2022-09-30 济南浪潮数据技术有限公司 Automatic configuration method and device of server and computer readable storage medium
CN115396303A (en) * 2022-08-25 2022-11-25 苏州浪潮智能科技有限公司 Server building method, device, equipment and medium
CN115396303B (en) * 2022-08-25 2023-07-25 苏州浪潮智能科技有限公司 Method, device, equipment and medium for constructing server
CN117892924A (en) * 2024-03-12 2024-04-16 天津理工大学 Deployment planning method and device for machine room equipment

Similar Documents

Publication Publication Date Title
CN113495732A (en) Server deployment method, device, equipment and readable storage medium
CN108549580B (en) Method for automatically deploying Kubernets slave nodes and terminal equipment
US11704144B2 (en) Creating virtual machine groups based on request
JP6549787B2 (en) Method and apparatus for deploying network services
CN107534571B (en) Method, system and computer readable medium for managing virtual network functions
US9590872B1 (en) Automated cloud IT services delivery solution model
WO2016184045A1 (en) Method and apparatus for network service capacity expansion
US10686755B2 (en) Assigning IP addresses and configuration parameters in hyper-converged infrastructure
WO2017054573A1 (en) Configuration method and device
CN108089913B (en) Virtual machine deployment method of super-fusion system
CN104572372A (en) System and method for building server performance testing environment
CN111026500B (en) Cloud computing simulation platform, and creation method, device and storage medium thereof
CN108319492B (en) Method, device and system for resetting physical machine
CN112600723A (en) Network card testing method based on virtualization scene
CN109120680B (en) Control system, method and related equipment
JP2023546907A (en) System and method for automatic clustering of clusterable services
CN114365461B (en) System and method for providing traffic generation on a network device
CN116560803B (en) Resource management method and related device based on SR-IOV
CN110163554B (en) Workflow operation method, device, server and storage medium
WO2020252921A1 (en) Multi-active load balancing application expansion method, application, device, and storage medium
CN115150268A (en) Network configuration method and device of Kubernetes cluster and electronic equipment
CN111061503B (en) Cluster system configuration method and cluster system
WO2017206092A1 (en) Life cycle management method and management unit
CN113687908A (en) PMEM virtual machine creation method, device, equipment and readable storage medium
CN117172206B (en) Test case generation method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination