CN105933136B - A kind of resource regulating method and system - Google Patents
A kind of resource regulating method and system Download PDFInfo
- Publication number
- CN105933136B CN105933136B CN201510861868.5A CN201510861868A CN105933136B CN 105933136 B CN105933136 B CN 105933136B CN 201510861868 A CN201510861868 A CN 201510861868A CN 105933136 B CN105933136 B CN 105933136B
- Authority
- CN
- China
- Prior art keywords
- resource
- minicomputer
- target
- scheduling
- information
- 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.)
- Active
Links
Landscapes
- Stored Programmes (AREA)
Abstract
The invention discloses a kind of resource regulating method and systems, it include: that scheduling of resource platform receives resource scheduling request, according to the scheduling of resource action type in resource scheduling request, the performance parameter information and physical location information for executing the target minicomputer of resource scheduling request are obtained;According to the performance parameter information of scheduling of resource action type and target minicomputer, the execution stream that resource scheduling request is executed on target minicomputer is generated;Stream will be executed and be sent to automatic controller, so that performance parameter information of the automatic controller according to target minicomputer, stream will be executed and be parsed into the control instruction that target minicomputer is identified, and control instruction is sent to execute control instruction by target minicomputer according to physical location information.Scheduling of resource platform carries out adaptive resource scheduling to minicomputer resource, and automatic controller can dynamically control minicomputer and execute scheduling of resource, and the automation of minicomputer environment is realized under the basis for not increasing cost.
Description
Technical field
The present invention relates to software test field more particularly to a kind of resource regulating method and systems.
Background technique
Although present cloud computing technology is widely applied, but still has a large amount of application, such as the application of financial system, operate in
In non-cloud environment.The computing capability of mainframe is very strong, is generally used for the application field of profession, the request for rarely having resource to change, i.e.,
It will not frequently be changed using in test, application and relevant test environment are relatively stable, and mainframe is relevant
Technology is also more conservative, and the development cost of external interface is also very high.And minicomputer is relatively flexible, with the development of business,
The complexity of application system increases, the timeliness of test, the deployment of application system is required it is higher and higher, the application of minicomputer and
Relevant test environment has frequent change.
Software test, using dispose or production O&M in, most labor intensive cost is exactly taking for minicomputer environment
Work is built, minicomputer virtual server is such as built, building for the minicomputer environment especially under non-cloud environment generally requires hand
Work operation and some scripts auxiliary could be completed.Meanwhile minicomputer towards development platform can exist in minicomputer environment and configure
The change of resource is requested, and cooperation test is such as needed to carry out resource reduction during the test, is needed after the completion of test to having applied
Resource recycled, these all rely on manual operation, need to put into more human and material resources costs.Minicomputer manufacturer
It can provide the software of some resource automatic managements, but these softwares are often expensive, and maintenance expense is also very high.
To sum up, the resource management that minicomputer exists in the prior art is completed by craft or material resources, leads to minicomputer ring
The technical issues of building lower efficiency, higher cost of border.
Summary of the invention
The embodiment of the present invention provides a kind of resource regulating method and system, to solve minicomputer existing in the prior art
Resource management completed by craft or material resources, lead to the technical issues of building lower efficiency, higher cost of minicomputer environment.
The embodiment of the present invention provides a kind of resource regulating method, comprising:
Scheduling of resource platform receives resource scheduling request, includes scheduling of resource action type in the resource scheduling request;
The scheduling of resource platform obtains the mesh for executing the resource scheduling request according to the scheduling of resource action type
Mark the performance parameter information and physical location information of minicomputer;
The scheduling of resource platform is believed according to the scheduling of resource action type and the performance parameter of the target minicomputer
Breath generates the execution stream that the resource scheduling request is executed on the target minicomputer;It include the mesh in the execution stream
Mark the performance parameter information and physical location information of minicomputer;
The execution stream is sent to automatic controller by the scheduling of resource platform, so that the automatic controller is according to institute
The execution stream is parsed into the control instruction that the target minicomputer is identified by the performance parameter information for stating target minicomputer,
And the control instruction is sent to execute the control instruction by the target minicomputer according to the physical location information.
Further, the scheduling of resource action type is to create the resource bid of target logic server;
The scheduling of resource platform obtains the mesh for executing the resource scheduling request according to the scheduling of resource action type
Mark the performance parameter information and physical location information of minicomputer, comprising:
The scheduling of resource platform determines idling-resource and the resource according to the resource bid from resource information bank
Apply for matched target minicomputer, and obtains the performance parameter information and physical location information of the target minicomputer;Wherein, institute
State the idling-resource information in resource information bank including minicomputer;
The scheduling of resource platform is believed according to the scheduling of resource action type and the performance parameter of the target minicomputer
Breath generates the execution stream that the resource scheduling request is executed on the target minicomputer, comprising:
According to the performance parameter information of the target minicomputer, lookup executes the resource Shen on the target minicomputer
Operating process template please;
According to the resource bid and the operating process mould for executing the resource bid on the target minicomputer
Plate generates the execution stream that the resource bid is executed on the target minicomputer.
Further, the scheduling of resource platform determines idling-resource according to the resource bid from resource information bank
With the matched target minicomputer of the resource bid, comprising:
The scheduling of resource platform judges to be equal to the resource bid with the presence or absence of idling-resource in the resource information bank
The minicomputer of applied resource;If it exists, then idling-resource is equal to the minicomputer of the applied resource of the resource bid
It is determined as the target minicomputer;
If it does not exist, then idling-resource is judged whether there is greater than the applied resource of the resource bid and minimum history
The minicomputer of the sum of resource;Wherein, the minimum history resource is all resources received according to the scheduling of resource platform
Apply for determining least resource application;
If it exists, then it is greater than the sum of the applied resource of the resource bid and the minimum history resource from idling-resource
Minicomputer in filter out one be used as the target minicomputer;
If it does not exist, then the reminder message that artificial treatment is carried out by the administrator of the scheduling of resource platform is sent.
It further, further include that application is loaded on the target logic server of creation in the resource scheduling request
The application information of program;The method also includes:
The scheduling of resource platform determines described using journey according to the application information from application information library
The version number information of sequence;
After scheduling of resource platform generation executes the execution stream of the resource bid on the target minicomputer,
Further include:
According to the performance parameter information of the version number information of the application program and the target minicomputer, search described
The operating process template of the application program is loaded on target minicomputer;
The operating process template of the application program is loaded according to the resource bid and on the target minicomputer, it is raw
At the execution stream for loading the application program on the logical server created on the target minicomputer.
Further, the scheduling of resource action type is resource change;It further include described in the resource scheduling request
The identification information of target minicomputer executes the mark of the target logic server of the resource change on the target minicomputer
Information and the modification information of resource change;
The scheduling of resource platform obtains the mesh for executing the resource scheduling request according to the scheduling of resource action type
Mark the performance parameter information and physical location information of minicomputer, comprising:
According to the identification information of the target minicomputer, the performance parameter information and physical bit of the target minicomputer are obtained
Confidence breath;
The scheduling of resource platform is believed according to the scheduling of resource action type and the performance parameter of the target minicomputer
Breath generates the execution stream that the resource scheduling request is executed on the target minicomputer, comprising:
According to the performance parameter information of the target minicomputer, lookup executes the resource on the target minicomputer and becomes
Operating process template more;
It is described according to the identification information for the target logic server for executing the resource change on the target minicomputer
The modification information of resource change and the operating process template that the resource change is executed on the target minicomputer, it is raw
At the execution stream for executing the resource change on the target minicomputer.
Further, the scheduling of resource action type is resource reclaim;
Further include the identification information of the target minicomputer in the resource scheduling request, is held on the target minicomputer
The identification information of the target logic server of row resource reclaim;
The scheduling of resource platform obtains the mesh for executing the resource scheduling request according to the scheduling of resource action type
Mark the performance parameter information and physical location information of minicomputer, comprising: according to the identification information of the target minicomputer, obtain institute
State the performance parameter information and physical location information of target minicomputer;
The scheduling of resource platform is believed according to the scheduling of resource action type and the performance parameter of the target minicomputer
Breath generates the execution stream that the resource scheduling request is executed on the target minicomputer, comprising:
According to the performance parameter information of the target minicomputer, lookup executes the resource on the target minicomputer and returns
The operating process template of receipts;
According to the identification information for the target logic server for executing the resource reclaim on the target minicomputer and institute
The operating process template that the resource reclaim is executed on the target minicomputer is stated, generation executes on the target minicomputer
The execution stream of the resource reclaim.
Further, the performance parameter information of the target minicomputer includes the identification information of the target minicomputer,
The execution stream is parsed into described by the automatic controller according to the performance parameter information of the target minicomputer
The control instruction that target minicomputer is identified, comprising:
The automatic controller searches the mark with the target minicomputer according to the identification information of the target minicomputer
The corresponding execution stream parsing template of information;
According to the corresponding execution stream parsing template of the target minicomputer, according to the elder generation executed on the target minicomputer
The execution stream is parsed into N number of control instruction that the target minicomputer can identify by sequence afterwards.
Further, the execution stream is parsed into what the target minicomputer can identify in the automation controller
After N number of control instruction, further includes:
The automation controller is according to the physical location information of the target minicomputer, according in the target minicomputer
The sequencing of upper execution, Xiang Suoshu target minicomputer send N number of control instruction, so that the target minicomputer is according to connecing
The sequencing for receiving N number of control instruction executes N number of control instruction.
Further, after the automation controller sends N number of control instruction to the target minicomputer, also
Include:
The automation controller receives the implementing result of the target minicomputer feedback, and the implementing result is forwarded
To the scheduling of resource platform.
Also a kind of resource scheduling system of the embodiment of the present invention, comprising:
Scheduling of resource platform includes that scheduling of resource operates for receiving resource scheduling request, in the resource scheduling request
Type;According to the scheduling of resource action type, the performance parameter for executing the target minicomputer of the resource scheduling request is obtained
Information and physical location information;It is raw according to the performance parameter information of the scheduling of resource action type and the target minicomputer
At the execution stream for executing the resource scheduling request on the target minicomputer;It include that the target is small-sized in the execution stream
The performance parameter information and physical location information of machine;The execution stream is sent to automatic controller;
The automatic controller, for receive it is described execute stream, and according to the performance parameter information of the target minicomputer,
The execution stream is parsed into the control instruction that the target minicomputer is identified, and will be described according to the physical location information
Control instruction is sent to the target minicomputer to execute the control instruction.
Further, the scheduling of resource action type is to create the resource bid of target logic server;
The scheduling of resource platform is specifically used for:
According to the resource bid, determine that idling-resource and the matched target of the resource bid are small from resource information bank
Type machine, and obtain the performance parameter information and physical location information of the target minicomputer;Wherein, it is wrapped in the resource information bank
Include the idling-resource information of minicomputer;
According to the performance parameter information of the target minicomputer, lookup executes the resource Shen on the target minicomputer
Operating process template please;
According to the resource bid and the operating process mould for executing the resource bid on the target minicomputer
Plate generates the execution stream that the resource bid is executed on the target minicomputer.
Further,
The scheduling of resource platform is specifically used for:
Judge to be equal to the small of the applied resource of the resource bid with the presence or absence of idling-resource in the resource information bank
Type machine;If it exists, then idling-resource is equal to the minicomputer of the applied resource of the resource bid to be determined as the target small
Type machine;
If it does not exist, then idling-resource is judged whether there is greater than the applied resource of the resource bid and minimum history
The minicomputer of the sum of resource;Wherein, the minimum history resource is all resources received according to the scheduling of resource platform
Apply for determining least resource application;
If it exists, then it is greater than the sum of the applied resource of the resource bid and the minimum history resource from idling-resource
Minicomputer in filter out one be used as the target minicomputer;
If it does not exist, then the reminder message that artificial treatment is carried out by the administrator of the scheduling of resource platform is sent.
It further, further include that application is loaded on the target logic server of creation in the resource scheduling request
The application information of program;The scheduling of resource platform, is also used to:
According to the application information, the version number information of the application program is determined from application information library;
Generation is executed on the target minicomputer after the execution stream of the resource bid, further includes:
According to the performance parameter information of the version number information of the application program and the target minicomputer, search described
The operating process template of the application program is loaded on target minicomputer;
The operating process template of the application program is loaded according to the resource bid and on the target minicomputer, it is raw
At the execution stream for loading the application program on the logical server created on the target minicomputer.
Further, the scheduling of resource action type is resource change;It further include described in the resource scheduling request
The identification information of target minicomputer executes the mark of the target logic server of the resource change on the target minicomputer
Information and the modification information of resource change;The scheduling of resource platform is specifically used for:
According to the identification information of the target minicomputer, the performance parameter information and physical bit of the target minicomputer are obtained
Confidence breath;
According to the performance parameter information of the target minicomputer, lookup executes the resource on the target minicomputer and becomes
Operating process template more;
It is described according to the identification information for the target logic server for executing the resource change on the target minicomputer
The modification information of resource change and the operating process template that the resource change is executed on the target minicomputer, it is raw
At the execution stream for executing the resource change on the target minicomputer.
Further, the scheduling of resource action type is resource reclaim;It further include described in the resource scheduling request
The identification information of target minicomputer executes the mark letter of the target logic server of resource reclaim on the target minicomputer
Breath;The scheduling of resource platform is specifically used for:
According to the identification information of the target minicomputer, the performance parameter information and physical bit of the target minicomputer are obtained
Confidence breath;
According to the performance parameter information of the target minicomputer, lookup executes the resource on the target minicomputer and returns
The operating process template of receipts;
According to the identification information for the target logic server for executing the resource reclaim on the target minicomputer and institute
The operating process template that the resource reclaim is executed on the target minicomputer is stated, generation executes on the target minicomputer
The execution stream of the resource reclaim.
Further, the performance parameter information of the target minicomputer includes the identification information of the target minicomputer, institute
Automation controller is stated to be specifically used for:
According to the identification information of the target minicomputer, execution corresponding with the identification information of the target minicomputer is searched
Stream parsing template;
According to the corresponding execution stream parsing template of the target minicomputer, according to the elder generation executed on the target minicomputer
The execution stream is parsed into N number of control instruction that the target minicomputer can identify by sequence afterwards.
Further, the automation controller is also used to:
After the execution stream is parsed into N number of control instruction that the target minicomputer can identify, according to the mesh
The physical location information for marking minicomputer, according to the sequencing executed on the target minicomputer, Xiang Suoshu target minicomputer
N number of control instruction is sent, so that the target minicomputer is executed according to the sequencing for receiving N number of control instruction
N number of control instruction.
Further, the automation controller is also used to:
After sending N number of control instruction to the target minicomputer, the execution of the target minicomputer feedback is received
As a result, and the implementing result is transmitted to the scheduling of resource platform.
In above-described embodiment, by the scheduling of scheduling of resource platform courses minicomputer resource, dynamic is carried out to minicomputer resource
Adjustment;The difference of operating system because of different small machine etc. causes minicomputer variant to the recognition capability for executing stream, by automatic
Controller centralized control minicomputer executes scheduling, and the execution stream that automation controller is responsible for receive, which is parsed into, executes the execution
The machine language that the target minicomputer of stream can identify, so that automation controller high concurrent controls different target minicomputers and holds
Row scheduling.The common scheduling of scheduling of resource platform and automatic controller is not interfere with each other, and the height of minicomputer scheduling of resource can be improved
Availability.To sum up, the above method can be realized is automated by minicomputer environment, avoids relying on the expensive minicomputer of manufacturer's offer
Environment automated software further reduced the cost of minicomputer environment automation.The embodiment of the present invention can also be small in progress
While type machine environment automates, the application program or operating system of some carrying new business operations are installed, advanced optimized
Minicomputer environmental structure mechanism.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly introduced, it should be apparent that, drawings in the following description are only some embodiments of the invention, for this
For the those of ordinary skill in field, without any creative labor, it can also be obtained according to these attached drawings
His attached drawing.
Fig. 1 is a kind of method flow diagram for resource regulating method that inventive embodiments provide;
Fig. 2 is that a kind of scheduling of resource platform provided in an embodiment of the present invention according to scheduled screening strategy determines that target is small-sized
The method flow diagram of machine;
A kind of Fig. 3 automatic controller provided in an embodiment of the present invention, which will execute stream and be parsed into target minicomputer, to be identified
The method flow diagram of control instruction;
Fig. 4 is a kind of method flow diagram for resource regulating method that inventive embodiments provide;
Fig. 5 is the method flow diagram that a kind of generation that inventive embodiments provide executes stream;
Fig. 6 is a kind of structural schematic diagram for resource scheduling system that inventive embodiments provide.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention make into
It is described in detail to one step, it is clear that described embodiments are only a part of the embodiments of the present invention, rather than whole implementation
Example.Based on the embodiments of the present invention, obtained by those of ordinary skill in the art without making creative efforts
All other embodiment, shall fall within the protection scope of the present invention.
In order to realize the automation of minicomputer environmental structure, reduce minicomputer environmental structure cost, the embodiment of the present invention is logical
Cross the scheduling of resource of a scheduling of resource platform centralized control minicomputer, the scheduling of resource of minicomputer include resource bid, change,
Recycling etc., scheduling of resource is carried out on the various minicomputers based on statistics executes record, and scheduling of resource platform is according to user side
Resource scheduling request, generation executes resource bid on target minicomputer, resource changes, the execution stream of resource reclaim, and will hold
Automatic controller is issued in row circulation, the performance by automation controller based on target minicomputer, and personalized control target is small-sized
Machine execution is described to execute stream, and then realizes and be automatically performed building for environment according to execution process on target minicomputer, such as resource
Application, resource change, the scenes such as resource change, compared with the existing technology, the automation that the present invention need not rely on manufacturer's offer is soft
Part realizes environment automation, greatly reduces the cost of minicomputer environmental structure.Scheduling of resource side provided in an embodiment of the present invention
On the one hand method and system can apply the environmental structure before software test, can be used for the management of production system minicomputer.
It is described in detail below for a kind of resource regulating method provided in an embodiment of the present invention and system.
A kind of resource regulating method as shown in Figure 1, comprising the following steps:
Step 101, scheduling of resource platform receives resource scheduling request, includes that scheduling of resource operates class in resource scheduling request
Type;
Step 102, for scheduling of resource platform according to scheduling of resource action type, the target for obtaining execution resource scheduling request is small
The performance parameter information and physical location information of type machine;
Step 103, performance parameter information of the scheduling of resource platform according to scheduling of resource action type and target minicomputer, life
At the execution stream for executing resource scheduling request on target minicomputer;Execute the performance parameter information in stream including target minicomputer
And physical location information;
Step 104, scheduling of resource platform is sent to automatic controller for stream is executed, so that automatic controller is small according to target
The performance parameter information of type machine will execute stream and be parsed into the control instruction that target minicomputer is identified, and according to physical bit confidence
Control instruction is sent to target minicomputer to execute control instruction by breath.
In above method process, scheduling of resource platform receives the resource scheduling request of user side, wraps in resource scheduling request
The scheduling of resource action type included includes resource bid needed for building minicomputer environment, resource change, resource reclaim etc..
For example, user will realize the automatic test of a software, need to build the test environment of the software, ring before test
Border requires a CPU, 2G memory, the configuration such as 3G hard disk, at this point, it includes above-mentioned ring that user, which just sends one to scheduling of resource platform,
Border require resource bid, find a suitable minicomputer, and create logical server on the minicomputer, provide installation and
Test the environment of the software.
In above method process, minicomputer can be IBM 630, P650, P670, P690, etc..The performance of target minicomputer
Parameter information, refers to model, the physical resource of target minicomputer, idling-resource and has used resource information, further includes operating system
Version etc..Physical resource such as CPU capacity, memory size, disk size.Resource information is used, for what is created on minicomputer
The occupied resource information of virtual server/logical server.The physical location information of target minicomputer refers to the IP of minicomputer
Address.
If scheduling of resource action type is to create the resource bid of target logic server, above method process step 102
Include: scheduling of resource platform according to resource bid, idling-resource and the matched target of resource bid are determined from resource information bank
Minicomputer, and obtain the performance parameter information and physical location information of target minicomputer.
It wherein, include CPU capacity and memory size needed for creation target logic server in resource bid, hard disk holds
Amount, may also comprise the operating system of operation, the purposes and other information of resource bid.It include the sky of minicomputer in resource information bank
Not busy resource information, the idling-resource information of minicomputer are mainly used to calculate the available resources of target minicomputer.Scheduling of resource platform
The system operations tools such as HMC, VIOS, NIM (for IBM) by integration of compact machine can be concentrated and collect various minicomputers
Resource information, the model including minicomputer, the resources such as CPU, memory, and the logical server information in these resources, and
Record the idling-resource information on minicomputer physical server.
Specifically, scheduling of resource platform according to scheduled screening strategy, determines idling-resource and money from resource information bank
Apply for matched target minicomputer in source.
Scheduling of resource platform determines idling-resource and resource bid according to scheduled screening strategy from resource information bank
The target minicomputer matched, includes the following steps, as shown in Figure 2:
Step 200, scheduling of resource platform lists all qualified minicomputers;
Step 201, judge to be equal to the small of the applied resource of resource bid with the presence or absence of idling-resource in resource information bank
Type machine;
Step 202, and if it exists, it is small that idling-resource is then equal to any of minicomputer of the applied resource of resource bid
Type machine is determined as target minicomputer;
Step 203, if it does not exist, then idling-resource is judged whether there is greater than the applied resource of resource bid and minimum
The minicomputer of the sum of history resource;Wherein, minimum history resource is all resource bids received according to scheduling of resource platform
Determining least resource application;
Minimum history resource can be, the smallest resource in the resource scheduling request of all users in platform operational process
The smallest resource requirement is 1 CPU, 2G memory, 30G hard disk in demand, such as the resource scheduling request of user, so that it may by 1
A CPU, 2G memory, 30G hard disk are determined as minimum history resource.
Step 204, and if it exists, be then greater than the sum of the applied resource of resource bid and minimum history resource from idling-resource
Minicomputer in filter out one be used as target minicomputer;
Step 205, if it does not exist, then send and disappeared by the prompting that the administrator of the scheduling of resource platform carries out artificial treatment
Breath;
Step 206, the administrator of scheduling of resource platform determines that suitable minicomputer is small-sized as target according to reminder message
Machine.
In above-mentioned steps 203, the idling-resource of minicomputer is subtracted after the applied resource of resource bid as surplus resources, is sentenced
It is disconnected to be greater than the sum of the applied resource of resource bid and minimum history resource with the presence or absence of idling-resource, actually judge small-sized
Whether the surplus resources of machine are greater than minimum history resource, when being that the resource bid of user distributes target minicomputer, to idling-resource
Surplus resources greater than the minicomputer of resource bid are judged, are equal in order to carry out to the minicomputer resource in resource information bank
Weighing apparatus distribution, guarantees resource utilization, so that the surplus resources on minicomputer can be also used for other distribution.Optimal be will be idle
The minicomputer that resource is just equal to resource bid is determined as target minicomputer, if idling-resource is greater than resource bid, it is necessary to
Judge whether surplus resources are bigger than minimum history resource, if surplus resources are bigger than minimum history resource, illustrates the minicomputer also
The user of similar demand can be distributed to;If smaller than minimum history resource, illustrate that these possible remaining resources just can not
It recycles, needs artificial judgment.
Such as in platform operational process in the resource scheduling request of all users the smallest resource requirement be 1G memory, 1
CPU;Resource bid in above-mentioned steps is 2G memory, the demand of 2 CPU, if there is the free time of a considerable amount of minicomputers provides
Source is 2.5G memory, and 4 CPU if such minicomputer is distributed to the user, will make the remaining resource of such minicomputer
For 0.5G memory, 2 CPU, then these surplus resources are idle always because least resource application is less than, so that these are remaining
The wasting of resources is fallen, and cannot effectively utilize.In order to guarantee that idling-resource is 2.5G memory, this sub-distribution of the minicomputer of 4 CPU
After can also distribute to other users, first to judge whether surplus resources are greater than minimum history resource before dispensing.If
If being greater than, so that it may user is given in consideration, and not influencing the minicomputer can also reallocate to other users, if be not more than
Words just temporarily do not give the user, wait suitable chance to divide again, can be improved the utilization rate of resource.
If scheduling of resource action type is to create the resource bid of target logic server, above method process step 103
It include: that the operating process mould that resource bid is executed on target minicomputer is searched according to the performance parameter information of target minicomputer
Plate;The operating process template that resource bid is executed according to resource bid and on target minicomputer, generates on target minicomputer
Execute the execution stream of resource bid.
If scheduling of resource action type is to create the resource bid of target logic server, and go back in resource scheduling request
Application information including the loading application programs on the target logic server of creation;Then
Above-mentioned steps 102 further include: scheduling of resource platform is determined from application information library according to application information
The version number information of application program;
Above-mentioned steps 103 further include:
According to the performance parameter information of the version number information of application program and target minicomputer, search on target minicomputer
The operating process template of loading application programs;The operating process of loading application programs according to resource bid and on target minicomputer
Template generates the execution stream of loading application programs on the logical server created on target minicomputer.
It further include the mark letter of target minicomputer in resource scheduling request if scheduling of resource action type is resource change
Breath executes the identification information of the target logic server of resource change and the modification information of resource change on target minicomputer;
Then
Above-mentioned steps 102 include:
Scheduling of resource platform obtains the performance parameter information and object of target minicomputer according to the identification information of target minicomputer
Manage location information;
Above-mentioned steps 103 include: according to the performance parameter information of target minicomputer, and lookup executes money on target minicomputer
The operating process template of source change;According to the mark letter for the target logic server for executing resource change on target minicomputer
Breath, the modification information of resource change, and the operating process template that execution resource changes on target minicomputer, generate small in target
The execution stream of resource change is executed on type machine.
If scheduling of resource action type is resource reclaim;It further include the mark letter of target minicomputer in resource scheduling request
Breath executes the identification information of the target logic server of resource reclaim on target minicomputer;Then
Above-mentioned steps 102 include: to obtain the performance parameter information of target minicomputer according to the identification information of target minicomputer
And physical location information;
Above-mentioned steps 103 include: according to the performance parameter information of target minicomputer, and lookup executes money on target minicomputer
The operating process template of source recycling;According to the identification information for the target logic server for executing resource reclaim on target minicomputer
Operating process template with resource reclaim is executed on target minicomputer, generates and executes holding for resource reclaim on target minicomputer
Row stream.
After above-mentioned steps 104, further includes: the performance parameter information of target minicomputer includes the mark letter of target minicomputer
Breath, automatic controller will execute stream and are parsed into the control that target minicomputer is identified according to the performance parameter information of target minicomputer
System instruction.
Specifically, as shown in figure 3, automatic controller is parsed into the control instruction that target minicomputer identified for stream is executed,
The following steps are included:
Step 301, according to the identification information of target minicomputer, execution corresponding with the identification information of target minicomputer is searched
Stream parsing template;
Step 302, according to the corresponding execution stream parsing template of target minicomputer, according to the elder generation executed on target minicomputer
Sequence will execute stream and be parsed into N number of control instruction that target minicomputer can identify afterwards, and N is the positive integer greater than 1;
Step 303, successive suitable according to what is executed on target minicomputer according to the physical location information of target minicomputer
Sequence sends N number of control instruction to target minicomputer, so that target minicomputer is according to the sequencing for receiving N number of control instruction
Execute N number of control instruction;
Step 304, the implementing result of target minicomputer feedback is received;
Step 305, implementing result is transmitted to scheduling of resource platform.
The operating process mould that scheduling of resource application is executed on minicomputer in above method process, on scheduling of resource platform
It is to execute data based on a large amount of minicomputer to be summarized and analyzed to obtain that parsing in plate and automation controller, which executes flow template,
, the corresponding execution resource of each target minicomputer can be found according to performance parameter informations such as the models of target minicomputer
The operating process template and the corresponding parsing of each target minicomputer for dispatching application execute flow template.
In above method process, scheduling of resource platform is complete by automation controller by collecting minicomputer resource information
The dynamic dispatching of pairs of minicomputer resource, realizes the automation of minicomputer environment, is effectively reduced in data center, test
Manual handling operations needed for heart etc. builds minicomputer environment, maintenance minicomputer environment, improve work efficiency, stand-alone environment
It builds efficiency and shortens to minute grade from the hour grade of artificial treatment.
Below by taking resource bid as an example, a kind of resource regulating method as shown in Figure 4 is introduced, comprising the following steps:
Step 401, scheduling of resource platform receives creation target logic server A, and installs in target logic server A
The resource scheduling request of operating system B;
Wherein, the creation occupied resource of target logic server A is 1 CPU, 2G memory, 30G hard disk;
Rapid 402, scheduling of resource platform determines idling-resource and resource bid according to resource bid from resource information bank
The IP address of the target minicomputer C and target minicomputer C that match;
Wherein, target minicomputer C is 5 series small machine of IBM Power, and physical resource is 16G memory, main process task
Device can be configured to 10 virtual cpus, and 300G hard disk can virtually be the hard disk of 5 60G, and operating system version is IBM AIX
5.1.The idling-resource of target minicomputer C is 3G memory, 4 CPU, 60G hard disk.
Step 403, according to the identification information of operating system B, search whether there is operation system from application information library
The corresponding version number information of system B, and if it exists, determine the operating system version number of operating system B;
If there is the operating system version of multiple operating system B in application information library, latest edition number is selected, because of money
Source scheduling request is the deployment operating system B in the target logic server A of creation, therefore, the target logic server A of creation
Required resource should meet the installation requirements of operating system B.
Step 404, scheduling of resource platform is searched according to the model of target minicomputer and creates logic on target minicomputer C
The operating process template E of server, and according to resource scheduling request and operating process template E, generation is created on target minicomputer C
Build the execution stream of logical server A;
Specifically, mesh will be created according to the occupied resource information of target logic server A is created in resource scheduling request
The basic parameter of logical server A is marked, 1 CPU, 2G memory, 30G hard disk input in operating process template E, generate in target
The execution flow table of logical server A is created on minicomputer C, one for executing each behavior minicomputer in flow table executes operation.
Step 405, it according to the model of the version number information of operating system B and target minicomputer C, searches in target minicomputer
The operating process template F of the upper load operating system of C;And according to the resource for creating target logic server A on target minicomputer C
Application and on target minicomputer C load operating system operating process template F, generate created on target minicomputer C patrols
Collect the execution stream of load operating system B in server A;
It optionally, can also be with if minicomputer while installing operating system B during creating target logic service
It is performed simultaneously step 404 and step 405, is generated while the logical server A created on target minicomputer C, load operation
The execution stream of system B, i.e., according to the resource bid for creating target logic server A on target minicomputer C, operating process template
E and operating process template F generates the load operating system B while logical server A created on target minicomputer C
Execution stream.
According to the resource bid for creating target logic server A on target minicomputer C, operating process template E, Yi Jicao
Make flow template F, generate while the logical server A created on target minicomputer C, the execution stream of load operating system B,
As shown in Figure 5, comprising:
The first step logs in target minicomputer C corresponding HMC (Hardware Management Console, hardware management
Console), Hardware Management Console HMC is VIOS server, virtual server division CPU, memory source, virtual channel adaptation
Device resource;
HMC is the Hardware Management Console of the minicomputer of IBM Power series, every Power server (referring to minicomputer)
The back side all can control the physical resource of management minicomputer, including installation by this mouthful of connected with network cable there are two HMC management mouth
Operating system etc. needs for the network interface card of HMC to be connected with the HMC of Power server management mouth with cable.Each HMC manages mouth
There is the IP address of a default, it is only necessary to which the network interface card IP address and default management address that HMC is arranged are same network segment, in HMC
After the IP for adding server, it can be managed operation to the server.
Second step calls " create Lpar " order (Logicol Partitioning), incoming basic parameter: 1
CPU, 2G memory, 30G hard disk.
Wherein, LPAR, that is, logical partition refers to that the server by a physics is divided into several virtual or logics
Server, each virtual or logic server runs oneself independent operating system, there is the processor oneself exclusively enjoyed, interior
It deposits and I/O resource.If installing operating system, the version number of incoming operating system is also needed herein.
Wherein, when 5 series small machine of IBM Power creation logical partition, at least one processor of each subregion, until
(virtual i/o takes for installation and storage program area, or by VIO server for rare 128MB memory, at least one piece of hard disk
Business device) on 1 piece of virtual disk providing, at least one piece of harddisk adapter or the integrated adapter (void on server containing VIO
Quasi- adapter) for connecting hard disk, at least one piece of network interface card (containing Microsoft Loopback Adapter) is used for the connection of each subregion and HMC, it is necessary to
There are an Installation Modes, such as NIM (Network Installation management, system Installation Modes).
Third step calls " VIO server " order, carry hard disk;VIOS server is responsible for using its virtual point
Area provides I/O service;
Physical host adapter is supplied to one or more VIO client partitions and shared by VIOS so that multiple LPAR it
Between share I/O resource, i.e. Ethernet or disk hardware, this helps to eliminate the demand to dedicated network and/or I/O, to subtract
Cost is lacked.The implementation method of IBM has used shared ethernet and virtual SCSI to support shared network and magnetic disc i/o.
4th step calls " nim " order, searches whether that there are the corresponding operating system mirror images of operating system B version number;
If it exists, when calling " nim " order, NIM is responsible for installing operating system.
NIM is a functional module in AIX operating system, without individually purchase, system manager can to system into
The long-range installation of row, maintenance and upgrade.By NIM, at a time, multiple servers can be installed and be safeguarded simultaneously more
The operating system of a version.It, can the impaired system energy of fast quick-recovery or " clone " production system by using system backup in NIM
System.
5th step, log in Lpar, obtain target logic server A creation as a result, and operating system B installation knot
Fruit.
Step 406, the execution stream of generation is sent to automatic controller by scheduling of resource platform;
Step 407, automatic controller receives all execution streams that scheduling of resource platform is sent, according to target minicomputer C's
Model searches execution stream parsing template G corresponding with the model of target minicomputer C, and flows parsing template G according to executing, according to
The sequencing executed on target minicomputer C is parsed into N number of control instruction that target minicomputer can identify for stream is executed;
Wherein, the corresponding execution stream parsing template E of model for stating target minicomputer C both can parse in target minicomputer C
The execution stream of upper creation logical server A, and can parse the execution stream of creation logical server A installation operating system B.
Specifically, automation controller parses template according to stream is executed, by the above-mentioned each step shown in fig. 5 for executing flow table
Suddenly it is parsed into the control instruction executed on minicomputer, control instruction often exists in a manner of order line, these controls are referred to
Order is incorporated into script, and reserved relevant parameter, such as creates target logic server and has used up 1 CPU, 2G memory, 30G hard disk.
Step 408, automatic controller is executed according to the IP address information of target minicomputer C according on target minicomputer C
The sequencing of above-mentioned execution stream sends N number of control instruction to target minicomputer C, so that target minicomputer C is according to receiving N
The sequencing of a control instruction executes N number of control instruction;
Using existing some operating system management softwares such as IBM HMC, VIOS, NIM of minicomputer etc., automation control is executed
The control instruction that device processed is parsed according to execution stream is, it can be achieved that operating system installation, disk carry, installing DB etc..
Step 409, automatic controller receives the implementing result of target minicomputer feedback;
Step 410, implementing result is transmitted to scheduling of resource platform by automatic controller;
Step 411, scheduling of resource platform is to user side feedback resources scheduling result.
In above method process, by the scheduling of scheduling of resource platform courses minicomputer resource, minicomputer resource is moved
State adjustment;The difference of operating system because of different small machine etc. causes minicomputer variant to the recognition capability for executing stream, by certainly
Movement controller centralized control minicomputer executes scheduling, and the execution stream that automation controller is responsible for receive is parsed into execution, and this is held
The machine language that the target minicomputer of row stream can identify, so that automation controller high concurrent controls different target minicomputers
Execute scheduling.The common scheduling of scheduling of resource platform and automatic controller is not interfere with each other, and minicomputer scheduling of resource can be improved
High availability.To sum up, the above method can be realized is automated by minicomputer environment, avoids relying on the small-sized of the valuableness of manufacturer's offer
Machine environment automated software further reduced the cost of minicomputer environment automation.The embodiment of the present invention can also carry out
While minicomputer environment automates, the application program or operating system of some carrying new business operations are installed, advanced optimized
Minicomputer environmental structure mechanism.And need to develop again can be small-sized for the minicomputer environment automated software that manufacturer provides
The installation of the application program or operating system of new business is carried out while machine environment automates, but buys new exploitation software
Higher cost.
For above method process, the embodiment of the present invention also provides a kind of resource scheduling system, these systems it is specific in
Appearance is referred to above method implementation, and details are not described herein.
A kind of resource scheduling system as shown in FIG. 6, comprising:
Scheduling of resource platform 601 includes that scheduling of resource operates class for receiving resource scheduling request, in resource scheduling request
Type;According to scheduling of resource action type, the performance parameter information and physics for executing the target minicomputer of resource scheduling request are obtained
Location information;According to the performance parameter information of scheduling of resource action type and target minicomputer, generation is held on target minicomputer
The execution stream of row resource scheduling request;Execute the performance parameter information and physical location information in stream including target minicomputer;It will
It executes stream and is sent to automatic controller;
Automatic controller 602 executes stream for receiving, and according to the performance parameter information of target minicomputer, will execute stream
It is parsed into the control instruction that target minicomputer is identified, and control instruction is sent to by target minicomputer according to physical location information
To execute control instruction.
Further, scheduling of resource action type is to create the resource bid of target logic server;
Scheduling of resource platform 601 is specifically used for:
According to resource bid, idling-resource and the matched target minicomputer of resource bid are determined from resource information bank, and
Obtain the performance parameter information and physical location information of target minicomputer;It wherein, include the free time of minicomputer in resource information bank
Resource information;
According to the performance parameter information of target minicomputer, the operating process that resource bid is executed on target minicomputer is searched
Template;
The operating process template that resource bid is executed according to resource bid and on target minicomputer, generates small-sized in target
The execution stream of resource bid is executed on machine.
Further, scheduling of resource platform 601 is specifically used for:
Judge the minicomputer for being equal to the applied resource of resource bid in resource information bank with the presence or absence of idling-resource;If depositing
The minicomputer that idling-resource is equal to the applied resource of resource bid is then being determined as target minicomputer;
If it does not exist, then idling-resource is judged whether there is greater than the applied resource of resource bid and minimum history resource
The sum of minicomputer;Wherein, minimum history resource is that all resource bids received according to scheduling of resource platform 601 determine
Least resource application;
If it exists, then it is greater than the minicomputer of the sum of the applied resource of resource bid and minimum history resource from idling-resource
In filter out one be used as target minicomputer;
If it does not exist, then the reminder message that artificial treatment is carried out by the administrator of the scheduling of resource platform is sent.
Further, further include in resource scheduling request on the target logic server of creation loading application programs answer
Use program information;Scheduling of resource platform 601, is also used to:
According to application information, the version number information of application program is determined from application information library;
It generates on target minicomputer after the execution stream of execution resource bid, further includes:
According to the performance parameter information of the version number information of application program and target minicomputer, search on target minicomputer
The operating process template of loading application programs;
The operating process template of loading application programs according to resource bid and on target minicomputer, generates small-sized in target
The execution stream of loading application programs on the logical server created on machine.
Further, scheduling of resource action type is resource change;It further include target minicomputer in resource scheduling request
Identification information executes the identification information of the target logic server of resource change and the change of resource change on target minicomputer
More information;Scheduling of resource platform 601 is specifically used for:
According to the identification information of target minicomputer, the performance parameter information and physical location information of target minicomputer are obtained;
According to the performance parameter information of target minicomputer, the operating process that resource change is executed on target minicomputer is searched
Template;
According to the identification information for the target logic server for executing resource change on target minicomputer, the change of resource change
More information, and the operating process template that execution resource changes on target minicomputer, generation execute resource on target minicomputer
The execution stream of change.
Further, scheduling of resource action type is resource reclaim;It further include target minicomputer in resource scheduling request
Identification information executes the identification information of the target logic server of resource reclaim on target minicomputer;Scheduling of resource platform 601
It is specifically used for:
According to the identification information of target minicomputer, the performance parameter information and physical location information of target minicomputer are obtained;
According to the performance parameter information of target minicomputer, the operating process that resource reclaim is executed on target minicomputer is searched
Template;
According on target minicomputer execute resource reclaim target logic server identification information and in target it is small-sized
The operating process template that resource reclaim is executed on machine generates the execution stream that resource reclaim is executed on target minicomputer.
Further, the performance parameter information of target minicomputer includes the identification information of target minicomputer, automation control
Device 602 is specifically used for:
According to the identification information of target minicomputer, execution stream parsing mould corresponding with the identification information of target minicomputer is searched
Plate;
It, will according to the sequencing executed on target minicomputer according to the corresponding execution stream parsing template of target minicomputer
It executes stream and is parsed into N number of control instruction that target minicomputer can identify.
Further, automation controller 602 is also used to:
It will execute after stream is parsed into N number of control instruction that target minicomputer can identify, according to the object of target minicomputer
Location information is managed, according to the sequencing executed on target minicomputer, sends N number of control instruction to target minicomputer, so that
Target minicomputer executes N number of control instruction according to the sequencing for receiving N number of control instruction.
Further, automation controller 602 is also used to:
After sending N number of control instruction to target minicomputer, the implementing result of target minicomputer feedback is received, and will execute
As a result it is transmitted to scheduling of resource platform 601.
In above-described embodiment, by the scheduling of scheduling of resource platform courses minicomputer resource, dynamic is carried out to minicomputer resource
Adjustment;The difference of operating system because of different small machine etc. causes minicomputer variant to the recognition capability for executing stream, by automatic
Controller centralized control minicomputer executes scheduling, and the execution stream that automation controller is responsible for receive, which is parsed into, executes the execution
The machine language that the target minicomputer of stream can identify, so that automation controller high concurrent controls different target minicomputers and holds
Row scheduling.The common scheduling of scheduling of resource platform and automatic controller is not interfere with each other, and the height of minicomputer scheduling of resource can be improved
Availability.To sum up, the above method can be realized is automated by minicomputer environment, avoids relying on the expensive minicomputer of manufacturer's offer
Environment automated software further reduced the cost of minicomputer environment automation.The embodiment of the present invention can also be small in progress
While type machine environment automates, the application program or operating system of some carrying new business operations are installed, advanced optimized
Minicomputer environmental structure mechanism.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic
Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as
It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to include these modifications and variations.
Claims (18)
1. a kind of resource regulating method characterized by comprising
Scheduling of resource platform receives resource scheduling request, includes scheduling of resource action type in the resource scheduling request;
For the scheduling of resource platform according to the scheduling of resource action type, the target for obtaining the execution resource scheduling request is small
The performance parameter information and physical location information of type machine, when the scheduling of resource action type is creation target logic server
When resource bid, determine the target minicomputer in the following ways: the scheduling of resource platform is in determining resource information bank
There are when the minicomputer that idling-resource is equal to the applied resource of the resource bid, idling-resource is equal to the resource bid
The minicomputer of applied resource is determined as the target minicomputer;
Performance parameter information of the scheduling of resource platform according to the scheduling of resource action type and the target minicomputer, life
At the execution stream for executing the resource scheduling request on the target minicomputer;It include that the target is small-sized in the execution stream
The performance parameter information and physical location information of machine;
The execution stream is sent to automatic controller by the scheduling of resource platform, so that the automatic controller is according to the mesh
The execution stream is parsed into the control instruction that the target minicomputer is identified, and root by the performance parameter information for marking minicomputer
The control instruction is sent to the target minicomputer to execute the control instruction according to the physical location information.
2. the method as described in claim 1, which is characterized in that the scheduling of resource platform operates class according to the scheduling of resource
The performance parameter information of type and the target minicomputer, generation execute the resource scheduling request on the target minicomputer
Execute stream, comprising:
According to the performance parameter information of the target minicomputer, lookup executes the resource bid on the target minicomputer
Operating process template;
It is raw according to the resource bid and the operating process template for executing the resource bid on the target minicomputer
At the execution stream for executing the resource bid on the target minicomputer.
3. the method as described in claim 1, which is characterized in that further include:
There is no idling-resources to be equal to resource bid institute Shen in determining the resource information bank for the scheduling of resource platform
When the minicomputer of resource please, idling-resource is judged whether there is greater than the applied resource of the resource bid and minimum history
The minicomputer of the sum of resource;Wherein, the minimum history resource is all resources received according to the scheduling of resource platform
Apply for determining least resource application;
If it exists, then it is greater than the small of the sum of the applied resource of the resource bid and the minimum history resource from idling-resource
One is filtered out in type machine is used as the target minicomputer;
If it does not exist, then the reminder message that artificial treatment is carried out by the administrator of the scheduling of resource platform is sent.
4. method according to claim 2, which is characterized in that further include the mesh in creation in the resource scheduling request
Mark the application information of loading application programs on logical server;The method also includes:
The scheduling of resource platform determines the application program according to the application information from application information library
Version number information;
After scheduling of resource platform generation executes the execution stream of the resource bid on the target minicomputer, also wrap
It includes:
According to the performance parameter information of the version number information of the application program and the target minicomputer, search in the target
The operating process template of the application program is loaded on minicomputer;
The operating process template of the application program is loaded according to the resource bid and on the target minicomputer, is generated
The execution stream of the application program is loaded on the logical server created on the target minicomputer.
5. the method as described in claim 1, which is characterized in that described when the scheduling of resource action type is that resource changes
Further include the identification information of the target minicomputer in resource scheduling request, the resource is executed on the target minicomputer and is become
The identification information of target logic server more and the modification information of resource change;
For the scheduling of resource platform according to the scheduling of resource action type, the target for obtaining the execution resource scheduling request is small
The performance parameter information and physical location information of type machine, comprising:
According to the identification information of the target minicomputer, the performance parameter information and physical bit confidence of the target minicomputer are obtained
Breath;
Performance parameter information of the scheduling of resource platform according to the scheduling of resource action type and the target minicomputer, life
At the execution stream for executing the resource scheduling request on the target minicomputer, comprising:
According to the performance parameter information of the target minicomputer, searches and execute the resource change on the target minicomputer
Operating process template;
According to the identification information for the target logic server for executing the resource change on the target minicomputer, the resource
The modification information of change and the operating process template that the resource change is executed on the target minicomputer, generate
The execution stream of the resource change is executed on the target minicomputer.
6. the method as described in claim 1, which is characterized in that described when the scheduling of resource action type is resource reclaim
Further include the identification information of the target minicomputer in resource scheduling request, resource reclaim is executed on the target minicomputer
The identification information of target logic server;
For the scheduling of resource platform according to the scheduling of resource action type, the target for obtaining the execution resource scheduling request is small
The performance parameter information and physical location information of type machine, comprising: according to the identification information of the target minicomputer, obtain the mesh
Mark the performance parameter information and physical location information of minicomputer;
Performance parameter information of the scheduling of resource platform according to the scheduling of resource action type and the target minicomputer, life
At the execution stream for executing the resource scheduling request on the target minicomputer, comprising:
According to the performance parameter information of the target minicomputer, lookup executes the resource reclaim on the target minicomputer
Operating process template;
According to the identification information for the target logic server that the resource reclaim is executed on the target minicomputer and it is described
The operating process template of the resource reclaim is executed on the target minicomputer, is generated described in executing on the target minicomputer
The execution stream of resource reclaim.
7. such as method described in any one of claims 1 to 6, which is characterized in that the performance parameter of the target minicomputer is believed
Breath includes the identification information of the target minicomputer,
The execution stream is parsed into the target according to the performance parameter information of the target minicomputer by the automatic controller
The control instruction that minicomputer is identified, comprising:
The automatic controller searches the identification information with the target minicomputer according to the identification information of the target minicomputer
Corresponding execution stream parsing template;
It is successive suitable according to what is executed on the target minicomputer according to the corresponding execution stream parsing template of the target minicomputer
The execution stream is parsed into N number of control instruction that the target minicomputer can identify by sequence.
8. the method for claim 7, which is characterized in that the execution stream is parsed into institute in the automation controller
After stating N number of control instruction that target minicomputer can identify, further includes:
The automation controller is held according to the physical location information of the target minicomputer according on the target minicomputer
Capable sequencing, Xiang Suoshu target minicomputer send N number of control instruction, so that the target minicomputer is according to receiving
The sequencing of N number of control instruction executes N number of control instruction.
9. method according to claim 8, which is characterized in that sent in the automation controller to the target minicomputer
After N number of control instruction, further includes:
The automation controller receives the implementing result of the target minicomputer feedback, and the implementing result is transmitted to institute
State scheduling of resource platform.
10. a kind of resource scheduling system characterized by comprising
Scheduling of resource platform includes scheduling of resource action type in the resource scheduling request for receiving resource scheduling request;
According to the scheduling of resource action type, obtain the performance parameter information for executing the target minicomputer of the resource scheduling request and
Physical location information, when the scheduling of resource action type is to create the resource bid of target logic server, use is following
Mode determines the target minicomputer: there are idling-resource is applied equal to the resource bid in determining resource information bank
When the minicomputer of resource, it is small that the minicomputer that idling-resource is equal to the applied resource of the resource bid is determined as the target
Type machine;According to the performance parameter information of the scheduling of resource action type and the target minicomputer, generate small in the target
The execution stream of the resource scheduling request is executed on type machine;The performance parameter executed in stream including the target minicomputer is believed
Breath and physical location information;The execution stream is sent to automatic controller;
The automatic controller, for receive it is described execute stream, and according to the performance parameter information of the target minicomputer, by institute
It states and executes stream and be parsed into the control instruction that the target minicomputer is identified, and according to the physical location information by the control
Instruction is sent to the target minicomputer to execute the control instruction.
11. system as claimed in claim 10, which is characterized in that the scheduling of resource action type is creation target logic clothes
The resource bid of business device;
The scheduling of resource platform is specifically used for:
According to the performance parameter information of the target minicomputer, lookup executes the resource bid on the target minicomputer
Operating process template;
It is raw according to the resource bid and the operating process template for executing the resource bid on the target minicomputer
At the execution stream for executing the resource bid on the target minicomputer.
12. system as claimed in claim 10, which is characterized in that
There is no the minicomputers that idling-resource is equal to the applied resource of the resource bid in determining the resource information bank
When, it judges whether there is idling-resource and is greater than the small-sized of the sum of the applied resource of the resource bid and minimum history resource
Machine;Wherein, the minimum history resource is the minimum that all resource bids received according to the scheduling of resource platform determine
Resource bid;
If it exists, then it is greater than the small of the sum of the applied resource of the resource bid and the minimum history resource from idling-resource
One is filtered out in type machine is used as the target minicomputer;
If it does not exist, then the reminder message of artificial treatment is carried out by the administrator of the scheduling of resource platform to transmission.
13. system as claimed in claim 11, which is characterized in that further include described in the creation in the resource scheduling request
The application information of loading application programs on target logic server;The scheduling of resource platform, is also used to:
According to the application information, the version number information of the application program is determined from application information library;
Generation is executed on the target minicomputer after the execution stream of the resource bid, further includes:
According to the performance parameter information of the version number information of the application program and the target minicomputer, search in the target
The operating process template of the application program is loaded on minicomputer;
The operating process template of the application program is loaded according to the resource bid and on the target minicomputer, is generated
The execution stream of the application program is loaded on the logical server created on the target minicomputer.
14. system as claimed in claim 10, which is characterized in that when the scheduling of resource action type is that resource changes, institute
State further include in resource scheduling request the target minicomputer identification information, execute the resource on the target minicomputer
The identification information of the target logic server of change and the modification information of resource change;The scheduling of resource platform is specific
For:
According to the identification information of the target minicomputer, the performance parameter information and physical bit confidence of the target minicomputer are obtained
Breath;
According to the performance parameter information of the target minicomputer, searches and execute the resource change on the target minicomputer
Operating process template;
According to the identification information for the target logic server for executing the resource change on the target minicomputer, the resource
The modification information of change and the operating process template that the resource change is executed on the target minicomputer, generate
The execution stream of the resource change is executed on the target minicomputer.
15. system as claimed in claim 10, which is characterized in that when the scheduling of resource action type is resource reclaim, institute
State further include in resource scheduling request the target minicomputer identification information, execute resource reclaim on the target minicomputer
Target logic server identification information;The scheduling of resource platform is specifically used for:
According to the identification information of the target minicomputer, the performance parameter information and physical bit confidence of the target minicomputer are obtained
Breath;
According to the performance parameter information of the target minicomputer, lookup executes the resource reclaim on the target minicomputer
Operating process template;
According to the identification information for the target logic server that the resource reclaim is executed on the target minicomputer and it is described
The operating process template of the resource reclaim is executed on the target minicomputer, is generated described in executing on the target minicomputer
The execution stream of resource reclaim.
16. the system as described in any one of claim 10 to 15, which is characterized in that the performance parameter of the target minicomputer
Information includes the identification information of the target minicomputer, and the automation controller is specifically used for:
According to the identification information of the target minicomputer, execution stream solution corresponding with the identification information of the target minicomputer is searched
Analyse template;
It is successive suitable according to what is executed on the target minicomputer according to the corresponding execution stream parsing template of the target minicomputer
The execution stream is parsed into N number of control instruction that the target minicomputer can identify by sequence.
17. system as claimed in claim 16, which is characterized in that the automation controller is also used to:
It is small according to the target after the execution stream is parsed into N number of control instruction that the target minicomputer can identify
The physical location information of type machine, according to the sequencing executed on the target minicomputer, Xiang Suoshu target minicomputer is sent
N number of control instruction so that the target minicomputer according to receive N number of control instruction sequencing execute described in
N number of control instruction.
18. system as claimed in claim 17, which is characterized in that the automation controller is also used to:
After sending N number of control instruction to the target minicomputer, the implementing result of the target minicomputer feedback is received,
And the implementing result is transmitted to the scheduling of resource platform.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510861868.5A CN105933136B (en) | 2015-11-30 | 2015-11-30 | A kind of resource regulating method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510861868.5A CN105933136B (en) | 2015-11-30 | 2015-11-30 | A kind of resource regulating method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105933136A CN105933136A (en) | 2016-09-07 |
CN105933136B true CN105933136B (en) | 2019-09-17 |
Family
ID=56839927
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510861868.5A Active CN105933136B (en) | 2015-11-30 | 2015-11-30 | A kind of resource regulating method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105933136B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107807931B (en) * | 2016-09-09 | 2020-09-01 | 北京京东尚科信息技术有限公司 | Method and system for template information management |
CN109427143B (en) * | 2017-12-29 | 2021-01-05 | 韶关市易通车联电子商务有限公司 | Cloud-based shared refueling method, device, server and system |
CN110472823A (en) * | 2019-07-08 | 2019-11-19 | 大亚湾核电运营管理有限责任公司 | A kind of electromagnetic interference equipment scheduling method, device and terminal device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103024022A (en) * | 2012-12-06 | 2013-04-03 | 中国电信股份有限公司云计算分公司 | Controlling and management system and method of virtual machine application service |
CN103118141A (en) * | 2013-03-11 | 2013-05-22 | 黄惠芬 | Multi-node-oriented cloud deployment method |
CN103793278A (en) * | 2013-09-30 | 2014-05-14 | 中国电子设备系统工程公司研究所 | Automatic resource adjusting method on basis of operation and maintenance rules of virtual device |
CN103916413A (en) * | 2012-12-31 | 2014-07-09 | 中国移动通信集团黑龙江有限公司 | Control method and device for heterogeneous minicomputers, and cloud computing system |
CN104579792A (en) * | 2015-01-26 | 2015-04-29 | 四川中电启明星信息技术有限公司 | Architecture and method for achieving centralized management of various types of virtual resources based on multiple adaptive modes |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103176846A (en) * | 2011-12-26 | 2013-06-26 | 中国银联股份有限公司 | Software and hardware sharing device and method based on production line |
CN103257878A (en) * | 2013-05-16 | 2013-08-21 | 浪潮通信信息系统有限公司 | Cross-platform smooth transfer method of application program based on Cloud calculation |
CN104954220B (en) * | 2014-03-31 | 2018-01-16 | 华为技术有限公司 | A kind of virtual network service deployment method and apparatus |
-
2015
- 2015-11-30 CN CN201510861868.5A patent/CN105933136B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103024022A (en) * | 2012-12-06 | 2013-04-03 | 中国电信股份有限公司云计算分公司 | Controlling and management system and method of virtual machine application service |
CN103916413A (en) * | 2012-12-31 | 2014-07-09 | 中国移动通信集团黑龙江有限公司 | Control method and device for heterogeneous minicomputers, and cloud computing system |
CN103118141A (en) * | 2013-03-11 | 2013-05-22 | 黄惠芬 | Multi-node-oriented cloud deployment method |
CN103793278A (en) * | 2013-09-30 | 2014-05-14 | 中国电子设备系统工程公司研究所 | Automatic resource adjusting method on basis of operation and maintenance rules of virtual device |
CN104579792A (en) * | 2015-01-26 | 2015-04-29 | 四川中电启明星信息技术有限公司 | Architecture and method for achieving centralized management of various types of virtual resources based on multiple adaptive modes |
Also Published As
Publication number | Publication date |
---|---|
CN105933136A (en) | 2016-09-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9396028B2 (en) | Scheduling workloads and making provision decisions of computer resources in a computing environment | |
CN109117265A (en) | The method, apparatus, equipment and storage medium of schedule job in the cluster | |
CN111444019B (en) | Cloud collaborative deep learning model distributed training method and system | |
CN112380020A (en) | Computing power resource allocation method, device, equipment and storage medium | |
US11740921B2 (en) | Coordinated container scheduling for improved resource allocation in virtual computing environment | |
CN112015521A (en) | Configuration method and device of inference service, electronic equipment and storage medium | |
CN112445575B (en) | Multi-cluster resource scheduling method, device and system | |
CN111209077A (en) | Deep learning framework design method | |
CN103873534A (en) | Method and device for application cluster migration | |
EP3637252A1 (en) | Virtual machine deployment method and omm virtual machine | |
CN114416352A (en) | Computing resource allocation method and device, electronic equipment and storage medium | |
CN105933136B (en) | A kind of resource regulating method and system | |
CN116541134B (en) | Method and device for deploying containers in multi-architecture cluster | |
CN113157379A (en) | Cluster node resource scheduling method and device | |
CN105068873A (en) | Isomerous virtual resource and task scheduling method and system | |
CN111435354A (en) | Data export method and device, storage medium and electronic equipment | |
CN111666158A (en) | Kubernetes-based container scheduling method and device, storage medium and electronic equipment | |
CN113204425B (en) | Method, device, electronic equipment and storage medium for process management internal thread | |
CN110532060A (en) | A kind of hybrid network environmental data collecting method and system | |
CN108347341A (en) | A kind of acceleration capacity method of adjustment and device for adjusting virtual machine acceleration capacity | |
CN107025126A (en) | A kind of resource regulating method, NFVO and system | |
CN112527451B (en) | Method, device, equipment and storage medium for managing container resource pool | |
CN110351104A (en) | A kind of VIM selection method and device | |
CN103562852B (en) | A kind of method and apparatus for ensureing cloud application procedure service quality | |
CN114500530A (en) | Automatic adjustment method for civil edge information system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |