Summary of the invention
Technical problem to be solved by this invention is, a kind of resource scheduling system is provided, can be through setting up the incidence relation between operation system, server, the resource pool, and the dynamic assignment resource is farthest to improve information-based utilization rate of equipment and installations.
In order to solve the problems of the technologies described above; The invention provides a kind of resource scheduling system, comprise operation system, for said operation system provides the server of service, the resource pool be made up of said server, the data center that is made up of resource pool, the dispatching platform that is used to monitor said operation system, server, resource pool, data center; Said dispatching platform comprises: server management module is used for deployment server; The system resource management module is used to dispose operation system, sets up the incidence relation between said operation system, server, the resource pool; The resource pool management module; Be used for according to the incidence relation between said data center, server and the resource pool; Generate the network topology structure figure of said resource pool; And the state parameter of the server that is associated with said resource pool of issue, said state parameter comprises server name, type, operating state, CPU numerical value, internal memory numerical value and disk numerical value.
As the improvement of such scheme, said server management module comprises: the configuration modification submodule, be used to revise the configuration information of said server, and said configuration information comprises CPU numerical value, internal memory numerical value and disk numerical value; The State Control submodule, be used for to said server start, stop, reboot process; Software is installed submodule, is used to said server install software; Server reflection submodule is used to existing server and creates reflection, deletion reflection, and recovers deleted server according to said reflection.
Improvement as such scheme; Said system resource management module comprises: the system parameters submodule; Be used for obtaining in real time the business information of operation system; And revise the term of validity of said operation system, said business information comprises systematic name, time started, concluding time, affiliated project team, server sum, active server number; The system image submodule is used to existing operation system and creates reflection, deletion reflection; The system creation submodule is used for setting up the incidence relation between said operation system, server, the resource pool through creating the server method and/or recovering mapping method and create operation system; System's cancellation submodule is used to delete existing operation system; The server submodule is used for creating or the deletion server, sets up the incidence relation between said operation system, server, the resource pool.
As the improvement of such scheme, said dispatching platform also comprises: the management through quantification module is used for obtaining in real time and write down under said resource pool, the server that is associated with said resource pool, the resource pool resource of data center and uses information; Said resource use information comprises the current utilization rate of CPU, the current utilization rate of internal memory, the current utilization rate of disk, the historical utilization rate of CPU, the historical utilization rate of internal memory, the historical utilization rate of disk and resource contribution amount.
Improvement as such scheme; Said dispatching platform also comprises: authority management module; Be used to dispose the role and distribute authority, set up incidence relation and the incidence relation between said role and resource pool between said role, said role comprises unit, project team, user.
As the improvement of such scheme, said dispatching platform also comprises: the workbench module, be used for the establishment project, and track project is examined progress, and disposes said operation system and server.
As the improvement of such scheme, said workbench module comprises: the request submodule, be used for the establishment project, and track project is examined progress; Check and approve submodule, be used for obtaining in real time pending project information, and said pending project is examined; System's submodule is used to dispose said operation system and server, sets up the incidence relation between said operation system, server, the resource pool.
The beneficial effect of embodiment of the present invention is: resource scheduling system carries out standardization to the IT resource, and with abstract come out of form of service, forms corresponding business system, server, resource pool and data center.The real-time status of the real-time monitoring business of dispatching platform system, server, resource pool, data center; When operation system proposes resource requirement; Dispatching platform is through setting up the incidence relation between operation system, server, the resource pool, for these operation system dynamic assignment resources, farthest to improve information-based utilization rate of equipment and installations; Avoid overlapping investment and waste investment, effectively improve system reliability and raise the management level.
Embodiment
For making the object of the invention, technical scheme and advantage clearer, will combine accompanying drawing that the present invention is done to describe in detail further below.
As shown in Figure 1, resource scheduling system 6 comprises server 1, resource pool 2, data center 3, operation system 4 and dispatching platform 5.Wherein, resource scheduling system 6 includes one or more operation systems 4 and data center 3, comprises one or more resource pools 2 in the data center 3, comprises one or more servers 1 in the resource pool 2.
Need to prove that server 1 provides service for operation system 4, server 1 is a virtual server.Dispatching platform 5 is used to monitor said operation system 4, server 1, resource pool 2, data center 3.
During work, dispatching platform 5 obtains the relevant information of operation system 4, server 1, resource pool 2, data center 3 in real time.When arriving operation system 4 visit peak values, operation system 4 will be born high concurrent visit pressure.At this moment; The utilization rate of CPU of server 1 that service is provided for operation system is near saturated; Dispatching platform 5 can be operation system 4 and creates idle server 1 to share the pressure of original server 1, and the new server of creating can be under the jurisdiction of arbitrary resource pool or arbitrary data center.
As shown in Figure 2, dispatching platform 5 comprises:
Server management module 51 is used for deployment server 1.
Server 1 is under the jurisdiction of resource pool 2; Server 1 provides service for operation system 4; During deployment server, can make amendment to adapt to the requirement of different service system 4 to the configuration information of server 1, also the state of may command server 1; For server 1 is installed corresponding software, for server 1 is set up reflection, also recovered server 1 etc. through reflection.
System resource management module 52 is used to dispose operation system 4, sets up the incidence relation between said operation system 4, server 1, the resource pool 2.
Resource pool 2 is under the jurisdiction of data center 3, includes a plurality of independently servers 1 in the resource pool 2, and different server 1 provides service for different service system 4.
When disposing operation system 4, can adjust the term of validity of operation system 4, to realize effective management of 6 pairs of operation systems 4 of resource scheduling system.Can also create in real time or deletion operation system 4 according to service needed, and be that operation system 4 is created reflection, created server, when creating server, need set up the incidence relation between operation system 4, server 1, the resource pool 2 simultaneously.
Resource pool management module 53 is used for generating the network topology structure figure of said resource pool 2 according to the incidence relation between said data center 3, server 1 and the resource pool 2, and the state parameter of the server 1 that is associated with said resource pool 2 of issue.Said state parameter comprises server name, type, operating state, CPU numerical value, internal memory numerical value and disk numerical value.
Need to prove that resource pool 2 is under the jurisdiction of data center 3, include a plurality of independently servers 1 in the resource pool 2.Network topology structure figure divides three grades of expansion, comprises the resource pool 2 under data center 3, the data center 3, the server 1 under the resource pool 2.Through the network topology structure figure incidence relation between demonstrating data center 3, server 1 and the resource pool 2 intuitively.
As shown in Figure 3, server management module 51 comprises:
Configuration modification submodule 511 is used to revise the configuration information of said server 1.Said configuration information comprises CPU numerical value, internal memory numerical value and disk numerical value.
Need to prove that after the resource of modification VMWare and KVM server 1, these servers 1 will restart, and any service that is moving will be interrupted.POWER LPAR server 1 will can not restart.
State Control submodule 512, be used for to said server 1 start, stop, reboot process.
State Control submodule 512 can start the server that is in suspended state 1 in the operation system 4, can stop the server that is moving 1 in the operation system 4, can also restart the server 1 that is moving in the operation system 4.
Software is installed submodule 513, is used to said server 1 install software.
If keeper's resource scheduling system 6 has again added any software module template and disposed, the user just can install other software items on existing server 1.
Server reflection submodule 514 is used to existing server 1 and creates reflection, deletion reflection, and recovers deleted server 1 according to said reflection.
Server reflection submodule 514 can be preserved a plurality of reflections of service supplied device 1 with its current state, the reflection of preserving before can using returns to original state with server 1, also can from inventory, remove server 1 reflection of previous preservation.
As shown in Figure 4, system resource management module 52 comprises:
System parameters submodule 521 is used for obtaining in real time the business information of operation system 4, and revises the term of validity of said operation system 4.Said business information comprises systematic name, time started, concluding time, affiliated project team, server sum, active server number.
System parameters submodule 521 can be static the business information of display business system 4; Running status, CPU number, memory size, disk size, CPU usage, memory usage, the disk utilization rate that can dynamically show the server 1 that is associated with operation system 4.
In addition, system parameters submodule 521 can also be revised Start Date, the time started of the Close Date of all operation systems 4 and still unenforced operation system 4.
System image submodule 522 is used to existing operation system 4 and creates reflection, deletion reflection.
System creation submodule 523 is used for through creating the server method and/or recovering mapping method and create operation system 4, sets up the incidence relation between said operation system 4, server 1, the resource pool 2.
Need to prove; System creation submodule 523 is brought in the unified management of carrying out resource through the management of resource pool 2; Therefore create the management end in the related different resource of the action pond 2 of server 1, so need carry out the selection of resource pool management end when creating server 1.The resource pool management end can be VMware and POWER LPar.
System's cancellation submodule 524 is used to delete existing operation system 4.
When deleting existing operation system 4, can select " arrive the Close Date when being about to stop using in project, preserve the reflection of each server " or " project is stopped using after, still keep and have the reflection of having preserved now " according to real needs.
Server submodule 525 is used for creating or deletion server 1, sets up the incidence relation between said operation system 4, server 1, the resource pool 2.
When the expanded range of operation system 4, can add one or more servers 1 to operation system 4, at this moment, need to specify CPU quantity, internal memory and will be the software that each server 1 is disposed, new server 1 will be received the host name of automatic distribution.
When no longer needing server 1, can from operation system 4, delete server 1, during deletion server 1, the host name of distributing to this server 1 automatically will discharge, and use for other servers 1 of in data center 3, creating.Can't remove last station server 1 in the operation system 4.On the contrary, can cancel whole service system 4.Can't remove first station server 1 in the operation system 4 with following validity date.On the contrary, can cancel whole service system 4.
Fig. 5 is another structural representation of dispatching platform 5 among the embodiment of a kind of resource scheduling system 6 of the present invention, and different with Fig. 1 is that dispatching platform 5 also comprises:
Management through quantification module 54 is used for obtaining in real time and write down under said resource pool 2, the server 1 that is associated with said resource pool 2, the resource pool 2 resource of data centers 3 and uses information.Said resource use information comprises the current utilization rate of CPU, the current utilization rate of internal memory, the current utilization rate of disk, the historical utilization rate of CPU, the historical utilization rate of internal memory, the historical utilization rate of disk and resource contribution amount.
Need to prove, during metering, can be unit with data center 3, the overall CPU of demonstrating data center 3 all resource pools 2, internal memory, disk sum and current utilization rate, the historical curve chart that uses.Be unit also, represent overall CPU, internal memory, disk sum and the current utilization rate of resource pool 2, the historical curve chart that uses with single resource pool 2.Be unit also, represent CPU, internal memory, disk sum and the current utilization rate of server 1, the historical curve chart that uses with separate unit server 1.
Authority management module 55 is used to dispose the role and distributes authority, sets up incidence relation and the incidence relation between said role and resource pool between said role.
Said role comprises unit, project team, user.Wherein, a unit can include one or more project team, and correspondingly, a project team can comprise one or more users equally, and a user can be under the jurisdiction of one or more project team respectively.
Authority comprises platform management person's authority, unit management person's authority, general user's authority.Right of distribution in limited time, platform management person can setting unit keeper and general user's authority, unit management person can be provided with general user's authority.
When disposing the role of unit, need upload information such as organization, unit description, network configuration template.Wherein, the user who only has platform management person's authority just can carry out the deployment of unit.
During deploying projects group role, need upload affiliated unit, project team's title, project team's description, information such as the user of project team.Wherein, the user with platform management person's authority or unit management person's authority just can carry out establishment, the deletion of project team, and the usefulness with platform management person's authority, unit management person's authority, general user's authority can be carried out the modification of project team per family.
When disposing user role, need upload details, personal information, authority information.Wherein, the user with platform management person's authority or unit management person's authority just can carry out user's establishment, deletion, and the usefulness with platform management person's authority, unit management person's authority, general user's authority can be carried out user's modification per family.。
Workbench module 56 is used for the establishment project, and track project is examined progress, and disposes said operation system 4 and server 1.
As shown in Figure 6, workbench module 56 comprises:
Request submodule 561 is used for the establishment project, and track project is examined progress.
Need to prove that the user with power of examination and approval could manage the relevant item of " waiting to examine ", " pending ", " in the processing ", " handling successfully ", " handling failure ", " not through examining ", the general user can only submit to and create application.
Check and approve submodule 562, be used for obtaining in real time pending project information, and said pending project is examined.
System's submodule 563 is used to dispose said operation system 4 and server 1, sets up the incidence relation between said operation system 4, server 1, the resource pool 2.
By on can know that 6 pairs of IT resources of resource scheduling system are carried out standardization, and, form corresponding business system 4, server 1, resource pool 2 and data center 3 with abstract come out of form of service.The real-time status of dispatching platform 5 real-time monitoring business systems 4, server 1, resource pool 2, data center 3; When resource requirement appears in operation system 4; Dispatching platform 5 is these operation system 4 dynamic assignment servers 1; Farthest to improve information-based utilization rate of equipment and installations, avoid overlapping investment and waste investment.
The above is a preferred implementation of the present invention; Should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; Can also make some improvement and retouching, these improvement and retouching also are regarded as protection scope of the present invention.