CN102629207B - A kind of method that multi-tenant environment running example timesharing updates - Google Patents

A kind of method that multi-tenant environment running example timesharing updates Download PDF

Info

Publication number
CN102629207B
CN102629207B CN201210053810.4A CN201210053810A CN102629207B CN 102629207 B CN102629207 B CN 102629207B CN 201210053810 A CN201210053810 A CN 201210053810A CN 102629207 B CN102629207 B CN 102629207B
Authority
CN
China
Prior art keywords
time
renewal
update
updates
tenant
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
Application number
CN201210053810.4A
Other languages
Chinese (zh)
Other versions
CN102629207A (en
Inventor
王兴山
郑伟波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur General Software Co Ltd
Original Assignee
Inspur General Software Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Inspur General Software Co Ltd filed Critical Inspur General Software Co Ltd
Priority to CN201210053810.4A priority Critical patent/CN102629207B/en
Publication of CN102629207A publication Critical patent/CN102629207A/en
Application granted granted Critical
Publication of CN102629207B publication Critical patent/CN102629207B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The present invention provides a kind of method that multi-tenant environment running example timesharing updates, and the present invention relates to the update method of software and data, especially supports software and the update method of data under the cloud computing environment of many tenants.The invention provides a kind of method that under multi-tenant environment, running example updates, the method is updated by simulation and similar case Update log analysis promotes the accuracy updating the estimated time, more new window is selected by the way of tenant's set period and example activity log analysis, by application built-in rule checksum update result, the restorability of update anomalies is ensured, in order to promote the reliability updated under multi-tenant environment and to reduce the business dwell time that software upgrading causes by instance backup.

Description

A kind of method that multi-tenant environment running example timesharing updates
Technical field
The present invention relates to software operation management technical field, particularly relate to the renewal skill of SaaS application under cloud computing environment Art, it is therefore an objective to promote SaaS application updates under multi-tenant environment reliability and reduce the business that software upgrading causes when stopping Between.
Background technology
Along with the development of software industry, the rational distribution of resources, division of labor based on specialization trend more and more obvious, cloud computing and soft Part i.e. services the concept of (SaaS) and the most gradually lands.It is the software application pattern of a kind of innovation that software i.e. services, and is used by software Person frees from the purchase of application software, systems soft ware, hardware and the network facilities and deployment maintenance work, allows the making of software User more pays close attention to the business of oneself, and for infrastructure and the installation of software, dispose, safeguard, the work such as renewal is all given more Specialty SaaS service provider be responsible for enterprise buy,.Meanwhile, SaaS service provider, for reasonable disposition resource, promotes The level of resources utilization, often uses virtualized technology, forms unified extensive resource pool, uses main body clothes for multiple softwares Business, many tenants pattern (Multi-Tenant) that namely we often say.
Division of labor based on specialization is not only to be that the division of labor between ISP and service consumer is changing, and provides in service Also also separating refinement, the provider of SaaS service and the role of operator inside person, operator infrastructure environment Construction and Service Operation and O&M, and be mainly responsible for developing under the access criteria of operator's platform and accessing oneself on providing SaaS service, which forms operator and service by accessing the SaaS of different SaaS service provider, be provided to not The pattern that same tenant uses.
Owing to SaaS service typically can towards the public, application kind and tenant's scale that operator accesses can be the biggest.
Intel Virtualization Technology achieves the abstract of infrastructure layer, and allowing the distribution of computing capability and the automatization of management become can Can, but, in the face of large-scale application kind scene on extensive running example, how to safeguard specifically how realize more New reliability and automatization, and tenant can be reduced as far as possible stop time of business being that SaaS service provider faces A great problem.
Summary of the invention
The present invention is directed to a kind of method that problem above proposes solution.
It is an object of the invention to realize in the following manner, comprise the following steps:
Step A, receives software upgrading request;
Time needed for updating for assessment software, need to comprise herein below:
(1) more new procedures;
(2) the description information of more new procedures;
A) program identification;
B) version number that current renewal is suitable for;
C) target version number after being updated successfully;
(3) update relevant metric, be included under different hardware environment, update time-consuming under different instances data scale Benchmark data;
(4) the verification rule being updated successfully;
Step B, generates and updates operation plan;
Description information during operation plan maker is applied for by renewal determines the SaaS service reality that all tenants are to be updated All examples in SaaS Service Instance list to be updated are scheduling time match by example list the most again;Operation plan Generate and use all available time windows at SaaS Service Instance to mate with estimating the renewal time, to obtain optimal renewal Time window, includes but not limited to herein below:
(1) tenant's predefined renewal pot life table;
(2) the renewal benchmark data provided by SaaS service provider;
(3) the Update log statistical information of similar case has been updated;
(4) example activity log statistical information;
(5) providing activity monitoring mechanism to obtain the activity log statistical information of each example, each example needs output One group of available time windows, generates, to facilitate, the operation plan that timesharing updates;
(6) operation plan maker provides Plan rescheduling interface entrance for tenant manager, and operation plan is optional after generating Notify tenant manager by the advice method described in tenant's log-on message, that thinks that tenant manager provides adjustment can Energy;
Step C, performs renewal,
Update agency receive operation plan renewal instruct after, when being updated for an instantiation, have with Lower step:
(1) scheduling window and abnormality processing strategy are received;
(2) backed-up instance;
(3) more new procedures is obtained;
(4) renewal is performed;
(5) result treatment;
In result treatment, having two mission criticals, one is intended to be logged by, for follow-up time-consuming the and result updated The reference that operation plan generates, if two is to need the pot life according to scheduling window and the judgement renewal of abnormality processing strategy Result treatment strategy after failure.
Accompanying drawing explanation
Fig. 1 is the method flow diagram that running example timesharing according to an embodiment of the invention updates;
Fig. 2 is the refinement flow chart of the method that the present invention a kind of multi-tenant environment running example timesharing updates;
Fig. 3 is the flow chart that the present invention generates operation plan step.
Detailed description of the invention
With reference to Figure of description, the method for the present invention is described in detail below.
It is an object of the invention to provide a kind of method that multi-tenant environment running example timesharing updates, the present invention's is another Purpose is to provide a kind of method accurately determining, under multi-tenant environment, SaaS service operation example being updated operation plan.
Implement step as follows:
1. the method that the timesharing of multi-tenant environment running example updates, comprises the following steps:
Step A, receives software upgrading request;
Time needed for updating for assessment software, need to comprise herein below:
1) more new procedures;
2) the description information of more new procedures;
D) program identification;
E) version number that current renewal is suitable for;
F) target version number after being updated successfully;
3) update relevant metric, be included under different hardware environment, update time-consuming under different instances data scale Benchmark data;
4) the verification rule being updated successfully.
Step B, generates and updates operation plan
Description information during operation plan maker is applied for by renewal determines the SaaS service reality that all tenants are to be updated All examples in SaaS Service Instance list to be updated are scheduling time match by example list the most again.
Generating of operation plan uses all available time windows at SaaS Service Instance to carry out with estimating the renewal time Coupling, most preferably updates time window to obtain, includes but not limited to herein below:
1) tenant's predefined renewal pot life table (optional);
2) the renewal benchmark data provided by SaaS service provider;
3) oneself updates the Update log statistical information of similar case;
4) example activity log statistical information.
Each example needs one group of available time windows of output, generates, to facilitate, the operation plan that timesharing updates.
Operation plan maker provides Plan rescheduling interface entrance for tenant manager, and operation plan optionally leads to after generating Cross the advice method described in tenant's log-on message and notify tenant manager, think that tenant manager provides the possibility of adjustment.
Step C, performs renewal
Update agency receive operation plan renewal instruct after, when being updated for an instantiation, have with Lower step:
1) scheduling window and abnormality processing strategy are received;
2) backed-up instance;
3) more new procedures is obtained;
4) renewal is performed;
5) result treatment;
In result treatment, if this method needs the pot life according to scheduling window and abnormality processing strategy to judge Result treatment strategy after updating unsuccessfully.
Embodiment:
Hereinafter will be illustrated by an actual scene of implementing, make the above-mentioned target of the present invention, feature and advantage become apparent from, Understandable.This scene partitioning is three key steps, is to update request stage, generation operation plan stage, execution renewal rank respectively Section.
The scene of the present embodiment simulation is as follows, the SaaS that oneself is developed by SaaS service provider Vendorl, Vendor2 Service access SaaS service platform, Vendorl provide application be XX-CRM, Vendor2 provide application be XX-HR, tenant L, tenant 2, tenant 3 have purchased the products such as XX-CRM, XX-HR respectively, and it is rented and example deployment relation is as shown in table l:
Tenant Application Current version Example ID Example types
Tenant 1 XX-CRM 1.0 GUID-I Example types 1
Tenant 1 XX-CRM 1.0 GUID-2 Example types 1
Tenant 2 XX-CRM 1.0 GUID-3 Example types 2
Tenant 2 XXHR 2.0 GUID-4 Example types 2
Tenant 3 XX-CRM 1.0 GUID-5 Example types 1
Updating request stage, this embodiment assumes that and more newly requested sent by the service provider Vendorl of XX-CRM, Vendorl needs to follow the specification of SaaS operator, registers that this is more newly requested, more newly requested needs described by offer table l Information.Including be suitable for this update application, be suitable for this renewal version identifier, the version identifier in example after renewal, more The URL of new bag, it is also required to provide for assessing the renewal fiducial time that renewal is time-consuming simultaneously.Update and need to comprise two fiducial time The assessment data of individual dimension:
One is example types, and example types determines the benchmark of the computing capabilitys such as CPU, internal memory, disk;
Two is data scale, reflects the renewal time reference under different pieces of information amount.SaaS service offer is the most newly requested such as Shown in table 2:
Generating the operation plan stage, due under multi-tenant environment especially extensive under multi-tenant environment, different tenants The application type used is different, and the time zone at place is different, and the line duration of user is different, uses the side of all example synchronized update Formula certainly will cause the stopping of many tenant's business.Being different from above update method, the present embodiment uses timesharing of the present invention Update method.
Timesharing update method of the present invention is by comprehensively analyzing polytype reference data, to determine The time that most preferably updates of different instances.In the present embodiment, the optimal determination updating the time mainly by available more new window with Estimating the renewal time determines.Wherein the optimal determination updating the time for each example mainly has two sources,
One is the available renewal time that system tenant manager specifies;Two is to be obtained by sampling according to example monitoring agent Actual free time, the two take its occur simultaneously as schedule regeneration window.The renewal time of estimating for example has two equally Source, one is to update the datum renewal time provided in application, and two is that similar case is actual updates the time consumed, and the two is pressed Take the mode of high level to determine and estimate the renewal time.
Judge that the condition that more new window is adopted is: schedule regeneration window > (estimate renewal time+estimate recovery time). The present embodiment is with 1 month as update cycle, in this month, and more new window more than one to be selected, by repeatedly mating, Complete one group after coupling available more new window and be supplied to operation plan maker.
Operation plan maker, by comprehensively analyzing all available more new window of all examples, divides by generating The operation plan of batch.
It is more than that the operation plan to an example generates process, by all examples to be updated are mated, Generate full schedule service program.
Available renewal time and the statistics free time specified are as shown in table 3:
Table 3 is activity sampling daily record
Example ID Sample time It is flexibly connected number
GUID-1 2011/12/29 22:30:00 0
GUID-2 2011/12/29 22:30:00 0
GUID-1 2011/12/29 10:30:00 50
GUID-2 2011/12/29 10:30:00 30
Table 4 is tenant's manager's contact method
Example ID Sample time It is flexibly connected number
GUID-1 2011/12/29 22:30:00 0
GUID-2 2011/12/29 22:30:00 0
GUID-1 2011/12/29 10:30:00 50
GUID-2 2011/12/29 10:30:00 30
Table 5 is application Update log
Tenant Manager Contact method
Tenant 1 Admin1 Admin1@domain.com
Tenant 2 Admin2 Admin2@domain.com
。。。
Table 1 is application Update log
After the operation plan updated is clear and definite, optionally, by the renewal operation plan for each tenant carrying of specifying In the front time, be sent respectively to the manager of tenant, tenant manager still have an opportunity to cancel before formal scheduling performs or Adjust operation plan.
Performing the more new stage, for the example to be updated of all tenants, updating agency and first example to be updated is entered Row backup, then by updating the acquisition of information renewal bag in required list, and performs renewal to example to be updated.If be updated to Merit, then terminate the renewal process of instant example, if it fails, then according to judging to be by the remaining time updating time window Again update after recovering or recovering.Elapsed time and result in actual renewal process will count daily record, for follow-up renewal As reference data.
In addition to the technical characteristic described in description, it is the known technology of those skilled in the art.

Claims (1)

1. the method that a multi-tenant environment running example timesharing updates, it is characterised in that by polytype reference data Comprehensively analyzing, to determine the optimal renewal time of different instances, the optimal determination updating the time is mainly updated by available Window determines with estimating the renewal time, and wherein the optimal determination updating the time for each example mainly has two sources, One is the available renewal time that system tenant manager specifies, and two is the actual sky obtained by sampling according to example monitoring agent Between idle, the two takes it and occurs simultaneously as schedule regeneration window;
The renewal time of estimating for example has two sources equally, and one is to update the datum renewal time provided in application, and two Being that similar case is actual updates the time consumed, and the two mode pressing high level determines estimates the renewal time;
Judge that the condition that more new window is adopted is: schedule regeneration window > (estimate renewal time+estimate recovery time), with 1 Individual month is the update cycle, and in this month, more new window more than one to be selected, by repeatedly mating, after completing coupling One group of available more new window be supplied to operation plan maker, all available by all examples of operation plan maker More new window is comprehensively analyzed, by generating operation plan in batches, by mating all examples to be updated, i.e. Full schedule service program can be generated, comprise the following steps: A receives software upgrading request;B generates and updates operation plan;C performs Update, wherein:
Step A, receives software upgrading request, and content includes: be suitable for this application updated, and is suitable for this version identifier updated, more Version identifier in example after new, updates the URL of bag, it is also required to provide simultaneously for assess update time-consuming renewal benchmark time Between, updating and need the assessment data comprising two dimensions fiducial time: one is example types, example types determines CPU, interior Deposit, the benchmark of disk computing capability;Two is data scale, reflects the renewal time reference under different pieces of information amount, updates relevant Metric, be included under different hardware environment, under different instances data scale, update time-consuming benchmark data and renewal Successfully verify rule;
Step B, generates and updates operation plan, and the description information in being applied for by renewal determines the SaaS clothes that all tenants are to be updated All examples in SaaS Service Instance list to be updated are scheduling time match by business example list the most again;Scheduling meter Generating of drawing uses all available time windows at SaaS Service Instance to mate with estimating the renewal time, optimal to obtain Update time window, include but not limited to herein below:
Tenant's predefined renewal pot life table;
The renewal benchmark data provided by SaaS service provider;
Update the Update log statistical information of similar case;
Example activity log statistical information;
(1) providing activity monitoring mechanism to obtain the activity log statistical information of each example, each example needs a group of output Available time windows, generates, to facilitate, the operation plan that timesharing updates;
(2) operation plan maker provides Plan rescheduling interface entrance for tenant manager, and operation plan optionally leads to after generating Cross the advice method described in tenant's log-on message and notify tenant manager, think that tenant manager provides the possibility of adjustment;
Step C, performs renewal, updates and acts on behalf of after the renewal receiving operation plan instructs, carries out for an instantiation During renewal, there are following steps:
Receive scheduling window and abnormality processing strategy;
Backed-up instance;
Obtain more new procedures;
Perform renewal;
Result treatment;
In result treatment, having two mission criticals, one is intended to be logged by, for follow-up scheduling the time-consuming and result updated The reference that plan generates, if two is that needs judge to update unsuccessfully according to pot life and the abnormality processing strategy of scheduling window After result treatment strategy.
CN201210053810.4A 2012-03-05 2012-03-05 A kind of method that multi-tenant environment running example timesharing updates Active CN102629207B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210053810.4A CN102629207B (en) 2012-03-05 2012-03-05 A kind of method that multi-tenant environment running example timesharing updates

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210053810.4A CN102629207B (en) 2012-03-05 2012-03-05 A kind of method that multi-tenant environment running example timesharing updates

