CN114625591A - Method and device for initializing server test environment in distributed batch mode - Google Patents

Method and device for initializing server test environment in distributed batch mode Download PDF

Info

Publication number
CN114625591A
CN114625591A CN202210332051.9A CN202210332051A CN114625591A CN 114625591 A CN114625591 A CN 114625591A CN 202210332051 A CN202210332051 A CN 202210332051A CN 114625591 A CN114625591 A CN 114625591A
Authority
CN
China
Prior art keywords
micro
tool
service
installation
tested
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
CN202210332051.9A
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.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology 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 Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202210332051.9A priority Critical patent/CN114625591A/en
Publication of CN114625591A publication Critical patent/CN114625591A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2289Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing by configuration test
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention relates to a method and a device for initializing a server test environment in a distributed batch mode. The method comprises the steps that a server test environment automatic initialization platform comprising OS micro-services, tool-driven micro-services, OS automatic installation micro-services and tool-driven automatic installation micro-services is built on the basis of a distributed micro-service framework; the OS micro service and the OS automatic installation micro service utilize a PXE technology and a configuration file to install the OS for the batch of the to-be-tested machines and control the to-be-tested machines to be started through the OS; after the machine to be tested is started through the OS, tool driving automatic installation micro-service is matched with tool driving micro-service, tools, drivers and corresponding installation scripts are matched according to components of the machine to be tested and installed OS versions, the matched tools, drivers and corresponding installation scripts are transmitted to the machine to be tested, and the tool driving automatic installation micro-service controls the machine to be tested to execute installation script installation tools and drivers. The low coupling and high cohesion among the services ensure the stability of the automatic initialization platform of the server test environment and improve the test efficiency.

Description

Method and device for initializing server test environment in distributed batch mode
Technical Field
The invention relates to the technical field of server test environment configuration, in particular to a method and a device for initializing server test environments in a distributed mode in batch mode.
Background
With the continuous development of information technology, the functions and application scenarios of servers are increasing, and before a server leaves a factory, various tests need to be performed on the server to verify the functions of the server.
At present, before testing a server, a test environment, including installing an operating system, a driver, a test tool, and the like, needs to be configured in the server. The configuration of the test environment is complicated and single. The adoption of manual processing needs extremely much time consumption, and when the operations are manually processed, subjective errors can be brought by slight negligence to cause the difference between the initialized test environment and the standard environment, so that the test result of the server is unreliable, and the manual configuration efficiency is low, so that the labor cost is increased. The efficiency and quality of server testing are seriously affected.
Disclosure of Invention
To solve the above technical problem or at least partially solve the above technical problem, the present invention provides a method and an apparatus for batch initializing a server test environment in a distributed manner.
In a first aspect, the present invention provides a method for initializing a server test environment in a distributed batch manner, including: building a server test environment automatic initialization platform comprising OS micro-services, tool-driven micro-services, OS automatic installation micro-services and tool-driven automatic installation micro-services based on a distributed micro-service framework; wherein,
providing the MAC address of the network card of the machine to be tested and the version of the OS to be installed to the OS automatic installation micro-service, generating a unique start file by the OS automatic installation micro-service according to the MAC address and the version of the OS, and sending the start file to the PXE;
starting a to-be-tested machine from the PXE, inquiring by the PXE to obtain a starting file of the to-be-tested machine, transmitting the starting file to the to-be-tested machine, downloading an OS (operating system) mirror image and a configuration file from an OS (operating system) micro-service by the to-be-tested machine under the guidance of the starting file, installing the OS mirror image by using the configuration file, and starting the to-be-tested machine through the OS;
the tool drive automatic installation micro-service acquires the IP of the to-be-tested machine after the OS is started, the IP is used for connecting the to-be-tested machine, the part information and the OS version of the to-be-tested machine are acquired and transmitted to the tool drive micro-service, the tool drive micro-service matches the tool, the driver and the corresponding installation script matched with the part and the OS version of the to-be-tested machine by using the part information and the OS version, the matched tool, the driver and the corresponding installation script are transmitted to the to-be-tested machine, and the tool drive automatic installation micro-service controls the to-be-tested machine to execute the installation script installation tool and the driver.
Further, the OS micro-service provides a source warehouse, the source warehouse stores the OS image and the configuration file, the execution starting file is connected to the source warehouse, the target OS image and the configuration file of the target image specified in the starting file are downloaded from the source warehouse, and the configuration file records configuration parameters needing to be added in the installation process of the OS image.
Furthermore, the tool driver micro service stores all tools, drivers and corresponding installation scripts required by the initialization of the maintenance test environment, records versions of the tools and the drivers and parts and OS versions adapted to the tools and the drivers of all versions, wherein the installation scripts of the tools and the drivers comprise installation script instructions adapted to all OS versions, and the installation scripts select corresponding installation instructions to be executed according to the OS versions of the to-be-tested machine when being executed;
the tool-driven microservice provides tool-driven and installation script query indexing and transmission services.
Furthermore, the tool drive automatic installation micro-service utilizes the IP of the machine to be tested and the preset standby test user name and password to connect the machine to be tested through SSH, and automatically controls the machine to be tested and the tool drive micro-service to establish SFTP connection and execute the installation script through SSH in cooperation with an interactive expect tool; the tool drive automatic installation micro-service acquires the part information and the OS version of the machine to be tested and sends the part information and the OS version to the tool drive micro-service to match the tool, the drive and the installation script required by the machine to be tested, and the tool drive micro-service transmits the matched tool, drive and installation script to the machine to be tested through SFTP.
Furthermore, the tool drive automatic installation micro service counts and summarizes the initialization test environment of the machine to be tested after the tool drive is installed, compares the initialization test environment with the test environment standard preset in the tool drive automatic installation micro service machine to be tested, and determines whether the initialization test environment of the machine to be tested meets the test environment standard.
Further, the tool driver installation microserver logs the dut initialization test environment into the dut database.
Furthermore, the OS automatic installation micro-service configures the starting mode of the machine to be tested to be permanent hard disk starting and restarting the machine to be tested through the IPMI out-of-band instruction, and configures the starting mode of the machine to be tested to be single starting from the PXE, restarting the machine to be tested again and starting the machine to be tested from the PXE.
Furthermore, the starting file is named by the MAC address of the network card of the to-be-tested machine, and the PXE inquires the starting file of the to-be-tested machine according to the MAC address of the network card of the to-be-tested machine.
In a second aspect, the present invention provides an apparatus for initializing a server test environment in a distributed batch, and a method for implementing the server test environment in a distributed batch initialization, including: the system comprises a server cluster, wherein the server cluster builds a server test environment automatic initialization platform comprising OS micro-services, tool-driven micro-services, OS automatic installation micro-services and tool-driven automatic installation micro-services based on a distributed micro-service framework.
Furthermore, the server cluster implements a database of the dut, and the database of the dut stores information of an initialization test environment of the dut.
Compared with the prior art, the technical scheme provided by the embodiment of the invention has the following advantages:
the method comprises the steps that a distributed micro-service framework is used for building a server test environment automatic initialization platform based on the distributed micro-service framework, wherein the server test environment automatic initialization platform comprises OS micro-service, tool-driven micro-service, OS automatic installation micro-service and tool-driven automatic installation micro-service; the service is modularized, the low coupling and high cohesion among the services are realized, the services are relatively independent and have sustainable integration and expansibility, the redeployment of the whole server test environment automatic initialization platform caused by the modification of one service can be avoided, and the stability of the server test environment automatic initialization platform is ensured. The invention realizes the maintenance management of the OS image configuration file, the maintenance management of the tool drive, the automatic installation of the OS image and the automatic installation of the tool drive through the OS micro service, the tool drive micro service, the automatic installation of the OS image and the automatic installation of the tool drive, can replace the manual configuration mode, automatically realizes the standardized configuration of the test environment of the machine to be tested, shortens the configuration time and improves the test efficiency.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
In order to more clearly illustrate the embodiments or technical solutions in the prior art of the present invention, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art to obtain other drawings without inventive labor.
Fig. 1 is a flowchart illustrating a method for initializing a server test environment in batch in a distributed manner according to an embodiment of the present invention, where OS micro-services and OS auto-install micro-services are used to implement OS installation of a device under test;
fig. 2 is a flow chart illustrating implementation of tool driver installation by using a tool driver microserver and a tool driver automatic installation microserver in the method for initializing a server test environment in batch according to the embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, are within the scope of the present invention.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
Example 1
Referring to fig. 1, an embodiment of the present invention provides a method for initializing a server test environment in a distributed batch, including: building a server test environment automatic initialization platform comprising OS micro-services, tool-driven micro-services, OS automatic installation micro-services and tool-driven automatic installation micro-services based on a distributed micro-service framework; specifically, a server test environment automatic initialization platform comprising OS micro-services, tool-driven micro-services, OS automatic installation micro-services and tool-driven automatic installation micro-services is built by utilizing a Spring, Spring boot and MyBatis framework.
The OS micro-service is responsible for maintaining OS images and configuration files of all versions of OSs of the to-be-tested machine, the OS micro-service provides a source warehouse, the source warehouse stores the OS images and the configuration files, and the to-be-tested server can obtain the OS images and the configuration files from the source warehouse for installation. The configuration file records configuration parameters required to be added in the installation process of the OS image, the KS configuration file is adopted by one feasible configuration file, the configuration parameters required in the installation process of the OS image are automatically configured by the KS configuration file, and the configuration parameters comprise: creating partition parameters, setting verification options, guiding installation of a program installation mode, configuring a network and a firewall.
The tool driving micro service stores all tools, drivers and corresponding installation scripts required for maintaining the initialization of the test environment, and records the versions of the tools and the drivers and the parts and OS versions adapted to the tools and the drivers of all versions; the tool-driven microservice provides tool, driver and installation script query indexing and transport services. And the tool driving micro service inquires the adapted tool and driver according to the part information and the OS version information so as to obtain the corresponding installation script of the tool and the driver, and the tool driving micro service can transmit the tool, the driver and the installation script to the machine to be tested through SFTP. The installation scripts of the tool and the driver comprise installation script instructions adapted to all OS versions, and when the installation scripts are executed, corresponding installation instructions are selected to be executed according to the OS versions of the machine to be tested.
The tool driving automatic installation micro-service is connected with the machine to be tested through the SSH by using the IP of the machine to be tested and a preset standby testing user name and password, and automatically controls the machine to be tested to establish SFTP connection and execute an installation script between the machine to be tested and the tool driving micro-service through the SSH in cooperation with an interactive expect tool. And the tool drive automatic installation micro-service counts and summarizes the initialization test environment of the to-be-tested machine after the tool drive is installed, compares the initialization test environment with the test environment standard preset in the tool drive automatic installation micro-service to-be-tested machine, and determines whether the initialization test environment of the to-be-tested machine meets the test environment standard or not. And recording the initialized test environment of the to-be-tested machine into a database of the to-be-tested machine by the tool drive installation micro service.
And the OS automatic installation micro service generates a starting file of the to-be-tested machine according to the network card MAC address of the to-be-tested machine and the version of the to-be-tested machine, and sends the starting file to the PXE. And the machine to be tested started from the PXE executes the starting file, downloads the OS image and the configuration file from the OS micro service and installs the OS image. A preferred OS automatic installation micro-service is capable of simultaneously guiding a plurality of testers to perform OS image installation by adopting an asynchronous multithreading technology.
Referring to fig. 1, the process of initializing the test environment for the to-be-tested device in batch by using the server test environment automatic initialization platform includes implementing OS installation of the to-be-tested device by using OS micro-services and OS automatic installation micro-services, and the OS installation process includes:
and S1, providing the MAC address of the network card of the machine to be tested and the version of the OS to be installed to the OS for automatically installing the micro-service.
S2, the OS automatic installation micro service generates a unique starting file according to the MAC address and the OS version, and sends the starting file to the PXE. Specifically, the generated boot file is named by the MAC address of the network card of the device under test. The OS automatic installation micro service acquires the OS image corresponding to the OS version and the link address of the configuration file in the source warehouse from the OS micro service by utilizing the OS version, and configures the link address of the OS image and the configuration file into the start file when generating the start file.
And S3, configuring the starting mode of the to-be-tested device, and starting the to-be-tested device from the PXE. Specifically, the starting mode of the OS automatic installation micro-service for configuring the to-be-tested machine through the IPMI out-of-band instruction is permanent hard disk starting, the to-be-tested machine is restarted, the starting mode for configuring the to-be-tested machine is single starting from PXE, the to-be-tested machine is restarted again, and starting of the to-be-tested machine from PXE is achieved.
And S4, the PXE queries and acquires the starting file of the to-be-tested machine, and transmits the queried starting file to the corresponding to-be-tested machine. Specifically, the PXE queries the start file of the dut according to the MAC address of the network card of the dut.
And S5, the machine to be tested downloads the OS image and the configuration file from the OS micro-service under the guidance of the start file, installs the OS image, configures the configuration parameters in the process of installing the OS image by using the configuration file, and starts the machine to be tested through the OS after the installation of the OS is finished. Specifically, the to-be-tested machine downloads the OS image and the configuration file from the OS micro service according to the link address of the to-be-tested machine, which is provided by the OS micro service in the starting file, of the source warehouse, the OS image and the configuration file are installed by the to-be-tested machine, the starting file guides the to-be-tested machine to install the OS image, and the configuration file automatically adds the required configuration parameters in the process of installing the OS image by the to-be-tested machine. And after the OS mirror image is installed, restarting the machine to be tested so that the machine to be tested is started through the OS.
Referring to fig. 2, the process of initializing the test environment in batch by using the server test environment automatic initialization platform includes implementing tool drive installation of the dut by using the tool drive microservice and the tool drive automatic installation microservice, and the tool drive installation process includes:
and S10, the tool driver automatically installs the micro service to acquire the IP of the to-be-tested machine after the OS is started, and the IP is used for connecting the to-be-tested machine. Specifically, the IP allocated by the to-be-tested machine is obtained from the network configuration file of the to-be-tested machine according to the MAC address of the to-be-tested machine, and the IP of the to-be-tested machine, a preset account and a preset password are used for connecting the to-be-tested machine through SSH.
And S20, the tool drive automatic installation micro-service utilizes SSH to control the to-be-tested machine to be connected with the tool drive micro-service, and obtains the information of the to-be-tested machine component and the OS version and transmits the information to the tool drive micro-service. In a specific implementation process, the tool drive automatic installation micro-service automatically controls the machine to be tested and the tool drive micro-service to establish SFTP connection through SSH and an interactive expect tool; and automatically executing a shell instruction for acquiring standby component information and an OS version by using the tool drive automatic installation micro-service by using SSH (simple service tool) in cooperation with an interactive expect tool, and acquiring the component information and the OS version of the machine to be tested.
And S30, matching the tool, the driver and the corresponding installation script matched with the part and the OS version of the machine to be tested by using the part information and the OS version through the tool driver micro service, and transmitting the matched tool, driver and corresponding installation script to the machine to be tested. And the tool driving micro service transmits the matched tool, the driving and the installation script to the machine to be tested through the SFTP.
And S40, controlling the test machine to execute the installation script installation tool and the driver by the tool driver automatic installation micro-service. In the specific implementation process, the tool-driven automatic installation micro-service controls the to-be-tested machine to detect whether the received tool and driver are installed or not, and if not, the tool-driven automatic installation micro-service executes a corresponding installation script instruction, installation tool and driver in the installation script according to the OS version of the to-be-tested machine. Specifically, the tool-driven automatic installation microserver uses the SSH execution shell instruction to control the standby execution of the installation script.
And S50, the tool driver automatically installs the micro service to analyze whether the test environment initialized by the test machine meets the test environment standard. After the tool drive is installed on the to-be-tested machine, counting and summarizing the initial test environment of the to-be-tested machine, comparing the initial test environment with the test environment standard of the automatic installation micro-service to-be-tested machine preset in the tool drive, and determining whether the initial test environment of the to-be-tested machine meets the test environment standard. If there are tools or drives that do not meet the test environment standard, finding out non-conforming tools and drives, and re-executing S40 for the non-conforming tools and drives.
And S60, the tool driver installation micro service records the initial test environment of the machine to be tested into the database of the machine to be tested.
Example 2
The embodiment of the invention provides a device for initializing a server test environment in a distributed batch manner, and a method for realizing the server test environment in the distributed batch manner comprises the following steps: the method comprises the steps of realizing an automatic initialization platform of a server test environment and a server cluster for realizing out-of-band management of a to-be-tested machine, wherein the server cluster builds the automatic initialization platform of the server test environment, which comprises OS (operating system) micro-services, tool-driven micro-services, OS automatic installation micro-services and tool-driven automatic installation micro-services, on the basis of a distributed micro-service framework; the server cluster utilizes an IPMI tool to realize out-of-band management of the machine to be tested, and utilizes an IPMI instruction to configure a starting mode of the machine to be tested. The server cluster realizes a database of the to-be-tested machine, and the database of the to-be-tested machine stores information of an initialization test environment of the to-be-tested machine.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The foregoing are merely exemplary embodiments of the present invention, which enable those skilled in the art to understand or practice the present invention. 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 invention. Thus, the present invention 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 method for distributed batch initialization of a server test environment, comprising: building a server test environment automatic initialization platform comprising OS micro-services, tool-driven micro-services, OS automatic installation micro-services and tool-driven automatic installation micro-services based on a distributed micro-service framework; wherein,
providing the MAC address of the network card of the machine to be tested and the version of the OS to be installed to the OS automatic installation micro-service, generating a unique start file by the OS automatic installation micro-service according to the MAC address and the version of the OS, and sending the start file to the PXE;
starting a to-be-tested machine from the PXE, inquiring by the PXE to obtain a starting file of the to-be-tested machine, transmitting the starting file to the to-be-tested machine, downloading an OS (operating system) mirror image and a configuration file from an OS (operating system) micro-service by the to-be-tested machine under the guidance of the starting file, installing the OS mirror image by using the configuration file, and starting the to-be-tested machine through the OS;
the tool drive automatic installation micro-service acquires the IP of the to-be-tested machine after the OS is started, the IP is used for connecting the to-be-tested machine, the part information and the OS version of the to-be-tested machine are acquired and transmitted to the tool drive micro-service, the tool drive micro-service matches the tool, the driver and the corresponding installation script matched with the part and the OS version of the to-be-tested machine by using the part information and the OS version, the matched tool, the driver and the corresponding installation script are transmitted to the to-be-tested machine, and the tool drive automatic installation micro-service controls the to-be-tested machine to execute the installation script installation tool and the driver.
2. The method of claim 1, wherein the OS micro-service provides a source repository, the source repository stores OS images and configuration files, the execution start file is connected to the source repository, and the target OS images and configuration files of the target images specified in the start file are downloaded from the source repository, wherein the configuration files record configuration parameters to be added during the installation of the OS images.
3. The method for distributed batch initialization of the server test environment according to claim 1, wherein the tool driver microservice stores all tools, drivers and corresponding installation scripts required for maintaining the initialization of the test environment, records versions of the tools and the drivers and parts and OS versions adapted to the tools and the drivers of each version, wherein the installation scripts of the tools and the drivers include installation script instructions adapted to all OS versions, and when the installation scripts are executed, the corresponding installation instructions are selected to be executed according to the OS versions of the devices to be tested;
the tool-driven microservice provides tool-driven and installation script query indexing and transmission services.
4. The method for distributed batch initialization of the server test environment according to claim 1, wherein the tool driver automatic installation micro-service connects the dut via SSH using the IP of the dut and a preset standby test user name and password, and automatically controls the set under test to establish SFTP connection and execute the installation script between the dut and the tool driver micro-service by SSH cooperating with an interactive expect tool; the tool-driven automatic installation micro-service acquires the part information and the OS version of the machine to be tested and sends the part information and the OS version to the tool-driven micro-service to match with a tool, a driver and an installation script required by the machine to be tested, and the tool-driven micro-service transmits the matched tool, driver and installation script to the machine to be tested through SFTP.
5. The method of claim 1, wherein the tool driver automatic installation micro-service counts and summarizes the initialization test environment of the dut after the tool driver is installed, and compares the initialization test environment with a test environment standard preset in the tool driver automatic installation micro-service dut to determine whether the initialization test environment of the dut meets the test environment standard.
6. The method of distributed batch initialization of server test environments of claim 5, wherein the tool driver installation microserver logs the test machine initialization test environment into the test machine database.
7. The method of claim 1, wherein the OS automatically installs the micro-service to configure the start mode of the DUT as permanent hard disk start and restart the DUT via the IPMI out-of-band command, and the start mode of the DUT is configured as single start from PXE, restart the DUT again and start the DUT from PXE.
8. The method as claimed in claim 1, wherein the start file is named by the MAC address of the dut network card, and the PXE queries the start file of the dut according to the MAC address of the dut network card.
9. An apparatus for a distributed batch initialization server test environment, implementing the method for a distributed batch initialization server test environment according to any one of claims 1 to 8, comprising: the system comprises a server cluster, wherein the server cluster builds a server test environment automatic initialization platform comprising OS micro-services, tool-driven micro-services, OS automatic installation micro-services and tool-driven automatic installation micro-services based on a distributed micro-service framework.
10. The apparatus for distributed batch initialization of server test environments of claim 9, wherein the server cluster implements a dut database, and the dut database stores information of the dut initialization test environments.
CN202210332051.9A 2022-03-31 2022-03-31 Method and device for initializing server test environment in distributed batch mode Pending CN114625591A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210332051.9A CN114625591A (en) 2022-03-31 2022-03-31 Method and device for initializing server test environment in distributed batch mode

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210332051.9A CN114625591A (en) 2022-03-31 2022-03-31 Method and device for initializing server test environment in distributed batch mode

