CN107957901A - A kind of method for capturing test node start daily record - Google Patents
A kind of method for capturing test node start daily record Download PDFInfo
- Publication number
- CN107957901A CN107957901A CN201711190712.4A CN201711190712A CN107957901A CN 107957901 A CN107957901 A CN 107957901A CN 201711190712 A CN201711190712 A CN 201711190712A CN 107957901 A CN107957901 A CN 107957901A
- Authority
- CN
- China
- Prior art keywords
- virtual
- mobile terminal
- linux system
- node
- network
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45504—Abstract machines for programme code execution, e.g. Java virtual machine [JVM], interpreters, emulators
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/26—Functional testing
- G06F11/273—Tester hardware, i.e. output processing circuits
- G06F11/2736—Tester hardware, i.e. output processing circuits using a dedicated service processor for test
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/17—Details of further file system functions
- G06F16/1734—Details of monitoring file system events, e.g. by the use of hooks, filter drivers, logs
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
- G06F2009/45595—Network integration; Enabling network access in virtual machine instances
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Mobile Radio Communication Systems (AREA)
- Debugging And Monitoring (AREA)
Abstract
The present invention provides a kind of method for capturing test node start daily record, and the virtual linux system on mobile terminal is as the control node for being tested node;Mobile terminal invents two independent mobile terminals with the Linux virtual systems wherein installed;Mobile terminal and the virtual Linux server physics one wherein installed, easy care, and transferring position, convenience can test at any time.A mobile terminal is so only needed to fictionalize 2 mutually independent mobile terminals, one another is virtual Linux server to install the mobile terminal of USB network card additional in itself, saves the Job readiness time, improves work efficiency;Compared with the testing and control node of conventional cumbersome, mobile terminal can carry with any testing location, not only facilitated but also saved space.It is not required to configure other server node, saves test resource, 1 mobile terminal just can be substituted easily.
Description
Technical field
The present invention relates to crawl test node start daily record field, more particularly to a kind of capture test node start daily record
Method.
Background technology
At present when doing Linux server test event, such as memory subsystem basic function RMT tests, taken by Linux
Device node be engaged in as control node, connects the BMC interfaces of tested node, then gathers the start log of tested node, collect
Start log is saved by the log recording function of the xshell programs on laptop.So test process adds institute
The equipment used, adds test time and influences server test efficiency,
The content of the invention
In order to overcome above-mentioned deficiency of the prior art, the present invention provides a kind of side for capturing test node start daily record
Method, method include:
Step 1:VMware modules and virtual Linux system are installed in mobile terminal;
Step 2:Open the virtual network editing machine of virtual Linux system;
Step 3:Select the bridge mode of virtual network editing machine;
Step 4:The network adapter of virtual Linux system is opened, selects bridge mode;
Step 5:Linux virtual machines are replaced into physics Linux system server node, pass through mobile terminal network interface connection
Network interface to tested node tests tested node.
Preferably, step 1 further includes:
VMware modules are installed on the mobile terminal for be provided with windows, mobile terminal is pacified using VMware modules
Virtual linux system is filled, and environment configurations are carried out to virtual linux system.
Preferably, step 2 further includes:
It is virtual linux system network interface card by the network card configuration of mobile terminal, network interface card is connected on interchanger by cable, and
The network of virtual linux system is configured, virtual Linux system is led to by interchanger with being connected to the miscellaneous equipment of the interchanger
Letter.
Preferably, step 5 further includes:
One USB network card is installed on mobile terminals, is connected to by cable on interchanger, passes through network configuration, selection
The bridge mode of virtual network editing machine, mobile terminal pass through the virtual linux system of xshell module accesses.
Preferably, include after step 5:
The BMC mouths of tested node are connected on interchanger by cable, and virtual linux system instructs connection quilt by BMC
Survey node.
Preferably, step 5 further includes:The xshell modules of mobile terminal are opened, pass through the IP of the virtual Linux systems of ssh
Address, connects virtual linux system, and the BMC that reruns instructions make daily record of the mobile terminal by xshell to connect tested node
Writing function preserves the log information of tested node start process.
Preferably, step 4 further includes:
Under virtual machine off-mode, the network adapter of virtual Linux system is opened, selects bridge mode.
Preferably, include after step 5:
Communicated by USB network card and xshell modules and virtual Linux server, preserve the start log of tested node
Information.
As can be seen from the above technical solutions, the present invention has the following advantages:
Control node of the virtual linux system as tested node on mobile terminal;Mobile terminal and wherein install
Linux virtual systems invent two independent mobile terminals;Mobile terminal and the virtual Linux server physics wherein installed
It is integral, easy care, and transferring position, convenience can test at any time.So a mobile terminal is only needed to fictionalize 2 mutually
Independent mobile terminal, one to install the mobile terminal of USB network card additional in itself, another is virtual Linux server, is saved
The Job readiness time, improves work efficiency;Compared with the testing and control node of conventional cumbersome, mobile terminal can be carried with any
Testing location, not only facilitates but also saves space.It is not required to configure other server node, saves test resource, 1 mobile terminal is just
Can easily it substitute.Communicated by USB network card and xshell modules and virtual Linux server, so as to preserve tested node
The information such as start log.
Brief description of the drawings
In order to illustrate more clearly of technical scheme, attached drawing needed in description will be made below simple
Ground introduction, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for ordinary skill
For personnel, without creative efforts, other attached drawings can also be obtained according to these attached drawings.
Fig. 1 is the method flow diagram of crawl test node start daily record.
Embodiment
Goal of the invention, feature, advantage to enable the present invention is more obvious and understandable, will use below specific
Embodiment and attached drawing, the technical solution protected to the present invention are clearly and completely described, it is clear that implementation disclosed below
Example is only part of the embodiment of the present invention, and not all embodiment.Based on the embodiment in this patent, the common skill in this area
All other embodiment that art personnel are obtained without making creative work, belongs to the model of this patent protection
Enclose.
The present embodiment provides a kind of method for capturing test node start daily record, as shown in Figure 1, method includes:
Step 1:VMware modules and virtual Linux system are installed in mobile terminal;
Step 2:Open the virtual network editing machine of virtual Linux system;
Step 3:Select the bridge mode of virtual network editing machine;
Step 4:The network adapter of virtual Linux system is opened, selects bridge mode;
Step 5:Linux virtual machines are replaced into physics Linux system server node, pass through mobile terminal network interface connection
Network interface to tested node tests tested node.
In the present embodiment, step 1 further includes:VMware modules, profit are installed on the mobile terminal for be provided with windows
Virtual linux system is installed to mobile terminal with VMware modules, and environment configurations are carried out to virtual linux system.
Step 2 further includes:It is virtual linux system network interface card by the network card configuration of mobile terminal, network interface card is connected by cable
Onto interchanger, and the network of virtual linux system is configured, virtual Linux system is exchanged by interchanger with being connected to this
The miscellaneous equipment communication of machine.
Step 5 further includes:One USB network card is installed on mobile terminals, is connected on interchanger, passed through by cable
Network configuration, selects the bridge mode of virtual network editing machine, and mobile terminal passes through the virtual Linux systems of xshell module accesses
System.
Communicated by USB network card and xshell modules and virtual Linux server, preserve the start log of tested node
Information.
Include after step 5:The BMC mouths of tested node are connected on interchanger by cable, and virtual linux system leads to
Cross the tested node of BMC instruction connections.
In the present embodiment, step 5 further includes:The xshell modules of mobile terminal are opened, pass through the virtual Linux systems of ssh
IP address, connect virtual linux system, the BMC that reruns instructions make mobile terminal pass through xshell's to connect tested node
Log recording function preserves the log information of tested node start process.
In the present embodiment, step 4 further includes:Under virtual machine off-mode, the network for opening virtual Linux system is fitted
Orchestration, selects bridge mode.
In the present embodiment, mobile terminal can use laptop, or tablet computer, or mobile test terminal etc..
Specifically by taking laptop as an example
VMware modules are installed on windows laptops, then utilize the virtual Linux systems of the software installation
System, and corresponding system environments configuration is made, the integrated network card of laptop is configured to virtual linux system and is owned, this
Virtual linux system will replace actual Linux server control node in server test on sample notebook, so that
Used as control node.By the integrated network card of laptop, have been configured as that virtual linux system is all to be connected by cable
Onto interchanger, and the network of virtual linux system is configured, so virtual Linux system just can be by interchanger with being connected to
The miscellaneous equipment communication of the interchanger.One USB network card is installed on laptop, is connected to by cable on interchanger,
By network configuration, laptop can just pass through the virtual linux system of xshell module accesses.The BMC mouths of tested node
Also it is connected to by cable on interchanger, so virtual linux system can just instruct the tested node of connection by related BMC.Beat
The xshell modules of laptop are opened, by the IP address of the virtual Linux systems of ssh, connect virtual linux system, then transport
Row BMC is instructed to connect tested node.So laptop can just be preserved tested by the log recording function of xshell
The log information of node start process.
Capital equipment used in the method for crawl test node start log:The windows operations system of laptop
System, band RJ45 network interfaces simultaneously install a USB network card, VMware modules, linux system installation image file, interchanger.
Control node of the virtual linux system as tested node on laptop;Laptop is with wherein pacifying
The Linux virtual systems of dress invent two independent computers;Laptop and the virtual Linux server thing wherein installed
Reason is integral, easy care, and transferring position, convenience can test at any time.
A laptop is so only needed to fictionalize 2 mutually independent computers, one is installation USB network card
In itself, another is virtual Linux server to laptop, saves the Job readiness time, improves work efficiency;Compared with biography
Unite bulky testing and control node, laptop can carry with any testing location, not only facilitate saving space again.It is not required to
Other server node is configured, saves test resource, the common laptop of 1 the Taiwan Affairs Office just can be substituted easily.
Communicated by USB network card and xshell modules and virtual Linux server, so as to preserve the start of tested node
The information such as log.
The foregoing description of the disclosed embodiments, enables professional and technical personnel in the field to realize or use the present invention.
A variety of modifications to these embodiments will be apparent for those skilled in the art, as defined herein
General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, it is of the invention
The embodiments shown herein is not intended to be limited to, and is to fit to and the principles and novel features disclosed herein phase one
The most wide scope caused.
Claims (8)
- A kind of 1. method for capturing test node start daily record, it is characterised in that method includes:Step 1:VMware modules and virtual Linux system are installed in mobile terminal;Step 2:Open the virtual network editing machine of virtual Linux system;Step 3:Select the bridge mode of virtual network editing machine;Step 4:The network adapter of virtual Linux system is opened, selects bridge mode;Step 5:Linux virtual machines are replaced into physics Linux system server node, pass through mobile terminal network interface connection to quilt The network interface for surveying node tests tested node.
- 2. the method for crawl test node start daily record according to claim 1, it is characterised in thatStep 1 further includes:VMware modules are installed on the mobile terminal for be provided with windows, mobile terminal are installed using VMware modules empty Intend linux system, and environment configurations are carried out to virtual linux system.
- 3. the method for crawl test node start daily record according to claim 1, it is characterised in thatStep 2 further includes:It is virtual linux system network interface card by the network card configuration of mobile terminal, network interface card is connected on interchanger by cable, and is configured The network of virtual linux system, makes virtual Linux system communicate by interchanger with being connected to the miscellaneous equipment of the interchanger.
- 4. the method for crawl test node start daily record according to claim 1, it is characterised in thatStep 5 further includes:One USB network card is installed on mobile terminals, is connected to by cable on interchanger, it is virtual by network configuration, selection The bridge mode of network editor, mobile terminal pass through the virtual linux system of xshell module accesses.
- 5. the method for crawl test node start daily record according to claim 1, it is characterised in thatInclude after step 5:The BMC mouths of tested node are connected on interchanger by cable, and virtual linux system passes through the tested section of BMC instruction connections Point.
- 6. the method for crawl test node start daily record according to claim 1, it is characterised in thatStep 5 further includes:The xshell modules of mobile terminal are opened, it is empty by the IP address of the virtual Linux systems of ssh, connection Intend linux system, the BMC that reruns instructions make mobile terminal be protected by the log recording function of xshell to connect tested node Deposit the log information of tested node start process.
- 7. the method for crawl test node start daily record according to claim 1, it is characterised in thatStep 4 further includes:Under virtual machine off-mode, the network adapter of virtual Linux system is opened, selects bridge mode.
- 8. the method for crawl test node start daily record according to claim 4, it is characterised in thatInclude after step 5:Communicated by USB network card and xshell modules and virtual Linux server, preserve the start log information of tested node.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711190712.4A CN107957901A (en) | 2017-11-24 | 2017-11-24 | A kind of method for capturing test node start daily record |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711190712.4A CN107957901A (en) | 2017-11-24 | 2017-11-24 | A kind of method for capturing test node start daily record |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107957901A true CN107957901A (en) | 2018-04-24 |
Family
ID=61962427
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711190712.4A Pending CN107957901A (en) | 2017-11-24 | 2017-11-24 | A kind of method for capturing test node start daily record |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107957901A (en) |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101854271A (en) * | 2010-05-10 | 2010-10-06 | 浪潮电子信息产业股份有限公司 | Service performance testing method based on virtualization application platform |
CN102012855A (en) * | 2010-12-08 | 2011-04-13 | 广东威创视讯科技股份有限公司 | Method and device for implementing on off test by data acquisition |
CN104021056A (en) * | 2014-06-23 | 2014-09-03 | 浪潮电子信息产业股份有限公司 | Diskless automatic testing method based on DRBL tool |
CN104778105A (en) * | 2015-04-22 | 2015-07-15 | 浪潮电子信息产业股份有限公司 | Method for rapidly testing compatibility of server and RHEL (red hat enterprise software language) based on virtual machine |
CN104899120A (en) * | 2015-05-27 | 2015-09-09 | 浪潮电子信息产业股份有限公司 | Server stability testing method based on BMC (baseboard management controller) startup and shutdown functions |
CN105007230A (en) * | 2015-08-11 | 2015-10-28 | 上海斐讯数据通信技术有限公司 | System and method for testing multiple wireless routers |
CN105391655A (en) * | 2015-10-12 | 2016-03-09 | 浪潮电子信息产业股份有限公司 | Method for configuring nodes as two-layer switching equipment under LINUX platform |
CN105468488A (en) * | 2015-11-30 | 2016-04-06 | 浪潮电子信息产业股份有限公司 | Method, device and system of diskless CPU (Central Processing Unit) on the basis of IB (InfiniBand) network |
CN106598793A (en) * | 2016-12-13 | 2017-04-26 | 郑州云海信息技术有限公司 | Test system and method based on BIOS serial port log data |
-
2017
- 2017-11-24 CN CN201711190712.4A patent/CN107957901A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101854271A (en) * | 2010-05-10 | 2010-10-06 | 浪潮电子信息产业股份有限公司 | Service performance testing method based on virtualization application platform |
CN102012855A (en) * | 2010-12-08 | 2011-04-13 | 广东威创视讯科技股份有限公司 | Method and device for implementing on off test by data acquisition |
CN104021056A (en) * | 2014-06-23 | 2014-09-03 | 浪潮电子信息产业股份有限公司 | Diskless automatic testing method based on DRBL tool |
CN104778105A (en) * | 2015-04-22 | 2015-07-15 | 浪潮电子信息产业股份有限公司 | Method for rapidly testing compatibility of server and RHEL (red hat enterprise software language) based on virtual machine |
CN104899120A (en) * | 2015-05-27 | 2015-09-09 | 浪潮电子信息产业股份有限公司 | Server stability testing method based on BMC (baseboard management controller) startup and shutdown functions |
CN105007230A (en) * | 2015-08-11 | 2015-10-28 | 上海斐讯数据通信技术有限公司 | System and method for testing multiple wireless routers |
CN105391655A (en) * | 2015-10-12 | 2016-03-09 | 浪潮电子信息产业股份有限公司 | Method for configuring nodes as two-layer switching equipment under LINUX platform |
CN105468488A (en) * | 2015-11-30 | 2016-04-06 | 浪潮电子信息产业股份有限公司 | Method, device and system of diskless CPU (Central Processing Unit) on the basis of IB (InfiniBand) network |
CN106598793A (en) * | 2016-12-13 | 2017-04-26 | 郑州云海信息技术有限公司 | Test system and method based on BIOS serial port log data |
Non-Patent Citations (2)
Title |
---|
卜天然 等: "《网络操作系统 第2版》", 31 August 2017, 合肥:中国科学技术大学出版社 * |
程和侠 等: "《Linux操作系统》", 31 January 2017, 合肥:中国科学技术大学出版社 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105868149B (en) | Serial port information transmission method and device | |
CN104135520B (en) | A kind of method and device for identifying android terminal | |
CN103326902A (en) | Configurable monitoring system and monitoring method for distributed type mainframe performance testing data | |
CN109656767A (en) | A kind of acquisition methods, system and the associated component of CPLD status information | |
CN103955441A (en) | Equipment management system, equipment management method and IO (Input/Output) expansion interface | |
CN110134447A (en) | The system and method for BMC immediate updating hard disk information based on operating system | |
CN109347698A (en) | User terminal operations order and echo message monitoring method under a kind of linux system | |
CN104734904B (en) | The automatic test approach and system of bypass equipment | |
CN109257249A (en) | A kind of network interface card stability test method, apparatus, terminal and storage medium | |
CN107070747A (en) | A kind of method of the automatic test network interface card network connection stability under network card binding pattern | |
CN103176901A (en) | Method and system for embedded software test monitoring | |
CN109510740A (en) | A kind of method, apparatus, terminal and the storage medium of automatic monitoring network interface card MTU value | |
CN102571474A (en) | Virtualized Radius testing system and method | |
CN110245048A (en) | A kind of cabinet intelligent management system and management method | |
CN117931553A (en) | Debugging method for system software and identification level principle prototype | |
CN110569154B (en) | Chip interface function testing method, system, terminal and storage medium | |
CN108958996A (en) | A kind of test memory RankMargin optimization method and system | |
CN107957901A (en) | A kind of method for capturing test node start daily record | |
CN107729183A (en) | A kind of method and system backed up by FC agreements with recovering linux operating systems | |
CN110488783A (en) | A kind of Combining soft control system and method based on WEB | |
CN104598202A (en) | Command line management device and method | |
CN110134559A (en) | A kind of BMC fault detection method, system and associated component | |
CN102305906A (en) | Chip testing method and device | |
CN105242603A (en) | Power collection terminal with USB OTG interface and debugging upgrade method thereof | |
CN109491822A (en) | A kind of system reboot detection method, device, terminal 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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180424 |