CN107748709A - Test environment system, method and the analog machine of Iaas management platforms - Google Patents
Test environment system, method and the analog machine of Iaas management platforms Download PDFInfo
- Publication number
- CN107748709A CN107748709A CN201711055533.XA CN201711055533A CN107748709A CN 107748709 A CN107748709 A CN 107748709A CN 201711055533 A CN201711055533 A CN 201711055533A CN 107748709 A CN107748709 A CN 107748709A
- Authority
- CN
- China
- Prior art keywords
- server
- physical machine
- emulating
- iaas management
- machine server
- 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
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3058—Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3065—Monitoring arrangements determined by the means or processing involved in reporting the monitored data
Abstract
Present disclose provides a kind of test environment system, method and the analog machine of Iaas management platforms;The system includes an at least physical machine server and an at least emulating server, wherein, physical machine server and emulating server dock with Iaas management platforms, by Iaas management platform management;Emulating server is used for the operational factor for obtaining physical machine server, using operational factor analog physical machine server, with Iaas management platform interaction datas.The disclosure ensure that the accuracy of the result while testing cost is reduced.
Description
Technical field
This disclosure relates to system testing technical field, more particularly, to a kind of test environment system of Iaas management platforms,
Method and analog machine.
Background technology
Iaas (Infrastructure as a Service, infrastructure are to service) layer is the basic platform of cloud computing,
It can provide the user the service of computing basic facility, make user by the management to physical machine server and resource allocation
It can dispose and run any software.
Before Iaas management platforms come into operation, research staff needs to test the key index of platform;Surveying
, it is necessary to simulate the application environment of the platform when trying Iaas management platforms, Iaas management platforms are made to connect a large amount of physical machine servers,
To obtain the interactive performance of Iaas management platforms and physical machine server.For the application environment of the true simulation platform, use
Family can rent the hardware server of third party provider to obtain the test result close with true application environment, but expense mistake
It is high.And use simulator replace hardware server can with the interaction of analog hardware server and Iaas management platforms, but by
Differed greatly in simulator and real hardware server, it is difficult to the performance data of the hardware server under showing true environment,
Cause test result accuracy relatively low, lack persuasion.
The content of the invention
In view of this, the purpose of the disclosure is to provide a kind of test environment system, method and the mould of Iaas management platforms
Propose standby, while testing cost is reduced, ensure the accuracy of the result.
To achieve these goals, the technical scheme that the disclosure uses is as follows:
In a first aspect, present disclose provides a kind of test environment system of Iaas management platforms, the system includes at least one
Platform physical machine server and at least an emulating server, wherein, physical machine server and emulating server manage with Iaas
Platform docks, by Iaas management platform management;Emulating server is used for the operational factor for obtaining physical machine server, uses operation
Parameter simulation physical machine server, with Iaas management platform interaction datas.
Second aspect, present disclose provides a kind of operation method of the test environment system of Iaas management platforms, this method
Including:After physical machine server and emulating server dock with Iaas management platforms, by Iaas management platform management;Simulation suit
Business device obtains the operational factor of physical machine server, using operational factor analog physical machine server, is handed over Iaas management platforms
Mutual data.
The third aspect, present disclose provides a kind of method of testing of the test environment of Iaas management platforms, this method includes:
Detect the operation shape under the Iaas management platforms connection at least scene of a physical machine server and at least one emulating server
Condition;Wherein, emulating server is by the operational factor analog physical machine server of physical machine server, and with Iaas management platforms
Interaction data;Iaas management platform performances are tested according to operation conditions.
Fourth aspect, present disclose provides a kind of analog machine, the analog machine includes:Performance statistics device, it is shared in
Deposit and an at least emulating server;Performance statistics device is used for the daily record data and monitoring data for obtaining physical machine server,
The calling time delay of physical machine server is determined according to daily record data, time delay and monitoring data will be called as physical machine server
Operational factor, operational factor is stored to shared drive;Emulating server is used to obtain operational factor from shared drive, uses
Operational factor analog physical machine server, with Iaas management platform interaction datas.
Test environment system, method and the analog machine of above-mentioned Iaas management platforms, including an at least physical machine service
Device and at least an emulating server;Physical machine server and emulating server are by Iaas management platform management;Analog service
After device gets the operational factor of physical machine server, the operational factor analog physical machine server and Iaas management platforms are used
The process of interaction data;Which builds Iaas management platforms by the way of physical machine server and emulating server are combined
Test environment, not only reduce the cost for disposing a large amount of physical machine servers, be also more nearly the performance of emulating server
Physical machine server, the result accuracy is higher, has convincingness.
Other feature and advantage of the disclosure will illustrate in the following description, or, Partial Feature and advantage can be with
Deduce from specification or unambiguously determine, or the above-mentioned technology by implementing the disclosure can be learnt.
To enable the above objects, features and advantages of the present invention to become apparent, better embodiment cited below particularly, and match somebody with somebody
Accompanying drawing appended by conjunction, is described in detail below.
Brief description of the drawings
, below will be to specific in order to illustrate more clearly of disclosure embodiment or technical scheme of the prior art
The required accompanying drawing used is briefly described in embodiment or description of the prior art, it should be apparent that, in describing below
Accompanying drawing is some embodiments of the disclosure, for those of ordinary skill in the art, before creative work is not paid
Put, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of application environment schematic diagram for Iaas management platforms that disclosure embodiment provides;
Fig. 2 is a kind of structural representation of the test environment system for Iaas management platforms that disclosure embodiment provides;
Fig. 3 is the structural representation of the test environment system for another Iaas management platforms that disclosure embodiment provides
Figure;
Fig. 4 is the structural representation of the test environment system for another Iaas management platforms that disclosure embodiment provides
Figure;
Fig. 5 is that performance statistics device obtains in the test environment system for the Iaas management platforms that disclosure embodiment provides
Take the method flow diagram for calling time delay;
Fig. 6 is that performance statistics device obtains in the test environment system for the Iaas management platforms that disclosure embodiment provides
Take the method flow diagram of monitoring data;
Fig. 7 be disclosure embodiment provide Iaas management platforms test environment system in, emulating server with
Iaas management platforms carry out the method flow diagram of data interaction;
Fig. 8 is a kind of operation method flow of the test environment system for Iaas management platforms that disclosure embodiment provides
Figure;
Fig. 9 is a kind of method of testing flow of the test environment system for Iaas management platforms that disclosure embodiment provides
Figure;
Figure 10 is a kind of structural representation for analog machine that disclosure embodiment provides.
Embodiment
To make the purpose, technical scheme and advantage of disclosure embodiment clearer, below in conjunction with accompanying drawing to this public affairs
The technical scheme opened is clearly and completely described, it is clear that and described embodiment is a part of embodiment of the disclosure,
Rather than whole embodiment.Based on the embodiment in the disclosure, those of ordinary skill in the art are not making creation
Property work under the premise of the every other embodiment that is obtained, belong to the scope of disclosure protection.
Cloud computing platform can totally be divided into Iaas, Paas (Platform-as-a-Service, platform i.e. service) and
Three hierarchical levels of Saas (Software-as-a-Service, software service);Wherein, Iaas layers are that the basis of cloud computing is put down
Platform;A kind of application environment schematic diagram of Iaas management platforms shown in Figure 1;Iaas management platforms pass through intermediate software layer
More physical machine servers of hypervisor and bottom connect, can by the management to physical machine server and resource allocation
To provide the user the service of computing basic facility, for example, processing CPU, internal memory, storage, network and other basic calculating moneys
Source, allow users to dispose and run any software, including operating system and application program etc..
In order to provide the user with stabilization, high-quality infrastructure services, Iaas management platforms need with higher performance,
The requirement of capacity, stability;Before Iaas management platforms come into operation, research staff needs the key index progress to platform
Test, for example, the platform can manage how many physical machine servers, the management that can support how many virtual machine, how many user can be supported
Virtual machine creating and management etc. are concurrently carried out, to grasp whether the performance of the Iaas management platforms meets user's request.
, it is necessary to simulate the application environment of the platform when test and checking Iaas management platforms, connect Iaas management platforms
A large amount of physical machine servers, to obtain the interactive performance of Iaas management platforms and physical machine server.In order to which true simulation should
The application environment of platform is, it is necessary to dispose hundreds and thousands of or even thousands of physical machine servers, the complexity of its cost and operation
It is very high;The hardware server that the users such as cloud platform software developer can rent third party provider can be obtained with truly applying
The close test result of environment, but expense is too high.
Use simulator replace hardware server can with the interaction of analog hardware server and Iaas management platforms,
That is, driven piles in Iaas management platforms with the interface that physical machine driving layer interacts, make to be sent to actual physical machine server
Interface requests are directly internal to be returned, and simulates real interface interchange effect;Cloud platform developer can also be by developing physics
The simulator of machine hypervisor layers, the driving layer interface of server is simulated by simulator, and cloud platform accesses simulator
It is managed, simulates the computing environment of substantial amounts of physical machine node.But due to simulator and real hardware server
Differ greatly, it is difficult to which the performance data of the hardware server under showing true environment, causes test result accuracy relatively low, lack
Convincingness.
Because Iaas platforms are the very high systems of complexity, led between internal module and with peripheral resource correlation
Pull very big, if making simulator closer to real equipment by Optimized Simulated device code, larger tired of development amount will be faced
Border, and still realizability is poor for algorithm, while it is still unavoidable from the problem of data are short of convincingness.
The problem of being difficult to take into account cost and the degree of accuracy for the test modes of above-mentioned existing Iaas platforms, the disclosure are implemented
Mode provides a kind of test environment system, method and the analog machine of Iaas management platforms;The technology can apply to Iaas
In the test process of management platform, it can also be applied in the test process of other cloud computing platforms, the technology can use phase
The software or hardware of pass are realized, are described below by embodiment.
In wherein a kind of embodiment, a kind of knot of the test environment system of Iaas management platforms shown in Figure 2
Structure schematic diagram;The system includes:An at least physical machine server 20 and at least an emulating server, wherein, physical machine clothes
Business device 20 and emulating server dock with Iaas management platforms, by Iaas management platform management;Emulating server 20 is used to obtain
The operational factor of physical machine server is taken, using operational factor analog physical machine server, with Iaas management platform interaction datas.
Above-mentioned emulating server 20 can run multiple simulation processes, each simulate process, can be according to physical machine service
The operational factor of device simulates a physical machine server.When the quantity of the simulation process set on an emulating server is larger
When, more emulating servers can also be configured and shared, can so reduce the hardware requirement to emulating server.
Illustrated in Fig. 2 by taking three emulating servers as an example, respectively emulating server 21, emulating server 22 and mould
Intend server 23;Three emulating servers dock with Iaas management platforms respectively;Three emulating servers can obtain physical machine
The operational factor of server 20, for example, interface time delay, dynamic monitoring data during Iaas management platform interaction datas etc.;Simulation
Server adjusts itself and the running status during progress data interaction of Iaas management platforms according to the operational factor got, with mould
Intend the interaction of real physical machine server and Iaas management platforms.
A kind of test environment system for Iaas management platforms that disclosure embodiment provides, including an at least physical machine
Server and at least an emulating server;Physical machine server and emulating server are by Iaas management platform management;Simulation
After server gets the operational factor of physical machine server, managed using the operational factor analog physical machine server and Iaas
The process of platform interaction data;Which builds Iaas management by the way of physical machine server and emulating server are combined
The test environment of platform, the cost for disposing a large amount of physical machine servers is not only reduced, also makes the performance of emulating server more
Close to physical machine server, the result accuracy is higher, has convincingness.
In wherein another embodiment, the test environment system of another Iaas management platforms shown in Figure 3
Structural representation;The system is realized on the basis of shown system in fig. 2;The system includes an at least physical machine server
Illustrated in 20 and an at least emulating server, Fig. 3 by taking three emulating servers as an example, respectively emulating server 21,
Emulating server 22 and emulating server 23.
The system also includes:Connect the performance statistics device 30 and shared drive of physical machine server and emulating server
31;The performance statistics device 30 is used for the daily record data and monitoring data for obtaining physical machine server, is determined according to daily record data
The calling time delay of physical machine server, time delay and monitoring data will be called to be run as the operational factor of physical machine server
Parameter is stored to shared drive 31;Above-mentioned emulating server is used to obtain operational factor from shared drive, according to calling time delay
Respond the signaling of Iaas management platforms and send monitoring data.
Generally, above-mentioned performance statistics device is connected with physical machine server, shared drive respectively with more emulating servers
Connection;After performance statistics device gets the daily record data of physical machine server, corresponding daily record lattice are extracted from the daily record data
The interface interchange origin log and interface interchange of formula terminate daily record, are adjusted by calculating the interface interchange origin log and the interface
With the time difference for terminating daily record, above-mentioned calling time delay is obtained.The day monitoring data of above-mentioned physical machine server can be physical machine
The dynamic performance parameter of server, for example, the virtual machine quantity run on the physical machine server, and the fortune of each virtual machine
Row state etc..
Performance statistics device is total to after the daily record data and supervising data storage to shared drive of above-mentioned physical machine server
Enjoying internal memory can be according to the calling time delay in shared drive to each emulating server open visit interface, emulating server
Iaas management platforms are responded, and the monitoring data in shared drive is sent to Iaas management platforms.
Above-mentioned emulating server, performance statistics device and shared drive can be realized (for example, by one by a hardware device
Platform server is realized), it can also be realized by more hardware devices, for example, emulating server, performance statistics device and shared drive
Realized respectively by a hardware device, any two kinds in emulating server, performance statistics device and shared drive are shared one
The implementations such as hardware device.When emulating server quantity is more, or the data volume such as operational factor of physical machine server compared with
When big, every kind of in above-mentioned emulating server, performance statistics device and shared drive can be jointly real by more hardware devices
It is existing.
Above-mentioned embodiment, by setting performance statistics device and shared drive, it can obtain and preserve physical machine service
The daily record data and monitoring data of device, emulating server are handed over according to the daily record data and monitoring data of preservation with Iaas management platforms
Mutual data, the performance of emulating server is set to be more nearly physical machine server, the result accuracy is higher, has convincingness.
In wherein another embodiment, the test environment system of another Iaas management platforms shown in Figure 4
Structural representation;The system is realized on the basis of shown system in figure 3;In the system, Iaas management platforms are managed for Iaas
Platform cluster, the Iaas management platforms cluster are provided with different software, group comprising an at least server, different server
Part or program, for performing different management roles, for example, database, message-oriented middleware, SDN (Software Defined
Network, software defined network) component, storage assembly, service management program etc..Each clothes in Iaas management platform clusters
Device be engaged in by the interior service management program set, is docked with the Iaas in the physical machine server and/or emulating server of outside
Process connects.
Above-mentioned performance statistics device, which is additionally operable to establish SSH with physical machine server, to be connected, and is taken by SSH connections from physical machine
The Iaas docking processes of business device obtain monitoring data, and obtain daily record data from the file system of physical machine server.Generally,
Performance statistics device is connected with every physical machine server;It is connected as in Fig. 4 with performance statistics device and physical machine server 20
Example illustrates.
In the test environment system of Iaas management platforms shown in Figure 5, performance statistics device, which obtains, calls time delay
Method flow diagram;Performance statistic device includes main program and log read thread in this method, and this comprises the following steps:
Step S502, in JSON, (JavaScript Object Notation, JavaScript object represent main program
Method) IP address, Hostname, account, password and the iog location information of physical machine server are configured in file.
Step S504, main program on startup, load above-mentioned JSON configuration files, read the list of physical machine server;
Journal format (log forms) and URL (Uniform Resource Locator, unified resource are included in the JSON configuration files
Finger URL) corresponding relation.
JSON configuration file examples are as follows:
Step S506, main program starting log read thread.
Step S508, log read thread establish SSH (Secure Shell, containment agreement) even with physical machine server
Connect.
Step S510, log read thread send to physical machine server and read new log instruction, and the new daily record of the reading refers to
Order can be that tail-f location_of_log are instructed.
Step S512, physical machine server return to daily record data to log read thread, and the daily record data can be daily record
The form of stream.
Step S514, log read thread judge whether current log stream is target journaling, if it is, extraction interface interchange
Origin log and interface interchange terminate daily record, calculate the time delay between this two daily records, as calling time delay;Wherein, interface interchange
URL sart point in times are have recorded in origin log, interface interchange, which terminates, have recorded URL end time points in daily record, call time delay
The as difference at the two time points.
Daily record start-of-format and daily record terminate form and the configuration of corresponding URL information in above-mentioned JSON configuration files,
Different types of virtualization technology can be adapted to by changing configuration file and extends new excuse.Interface interchange configuration text
Part format sample is as follows:
Above-mentioned steps S514, it can be realized by following codes:
Step S516, the calling time delay got is updated to shared drive.
In the above method, performance statistics device can be obtained by main program and log read thread and preserve physical machine clothes
The daily record data of business device, and calculate acquisition and call time delay, emulating server can be made to be managed according to calling DELAY RESPONSE Iaas
Platform, the performance of emulating server is set to be more nearly physical machine server, the result accuracy is higher, has convincingness.
In the test environment system of Iaas management platforms shown in Figure 6, performance statistics device obtains monitoring data
Method flow diagram;Performance statistic device includes main program in this method;In this method, with performance statistics device and two physical machines
Exemplified by server interacts, this comprises the following steps:
Step S602, main program read the list of physical machine server.
Step S604, log-on data obtain thread.
Step S606, call REST (Representational State Transfer, declarative state transmission) interface
Obtain the monitoring data of physical machine server 1.
Step S608, REST interfaces are called to obtain the monitoring data of physical machine server 2;Above-mentioned monitoring data includes dynamic
Monitoring data;When actually realizing, the monitoring number of physical machine server can also be obtained by other interfaces, or other modes
According to.
Step S610, monitoring data corresponding to the Hostname of physical machine server is preserved to shared drive.
In the above method, performance statistics device can be obtained by main program and data acquisition thread and preserve physical machine clothes
The monitoring data of business device, can make emulating server send the monitoring data to Iaas management platforms, make emulating server
Performance is more nearly physical machine server, and the result accuracy is higher, has convincingness.
In the test environment system of Iaas management platforms shown in Figure 7, emulating server enters with Iaas management platforms
The method flow diagram of row data interaction;In said system, each emulating server is each configured with docking with Iaas management platforms
API (Application Programming Interface, application programming interface) interface so that Iaas management is flat
Platform accesses emulating server by api interface;Specifically, the api interface specifically include hypervisor layer interfaces and
Hypervisor layer systems performance data obtains interface.
This method comprises the following steps:
Step S702, emulating server obtain the list of physical machine server to shared drive;The emulating server may be used also
With to the list of shared drive Simultaneous Physical machine server.
Each emulating server and each physical machine server in system can identify according to sequence number respectively in advance;Its
In, the mark of physical machine server is stored in above-mentioned list.
Step S704, shared drive return to above-mentioned list to emulating server.
Step S706, (i.e. physical machine server is total individual by the length of itself sequence number and the list for physical machine simulator
Number) carry out dividing exactly computing, obtain remainder;The accounts information of the physical machine server of the acquisition serial number remainder;The step can be with
Instructed and realized by uuid%sizeof (hostname list);Wherein, uuid is the identification number of emulating server itself.
In order to test performance of the Iaas management platforms when managing a large amount of servers, in above-mentioned test environment system
In, above-mentioned physical machine server and emulating server are one-to-many corresponding relation;If the number of units of physical machine server is more
Platform, the number of units of emulating server corresponding to every physical machine server are balanced.Pass through above-mentioned remainder operation, it is possible to achieve every thing
The number of emulating server corresponding to reason machine server is balanced, or even identical, makes test environment and Iaas management platforms real
Application scenarios are more nearly, and further improve the accuracy of the result.
Step S708, Iaas management platform calls hypervisor layer interfaces to emulating server.
Step S710, emulating server obtain from shared drive and call time delay corresponding to above-mentioned accounts information, the calling
The time delay value of time delay namely URL.
Step S712, dormancy is carried out according to the calling time delay.
Step S714, emulating server return to response data to Iaas management platforms.
Step S716, Iaas management platform is called hypervisor layer systems performance data to obtain and connect to emulating server
Mouthful.
Step S718, emulating server obtain monitoring data corresponding to above-mentioned accounts information to shared drive.
Step S720, emulating server return to the monitoring data to Iaas management platforms.
In the test environment of Iaas management platforms, in Iaas management platforms, emulating server and physical machine service
Device is identical;In the above method, emulating server obtains the calling time delay and monitoring data of physical machine server from shared drive,
To simulate the interaction of real physical machine server and Iaas management platforms, the performance of emulating server is set to be more nearly thing
Reason machine server, the result accuracy is higher, has convincingness.
Corresponding to said system embodiment, in wherein another embodiment, a kind of Iaas shown in Figure 8 pipe
The flow chart of the operation method of the test environment system of platform, this method comprise the following steps:
After step S802, physical machine server and emulating server dock with Iaas management platforms, managed by Iaas flat
Platform management;
Step S804, emulating server obtain the operational factor of physical machine server, use operational factor analog physical machine
Server, with Iaas management platform interaction datas.
A kind of operation method of the test environment system for Iaas management platforms that disclosure embodiment provides, physical machine clothes
Business device and emulating server are by Iaas management platform management;Emulating server gets the operational factor of physical machine server
Afterwards, using the process of the operational factor analog physical machine server and Iaas management platform interaction datas;Which uses physics
The mode that machine server and emulating server are combined builds the test environment of Iaas management platforms, and it is a large amount of to not only reduce deployment
The cost of physical machine server, the performance of emulating server is more nearly physical machine server, the result accuracy compared with
Height, there is convincingness.
Above-mentioned each emulating server and each physical machine server identify according to sequence number respectively;Above-mentioned emulating server obtains
The step of operational factor for taking physical machine server, includes:Emulating server obtains the name list of physical machine server;Simulation
Server divides exactly the total number of physical machine server in name list using itself sequence number, obtains remainder;Emulating server obtains
The operational factor of the physical machine server of serial number remainder.
If system includes:Performance statistics device and shared drive, method also include:Performance statistics device obtains physical machine
The daily record data and monitoring data of server, the calling time delay of physical machine server is determined according to daily record data, time delay will be called
With operational factor of the monitoring data as physical machine server, operational factor is stored to shared drive;Above-mentioned emulating server
The operational factor of physical machine server is obtained, using operational factor analog physical machine server, number is interacted with Iaas management platforms
According to the step of, including:After emulating server docks with Iaas management platforms, operational factor is obtained from shared drive, according to tune
With the signaling and transmission monitoring data of DELAY RESPONSE Iaas management platforms.
The step of above-mentioned performance statistics device determines the calling time delay of physical machine server according to daily record data includes:Performance
Statistic device chooses origin log from daily record data and terminates daily record, target day according to the target journaling form being pre-configured with
Will form includes:Daily record start-of-format and daily record terminate form;Calculate origin log and terminate the time difference between daily record, by the time
Calling time delay of the difference as physical machine server.
The step of above-mentioned emulating server is according to the signaling and transmission monitoring data for calling DELAY RESPONSE Iaas management platforms
Including:If emulating server receives the interface interchange instruction of Iaas management platforms, the physical machine server of simulation is obtained
Hostname and calling time delay, after waiting duration corresponding to time delay to be called, are returned with the identity of Hostname to Iaas management platforms
Return interface interchange response;If the performance data that emulating server receives Iaas management platforms obtains instruction, host name is obtained
Monitoring data corresponding to title, after waiting duration corresponding to time delay to be called, returned with the identity of Hostname to Iaas management platforms
Monitoring data.
Corresponding to said system embodiment, in wherein another embodiment, a kind of Iaas shown in Figure 9 pipe
The flow chart of the method for testing of the test environment system of platform, this method comprise the following steps:
Step S902, detection Iaas management platform a connection at least physical machine server and an at least emulating server
Scene under operation conditions;Wherein, emulating server is by the operational factor analog physical machine server of physical machine server,
And with Iaas management platform interaction datas.
Step S904, Iaas management platform performances are tested according to operation conditions.
A kind of method of testing for test environment system using Iaas management platforms that disclosure embodiment provides, simulation
Server by the operational factor analog physical machine server of physical machine server, and with Iaas management platform interaction datas;It is logical
The operation crossed under the detection Iaas management platforms connection at least scene of a physical machine server and at least one emulating server
Situation, Iaas management platform performances can be tested;Which is by the way of physical machine server and emulating server are combined
The test environment of Iaas management platforms is built, the cost for disposing a large amount of physical machine servers is not only reduced, also makes analog service
The performance of device is more nearly physical machine server, and the result accuracy is higher, has convincingness.
Corresponding to said system embodiment and method embodiment, in wherein another embodiment, referring to Figure 10
A kind of structural representation of shown analog machine;Performance statistics device 100, shared drive 101 are provided with the analog machine
An at least emulating server;In Figure 10 by taking three emulating servers as an example, respectively emulating server 102, analog service
Device 103 and emulating server 104;
Performance statistics device 100 is used for the daily record data and monitoring data for obtaining physical machine server, according to daily record data
The calling time delay of physical machine server is determined, the operational factor of time delay and monitoring data as physical machine server will be called, will
Operational factor is stored to shared drive 101;
Emulating server 102-104 is used to obtain operational factor from shared drive, uses operational factor analog physical machine
Server, with Iaas management platform interaction datas.
Disclosure embodiment provides a kind of test environment system, method and the analog machine of Iaas management platforms, solution
Determine Iaas platform properties and the problem of volume test environment difficulty is built, simulator test data lacks persuasion, be greatly reduced
Iaas platform properties and the difficulty of capacity checking.The disclosure is disposed simultaneously in the bottom physical machine that Iaas platforms are managed
Real physical machine and simulator, simulator real time parsing physical machine server hypervisor layer daily records, while in real time to thing
Reason machine captures monitoring data, and this two classes data is analyzed in real time, and dynamic updates the performance of simulator itself, and simulation connects
The calling time delay of mouth layer, so as to obtain the test data consistent with true environment.
The experiment proved that, the test environment system of a kind of Iaas management platforms that disclosure embodiment provides, method and
Analog machine, in the performance test of H3Cloud platforms, obtain and identical performance under full physical machine server disposition environment
Test result.
In several embodiments provided herein, it should be understood that disclosed apparatus and method, can also lead to
Other modes are crossed to realize.Device embodiments described above are only schematical, for example, the flow chart in accompanying drawing and
Block diagram shows the system in the cards of the device of multiple embodiments according to the present invention, method and computer program product
Framework, function and operation.At this point, each square frame in flow chart or block diagram can represent a module, program segment or generation
A part for code, a part for the module, program segment or code include one or more and are used to realize defined logic function
Executable instruction.It should also be noted that at some as in the implementation replaced, the function that is marked in square frame can also be with
Occur different from the order marked in accompanying drawing.For example, two continuous square frames can essentially perform substantially in parallel, they
Sometimes can also perform in the opposite order, this is depending on involved function.It is also noted that block diagram and/or flow chart
In each square frame and block diagram and/or the square frame in flow chart combination, the special of function or action as defined in performing can be used
Hardware based system is realized, or can be realized with the combination of specialized hardware and computer instruction.
In addition, each functional module or unit in each embodiment of the present invention can integrate to form one solely
Vertical part or modules individualism, can also two or more modules be integrated to form one it is independent
Part.
If the function is realized in the form of SFU software functional unit and is used as independent production marketing or in use, can be with
It is stored in a computer read/write memory medium.Based on such understanding, the technical scheme of the disclosure is substantially in other words
The part to be contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter
Calculation machine software product is stored in a storage medium, including some instructions are causing a computer equipment (can be
People's computer, server, or network equipment etc.) perform all or part of step of each embodiment methods described of the disclosure
Suddenly.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), deposit at random
Access to memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.
Finally it should be noted that:The embodiment of embodiment described above, the only disclosure, to illustrate this public affairs
The technical scheme opened, rather than its limitations, the protection domain of the disclosure are not limited thereto, although with reference to aforementioned embodiments pair
The disclosure is described in detail, it will be understood by those within the art that:Any technology for being familiar with the art
In the technical scope that the disclosure discloses, it can still modify personnel to the technical scheme described in aforementioned embodiments
Or change can be readily occurred in, or equivalent substitution is carried out to which part technical characteristic;And these modifications, change or replacement,
The essence of appropriate technical solution is departed from the spirit and scope of disclosure embodiment technical scheme, should all cover in this public affairs
Within the protection domain opened.Therefore, the protection domain of the disclosure described should be defined by scope of the claims.
Claims (12)
1. a kind of test environment system of Iaas management platforms, it is characterised in that the system includes:An at least physical machine clothes
Business device and an at least emulating server, wherein,
The physical machine server and emulating server dock with Iaas management platforms, by the Iaas management platforms management;
The emulating server is used for the operational factor for obtaining the physical machine server, using described in operational factor simulation
Physical machine server, with the Iaas management platforms interaction data.
2. system according to claim 1, it is characterised in that the system also includes:Connect the physical machine server
With the performance statistics device and shared drive of emulating server;Wherein,
The performance statistics device is used for the daily record data and monitoring data for obtaining the physical machine server, according to the daily record
Data determine the calling time delay of the physical machine server, using the calling time delay and the monitoring data as the physical machine
The operational factor of server, the operational factor is stored to the shared drive;
The emulating server is used to obtain the operational factor from the shared drive, according to the calling DELAY RESPONSE institute
State the signaling of Iaas management platforms and send the monitoring data.
3. system according to claim 2, it is characterised in that the performance statistics device is additionally operable to take with the physical machine
Business device establishes SSH connections, and docking process from the Iaas of the physical machine server by the SSH connections obtains monitoring data,
And obtain daily record data from the file system of the physical machine server.
4. system according to claim 1, it is characterised in that each emulating server be each configured with it is described
The api interface of Iaas management platforms docking, so that the Iaas management platforms access the analog service by the api interface
Device.
5. system according to claim 1, it is characterised in that if the number of units of the physical machine server is more, often
The number of units of emulating server corresponding to physical machine server described in platform is balanced.
6. the operation method of any one of a kind of claim 1-5 system, it is characterised in that methods described includes:
After the physical machine server and emulating server dock with Iaas management platforms, by the Iaas management platforms pipe
Reason;
The emulating server obtains the operational factor of the physical machine server, and the physics is simulated using the operational factor
Machine server, with the Iaas management platforms interaction data.
7. according to the method for claim 6, it is characterised in that each emulating server and each physical machine clothes
Business device identifies according to sequence number respectively;
The step of operational factor of the emulating server acquisition physical machine server, includes:
The emulating server obtains the name list of the physical machine server;
The emulating server divides exactly the total number of physical machine server described in the name list using itself sequence number, obtains
Remainder;
The emulating server obtains the operational factor of the physical machine server of remainder described in serial number.
8. according to the method for claim 6, it is characterised in that if the system includes:Performance statistics device and shared
Internal memory, methods described also include:The performance statistics device obtains the daily record data and monitoring data of the physical machine server,
The calling time delay of the physical machine server is determined according to the daily record data, the calling time delay and the monitoring data are made
For the operational factor of the physical machine server, the operational factor is stored to the shared drive;
The emulating server obtains the operational factor of the physical machine server, and the physics is simulated using the operational factor
Machine server, the step of with the Iaas management platforms interaction data, including:The emulating server and Iaas management are flat
After platform docking, the operational factor is obtained from the shared drive, is managed according to Iaas described in the calling DELAY RESPONSE flat
The signaling and the transmission monitoring data of platform.
9. according to the method for claim 8, it is characterised in that the performance statistics device determines according to the daily record data
The step of calling time delay of the physical machine server, includes:
The performance statistics device according to the target journaling form being pre-configured with, chosen from the daily record data origin log and
Daily record is terminated, the target journaling form includes:Daily record start-of-format and daily record terminate form;
The origin log and the time difference terminated between daily record are calculated, using the time difference as the physical machine server
Calling time delay.
10. according to the method for claim 8, it is characterised in that the emulating server is according to the calling DELAY RESPONSE
The step of signaling and the transmission monitoring data of the Iaas management platforms, includes:
If the emulating server receives the interface interchange instruction of the Iaas management platforms, the physics of simulation is obtained
The Hostname and calling time delay of machine server, after waiting duration corresponding to the calling time delay, with the body of the Hostname
Part returns to interface interchange response to the Iaas management platforms;
If the performance data that the emulating server receives the Iaas management platforms obtains instruction, the host name is obtained
Monitoring data corresponding to title, wait corresponding to the calling time delay after duration, with the identity of the Hostname to the Iaas
Management platform returns to the monitoring data.
11. the method for testing of any one of a kind of claim 1-5 system, it is characterised in that methods described includes:
Detect the field that Iaas management platforms connect at least one the physical machine server and at least one emulating server
Operation conditions under scape;Wherein, the emulating server simulates the physics by the operational factor of the physical machine server
Machine server, and with the Iaas management platforms interaction data;
The Iaas management platforms performance is tested according to the operation conditions.
12. a kind of analog machine, it is characterised in that the analog machine includes:Performance statistics device, shared drive and at least one
Platform emulating server;
The performance statistics device is used for the daily record data and monitoring data for obtaining physical machine server, according to the daily record data
The calling time delay of the physical machine server is determined, using the calling time delay and the monitoring data as the physical machine service
The operational factor of device, the operational factor is stored to the shared drive;
The emulating server is used to obtain the operational factor from the shared drive, and institute is simulated using the operational factor
Physical machine server is stated, with the Iaas management platforms interaction data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711055533.XA CN107748709A (en) | 2017-10-31 | 2017-10-31 | Test environment system, method and the analog machine of Iaas management platforms |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711055533.XA CN107748709A (en) | 2017-10-31 | 2017-10-31 | Test environment system, method and the analog machine of Iaas management platforms |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107748709A true CN107748709A (en) | 2018-03-02 |
Family
ID=61253821
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711055533.XA Pending CN107748709A (en) | 2017-10-31 | 2017-10-31 | Test environment system, method and the analog machine of Iaas management platforms |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107748709A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111026500A (en) * | 2019-11-14 | 2020-04-17 | 网联清算有限公司 | Cloud computing simulation platform, and creation method, device and storage medium thereof |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103150238A (en) * | 2011-12-07 | 2013-06-12 | 阿里巴巴集团控股有限公司 | Service request processing method, simulation performance test method and simulation performance test device |
CN103970663A (en) * | 2014-05-22 | 2014-08-06 | 浪潮电子信息产业股份有限公司 | Method for simulating physical devices |
US20140343918A1 (en) * | 2013-05-14 | 2014-11-20 | Rockwell Automation Technologies, Inc. | System and method for emulation of an automation control system |
CN104461856A (en) * | 2013-09-22 | 2015-03-25 | 阿里巴巴集团控股有限公司 | Performance test method, device and system based on cloud computing platform |
CN106506223A (en) * | 2016-11-25 | 2017-03-15 | 成都广达新网科技股份有限公司 | A kind of method that simulation large number quipments test webmaster upgrade function |
US9785415B2 (en) * | 2014-09-29 | 2017-10-10 | National Instruments Corporation | Remote interface to logical instruments |
-
2017
- 2017-10-31 CN CN201711055533.XA patent/CN107748709A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103150238A (en) * | 2011-12-07 | 2013-06-12 | 阿里巴巴集团控股有限公司 | Service request processing method, simulation performance test method and simulation performance test device |
US20140343918A1 (en) * | 2013-05-14 | 2014-11-20 | Rockwell Automation Technologies, Inc. | System and method for emulation of an automation control system |
CN104461856A (en) * | 2013-09-22 | 2015-03-25 | 阿里巴巴集团控股有限公司 | Performance test method, device and system based on cloud computing platform |
CN103970663A (en) * | 2014-05-22 | 2014-08-06 | 浪潮电子信息产业股份有限公司 | Method for simulating physical devices |
US9785415B2 (en) * | 2014-09-29 | 2017-10-10 | National Instruments Corporation | Remote interface to logical instruments |
CN106506223A (en) * | 2016-11-25 | 2017-03-15 | 成都广达新网科技股份有限公司 | A kind of method that simulation large number quipments test webmaster upgrade function |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111026500A (en) * | 2019-11-14 | 2020-04-17 | 网联清算有限公司 | Cloud computing simulation platform, and creation method, device and storage medium thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11172022B2 (en) | Migrating cloud resources | |
US20220327003A1 (en) | Cloud edge device virtualization | |
US20140081615A1 (en) | Virtual systems testing | |
CN108351806A (en) | Database trigger of the distribution based on stream | |
JP6875394B2 (en) | Generating a streaming analysis application using glossary | |
US20210036922A1 (en) | Detect impact of network maintenance in software defined infrastructure | |
US20170353537A1 (en) | Predictive load balancing for a digital environment | |
US11122332B2 (en) | Selective video watching by analyzing user behavior and video content | |
JP2023536296A (en) | Blockchain management of provisioning failure | |
US11196633B2 (en) | Generalized correlation of network resources and associated data records in dynamic network environments | |
US10326826B1 (en) | Migrating an on premises workload to a web services platform | |
US11163552B2 (en) | Federated framework for container management | |
US11025500B2 (en) | Provisioning infrastructure from visual diagrams | |
US20160092206A1 (en) | Managing executable files | |
US20190026135A1 (en) | Blueprint application storage policy | |
CN107748709A (en) | Test environment system, method and the analog machine of Iaas management platforms | |
US20230114321A1 (en) | Cloud Data Ingestion System | |
CN107547607B (en) | Cluster migration method and device | |
CN109995571A (en) | Server configuration applies matched method and device with VNF | |
JP2023521695A (en) | Collaborative Neural Networks with Spatial Confinement Constraints | |
US10603583B1 (en) | Entity-component architecture with components having multiple configurations | |
CA3097073A1 (en) | Distributed computing system with a synthetic data as a service frameset package store | |
US11202130B1 (en) | Offline video presentation | |
US20220300822A1 (en) | Forgetting data samples from pretrained neural network models | |
US11815999B2 (en) | Optimized alarm state restoration through categorization |
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: 20180302 |