Publications (1)

Publication Number Publication Date
CN114625591A true CN114625591A (en) 2022-06-14

Family

ID=81904714

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210332051.9A Pending CN114625591A (en) 2022-03-31 2022-03-31 Method and device for initializing server test environment in distributed batch mode

Country Status (1)

Country Link
CN (1) CN114625591A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108038051A (en) * 2017-11-03 2018-05-15 深圳市牛鼎丰科技有限公司 Dissemination method, device, computer equipment and the storage medium of micro services
CN108959097A (en) * 2018-07-19 2018-12-07 郑州云海信息技术有限公司 A kind of method of quick testing service device OS
CN110764959A (en) * 2019-09-26 2020-02-07 苏州浪潮智能科技有限公司 Deployment method and device of test environment of server

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108038051A (en) * 2017-11-03 2018-05-15 深圳市牛鼎丰科技有限公司 Dissemination method, device, computer equipment and the storage medium of micro services
CN108959097A (en) * 2018-07-19 2018-12-07 郑州云海信息技术有限公司 A kind of method of quick testing service device OS
CN110764959A (en) * 2019-09-26 2020-02-07 苏州浪潮智能科技有限公司 Deployment method and device of test environment of server

Similar Documents

Publication Publication Date Title
US6662312B1 (en) Software-testing automation system
CN113312064B (en) Method and device for installing and configuring physical machine and computer readable medium
US7168003B2 (en) Method and apparatus for automating printer and printer driver diagnostics and repair
US7379982B2 (en) System and method for custom installation of an operating system on a remote client
CN107229492A (en) Installation method, device, system, storage medium and the equipment of server system
US7797581B2 (en) Device and method for testing motherboard
US20100262815A1 (en) Detection Mechanism for System Image Class
CN107391193A (en) A kind of client, the system and method for configuration server
US20090254641A1 (en) Network card capable of remote boot and method thereof
US7293168B2 (en) System and method for initially configuring and booting a device using a device identifier
CN112256505A (en) Server stability testing method and device and related components
CN111427624A (en) Method, device and system for batch automatic deployment and configuration of servers
CN112214227A (en) Edge server mirror image customization and deployment system and method
CN113448598A (en) Component upgrading method and device and server
CN109660386B (en) Software upgrading method for semiconductor memory aging test system
US8488143B2 (en) Method and apparatus for detecting printer internet protocol addresses
CN109992295B (en) Version management method and server
CN114625591A (en) Method and device for initializing server test environment in distributed batch mode
JP2002366388A (en) Method, system, and program for supporting customer support
US7016800B1 (en) Centralized console API testing architecture
CN116627654A (en) Control method and electronic equipment
CN107659621B (en) RAID control card configuration method and device
CN110737444A (en) Remote self-adaptive dynamic deployment method and system for operating system based on firmware
CN115001959B (en) Network target range network equipment initialization method, system and storage medium
CN113448630B (en) Driver processing method and device, electronic equipment and 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