CN104598291B - A kind of recovery method and system of nuclear power operation system virtual server resource - Google Patents
A kind of recovery method and system of nuclear power operation system virtual server resource Download PDFInfo
- Publication number
- CN104598291B CN104598291B CN201410723355.3A CN201410723355A CN104598291B CN 104598291 B CN104598291 B CN 104598291B CN 201410723355 A CN201410723355 A CN 201410723355A CN 104598291 B CN104598291 B CN 104598291B
- Authority
- CN
- China
- Prior art keywords
- application
- virtual server
- resource
- application resource
- rental period
- 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
Abstract
The embodiment of the invention discloses the recovery method and system of a kind of nuclear power operation system virtual server resource, the method decides whether to recycle virtual server automatically by monitoring rental period and the application resource service condition of virtual server automatically.The present invention actually uses the innovative approach of situation by the traditional approach in monitoring virtual server rental period and by monitoring virtual server, in conjunction with the informing function addressed inquires to automatically, the automation recycling for realizing nuclear power operation system virtual server resource, effectively reduces the complexity of nuclear power operation system O&M, the workload for reducing O&M, saves hardware cost.Meanwhile the present invention also provides a kind of method for determining virtual server actual use situation by analyzing the characteristic of nuclear power operation system, the actual use situation of virtual server can be effectively obtained by this method.
Description
Technical field
The present invention relates to technical field of nuclear power more particularly to a kind of recycling sides of nuclear power operation system virtual server resource
Method and system.
Background technique
In nuclear power operation system, the architecture of traditional X86 server makes it that can only run one in the same time
Operating system.By abstracting the operating system and application resource of physical hardware, nuclear power business system server is virtualized now
The traditional one-to-one architecture mode of X86 server is got rid of, more economical efficient, quicker, simpler clothes are realized
Business device environment.By server virtualization, multiple operating systems can be operated in a manner of virtual machine on a physical server,
Each virtual machine may have access to underlying services device computing resource.
Nuclear power business system server virtualizes the powerful potential for having released current X86 server.However, most of void
The capacity utilization of quasi- server remains unchanged not high;It exists simultaneously and but still occupies showing for physical server resource without actual use
As leading to virtual server increasing number, operation maintenance personnel is difficult to confirm actually making for nuclear power operation system void machine server one by one
Use situation.This resource for not only wasting server also adds the cost of server maintenance.
In the prior art, in view of the above technical problems, most of virtualization manufacturer all supports the timing for virtual machine
Task executes corresponding operation according to the process timing wanted is preset.With the void of the VMWare company of Xu Jihua manufacturer of mainstream
For quasi-ization operating system ESX, it supports ten kinds of task types:Virtual machine is closed in starting, and clone, deployment, migration, creation are empty
Quasi- machine, creates virtual machine snapshot, adds host, changes power supply, and the compliance of operative cooperation changes resource pool or resources of virtual machine
Setting.That is, it is existing recycling virtual machine method can only timing positive closing, remove virtual machine, can not judge automatically
Whether the server in the rental period is using, and also can not actively ask the user whether also to need using or re-rent i.e. by overdue service
Device.
Summary of the invention
The technical problem to be solved by the embodiment of the invention is that for Virtual Service is recycled in existing nuclear power operation system
The method of device resource can only timing positive closing, remove virtual machine, virtual server in the rental period can not be judged automatically whether
It is using, also can not actively ask the user whether also to need using or re-rent the defect i.e. by overdue virtual server, provide one
The recovery method and system of seed nucleus electric industry business system virtualization server resource.
In order to solve the above-mentioned technical problem, the embodiment of the invention provides a kind of nuclear power operation system virtual server resources
Recovery method, include the following steps:
S1. application information is obtained, the application information includes applicant ID, rental period and application type, and is gone to step simultaneously
S2A and S2B;
S2A. according to the rental period in the application information, monitor whether the rental period expires;Continue to monitor the rental period if not yet due,
Otherwise S3A is gone to step;
S3A. send whether mail inquiry applicant re-rents;If receive re-rent and the feedback information in new rental period if return step
Otherwise S2A goes to step S4;
S2B. application resource service condition is monitored;If application resource service condition is continuously lower than threshold value in the first predetermined number of days
S3B is then gone to step, otherwise continues to monitor application resource service condition;
S3B. it sends mail inquiry applicant and is responsible for the reason that whether application resource uses and application resource service condition is low;
It is no if receiving application resource return step S2B still if the feedback information of the low reason of use and application resource service condition
Then go to step S4;
S4. it is numbered by date with applicant, standby virtual server hard disc file;
S5. it closes and removes virtual server from physical host.
Preferably, the step S2A further includes following operation:It is daily to calculate apart from rental period remaining number of days;When remaining number of days
It when less equal than the second predetermined number of days, sends whether mail inquiry applicant re-rents, the new rental period is reacquired if re-renting.
Preferably, the application type includes Web Services business and Windows/Unix/Linux Services
Business;The threshold value of the Web Services business is by virtual server CPU usage and website user's access number preset value
It determines, the threshold value of the Windows/Unix/Linux Services business is determined by virtual server usage amount preset value.
Preferably, the application resource service condition is calculated by following formula:
Wherein, function Fn(t) service condition for being t moment application resource n;I is the number of dimensions that function is related to, the dimension
Including:CPU resource utilization, memory usage, disk utilization and amount of access;λniFor the sensitivity coefficient of each dimension, it is used for
Reflect the attention degree under different application scene to each dimension, is defaulted as 1;πni(t) dimension i is made for t moment application resource n
With rate;T is the period for calculating application resource service condition.
Preferably, it in the step S2B, is sent by changing the life cycle of application resource to trigger mail;It is described
The life cycle of application resource is determined by following equation:
Wherein, τn(t) life cycle for being t moment application resource n, τn_initialFor the rental period of application resource n, FnFor application
The threshold value of resource n.
Correspondingly, the present invention also provides a kind of recovery systems of nuclear power operation system virtual server resource, including:Shen
Please module, rental period monitoring module, using monitoring module, notification module, backup module and recycling module;Wherein,
For providing virtual server application service and obtaining application information, the application information includes the application module
Applicant ID, rental period and application type;
The rental period monitoring module is used for the rental period applied according to applicant, and whether the monitoring rental period expires;
The application monitoring module is for monitoring application resource service condition and providing application resource service condition and application
Source is compared using threshold value, to obtain application resource service condition monitored results;
The notification module further comprises the first notice submodule and the second notice submodule;Wherein, described first is logical
Know that submodule is sent for the monitoring situation according to the rental period monitoring module to applicant to re-rent inquiry mail and accept applications
The feedback information of people, the second notice submodule are used to be responsible for according to the monitored results using monitoring module to applicant
Sending application resource whether using and the low reason of application resource situation and the people that accepts applications supervisor feedback information;
The backup module is backed up for being numbered by date with applicant according to the control instruction of the notification module
Virtual server fixed disk file;
The recycling module is used to be closed according to the control instruction of the backup module and removes virtual clothes from physical host
Business device.
Preferably, the rental period monitoring module there remains number of days computational submodule;The residue number of days computational submodule is used
It calculates in daily apart from rental period remaining number of days;When remaining number of days was less equal than for the second predetermined number of days, the rental period monitors mould
Block triggers the notification module and sends whether mail inquiry applicant re-rents, and the rent of applicant's application is reacquired if re-renting
Phase.
Preferably, the application type includes Web Services business and Windows/Unix/Linux Services
Business;The threshold value of the Web Services business is by virtual server CPU usage and website user's access number preset value
It determines, the threshold value of the Windows/Unix/Linux Services business is determined by virtual server usage amount preset value.
Preferably, the application resource service condition is calculated by following formula:
Wherein, function Fn(t) service condition for being t moment application resource n;I is the number of dimensions that function is related to, the dimension
Including:CPU resource utilization, memory usage, disk utilization and amount of access;λniFor the sensitivity coefficient of each dimension, it is used for
Reflect the attention degree under different application scene to each dimension, is defaulted as 1;πni(t) dimension i is made for t moment application resource n
With rate;T is the period for calculating application resource service condition.
Preferably, described to be also used to the life cycle by changing application resource using monitoring module to trigger described second
Notification module;The life cycle of the application resource is determined by following equation:
Wherein, τn(t) life cycle for being t moment application resource n, τn_initialFor the rental period of application resource n, FnFor application
The threshold value of resource n.
Implement the embodiment of the present invention, has the advantages that:The tradition that the present invention passes through the monitoring virtual server rental period
Mode and the innovative approach by monitoring virtual server instream factor realize core in conjunction with the informing function addressed inquires to automatically
The automation recycling of electric industry business system virtualization server resource effectively reduces the complexity of nuclear power operation system O&M, reduces
The workload of O&M saves hardware cost.Meanwhile the spy that the present invention also provides a kind of by analyzing nuclear power operation system
Property can effectively obtain the actual use of virtual server by this method come the method for determining virtual server instream factor
Rate.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Fig. 1 is the recovery method process of first embodiment nuclear power operation system virtual server resource provided by the invention
Figure;
Fig. 2 is the recovery system structure of second embodiment stream nuclear power operation system virtual server resource provided by the invention
Block diagram;
Fig. 3 is the recovery system database of 3rd embodiment nuclear power operation system virtual server resource provided by the invention
Texture field schematic diagram.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art without making creative work it is obtained it is all its
His embodiment, shall fall within the protection scope of the present invention.
Referring to Figure 1, Fig. 1 is the recycling of first embodiment nuclear power operation system virtual server resource provided by the invention
Method flow diagram.As shown in Figure 1, the recovery method of nuclear power operation system virtual server resource provided in this embodiment include with
Lower step:
S1. application information is obtained, the application information includes applicant ID, rental period and application type, and is gone to step simultaneously
S2A and S2B;
Preferably, applicant applies for virtual server by portal website and submits application information by application module;?
In a preferred embodiment provided by the invention, application type mainly includes two classes:Web Services business and Windows/
Unix/Linux Services business;
S2A. according to the rental period in the application information, monitor whether the rental period expires;Continue to monitor the rental period if not yet due,
Otherwise S3A is gone to step;
S3A. send whether mail inquiry applicant re-rents;If receive re-rent and the feedback information in new rental period if return step
Otherwise S2A goes to step S4;
After applicant re-rents, rental period monitoring module can receive the rental period of applicant's application again, and according to the new rental period
Continue to monitor whether the rental period expires;The inquiry that if applicant does not re-rent or non-response notification module issues within the prescribed time-limit
Mail is backed up then notification module will trigger backup module, and then recycles virtual server resource automatically;
S2B. application resource service condition is monitored;If application resource service condition is continuously lower than threshold value in the first predetermined number of days
S3B is then gone to step, otherwise continues to monitor application resource service condition;
In a preferred embodiment provided by the invention, the first predetermined number of days was 3 weeks;If application monitoring in continuous 3 weeks
Module all monitors the service condition of application resource lower than threshold value, that is to say, that and the use of application resource is unsatisfactory for minimum requirements,
So using monitoring module will trigger notice module go whether inquiry applicant supervisor using the virtual server and is answering
With the reason that resource service condition is relatively low;In a preferred embodiment provided by the invention, the threshold of Web Services business
It is worth and is determined by virtual server CPU usage and website user's access number preset value, the Windows/Unix/Linux
The threshold value of Services business is determined by virtual server usage amount preset value;
S3B. it sends mail inquiry applicant and is responsible for the reason that whether application resource uses and application resource service condition is low;
It is no if receiving application resource return step S2B still if the feedback information of the low reason of use and application resource service condition
Then go to step S4;
In this step, if applicant is responsible for feedback application resource and is not used or feeds back in use but do not reply application
The low reason of the resource service condition inquiry mail that either non-response notification module is sent within the prescribed time-limit, notification module is all
Backup module can be triggered to be backed up, and then recycle virtual server automatically;
S4. it is numbered by date with applicant, standby virtual server hard disc file;
S5. it closes and removes virtual server from physical host.
The present embodiment is actually used by the traditional approach in monitoring virtual server rental period and by monitoring virtual server
The innovative approach of rate realizes the automation of nuclear power operation system virtual server resource in conjunction with the informing function addressed inquires to automatically
Recycling, effectively reduces the complexity of nuclear power operation system O&M, the workload for reducing O&M, saves hardware cost.
In another preferred embodiment provided by the invention, step S2A further includes following operation:The daily distance that calculates is rented
Phase remaining number of days;When remaining number of days was less equal than for the second predetermined number of days, send whether mail inquiry applicant re-rents and accuse
Know that applicant apart from rental period remaining number of days, reacquires the rental period of applicant's application if re-renting.Preferably, the second predetermined number of days
It is 2 weeks.By implementing the present embodiment, it can be achieved that prior notice applicant's rental period remaining number of days, so that it is enough to allow applicant to have
Time considers whether to re-rent and re-rent for applicant's application to provide sufficiently long operable time, and then does not influence Virtual Service
The normal use of device.
Fig. 2 is referred to, Fig. 2 is the recycling of second embodiment nuclear power operation system virtual server resource provided by the invention
System structure block diagram.As shown in Fig. 2, the recovery system of nuclear power operation system virtual server resource provided in this embodiment
100 include:Apply for module 1, rental period monitoring module 2, using monitoring module 3, notification module 4, backup module 5 and recycling module 6.
Wherein, the application information that application module 1 is used to provide virtual server application service and obtain applicant's submission, institute
Stating application information includes applicant ID, rental period and application type.Preferably, applicant applies for Virtual Service by portal website
Device, and application information is committed to by system 100 by application module 1.Application type mainly includes two classes, i.e. Web Services
Business and Windows/Unix/Linux Services business.
Rental period monitoring module 2 is used for the rental period applied according to applicant, and whether the monitoring rental period expires.Preferably, the rental period supervises
Whether the rental period that control module 2 all detects an applicant daily expires, if expired, with regard to information of departure module 4 with postal
The mode of part notifies client, if not yet due, continues to monitor the rental period.
Using monitoring module 3 for monitoring application resource service condition and making application resource service condition with application resource
It is compared with threshold value, to obtain application resource service condition monitored results.Preferably, it is used using the detection daily of monitoring module 3 is primary
The application resource service condition at family, and application resource service condition is compared with threshold value, if continuous 3 weeks application resources make
Threshold value is below with situation, that is to say, that the use of application resource is unsatisfactory for minimum requirements, then will touch using monitoring module 3
Whether module of sending out public notice 4 goes inquiry applicant supervisor in the original relatively low using the virtual server and application resource service condition
Cause.In a preferred embodiment provided by the invention, the threshold value of Web Services business is by virtual server CPU usage
Determine that the threshold value of the Windows/Unix/Linux Services business is by virtual with website user's access number preset value
Server usage amount preset value determines.
Notification module 4 further comprises the first notice submodule 41 (being not shown in Fig. 2) and the second notice (figure of submodule 42
It is not shown in 2).Wherein, the first notice submodule 41 is used to be sent according to the monitoring situation of rental period monitoring module 2 to applicant continuous
Inquiry mail and the feedback information for the people that accepts applications are rented, the second notice submodule 42 is used for the monitoring according to application monitoring module 3
As a result to applicant be responsible for sending application resource whether using and the low reason of application resource situation and the feedback for the people that accepts applications
Information.After applicant re-rents, the rental period that applicant applies can be sent to rental period monitoring module 2 by the first notice submodule 41,
Rental period monitoring module 2 receives the rental period of applicant's application again, and continues to monitor whether the rental period expires according to the new rental period;If
Applicant does not re-rent or does not respond within the prescribed time-limit inquiry mail of the first notice submodule 41 sending, then the first notice
Submodule 41 will trigger backup module 5 and be backed up, and then recycle virtual server resource automatically.Equally, in applicant master
Pipe feeds back application resource after the low reason of use and service condition, which can be fed back to application by the second notice submodule 42
Monitoring module 3 continues to normally monitor using situation.If applicant supervisor feeds back to the second notice submodule 42 and answers
With resource be not used or feed back use but do not reply the low reason of application resource service condition either within the prescribed time-limit not
The inquiry mail that the second notice submodule 42 is sent is responded, the second notice submodule 42 can all trigger backup module 5 and be backed up,
And then virtual server is recycled automatically.
Backup module 5 with applicant for being numbered by date according to the control instruction of notification module 4, standby virtual clothes
Business device fixed disk file.
Recycling module 6 is used to be closed according to the control instruction of backup module 5 and removes virtual server from physical host.Tool
Body, i.e. triggering recycling module 6 recycles virtual server resource after backup module 5 completes backup.
The present embodiment is actually used by the traditional approach in monitoring virtual server rental period and by monitoring virtual server
The innovative approach of rate realizes the automation of nuclear power operation system virtual server resource in conjunction with the informing function addressed inquires to automatically
Recycling, effectively reduces the complexity of nuclear power operation system O&M, the workload for reducing O&M, saves hardware cost.
In another preferred embodiment provided by the invention, rental period monitoring module 2 further includes remaining number of days computational submodule
21 (being not shown in Fig. 2).Remaining number of days computing module 21 for calculating apart from rental period remaining number of days daily.When remaining number of days is less than
Or when being equal to for the second predetermined number of days, preferably the second predetermined number of days is 2 weeks, remaining first notice of the triggering of number of days computational submodule 21
Module 41 sends whether mail inquiry applicant re-rents and inform applicant apart from rental period remaining number of days.It is weighed if applicant re-rents
The new rental period for obtaining applicant's application.By implementing the present embodiment, it can be achieved that prior notice applicant's rental period remaining number of days, thus
Applicant is allowed to have time enough to consider whether to re-rent and re-rent for applicant's application to provide sufficiently long operable time, into
Normal use without influencing virtual server.
Fig. 3 is referred to, Fig. 3 is the recycling of 3rd embodiment nuclear power operation system virtual server resource provided by the invention
System database texture field schematic diagram.As shown in figure 3, database structure field provided in this embodiment includes two column, the left side
First row indicates that field attribute, secondary series indicate the title of field.ID is the ID number of applicant, and attribute is major key, is used to table
Show unique applicant.SID is the ID number of unique applicant supervisor.Rental period is the lease phase of the virtual server of applicant's application
Limit.Type of service includes two classes, and one kind is Web Services business, and another kind of is Windows/Unix/Linux
Services business.Threshold value 1 indicates the threshold value of Web Services business, and the threshold value is by virtual server CPU usage and net
User's access number preset value of standing determines.Threshold value 2 indicates the threshold value of Windows/Unix/Linux Services business, the threshold
Value is determined by service usage amount preset value.
In a preferred embodiment provided by the invention, application resource uses threshold value, i.e. threshold value 1 or threshold value 2 uses FnTable
Show, n indicates application resource number.And application resource n is in the application resource service condition available functions F of t momentn(t) it indicates, Fn
(t) calculation formula is as follows:
Wherein, i is the number of dimensions that function is related to, and the dimension includes:CPU resource utilization, memory usage, disk benefit
With rate and amount of access;λniFor the sensitivity coefficient of each dimension, for reflecting under different application scene to the attention degree of each dimension,
It is defaulted as 1;πniIt (t) is t moment application resource n to the utilization rate of dimension i;T is the period for calculating application resource service condition, example
It is as primary in calculated daily, then for the previous day;If calculating weekly once, T is one week.This integral function time of integration region
Physical meaning is:This is integrated to integrate at the moment from integral completion moment last time to this, and the resource of dimension i uses feelings
Condition.
By implementing the present embodiment, any moment can be easily calculated using monitoring module 3, such as some
The moon, a certain week, some day or some hour etc., the service condition of virtual machine server application resource.Based on the above method
The service condition of the application resource of calculation can trigger second by changing the life cycle of application resource using monitoring module 3
Notification module 42.Specifically, if t at any time, such as the 25th day, resource n (preferably 3 weeks) in cycle T are all monitored
Service condition is lower than its threshold value Fn, then can allow its life cycle be equal to t, i.e., 25 days, that is to say, that monitoring the same day i.e. its
The time of end of life, then the second notification module 42 will inquire whether applicant supervisor is using the resource and using feelings
The low reason of condition.If monitoring its service condition not less than threshold value Fn, then maintenance phase normal life cycle is not changed,
And normal life cycle, that is, applicant applied rental period of resource n.It is formulated as follows:
Wherein, τn(t) life cycle for being t moment application resource n, τn_initialFor the rental period of application resource n, FnFor application
The threshold value of resource n.A kind of application resource service condition that very simple utilization monitors is present embodiments provided, change is passed through
Its life cycle carrys out the method that trigger notice module addresses inquires to applicant supervisor.
Foregoing description is related to various modules.The combination that these modules generally include hardware and/or hardware and software is (such as solid
Change software).These modules can also include the computer-readable medium comprising instruction (for example, software instruction) (for example, permanent
Medium), when processor executes these instructions, so that it may execute various functional characteristics of the invention.Correspondingly, except non-clearly
It is required that the scope of the present invention not by the module specifically mentioned in embodiment specific hardware and/or software feature limited.Make
For non-limitative example, the present invention in embodiment can be by one or more processors (such as microprocessor, digital signal
Reason device, baseband processor, microcontroller) execution software instruction (such as it is stored in non-volatile memory and/or permanent storage
Device).In addition, the present invention can also be executed with specific integrated circuit (ASIC) and/or other hardware elements.It should be pointed out that
Above in the description of various modules, these modules are divided into, are for clarity.However, in actual implementation, various moulds
The boundary of block can be fuzzy.For example, any or all functionalities module herein can share various hardware and/or soft
Part element.In another example any and/or all functional modules herein can be executed software instruction by shared processor complete
Portion or part are implemented.In addition, the various software submodules being performed by one or more processors can be between various software modules
It is shared.Correspondingly, unless explicitly requested, the scope of the present invention not mandatory boundary between by various hardware and/or software element
Limitation.
Above disclosed is only a preferred embodiment of the present invention, cannot limit the power of the present invention with this certainly
Sharp range, those skilled in the art can understand all or part of the processes for realizing the above embodiment, and weighs according to the present invention
Benefit requires made equivalent variations, still belongs to the scope covered by the invention.
Claims (10)
1. a kind of recovery method of nuclear power operation system virtual server resource, which is characterized in that include the following steps:
S1. obtain application information, the application information includes applicant ID, rental period and application type, and go to step simultaneously S2A and
S2B;
S2A. according to the rental period in the application information, monitor whether the rental period expires;Continue to monitor the rental period if not yet due, otherwise
Go to step S3A;
S3A. send whether mail inquiry applicant re-rents;If receive re-rent and the feedback information in new rental period if return step S2A,
Otherwise S4 is gone to step;
S2B. application resource service condition is monitored;Turn if application resource service condition in the first predetermined number of days is continuously lower than threshold value
Otherwise step S3B continues to monitor application resource service condition;
S3B. it sends mail inquiry applicant and is responsible for the reason that whether application resource uses and application resource service condition is low;If connecing
Application resource is received still in the feedback information of the low reason of use and application resource service condition then return step S2B, is otherwise turned
Step S4;
S4. it is numbered by date with applicant, standby virtual server hard disc file;
S5. it closes and removes virtual server from physical host.
2. the recovery method of nuclear power operation system virtual server resource according to claim 1, which is characterized in that described
Step S2A further includes following operation:It is daily to calculate apart from rental period remaining number of days;When remaining number of days is less equal than the second predetermined day
It when number, sends whether mail inquiry applicant re-rents, the new rental period is reacquired if re-renting.
3. the recovery method of nuclear power operation system virtual server resource according to claim 1, which is characterized in that described
Application type includes Web Services business and Windows/Unix/Linux Services business;The Web
The threshold value of Services business is determined by virtual server CPU usage and website user's access number preset value, described
The threshold value of Windows/Unix/Linux Services business is determined by virtual server usage amount preset value.
4. the recovery method of nuclear power operation system virtual server resource according to claim 1, which is characterized in that described
Application resource service condition is calculated by following formula:
Wherein, function Fn(t) service condition for being t moment application resource n;I is the number of dimensions that function is related to, and the dimension includes:
CPU resource utilization, memory usage, disk utilization and amount of access;λniFor the sensitivity coefficient of each dimension, it is used to reflect not
With, to the attention degree of each dimension, being defaulted as 1 under application scenarios;πniIt (t) is t moment application resource n to the utilization rate of dimension i;T
For the period for calculating application resource service condition.
5. the recovery method of nuclear power operation system virtual server resource according to claim 4, which is characterized in that in institute
It states in step S2B, is sent by changing the life cycle of application resource to trigger mail;The life cycle of the application resource is logical
Following equation is crossed to determine:
Wherein, τn(t) life cycle for being t moment application resource n, τn_initialFor the rental period of application resource n, FnFor application resource
The threshold value of n.
6. a kind of recovery system of nuclear power operation system virtual server resource, which is characterized in that including:Apply for module, rental period
Monitoring module, using monitoring module, notification module, backup module and recycling module;Wherein,
For the application module for providing virtual server application service and obtaining application information, the application information includes application
People ID, rental period and application type;
The rental period monitoring module is used for the rental period applied according to applicant, and whether the monitoring rental period expires;
The application monitoring module is for monitoring application resource service condition and making application resource service condition with application resource
It is compared with threshold value, to obtain application resource service condition monitored results;
The notification module further comprises the first notice submodule and the second notice submodule;Wherein, the first notice
Module is used to be sent according to the monitoring situation of the rental period monitoring module to applicant and re-rents inquiry mail and accept applications people's
Feedback information, the second notice submodule, which is used to be responsible for according to the monitored results using monitoring module to applicant, to be sent
Application resource whether using and the low reason of application resource situation and the people that accepts applications supervisor feedback information;
The backup module with applicant for being numbered by date according to the control instruction of the notification module, standby virtual
Server hard disc file;
The recycling module is used to be closed according to the control instruction of the backup module and removes virtual server from physical host.
7. the recovery system of nuclear power operation system virtual server resource according to claim 6, which is characterized in that described
Rental period monitoring module there remains number of days computational submodule;The residue number of days computational submodule for calculating apart from rental period institute daily
Surplus number of days;When remaining number of days was less equal than for the second predetermined number of days, the rental period monitoring module triggers the notification module hair
It send whether mail inquiry applicant re-rents, the rental period of applicant's application is reacquired if re-renting.
8. the recovery system of nuclear power operation system virtual server resource according to claim 6, which is characterized in that described
Application type includes Web Services business and Windows/Unix/Linux Services business;The Web
The threshold value of Services business is determined by virtual server CPU usage and website user's access number preset value, described
The threshold value of Windows/Unix/Linux Services business is determined by virtual server usage amount preset value.
9. the recovery system of nuclear power operation system virtual server resource according to claim 6, which is characterized in that described
Application resource service condition is calculated by following formula:
Wherein, function Fn(t) service condition for being t moment application resource n;I is the number of dimensions that function is related to, and the dimension includes:
CPU resource utilization, memory usage, disk utilization and amount of access;λniFor the sensitivity coefficient of each dimension, it is used to reflect not
With, to the attention degree of each dimension, being defaulted as 1 under application scenarios;πniIt (t) is t moment application resource n to the utilization rate of dimension i;T
For the period for calculating application resource service condition.
10. the recovery system of nuclear power operation system virtual server resource according to claim 9, which is characterized in that institute
It states and is also used to the life cycle by changing application resource using monitoring module to trigger the second notification module;The application resource
Life cycle determined by following equation:
Wherein, τn(t) life cycle for being t moment application resource n, τn_initialFor the rental period of application resource n, FnFor application resource
The threshold value of n.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410723355.3A CN104598291B (en) | 2014-12-02 | 2014-12-02 | A kind of recovery method and system of nuclear power operation system virtual server resource |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410723355.3A CN104598291B (en) | 2014-12-02 | 2014-12-02 | A kind of recovery method and system of nuclear power operation system virtual server resource |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104598291A CN104598291A (en) | 2015-05-06 |
CN104598291B true CN104598291B (en) | 2018-11-16 |
Family
ID=53124109
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410723355.3A Active CN104598291B (en) | 2014-12-02 | 2014-12-02 | A kind of recovery method and system of nuclear power operation system virtual server resource |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104598291B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106067852A (en) * | 2016-06-08 | 2016-11-02 | 智者四海(北京)技术有限公司 | The monitoring method and device of server usage amount |
CN108932166B (en) * | 2018-07-25 | 2020-01-10 | 苏州浪潮智能科技有限公司 | Resource use control method, device and equipment under cloud management platform architecture |
CN109508226B (en) * | 2018-11-20 | 2021-10-29 | 郑州云海信息技术有限公司 | Openstack-based virtual machine life cycle management method |
CN111736961B (en) * | 2020-08-18 | 2020-12-01 | 鹏城实验室 | Virtual machine release method and device, storage medium and electronic equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6601110B2 (en) * | 1998-03-17 | 2003-07-29 | Sun Microsystems, Inc. | System and method for translating file-level operations in a non-door-based operating system to door invocations on a door server |
CN101663646A (en) * | 2006-12-22 | 2010-03-03 | 惠普发展公司,有限责任合伙企业 | Computer system and method of control thereof |
CN102270157A (en) * | 2011-07-25 | 2011-12-07 | 浪潮(北京)电子信息产业有限公司 | Server resource allocation system and method |
-
2014
- 2014-12-02 CN CN201410723355.3A patent/CN104598291B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6601110B2 (en) * | 1998-03-17 | 2003-07-29 | Sun Microsystems, Inc. | System and method for translating file-level operations in a non-door-based operating system to door invocations on a door server |
CN101663646A (en) * | 2006-12-22 | 2010-03-03 | 惠普发展公司,有限责任合伙企业 | Computer system and method of control thereof |
CN102270157A (en) * | 2011-07-25 | 2011-12-07 | 浪潮(北京)电子信息产业有限公司 | Server resource allocation system and method |
Also Published As
Publication number | Publication date |
---|---|
CN104598291A (en) | 2015-05-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Chohan et al. | See spot run: Using spot instances for {MapReduce} workflows | |
CN104598291B (en) | A kind of recovery method and system of nuclear power operation system virtual server resource | |
US9672075B2 (en) | Method, apparatus, and system for implementing hot migration of virtual machine | |
Sun et al. | Analyzing, modeling and evaluating dynamic adaptive fault tolerance strategies in cloud computing environments | |
US8935698B2 (en) | Management of migrating threads within a computing environment to transform multiple threading mode processors to single thread mode processors | |
CN100422940C (en) | System and method of arbitrating access of threads to shared resources within a data processing system | |
DE112005002360T5 (en) | Providing support for a timer associated with a virtual machine monitor | |
US20090113161A1 (en) | Method, apparatus and program product for managing memory in a virtual computing system | |
US20150234713A1 (en) | Information processing apparatus and virtual machine migration method | |
TW200538948A (en) | Method and apparatus for reducing power consumption in a logically partitioned data processing system | |
JP2015507808A (en) | Warning tracking interrupt facility | |
US8806178B2 (en) | Set sampling controls instruction | |
WO2015132753A1 (en) | Method for memory management in virtual machines, and corresponding system and computer program product | |
CN104054054A (en) | Use Of A Warning Track Interruption Facility By A Program | |
JP2010152458A (en) | Performance measurement program, performance measurement method, and information processor having performance measurement function | |
CN111344689A (en) | Bulk store and load operations for configuration status registers | |
US10613895B2 (en) | Virtualization of storage buffers used by asynchronous processes | |
KR20170131366A (en) | Shared resource access control method and apparatus | |
CN111344789A (en) | Configuration status register based on functional affinity grouping | |
CN111344687A (en) | Memory-based configuration status register | |
US20230086666A1 (en) | System and method for backup scheduling | |
Singh et al. | Advanced memory reusing mechanism for virtual machines in cloud computing | |
CN111344676A (en) | Context switching by changing memory pointers | |
CN104054052A (en) | Providing by one program to another program access to a warning track facility | |
US6321289B1 (en) | Apparatus for automatically notifying operating system level applications of the occurrence of system management events |
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 |