Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A method, system and medium for switching operating system to perform test task

A technology for operating systems and testing tasks, applied in the field of server systems, can solve problems such as large resource requirements, inability to test the compatibility of operating systems and hardware, and difficulty in expansion and maintenance, and achieve the effect of low cost

Active Publication Date: 2022-07-12
INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] In the first method above, the boot tool needs to support all operating systems under test. Every time an operating system is added, the boot tool needs to be modified. Secondly, every time a server under test is added, the entire installation process needs to be repeated, which is difficult to expand and maintain;
[0007] The above-mentioned second method, because of the need to deploy a virtualized environment, requires higher hardware configuration of the server; secondly, this method cannot test the compatibility of the operating system and hardware;
[0008] The third method above requires a separate server for each operating system to be tested, which requires a lot of resources

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A method, system and medium for switching operating system to perform test task
  • A method, system and medium for switching operating system to perform test task

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0049]An embodiment of the present invention provides a method for switching an operating system to perform a test task, please refer to figure 1 , including the following steps: first, connect the topology connector to several servers in the server cluster through cables, and configure cables with different speeds and types according to actual needs. In order to save enterprise costs, switches or routers can be used. This embodiment Use the switch as a topology connector to connect the switch to the main controller, data server and PXE server respectively. Several servers in the server cluster realize the test function, and several servers in the server cluster are named as the server to be tested. The server to be tested has The identifier of the server to be tested. Users can identify the server to be tested through the identifier of the server to be tested.

[0050] S100. The tester writes an automated test program through the main controller, and generates a configuration...

Embodiment 2

[0059] An embodiment of the present invention also provides a system for switching operating systems to perform test tasks, which is applied to a server to be tested. Please refer to figure 2 , including: main controller, PXE server, topology connector and data server;

[0060] The server to be tested is connected to the main controller, the PXE server and the data server respectively through the topology connector. The main controller is used to receive user input, including manual testing and automated testing procedures. The main controller has a list of operating systems, and the corresponding operating systems The user writes the operating system file path, PXE service configuration program, network file system configuration program, operating system configuration program and test tasks through the main controller.

[0061] The topology connector is used to connect each server to be tested. The cables used by the topology connector can be used to connect different types ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method for switching an operating system to perform a test task, comprising the following steps: a user requests to perform a test task of several operating systems, a main controller generates a configuration required for booting a first operating system and writes it into a PXE server and a data server , after the server to be tested starts, obtain the configuration information from the PXE server, pull the first operating system image and software package from the data server, install the operating system to the local hard disk or network file system of the server to be tested, deploy the test environment, and finally execute the test Task, after the test is completed, a completion command is sent, the main controller generates the configuration required to guide the second operating system and actively resets the server to be tested, repeating the above process until the compatibility test of all operating systems is completed, the present invention can realize different operations. The system can be switched quickly, and the test environment can be built according to different test requirements, and the diskless test can be realized at the same time, and the running site can be saved after the test is completed.

Description

technical field [0001] The present invention relates to the field of server systems, in particular to a method, system and medium for switching operating systems to perform test tasks. Background technique [0002] In the server field, ensuring the compatibility of operating system platforms is an important task of server software and hardware testing. Testers need to switch between different operating systems to meet the requirements of compatibility testing. In the current technology, there are the following ways to achieve system switching: [0003] The first method is to install several different operating systems by default in the disk of the server, and then boot the different operating systems when the server is turned on; [0004] The second method is to create several virtual machines in the virtualized environment of the server, and install different operating systems on these virtual machines; [0005] The third method is to install different operating systems on...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F11/36
CPCG06F11/3664G06F11/3688
Inventor 吴智谦
Owner INSPUR SUZHOU INTELLIGENT TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products