CN107229496A - A kind of auxiliary machine, machine to be measured, terminal test system and method - Google Patents
A kind of auxiliary machine, machine to be measured, terminal test system and method Download PDFInfo
- Publication number
- CN107229496A CN107229496A CN201710391963.2A CN201710391963A CN107229496A CN 107229496 A CN107229496 A CN 107229496A CN 201710391963 A CN201710391963 A CN 201710391963A CN 107229496 A CN107229496 A CN 107229496A
- Authority
- CN
- China
- Prior art keywords
- environment
- machine
- module
- unit
- certification
- 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
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
-
- 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/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
-
- 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/50—Testing arrangements
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Pinball Game Machines (AREA)
Abstract
This application discloses a kind of auxiliary machine, machine to be measured, terminal test system and method, applied to acceptance of the bid kylin certification environment, including:Configuration module, for configuring certification environment;Module is installed, for installing RPM bags and running environment configuration file.Auxiliary machine configures certification environment under acceptance of the bid kylin certification environment using configuration module in the present invention, utilize the RPM bags and running environment configuration file installed needed for module installs authentication test, in summary, realize for auxiliary machine certification environment automatic deployment, the risk for installing the human error brought with configuration surroundings manually is avoided, makes authentication test can be with the progress of quickly and orderly.
Description
Technical field
The present invention relates to product test field, more particularly to a kind of auxiliary machine, machine to be measured, terminal test system and method.
Background technology
In the prior art, generally in acceptance of the bid the building of kylin certification environment, it is necessary to it is artificial machine to be measured and auxiliary machine it
It is upper that related RPM (RPM Package Manager, the RPM software package manager) bags of many certifications are installed, carry out virtual image text
Part, fire wall and Selinux (Security-Enhanced Linux) setting etc., if staff is configuring a certain
Certification demand is not met during setting, may result in some tests can not pass through, it is ageing that influence certification is obtained.
Therefore, authentication error caused by human factor how is avoided, authentication test is quickly carried out, is current ask
Topic.
The content of the invention
In view of this, it is real it is an object of the invention to provide a kind of auxiliary machine, machine to be measured, terminal test system and method
Existing certification environment automatic deployment, it is to avoid authentication error caused by human factor, allows authentication test quickly to carry out.Its specific side
Case is as follows:
A kind of auxiliary machine, applied to acceptance of the bid kylin certification environment, including:
Configuration module, for configuring certification environment;
Module is installed, for installing RPM bags and running environment configuration file.
Optionally, the installation module, including:
Unit is cleared up, for clearing up installation environment;
Decompression units, RPM bags are extruded for solving;
Installation unit, for installing RPM bags and running environment configuration file.
Optionally, the configuration module, including:
Opening unit, for opening neoreadyserver services;
Closing unit, for closing Selinux;
Start unit, the testing service for starting service end.
Optionally, the start unit, including:
Promoter unit is serviced, the httpd for starting the service end is serviced and NFS service, and in institute
The path of test file is filled in the export files for stating service end;
Agreement promoter unit, transmission control protocol and UDP are started for the service end.
Optionally, in addition to:Fire wall closedown module, for closing fire wall.
The invention also discloses a kind of machine to be measured, applied to acceptance of the bid kylin certification environment, including:
Configuration module, for configuring certification environment;
Module is installed, for installing RPM bags and running environment configuration file.
Optionally, the configuration module, including:
Opening unit, for opening Selinux;
Copy cell, catalogue is called for copying virtual image file to virtual image.
Optionally, the installation module, including:
Unit is cleared up, for clearing up installation environment;
Decompression units, RPM bags are extruded for solving;
Installation unit, for installing RPM bags and running environment configuration file.
The invention also discloses a kind of terminal test system, including foregoing disclosed it is used to provide network test for machine to be measured
Auxiliary machine and hardware component and the compatible machine to be measured of operating system for test server.
The present invention further correspondingly discloses a kind of terminal test method, including:
Respectively auxiliary machine and machine to be measured configure certification environment;
RPM bags and running environment configuration file are installed for the auxiliary machine;
RPM bags and running environment configuration file are installed for the machine to be measured.
In the present invention, auxiliary machine, applied to acceptance of the bid kylin certification environment, including:Configuration module, for configuring certification ring
Border;Module is installed, for installing RPM bags and running environment configuration file.Auxiliary machine is recognized using configuration module configuration in the present invention
Environment is demonstrate,proved, RPM bags and running environment configuration file are installed using module is installed, in summary, realized for auxiliary machine certification
Environment automatic deployment, it is to avoid the risk for the human error that manual installation and configuration surroundings are brought, allows authentication test quick
Orderly progress.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are only this
The embodiment of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis
The accompanying drawing of offer obtains other accompanying drawings.
Fig. 1 is a kind of auxiliary machine structural representation disclosed in the embodiment of the present invention;’
Fig. 2 is a kind of machine structural representation to be measured disclosed in the embodiment of the present invention;
Fig. 3 is a kind of terminal test method schematic flow sheet disclosed in the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on
Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made
Embodiment, belongs to the scope of protection of the invention.
The embodiment of the invention discloses a kind of auxiliary machine, applied to acceptance of the bid kylin certification environment, shown in Figure 1, the machine
Including:
Configuration module 11, for configuring certification environment.
Specifically, configuring certification using NeoReady-Deploy kits in auxiliary machine first with configuration module 11
Certification environment needed for environment, in server-side configuration certification environment, in order to install subsequent file.
Further, above-mentioned configuration module 11, can specifically include opening unit, closing unit and start unit;Wherein,
Opening unit, for opening neoreadyserver services.
Specifically, utilizing #systemctl enable neoready-backend and #systemctl start
Neoready-backend orders, open neoreadyserver services.
Closing unit, for closing Selinux.
Specifically, the SELINUX files in/etc/selinux/config catalogues are set to " disabled ", if
It is automatic to close Selinux failures, then it can receive the out code of user's input.
Start unit, the testing service for starting service end.
Specifically, starting the related testing service of service end, testing service can be adjusted according to practical application request.
In a kind of embodiment of the embodiment of the present invention, start unit can include service promoter unit and association
Discuss promoter unit;Wherein,
Promoter unit is serviced, the httpd for starting service end is serviced and NFS service, and in service end
Export files in fill in the path of test file.
Wherein, the path that test file is filled in the export files of service end is in service end/etc/exports texts
Filled in part:/ var/www/neoready/export/var/crash* (rw, sync, no_root_squash) test path.
Agreement promoter unit, transmission control protocol and UDP are started for service end.
Specifically, agreement promoter unit starts bw_tcp-s and lat_udp-the s orders of service end in auxiliary machine.
Module 12 is installed, for installing RPM bags and running environment configuration file.
Specifically, after certification environment is configured, using needed for NeoReady-Deploy kits installation certification environment
Environment profile needed for multiple RPM bags and operation certification environment, wherein, environment profile includes script file, ring
The content that border configuration file includes can be set according to practical application request.
In a kind of practical application of the embodiment of the present invention, auxiliary machine can also include:
Fire wall closedown module, for closing fire wall.
, can if specifically, being provided with fire wall in auxiliary machine, impacted to avoid fire wall from communicating subsequent network
To close fire wall, it is ensured that communication is smooth.
Further, above-mentioned installation module 12, can include cleaning unit, decompression units and installation unit;Wherein,
Unit is cleared up, for clearing up installation environment.
It is understood that to avoid the program for thering is interference to install in installation environment, therefore first installation environment is examined
Survey, if detecting the program that interference is installed, it is cleared up, it is ensured that installation environment can smoothly install follow-up text
Part.
Decompression units, RPM bags are extruded for solving.
Specifically, the RPM bags of compressive state are decompressed, it is decompressed in auxiliary machine.
Installation unit, for installing RPM bags and running environment configuration file.
Specifically, install neoready-client, neoready-client-info, neoready-server,
Tetra- RMP bags of lmbench and operation server_config environment profiles.
It should be noted that due to auxiliary machine without change, therefore successfully configuration certification environment and install RPM bags with
, can be no longer to auxiliary machine again portion on the premise of machine testing content to be measured is without change after running environment configuration file
Certification environment is affixed one's name to, but certification environment that can be directly before use performs test.
It can be seen that, auxiliary machine configures certification environment using configuration module 11 in the embodiment of the present invention, is pacified using module 12 is installed
RPM bags and running environment configuration file are filled, is realized for auxiliary machine certification environment automatic deployment, it is to avoid be manual to install and match somebody with somebody
The risk for the human error that environment is brought is put, makes authentication test can be with the progress of quickly and orderly.
It is shown in Figure 2 applied to acceptance of the bid kylin certification environment the embodiment of the invention also discloses a kind of machine to be measured, should
Machine includes:
Configuration module 21, for configuring certification environment.
Specifically, the service end in machine to be measured is using needed for NeoReady-Deploy kits configuration certification environment
Certification environment, to realize that subsequent file is installed automatically.
Further, the configuration module 21 in machine to be measured can include opening unit and copy cell;Wherein
Opening unit, for opening Selinux.
Specifically, the disabled in SELINUX files under/etc/selinux/config catalogues is changed to
Enforcing, so as to open Selinux.
Copy cell, catalogue is called for copying virtual image file to virtual image.
Specifically, by ns7.2.img, neoreadyData-ns7.2.img virtual image file copy to machine to be measured/
Var/lib/libvirt/images virtual images are called under catalogue, copy ns7.2.xml virtual image files to machine to be measured
/ etc/libvirt/qemu/ virtual images are called under catalogue.
Module 22 is installed, for installing RPM bags and running environment configuration file.
Specifically, RPM bags and operation certification environment needed for certification environment is installed using NeoReady-Deploy kits
Required environment profile.
Above-mentioned installation module 22, can include cleaning unit, decompression units and installation unit;Wherein,
Unit is cleared up, for clearing up installation environment.
Specifically, cleaning installation environment, it is to avoid have the program that interference is installed in installation environment, therefore first installation environment is entered
Row detection, if detecting the program that interference is installed, is cleared up it, it is ensured that subsequent installation will not be disturbed or beat
It is disconnected.
Decompression units, RPM bags are extruded for solving.
Specifically, the RPM bags of compressive state are decompressed, it is decompressed in machine to be measured.
Installation unit, for installing RPM bags and running environment configuration file.
Specifically, installing neoready-client, neoready-client-info, dt, kernel-abi-
Whitelists, kernel-debuginfo, kernel-debuginfo-common, lmbench, stress and qemu-kvm-
Tools-1.5.3-105.el7.x86_64 totally 9 RMP bags, run client_config environment profiles.
It should be noted that server_deploy and client_depoly are operating deployment, follow-up test first
In if not restarting machine, then directly operation " neoready " order can then start test;If machine is restarted afterwards again
, it is necessary to which running can then be started normally after server_config and client_config orders with neoready orders during test
Test.
It can be seen that, machine to be measured configures certification environment using configuration module 21 in the embodiment of the present invention, is pacified using module 22 is installed
RPM bags and running environment configuration file are filled, realize the automatic deployment of machine certification environment to be measured, it is to avoid manual installation and configuration
The risk for the human error that environment is brought, makes authentication test can be with the progress of quickly and orderly.
Accordingly, present invention implementation also example discloses a kind of terminal test system, including the use disclosed in previous embodiment
In providing the auxiliary machine of network test and the hardware component for test server and the compatibility of operating system for machine to be measured
Machine to be measured.Specific configuration on the auxiliary machine and machine to be measured may be referred to the corresponding contents disclosed in previous embodiment,
This is no longer repeated.
Corresponding with the terminal test system disclosed in previous embodiment, the embodiment of the present invention accordingly discloses a kind of terminal
Method of testing, shown in Figure 3, this method includes:
Step S11:Respectively auxiliary machine and machine to be measured configure certification environment;
Step S12:RPM bags and running environment configuration file are installed for auxiliary machine;
Step S13:RPM bags and running environment configuration file are installed for machine to be measured.
It can be seen that, it is respectively auxiliary machine and machine to be measured configuration certification environment in the embodiment of the present invention, is that auxiliary machine installs RPM bags
And environment profile, it is that machine to be measured installs RPM bags and running environment configuration file, realizes the automatic portion of terminal authentication environment
Administration, it is to avoid the risk for the human error that manual installation and configuration surroundings are brought, makes the authentication test can be with the progress of quickly and orderly.
Finally, in addition it is also necessary to explanation, herein, such as first and second or the like relational terms be used merely to by
One entity or operation make a distinction with another entity or operation, and not necessarily require or imply these entities or operation
Between there is any this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant meaning
Covering including for nonexcludability, so that process, method, article or equipment including a series of key elements not only include that
A little key elements, but also other key elements including being not expressly set out, or also include be this process, method, article or
The intrinsic key element of equipment.In the absence of more restrictions, the key element limited by sentence "including a ...", is not arranged
Except also there is other identical element in the process including the key element, method, article or equipment.
Detailed Jie has been carried out to a kind of auxiliary machine provided by the present invention, machine to be measured, terminal test system and method above
Continue, specific case used herein is set forth to the principle and embodiment of the present invention, the explanation of above example is only
It is the method and its core concept for being used to help understand the present invention;Simultaneously for those of ordinary skill in the art, according to this hair
Bright thought, be will change in specific embodiments and applications, in summary, and this specification content should not be managed
Solve as limitation of the present invention.
Claims (10)
1. a kind of auxiliary machine, it is characterised in that applied to acceptance of the bid kylin certification environment, including:
Configuration module, for configuring certification environment;
Module is installed, for installing RPM bags and running environment configuration file.
2. auxiliary machine according to claim 1, it is characterised in that the installation module, including:
Unit is cleared up, for clearing up installation environment;
Decompression units, RPM bags are extruded for solving;
Installation unit, for installing RPM bags and running environment configuration file.
3. auxiliary machine according to claim 1, it is characterised in that the configuration module, including:
Opening unit, for opening neoreadyserver services;
Closing unit, for closing Selinux;
Start unit, the testing service for starting service end.
4. auxiliary machine according to claim 3, it is characterised in that the start unit, including:
Promoter unit is serviced, the httpd for starting the service end is serviced and NFS service, and in the clothes
The path of test file is filled in the export files at business end;
Agreement promoter unit, transmission control protocol and UDP are started for the service end.
5. the auxiliary machine according to any one of claims 1 to 3, it is characterised in that also include:
Fire wall closedown module, for closing fire wall.
6. a kind of machine to be measured, it is characterised in that applied to acceptance of the bid kylin certification environment, including:
Configuration module, for configuring certification environment;
Module is installed, for installing RPM bags and running environment configuration file.
7. machine to be measured according to claim 6, it is characterised in that the configuration module, including:
Opening unit, for opening Selinux;
Copy cell, catalogue is called for copying virtual image file to virtual image.
8. machine to be measured according to claim 6, it is characterised in that the installation module, including:
Unit is cleared up, for clearing up installation environment;
Decompression units, RPM bags are extruded for solving;
Installation unit, for installing RPM bags and running environment configuration file.
9. a kind of terminal test system, it is characterised in that applied to acceptance of the bid kylin certification environment, including such as claim 1 to 5 times
Meaning one be used for for machine to be measured provides network test auxiliary machine and as claim 6 to 8 any one be used for test take
The hardware component of business device and the compatible machine to be measured of operating system.
10. a kind of terminal test method, it is characterised in that applied to acceptance of the bid kylin certification environment, including:
Respectively auxiliary machine and machine to be measured configure certification environment;
RPM bags and running environment configuration file are installed for the auxiliary machine;
RPM bags and running environment configuration file are installed for the machine to be measured.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710391963.2A CN107229496A (en) | 2017-05-27 | 2017-05-27 | A kind of auxiliary machine, machine to be measured, terminal test system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710391963.2A CN107229496A (en) | 2017-05-27 | 2017-05-27 | A kind of auxiliary machine, machine to be measured, terminal test system and method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107229496A true CN107229496A (en) | 2017-10-03 |
Family
ID=59933441
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710391963.2A Pending CN107229496A (en) | 2017-05-27 | 2017-05-27 | A kind of auxiliary machine, machine to be measured, terminal test system and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107229496A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111294252A (en) * | 2019-07-29 | 2020-06-16 | 展讯半导体(成都)有限公司 | Cluster test system |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102567051A (en) * | 2011-12-14 | 2012-07-11 | 中标软件有限公司 | Method and device for preparing graphical installation system of Loongson platform |
CN103037002A (en) * | 2012-12-21 | 2013-04-10 | 中标软件有限公司 | Method and system for arranging server cluster in cloud computing cluster environment |
CN103336688A (en) * | 2013-06-20 | 2013-10-02 | 中标软件有限公司 | Software integrating method and system oriented to cloud computing software research and development process |
CN103530148A (en) * | 2013-09-18 | 2014-01-22 | 国云科技股份有限公司 | Distribution method for large-scale Linux software package |
CN104317693A (en) * | 2014-10-30 | 2015-01-28 | 浪潮电子信息产业股份有限公司 | Method for automatically testing hard disk performance fluctuation |
CN104503772A (en) * | 2014-11-21 | 2015-04-08 | 北京奇虎科技有限公司 | Operating system installation and test environment establishment method and device based on virtual machine |
-
2017
- 2017-05-27 CN CN201710391963.2A patent/CN107229496A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102567051A (en) * | 2011-12-14 | 2012-07-11 | 中标软件有限公司 | Method and device for preparing graphical installation system of Loongson platform |
CN103037002A (en) * | 2012-12-21 | 2013-04-10 | 中标软件有限公司 | Method and system for arranging server cluster in cloud computing cluster environment |
CN103336688A (en) * | 2013-06-20 | 2013-10-02 | 中标软件有限公司 | Software integrating method and system oriented to cloud computing software research and development process |
CN103530148A (en) * | 2013-09-18 | 2014-01-22 | 国云科技股份有限公司 | Distribution method for large-scale Linux software package |
CN104317693A (en) * | 2014-10-30 | 2015-01-28 | 浪潮电子信息产业股份有限公司 | Method for automatically testing hard disk performance fluctuation |
CN104503772A (en) * | 2014-11-21 | 2015-04-08 | 北京奇虎科技有限公司 | Operating system installation and test environment establishment method and device based on virtual machine |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111294252A (en) * | 2019-07-29 | 2020-06-16 | 展讯半导体(成都)有限公司 | Cluster test system |
CN111294252B (en) * | 2019-07-29 | 2022-04-22 | 展讯半导体(成都)有限公司 | Cluster test system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11611487B2 (en) | Model driven process for automated deployment of domain 2.0 virtualized services and applications on cloud infrastructure | |
US8245222B2 (en) | Image installer | |
US20130151975A1 (en) | System and method for automated deployment of multi-component computer environment | |
US20170185431A1 (en) | Method and apparatus for dynamically implementing application function | |
CN106878334A (en) | The automatically dispose system and method for cloud | |
US20060294516A1 (en) | System and method for converting a target computing device to a virtual machine in response to a detected event | |
US20030217131A1 (en) | Processing distribution using instant copy | |
CN109976822A (en) | Configuration method, device and the distributed system of Distributed Application | |
CN104932919A (en) | Implementation method of Linux unattended setup | |
CN105847053B (en) | The method and system that more network interface card multisegments are arbitrarily bound are set automatically under LINUX system | |
CN103970655A (en) | Server automatic cluster testing method based on expect | |
EP3232322A1 (en) | Software verifying method and device | |
CN107453953A (en) | A kind of data update system and method based on httpclient | |
CN107229496A (en) | A kind of auxiliary machine, machine to be measured, terminal test system and method | |
CN105391737B (en) | A kind of load balancing main frame group's file synchronization processing method | |
US20090031302A1 (en) | Method for minimizing risks of change in a physical system configuration | |
CN107395423A (en) | The method and apparatus for binding the network port and network card interface | |
CN102841843B (en) | Compatible determination methods and device | |
CN114385195A (en) | Third-party platform deployment method, third-party platform deployment device, computer equipment and medium | |
CN105373477B (en) | Capacity testing method | |
Cisco | Release Notes for Address and Name Registrar Release 2.0.1 | |
Cisco | Installing and Uninstalling the Cisco Dialout Utility | |
Cisco | Installing and Uninstalling the Cisco Dialout Utility | |
Cisco | Preface | |
Cisco | About This Guide |
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: 20171003 |