Publications (2)

Publication Number Publication Date
CN102629207A CN102629207A (en) 2012-08-08
CN102629207B true CN102629207B (en) 2016-12-14

Family

ID=46587467

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210053810.4A Active CN102629207B (en) 2012-03-05 2012-03-05 A kind of method that multi-tenant environment running example timesharing updates

Country Status (1)

Country Link
CN (1) CN102629207B (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101782457B1 (en) * 2013-08-13 2017-09-28 후아웨이 테크놀러지 컴퍼니 리미티드 Application upgrade method and apparatus
CN104104688B (en) * 2014-07-30 2017-04-12 浙江工商大学 Safe distributed network reprogramming method supporting multiple authorized tenants
US9851996B2 (en) * 2015-03-24 2017-12-26 Lenovo Enterprise Solutions (Singapore) Pte. Ltd. Applying firmware updates in a system with zero downtime by selectively offlining and onlining hardware using a scale-up hypervisor layer
CN105354110B (en) * 2015-10-26 2018-05-18 武汉帕菲利尔信息科技有限公司 Cloud Server data back up method and device
US10785129B2 (en) 2018-06-27 2020-09-22 Oracle International Corporation Computerized methods and systems for maintaining and modifying cloud computer services
US11115344B2 (en) 2018-06-27 2021-09-07 Oracle International Corporation Computerized methods and systems for migrating cloud computer services
US11190599B2 (en) 2018-06-27 2021-11-30 Oracle International Corporation Method and system for cloud service pre-provisioning
US10911367B2 (en) 2018-06-27 2021-02-02 Oracle International Corporation Computerized methods and systems for managing cloud computer services
CN109165135B (en) * 2018-07-18 2021-05-04 平安科技(深圳)有限公司 Data management method, computer readable storage medium and terminal equipment
US11907743B2 (en) 2019-05-21 2024-02-20 Oracle International Corporation System and method for relocating customer virtual machine instances in a multi-tenant cloud service
CN110995795A (en) * 2019-11-20 2020-04-10 斑马网络技术有限公司 Vehicle ECU refreshing method and device and storage medium
CN113411362B (en) * 2020-03-16 2024-05-14 阿里巴巴集团控股有限公司 Control method, device and equipment of application instance
CN114153858B (en) * 2021-11-26 2024-07-12 泰康保险集团股份有限公司 Method and device for automatically updating tenant under MySQL table space

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101557427A (en) * 2009-05-11 2009-10-14 阿里巴巴集团控股有限公司 Method for providing diffluent information and realizing the diffluence of clients, system and server thereof
CN101656657A (en) * 2008-08-19 2010-02-24 国际商业机器公司 Method and system for determining resource utilization rate of each tenant in multi-tenant architecture
CN102236554A (en) * 2011-07-18 2011-11-09 国家电网公司 Construction platform, construction system and construction method of on-line application software

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8176483B2 (en) * 2005-12-30 2012-05-08 Sap Ag Software maintenance management
US8505003B2 (en) * 2010-04-28 2013-08-06 Novell, Inc. System and method for upgrading kernels in cloud computing environments

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101656657A (en) * 2008-08-19 2010-02-24 国际商业机器公司 Method and system for determining resource utilization rate of each tenant in multi-tenant architecture
CN101557427A (en) * 2009-05-11 2009-10-14 阿里巴巴集团控股有限公司 Method for providing diffluent information and realizing the diffluence of clients, system and server thereof
CN102236554A (en) * 2011-07-18 2011-11-09 国家电网公司 Construction platform, construction system and construction method of on-line application software

Also Published As

Publication number Publication date
CN102629207A (en) 2012-08-08

Similar Documents

Publication Publication Date Title
CN102629207B (en) A kind of method that multi-tenant environment running example timesharing updates
US10642599B1 (en) Preemptive deployment in software deployment pipelines
US10776244B2 (en) Consolidation planning services for systems migration
US10320638B1 (en) Method and system for determining workload availability in a multi-tenant environment
Sampaio et al. Supporting microservice evolution
US9319280B2 (en) Calculating the effect of an action in a network
Guo et al. Cost-aware cloud bursting for enterprise applications
EP2572294B1 (en) System and method for sql performance assurance services
EP3126995B1 (en) Cloud computing benchmarking
US10606583B2 (en) Software change tracking and management
CN105677556B (en) A kind of dispatching automation main station system method for testing software and its platform
CN110309975A (en) Project-developing process control method, device, equipment and computer storage medium
US20130339933A1 (en) Systems and methods for quality assurance automation
US8661431B2 (en) Accurately estimating install time
US9875169B2 (en) Modeling real capacity consumption changes using process-level data
US20140123114A1 (en) Framework for integration and execution standardization (fiesta)
CN107733735B (en) Script recording system and method implanted in pressure measurement device
US20160170734A1 (en) Revision Safe Upgrade in a Hybrid Cloud Landscape
Aubakirov et al. Development of system architecture for e-government cloud platforms
Lenarduzzi Could social factors influence the effort software estimation?
Beaty et al. Economics of cloud computing for enterprise IT
CN111191861B (en) Machine number determination method and device, processing line, storage medium and electronic equipment
Ren et al. Research of software size estimation method
Nagraj et al. Automated Infectious Disease Forecasting: Use-Cases and Practical Considerations for Pipeline Implementation
CN115812195A (en) Calculating developer time in a development process

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 250100 Ji'nan high tech Zone, Shandong, No. 1036 wave road

Applicant after: Langchao General Software Co., Ltd

Address before: 250101 Shandong Province, Ji'nan City hi tech Development Zone, Nga Road No. 1036

Applicant before: Shandong Universal Software Co., Ltd., Langchao Group Corp.

COR Change of bibliographic data
C14 Grant of patent or utility model
GR01 Patent grant