(19)
(11)EP 3 158 442 B1

(12)EUROPEAN PATENT SPECIFICATION

(45)Mention of the grant of the patent:
06.05.2020 Bulletin 2020/19

(21)Application number: 15733991.2

(22)Date of filing:  23.06.2015
(51)International Patent Classification (IPC): 
G06F 9/50(2006.01)
(86)International application number:
PCT/US2015/037267
(87)International publication number:
WO 2015/200376 (30.12.2015 Gazette  2015/52)

(54)

SYSTEM AND METHOD FOR PROVIDING A WORK MANAGER IN A MULTITENANT APPLICATION SERVER ENVIRONMENT

SYSTEM UND VERFAHREN ZUR BEREITSTELLUNG EINES ARBEITSMANAGERS IN EINER MANDANTENFÄHIGEN ANWENDUNGSSERVERUMGEBUNG

SYSTÈME ET PROCÉDÉ DE FOURNITURE D'UN GESTIONNAIRE DE TRAVAUX DANS UN ENVIRONNEMENT DE SERVEUR D'APPLICATIONS PARTAGÉES


(84)Designated Contracting States:
AL AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HR HU IE IS IT LI LT LU LV MC MK MT NL NO PL PT RO RS SE SI SK SM TR

(30)Priority: 23.06.2014 US 201462016059 P

(43)Date of publication of application:
26.04.2017 Bulletin 2017/17

(73)Proprietor: Oracle International Corporation
Redwood Shores, California 94065 (US)

(72)Inventors:
  • LAI, Anthony
    Cupertino, California 95014 (US)
  • ISLAM, Nazrul
    Fremont, California 94555 (US)
  • MORDANI, Rajiv
    Sunnyvale, California 94089 (US)

(74)Representative: D Young & Co LLP 
120 Holborn
London EC1N 2DY
London EC1N 2DY (GB)


(56)References cited: : 
US-A1- 2005 262 507
US-A1- 2008 177 976
US-A1- 2012 072 597
US-A1- 2014 089 928
US-A1- 2008 148 254
US-A1- 2009 019 439
US-A1- 2013 160 115
  
  • Anonymous: "Multitenancy - Wikipedia", , 5 March 2014 (2014-03-05), XP055633641, Retrieved from the Internet: URL:https://en.wikipedia.org/w/index.php?t itle=Multitenancy&oldid=598245774 [retrieved on 2019-10-18]
 
Remarks:
The file contains technical information submitted after the application was filed and not included in this specification
 
Note: Within nine months from the publication of the mention of the grant of the European patent, any person may give notice to the European Patent Office of opposition to the European patent granted. Notice of opposition shall be filed in a written reasoned statement. It shall not be deemed to have been filed until the opposition fee has been paid. (Art. 99(1) European Patent Convention).


Description

Field of Invention:



[0001] Embodiments of the invention are generally related to application servers and cloud platform environments, and are particularly related to a system and method for providing a work manager for use in a multitenant application server environment.

Background:



[0002] Software application servers, examples of which include Oracle WebLogic Server (WLS) and Glassfish, generally provide a managed environment for running enterprise software applications. Recently, technologies have also been developed for use in cloud environments, which allow users or tenants to develop and run their applications within the cloud environment, and to take advantage of distributed resources provided by the environment.
In US2005/262507, an application server with a self-tuned threading model is described. A server queue is used as a priority scheme, including a number of entries therein associated with received requests, and which allows the entries to have expressed priorities or share values, instead of simply the number of threads. Flexibility is retained to express the threads in raw numbers whenever this might be desired, or to express constraints on the number of threads to be made available. XP55633641 discloses a multitenancy system.

Summary:



[0003] Various aspects and features of the present invention are defined in the claims. Embodiments that do not fall within the scope of the claims do not describe part of the invention.

[0004] In accordance with an embodiment, described herein is a system and method for providing a work manager for use in an application server environment. In accordance with an embodiment, a system administrator can configure a partition work manager to provide partition work request prioritization (fair share value) to each partition within a multitenant application server environment. The system administrator can additionally configure the partition work manager to impose a minimum threads constraint limit, a partition capacity constraint, and/or a partition maximum threads constraint, all of which restrict the use of thread resources by the partitions within the environment.

Brief Description of the Figures:



[0005] 

Figure 1 illustrates a system for supporting multi-tenancy in an application server, cloud, or other environment, in accordance with an embodiment.

Figure 2 further illustrates a system for supporting multi-tenancy in an application server, cloud, or other environment, in accordance with an embodiment.

Figure 3 further illustrates a system for supporting multi-tenancy in an application server, cloud, or other environment, in accordance with an embodiment.

Figure 4 illustrates a domain configuration for use with an exemplary multi-tenant environment, in accordance with an embodiment.

Figure 5 further illustrates an exemplary multi-tenant environment, in accordance with an embodiment.

Figure 6 illustrates the use of a partition work manager in a multitenant application server environment, in accordance with an embodiment.

Figure 7 illustrates the use of a partition work manager in a multitenant application server environment, in accordance with an embodiment

Figure 8 is a flow chart of an exemplary method for providing a work manager for use in a multitenant application server environment.

Figure 9 is a flow chart of an exemplary method for providing a work manager for use in a multitenant application server environment.


Detailed Description:



[0006] In accordance with an embodiment, described herein is a system and method for providing a work manager for use in an application server environment. In accordance with an embodiment, a system administrator can configure a partition work manager to provide partition work request prioritization (fair share value) to each partition within a multitenant application server environment. The system administrator can additionally configure the partition work manager to impose a partition minimum threads constraint, a partition capacity constraint, and/or a partition maximum threads constraint, all of which restrict the use of thread resources by the partitions within the environment.

Application Server (e.g., Multi-Tenant, MT) Environment



[0007] Figure 1 illustrates a system for supporting multi-tenancy in an application server, cloud, or other environment, in accordance with an embodiment.

[0008] As illustrated in Figure 1, in accordance with an embodiment, an application server (e.g., multi-tenant, MT) environment 100, or other computing environment which enables the deployment and execution of software applications, can be configured to include and operate according to a domain 102 configuration that is used at runtime to define an application server domain.

[0009] In accordance with an embodiment, the application server can include one or more partitions 104 that are defined for use at runtime. Each partition can be associated with a globally unique partition identifier (ID) and partition configuration, and can further include one or more resource groups 124, together with a reference to a resource group template 126 and/or partition-specific applications or resources 128. Domain-level resource groups, applications and/or resources 140 can also be defined at the domain level, optionally with a reference to a resource group template.

[0010] Each resource group template 160 can define one or more applications A 162, B 164, resources A 166, B 168, and/or other deployable applications or resources 170, and can be referenced by a resource group. For example, as illustrated in Figure 1, resource group 124 in partition 104 can reference 190 resource group template 160.

[0011] Generally, a system administrator can define partitions, domain-level resource groups and resource group templates, and security realms; while a partition administrator can define aspects of their own partition, for example, by creating partition-level resource groups, deploying applications to the partition, or referencing specific realms for the partition.

[0012] Figure 2 further illustrates a system for supporting multi-tenancy in an application server, cloud, or other environment, in accordance with an embodiment.

[0013] As illustrated in Figure 2, in accordance with an embodiment, a partition 202 can include, for example, a resource group 205 which includes a reference 206 to a resource group template 210, a virtual target (e.g., virtual host) information 207, and a pluggable database (PDB) information 208. A resource group template (e.g., 210) can define, for example, a plurality of applications A 211 and B 212, together with resources such as a Java Message Server (JMS) server 213, store-and-forward (SAF) agent 215, mail session component 216, or Java Database Connectivity (JDBC) resource 217.

[0014] The resource group template illustrated in Figure 2 is provided by way of example; in accordance with other embodiments, different types of resource group templates and elements can be provided.

[0015] In accordance with an embodiment, when a resource group within a partition (e.g., 202) references 220 a particular resource group template (e.g., 210), information associated with a particular partition can be used in combination with the referenced resource group template, to indicate a partition-specific information 230, for example a partition-specific PDB information. The partition-specific information can then be used by the application server to configure resources, for example a PDB resource, for use by the partition. For example, partition-specific PDB information associated with partition 202 can be used, by the application server, to configure 232 a container database (CDB) 236 with an appropriate PDB 238, for use by that partition.

[0016] Similarly, in accordance with an embodiment, a virtual target information associated with a particular partition can be used to define 239 a partition-specific virtual target 240, for use by the partition, e.g., baylandurgentcare.com, which can then be made accessible via a uniform resource locator (URL), e.g., http://baylandurgentcare.com.

[0017] Figure 3 further illustrates a system for supporting multi-tenancy in an application server, cloud, or other environment, in accordance with an embodiment.

[0018] In accordance with an embodiment, a system configuration such as a config.xml configuration file, is used to define a partition, including configuration elements for resource groups associated with that partition, and/or other partition properties. Values can be specified per-partition using property name/value pairs.

[0019] In accordance with an embodiment, a plurality of partitions can be executed within a managed server / cluster 242, or a similar environment which can provide access to a CDB 243, and which are accessible via a web tier 244. This allows, for example, a domain or partition to be associated with one or more of the PDBs (of the CDB).

[0020] In accordance with an embodiment, each of the plurality of partitions, in this example partition A 250 and partition B 260, can be configured to include a plurality of resources associated with that partition. For example, partition A can be configured to include a resource group 251 which contains an application A1 252, application A2 254, and JMS A 256, together with a datasource A 257 associated with PDB A 259, wherein the partition is accessible via a virtual target A 258. Similarly, partition B 260 can be configured to include a resource group 261 which contains an application B1 262, application B2 264, and JMS B 266, together with a datasource B 267 associated with PDB B 269, wherein the partition is accessible via a virtual target B 268.

[0021] While several of the above examples illustrate use of CDB and PDBs, in accordance with other embodiments, other types of multi-tenant or non-multi-tenant databases can be supported, wherein a particular configuration can be provided for each partition, for example through the use of schemas, or the use of different databases.

Resources



[0022] In accordance with an embodiment, a resource is a system resource, application, or other resource or object that can be deployed to a domain of the environment. For example, in accordance with an embodiment, a resource can be an application, JMS, JDBC, JavaMail, WLDF, data source, or other system resource or other type of object that can be deployed to a server, cluster, or other application server target.

Partitions



[0023] In accordance with an embodiment, a partition is a runtime and administrative subdivision or slice of a domain that can be associated with a partition identifier (ID) and configuration, and can contain applications and/or refer to domain-wide resources through the use of resource groups and resource group templates.

[0024] Generally, a partition can contain its own applications, refer to domain wide applications via resource group templates, and have its own configuration. Partitionable entities can include resources, for example JMS, JDBC, JavaMail, WLDF resources, and other components, such as JNDI namespace, network traffic, work managers, and security policies and realms. In the context of a multi-tenant environment, the system can be configured to provide tenant access to the administrative and runtime aspects of partitions associated with a tenant.

[0025] In accordance with an embodiment, each resource group within a partition can optionally reference a resource group template. A partition can have multiple resource groups, and each of them can reference a resource group template. Each partition can define properties for configuration data that is not specified in the resource group templates to which the partition's resource groups refer. This enables the partition to act as a binding of deployable resources defined in a resource group template, to specific values for use with that partition. In some cases, a partition can override configuration information specified by a resource group template.

[0026] In accordance with an embodiment, a partition configuration, as defined for example by a config.xml configuration file, can include a plurality of configuration elements, for example: "partition", which contains the attributes and child elements that define the partition; "resource-group", which contains the applications and resources deployed to the partition; "resource-group-template", which contains applications and resources defined by that template; "jdbc-system-resource-override", which contains a database-specific service name, user name, and password; and "partition-properties", which contains property key values that can be used for macro replacement in resource group templates.

[0027] Upon startup, the system can use the information provided by the configuration file to generate partition-specific configuration elements for each resource, from the resource group template.

Resource Groups



[0028] In accordance with an embodiment, a resource group is a named, fully-qualified collection of deployable resources that can be defined either at a domain or partition level, and can reference a resource group template. The resources in a resource group are considered fully-qualified in that the administrator has provided all of the information needed to start or connect to those resources, for example the credentials for connecting to a data source, or the targeting information for an application.

[0029] A system administrator can declare resource groups at the domain level, or at the partition level. At the domain level, a resource group provides a convenient way to group related resources. The system can manage resources declared in a domain-level resource group the same as ungrouped resources, so that the resources can be started during system start-up, and stopped during system shut-down. An administrator can also stop, start, or remove a resource in a group individually, and can act on all the resources in a group implicitly by operating on the group. For example, stopping a resource group stops all of the resources in the group that are not already stopped; starting the resource group starts any resources in the group that are not already started; and removing the resource group removes all of the resources contained in the group.

[0030] At the partition level, a system or partition administrator can configure zero or more resource groups in a partition, subject to any security restrictions. For example, in a SaaS use case, various partition-level resource groups can refer to domain-level resource group templates; while in a PaaS use case, partition-level resource groups can be created that do not refer to resource group templates, but instead represent applications and their related resources that are to be made available within that partition only.

[0031] In accordance with an embodiment, resource grouping can be used to group together applications and the resources they use as a distinct administrative unit within the domain. For example, in the medical records (MedRec) application described below, a resource grouping defines the MedRec application and its resources. Multiple partitions can run the same MedRec resource group, each using a partition-specific configuration information, such that the applications that are part of each MedRec instance are made specific to each partition.

Resource Group Templates



[0032] In accordance with an embodiment, a resource group template is a collection of deployable resources that are defined at a domain level, that can be referenced from a resource group, and some of the information required to activate its resources may not be stored as part of the template itself, such that it supports the specification of partition level configuration. A domain can contain any number of resource group templates, each of which can include, for example, one or more related Java applications and the resources on which those applications depend. Some of the information about such resources may be the same across all partitions, while other information may vary from one partition to the next. Not all configuration need be specified at the domain level - partition level configuration can instead be specified in the resource group template through the use of macros, or property name/value pairs.

[0033] In accordance with an embodiment, a particular resource group template can be referenced by one or more resource groups. Generally, within any given partition, a resource group template can only be referenced by one resource group at a time, i.e., it cannot be referenced by multiple resource groups simultaneously within the same partition; however, it can be referenced at the same time by another resource group in a different partition. The object containing the resource group, e.g., the domain or partition, can use property name/value assignments to set the value of any tokens in the resource group template. When the system activates a resource group template using a referencing resource group, it can replace those tokens with values set in the resource group's containing object. In some cases, the system can also use statically-configured resource group templates and partitions to generate runtime configuration for each partition/template combination.

[0034] For example, in a SaaS use case, the system can activate the same applications and resources multiple times, including once for each partition that will use them. When an administrator defines a resource group template they can use tokens to represent the information that will be supplied elsewhere. For example, the username to use in connecting to a CRM-related data resource can be indicated in the resource group template as \${CRMDataUsername}.

Tenants



[0035] In accordance with an embodiment, in a multi-tenant environment, such as a multi-tenant (MT) application server environment, a tenant is an entity that can be represented by, or otherwise associated with, one or more partitions and/or one or more tenant-aware applications.

[0036] For example, tenants can represent distinct user organizations, such as different external companies, or different departments within a particular enterprise (e.g., HR and Finance departments), each of which can be associated with a different partition. A tenant globally unique identity (tenant ID) is the association of a particular user, at a particular moment in time, with a particular tenant. The system can derive which tenant a particular user belongs to from the user identity, for example by referring to a user identity store. The user identity enables the system to enforce those actions that a user is authorized to perform, including, but not limited to, which tenant the user may belong.

[0037] In accordance with an embodiment, the system enables isolation of the administration and runtime of different tenants from each other. For example, tenants can configure some behaviors of their applications, and resources to which they have access. The system can ensure that a particular tenant cannot administer artifacts belonging to another tenant; and, at runtime, that the applications working on behalf of a particular tenant refer only to resources associated with that tenant, and not to resources associated with other tenants.

[0038] In accordance with an embodiment, a tenant-unaware application is one that contains no logic dealing with tenants explicitly, such that any resources that the application uses may be accessible regardless of what user submitted a request to which the application is responding. In contrast, a tenant-aware application includes logic that explicitly deals with tenants. For example, based on a user's identity the application can derive the tenant to which the user belongs and use that information to access tenant-specific resources.

[0039] In accordance with an embodiment, the system enables users to deploy applications that are explicitly written to be tenant-aware, so that application developers can obtain the tenant ID of a current tenant. The tenant-aware application can then use the tenant ID to handle multiple tenants that are using a single instance of the application.

[0040] For example, the MedRec application, which supports a single doctor's office or hospital, can be exposed to two different partitions or tenants, e.g., a Bayland Urgent Care tenant, and a Valley Health tenant, each of which is able to access separate tenant-specific resources, such as separate PDBs, without changing the underlying application code.

Exemplary Domain Configuration and Multi-Tenant Environment



[0041] In accordance with an embodiment, applications can be deployed to a resource group template at the domain level, or to a resource group that is scoped to a partition or scoped to the domain. Application configuration can be overridden using deployment plans specified per-application, or per-partition. Deployment plans can also be specified as part of a resource group.

[0042] Figure 4 illustrates a domain configuration for use with an exemplary multi-tenant environment, in accordance with an embodiment.

[0043] In accordance with an embodiment, when the system starts a partition, it creates virtual targets (e.g., virtual hosts) and connection pools, including one for each partition, to respective database instances, according to the provided configuration.

[0044] Typically, each resource group template can include one or more related applications and the resources on which those applications depend. Each partition can provide configuration data that is not specified in the resource group templates to which it refers, by providing a binding of the deployable resources in resource group templates to specific values associated with the partition; including, in some cases, overriding certain configuration information specified by the resource group template. This enables the system to activate an application represented by a resource group template differently for each partition, using the property values each partition has defined.

[0045] In some instances, a partition may contain resource groups that do not refer to resource group templates, or that directly define their own partition-scoped deployable resources. Applications and data sources that are defined within a partition are generally available only to that partition. Resources can be deployed so that they can be accessed from across partitions using partition:<partitionName>/<resource JNDI name>, or domain:<resource JNDI name>.

[0046] For example, a MedRec application can include a plurality of Java applications, a data source, a JMS server, and a mail session. To run the MedRec application for multiple tenants, the system administrator can define a single MedRec resource group template 286, declaring those deployable resources in the template.

[0047] In contrast to domain-level deployable resources, the deployable resources declared in a resource group template may not be fully configured in the template, or cannot be activated as-is, since they lack some configuration information.

[0048] For example, the MedRec resource group template may declare a data source used by the applications, but it may not specify a URL for connecting to the database. Partitions associated with different tenants, for example, partition BUC-A 290 (Bayland Urgent Care, BUC) and partition VH-A 292 (Valley Health, VH) can reference one or more resource group templates, by each including a MedRec resource group 293, 294 that references 296, 297 the MedRec resource group template. The reference can then be used to create 302, 306, the virtual targets / virtual hosts for each tenant, including a virtual host baylandurgentcare.com 304 associated with the BUC-A partition, for use by the Bayland Urgent Care tenant; and a virtual host valleyhealth.com 308 associated with the VH-A partition, for use by the Valley Health tenant.

[0049] Figure 5 further illustrates an exemplary multi-tenant environment, in accordance with an embodiment. As illustrated in Figure 5, and continuing the example from above, in which two partitions reference the MedRec resource group template, in accordance with an embodiment, a servlet engine 310 can be used to support a plurality of tenant environments, in this example a Bayland Urgent Care Physician tenant environment 320, and a Valley Health Physician tenant environment 330.

[0050] In accordance with an embodiment, each partition 321, 331 can define a different virtual target on which to accept incoming traffic for that tenant environment, and a different URL 322, 332 for connecting to the partition and to its resources 324, 334, including in this example either a bayland urgent care database, or a valley health database respectively. The database instances can use compatible schemas, since the same application code will execute against both databases. When the system starts the partitions, it can create the virtual targets and connection pools to the respective database instances.

Work Manager



[0051] As described above, in accordance with an embodiment, a partition is a slice of an application server (e.g., a WebLogic Server) domain created for a tenant or multiple tenants when running the application server in multitenant mode.

[0052] In accordance with an embodiment, thread usage among partitions is regulated so as to be fair and, their relative priority configurable by a system administrator. In accordance with an embodiment a work manager can be used to provide fairness and prioritization among partitions running in a same WLS instance.

[0053] In accordance with an embodiment, a work manager regulates the relative thread usage of thread resource provided by application server self-tuning thread pools to provide proper quality of service (QoS) and fairness among various partitions that share the same application server instance (e.g., a multitenant application server environment). Without it, an application from one partition and/or a partition administrator could potentially starve thread resources for other partitions, preventing them from functioning properly.

[0054] In accordance with an embodiment, the fairness by which a work manager can apportion shared thread resources to various partitions can be based on a number of factors, such as, for example, the various amounts various partitions pay for the services, the importance of each partition, and the demand each partition places on the shared threads.

Partition Work Managers - Relative Thread Resource Usage per Partition



[0055] Figure 6 illustrates the use of a partition work manager in a multitenant application server environment, in accordance with an embodiment.

[0056] The embodiment depicted in Figure 6 shows an application server environment 600, which includes a partition work manager 610, and a domain 620. The embodiment in Figure 6 additionally includes a system administrator 630. The partition work manager 610 includes partition A work manager 615 and partition B work manager 616. The domain 620 includes partition A 640, partition B 650, virtual target A 660 and virtual target B 670. Within partitions A and B are partition A thread usage 645 and partition B thread usage 655, respectively. Further defined within partitions A and B are resource groups 646 and 656, respectively.

[0057] In accordance with an embodiment, the system administrator 630 configures the partition work manager 610 to regulate each partition's access to a thread pool, such as a WLS self-tuning thread pool, within the application server environment 600. The system administrator's configuration of the work manager regulates the relative thread usage of thread resources to provide proper QoS and fairness among various partitions that share the same application server instance. For example, there are generally several configurations that a system administrator can use (either individually or in combination with each other) when configuring the partition work manager 610, including, but not limited to, partition work request prioritization (or fair share value), partition minimum threads constraint, and partition capacity constraint.

[0058] In accordance with an embodiment, the system administrator 630 can configure the partition work manager 610 using a partition work request prioritization, or a fair share value. The system administrator 630 specifies, via communication path 635, within the partition work manager 610, a fair share value for each partition configured within the application server environment 600, for example, partition A 640 and partition B 650. This fair share value can be contained, for example, within the partition specific work managers contained within the partition work manager 610. The fair share value is a percentage of thread usage of that partition compared to the thread usage of all partitions. In addition, the fair share value originally assigned to a partition by the system administrator 630 can be updated and/or edited by the system administrator 630.

[0059] In accordance with an embodiment, the fair share value assigned to a partition is a number between 1 and 99. It is recommended that the sum of these values for all partitions running in a domain to be added up to 100. In case when they do not add up to 100, the application server environment 600 can assign thread usage times and or thread queue positions to different partitions based on their relative values.

[0060] For example, in accordance with an embodiment, system administrator 630 assigns a fair share value of twenty (20) to partition A 640, and a fair share value of thirty (30) to partition B 650. These fair share values are recorded in partition A work manager 615 and partition B work manager 616, respectively, within the partition work manager 610. At runtime, if it occurs that there are insufficient thread resources in the thread pool to handle all requests and pending work requests that are queued up for processing from partitions A and B, the work manager will allocate 40% of the thread-usage time to work requests (and queued requests) from applications from partition A 640, and 60% of the thread-usage time to work requests (and queued requests) from applications form partition B 650. This allocation of thread usage, e.g., partition A thread usage 645 and partition B thread usage 655, is a result of the system administrator setting the fair share values within the partition work manager 610.

[0061] In accordance with an embodiment, the system administrator 630 can configure the partition work manager 610 using a minimum thread constraint. The minimum thread constraint guarantees a designated number of threads from the thread pool that will be allocated to each partition, or application within a partition, in order to avoid deadlocks.

[0062] In accordance with an embodiment, the system administrator 630 can optionally provide a limit on the minimum threads constraint value for each partition within the application server environment 600. If the system administrator 630 configures such a limit, this would impose an upper limit on the minimum threads constraint values for each partition. In situations where the sum of the configured values of all minimum thread constraints in a partition exceeds such a configured value, a warning message can be logged and the application server environment 600 can automatically reduce the number of threads the thread pool would allocated for the constraints.

[0063] For example, in accordance with an embodiment, system administrator 630 configures a minimum threads constraint of 5 threads to a partition A 640. There are 2 minimum threads constraints defined in an application deployed to partition A; one has a configured value of 3, and the other has a configured value of 7. The self-tuning thread pool would only guarantees that 5 threads would be allocated to these two minimum threads constraint instead of the combined configured value of 10.

[0064] In certain embodiments, when a partition minimum thread constraint limit is configured by the system administrator 630 within the partition work manger 610 in addition to each partition within the application server environment having a fair share value set, this could result in a partition receiving more than its fair share of threads as the partition minimum thread constraint can overcome the fair share value.

[0065] In accordance with an embodiment, the system administrator 630 configures the partition work manager 610 using a partition shared capacity. The partition shared capacity places a limit on the number of work requests from a partition. This limit can include work requests that are either running or queued and waiting for an available thread. When the configured limit is exceeded, the application server environment 600 can reject further requests submitted from the limited partition. The value of the limit can be expressed as a percentage of the capacity of the application server environment 600, such as between 1% and 100%.

[0066] For example, in accordance with an embodiment, system administrator can set a partition shared capacity on partition A of 50%. The application server environment is configured with a value of 65536 in its shared capacity for work manager configuration. Because of the partition shared capacity on partition A, the work manager would start rejecting requests from partition A if the number of work requests exceeds 32738, which is 50% of 65536, the total capacity.

[0067] In accordance with an embodiment, the system administrator 630 configures the partition work manager 610 using a partition maximum threads constraint. This constraint can limit of the maximum number of threads in the self-tuning thread pool that are concurrently working on requests from a partition. This can be useful to prevent a partition from using more than its fair share of thread resources, especially in abnormal situations such as when threads are blocked on I/O waiting for responses from a remote server that is not responding. Setting a maximum threads constraint in such scenario would help ensure that some threads would be available for processing requests from other partitions in the system.

[0068] In accordance with an embodiment, a fair share value can, in addition to assigning a partition a fair share value of the available threads, assign order requests from partitions in a priority queue to be run when all available threads are currently in use. For example, a system administrator, via a partition work manager, assigns partition X a fair share value of 60, and partition Y a fair share value of 40. When the partitions have, between them, used all available threads in the source pool, then subsequent requests from the partitions are placed in a queue. The fair share value assigned to partitions X and Y can determine where in the queue a request from partition X will be place with respect to a request from partition Y. In the exemplified situation here, a request from partition X will be placed in front of the requests from partition Y in the queue since partition X has a higher fair share value than partition Y.

[0069] In accordance with an embodiment, the application server environment 600 can comprise a multitenant application server (MT) environment.

Partition-Level Work Managers



[0070] Figure 7 illustrates the use of work managers in a multitenant application server environment, in accordance with an embodiment.

[0071] The embodiment depicted in Figure 7 shows an application server environment 700, which includes a partition work manager 790, and a source domain 720. The embodiment in figure 7 additionally includes partition A administrator 730, partition B administrator 735, and system administration 780. The partition work manager 790 includes partition A work manager 795 and partition B work manager 796. The source domain 720 includes partition A 740, partition B 750, virtual target A 760 and virtual target B 770. Partition A 740 includes work manager A 745 and partition A thread usage 746. Partition B 760 includes work manager B 755 and partition B thread usage 756.

[0072] In an embodiment, similar to how a system administrator 780 can configure the partition work manager 790 to configure a fair share value for partitions A and B, partition administrators 730 and 735 can, with respect to their own partitions configure partition-level work managers that manage the work within their respective partitions. There are generally several configurations that partition administrators can use (either individually or in combination with each other) when configuring their respective partition work managers, including, but not limited to, work request prioritization (or fair share value), minimum threads constraint, maximum threads constraint.

[0073] For example, in an embodiment, partition administrators can configure their respective partition work managers using the fair share value. Partition A administrator can assign a fair share value of the total thread usage for partition A 740 amongst the applications running within partition A. The partition A administrator 730 would do this by configuring, via the communication path 731, work manager A 745 to assign a fair share value to the various applications running within partition A 740 (likewise, partition B administrator can configure work manager B via communication path 736). However, the threads from the global thread pool that are available to partition A 740 are still set by the partition work manager 790, and likewise for the threads available to partition B 750. The partition work manager 790 is configured by the system administrator 780 via communication path 785, and the configurations for partitions A and B (as described above) are stored in partition A work manager 795 and partition B work manager 796, respectively.

[0074] In an embodiment, a partition work manager acts as a template and an instance of each configured work manager created for each deployed application. For example, the partition work manager can be a default work manager. One instance of the default work manager can be created for each deployed application, and can be used for handling work requests from that application unless another dispatch policy is specified.

[0075] In an embodiment, partition administrators can optionally overwrite the partition work managers for their own respective partitions. Each application within that partition can be given an instance of the partition work manager that are created using the partition-specific configuration for that work manager. For a partition work manager that is not overridden in the partition level, the template configuration in the config.xml level would be used when creating instances of such work managers for each deployed application in the partition, subject to any partition-specific limit set forth by the system administrator, as set forth above with respect to partition work managers.

[0076] For example, in an embodiment, a default work manager is configured with no minimum or maximum thread constraints, and additionally assigns a fair share request class value of 50 to a partition. The partition administrator can override the default work manager in their respective partition with a minimum threads constraint of 1. As a result, each deployed application within the partition would then have a default work manager created with a minimum threads constraint whose configured value is 1.

[0077] In accordance with an embodiment, although a partition administrator can rewrite the fair share value assigned to their particular partition, this does not change the fair share as assigned to the partition at the partition work manager. For example, partition X and partition Y are each assigned a fair share value of 50 by a system administrator in the configuration of the partition work manager. The partition administrator for partition X, however, sets their fair share value at 90 in their work manager. Despite the partition administrator attempting to claim more than their fair share of the threads, the partition work manager can ensure that partition X only receives half of the threads in the pool.

[0078] In an embodiment, constraints defined at a system level, e.g., in self-tuning section in config.xml, are shared. For example, a partition work manager is created and defines a minimum threads constraint called min-ThreadConstraint-1. Each partition will get a copy of min-ThreadConstraint-1. As discussed above, a partition administrator can override the min-ThreadConstraint-1 if desired.

[0079] In accordance with an embodiment, the application server environment 700 can comprise a multitenant application server (MT) environment.

[0080] Figure 8 is a flow chart of an exemplary method 800 for providing a work manager for use in an application server environment. The method 800 can begin at step 801 with providing, at one or more computers, including an application server environment executing thereon, a plurality of deployable resources which can be used within the application server environment, one or more resource group templates, which define groupings of deployable resources within a domain, and one or more partitions, wherein each partition provides an administrative and runtime subdivision of the domain. The method 800 can proceed at step 802 with providing a partition work manager, the partition work manager being configurable by a system administrator. The exemplary method 800 can conclude at step 803 with configuring a partition work manager to assign a fair share value to each of the one or more partitions within the application server environment, each fair share value configured for use by the system to control thread usage associated with one or more partitions.

[0081] In accordance with an embodiment, and not shown in Figure 8, the method can proceed with configuring the partition work manager to provide, in addition to the fair share value, one or more of the following: a partition capacity constraint, a partition minimum threads constraint limit, and a partition maximum threads constraint.

[0082] Figure 9 is a flow chart of an exemplary method 900 for providing a work manager for use in an application server environment. The method 900 can begin at step 901 with providing, at one or more computers, including an application server environment executing thereon, a plurality of deployable resources which can be used within the application server environment, one or more resource group templates, which define groupings of deployable resources within a domain, and one or more partitions, wherein each partition provides an administrative and runtime subdivision of the domain. The method 900 can proceed at step 902 with providing a partition work manager, the partition work manager being configurable by a system administrator. The exemplary method 900 can continue at step 903 with configuring a partition work manager to assign a fair share value to each of the one or more partitions within the application server environment, each fair share value configured for use by the system to control thread usage associated with one or more partitions. The method 900, at a step 904, provides one or more partition-level work managers, each of the one or more partitions comprising one of the one or more partition-level work managers. Finally, the method 900 concludes with configuring each of the one or more partition-level work managers to assign a partition fair share value to one or more applications executing within the respective partition, each partition fair share value configured for use by the system to control thread usage associated with the one or more applications executing within the respective partition.

Application Work Managers



[0083] In an embodiment, work managers and its artifacts (such as constraints) can be defined from within an application. When such an application defines a work manager and/or its constraints, such work managers can be deployed within a partition. However, the defined work manager and/or its constraints can be adjusted based on any configured limitations and work managers (e.g., a fair share value) that have been imposed by a system administrator via a partition work manager, or by a partition administrator via a defined partition-level work manager.

Partition ID Propagation



[0084] In an embodiment, the partition ID from which a work request is scheduled and/or requested can be propagated to the self-tuning thread pool where the work request is being run. The partition ID can be taken from the component invocation context (CIC). This allows for the work requests to be run under the context of the partition from which the request originated. This can allow for support of error logging and diagnostics and/or security.

[0085] The present invention can be conveniently implemented using one or more conventional general purpose or specialized digital computer, computing device, machine, or microprocessor, including one or more processors, memory and/or computer readable storage media programmed according to the teachings of the present disclosure. Appropriate software coding can readily be prepared by skilled programmers based on the teachings of the present disclosure, as will be apparent to those skilled in the software art.

[0086] In some embodiments, the present disclosure includes a computer program product which is a non-transitory storage medium or computer readable medium (media) having instructions stored thereon/in which can be used to program a computer to perform any of the processes of the present disclosure. The storage medium can include, but is not limited to, any type of disk including floppy disks, optical discs, DVD, CD-ROMs, microdrive, and magneto-optical disks, ROMs, RAMs, EPROMs, EEPROMs, DRAMs, VRAMs, flash memory devices, magnetic or optical cards, nanosystems (including molecular memory ICs), or any type of media or device suitable for storing instructions and/or data.

[0087] The foregoing description of the present invention has been provided for the purposes of illustration and description. It is not intended to be exhaustive or to limit the invention to the precise forms disclosed. Many modifications and variations will be apparent to the practitioner skilled in the art. The embodiments were chosen and described in order to best explain the principles of the invention and its practical application, thereby enabling others skilled in the art to understand the invention for various embodiments and with various modifications that are suited to the particular use contemplated. It is intended that the scope of the invention be defined by the following claims.


Claims

1. A system for providing a partition work manager for use in a multitenant application server environment, comprising:

one or more computers, including the multitenant application server environment (600) executing thereon, the multitenant application server environment configured to enable the deployment and execution of software applications, including and configured to operate according to a domain (620) configuration usable at runtime to define an application server domain of the multitenant application server environment for execution of the software applications, together with a plurality of deployable resources which can be used within the multitenant application server environment,

a plurality of partitions (640, 650) which can be defined by a system administrator (630), wherein each partition is configured to provide an administrative subdivision of the domain, wherein the partition is allocated to a particular tenant, and wherein each partition contains a resource group (645) which references a resource group template of the multitenant application server environment, the resource group template specifying software applications and resources which are accessible to the partition, wherein the resource group is a collection of the deployable resources for which an administrator has provided all information needed to connect to the resources identified in the resource group, the information including the credentials for connecting to a data source, the software applications and resources specified in the resource group template being domain-wide applications and resources, wherein the resource group of each of one of the plurality of partitions and a different one of the plurality of partitions both reference the same resource group template;

the partition work manager (610) configurable, by the system administrator, to assign a fair share value to each of the one or more partitions within the multitenant application server environment, each fair share value configured for use by the system to control thread usage associated with one or more partitions.


 
2. The system according to Claim 1, wherein the partition work manager (610) is further configured to provide a minimum threads constraint value for each partition (640, 650) within the application server (600), the minimum threads constraint value configured for use by the system to control the thread usage associated with one or more partitions.
 
3. The system according to any preceding Claim, wherein the partition work manager (610) is further configured to provide a partition capacity constraint value for each partition (640, 650) within the application server (600), the partition capacity constraint value configured for use by the system to limit a number of work requests from each partition (640, 650).
 
4. The system according to any preceding Claim, wherein each of the fair share values assigned to the one or more partitions (640, 650) is a number between 1 and 99, with a sum of all the fair share values totaling 100.
 
5. The system according to any preceding Claim, wherein each of the fair share values is further configured for use by the system to, when a thread pool is fully occupied, order work requests from the respective partitions (640, 650) in a queue.
 
6. The system according to any preceding Claim, further comprising:
one or more partition-level work managers (615, 616), each partition comprising one of the one or more partition-level work managers (615, 616), wherein each of the one or more partition-level work managers is configurable to assign a partition fair share value to one or more applications executing within the respective partition (640, 650), each partition fair share value configured for use by the system to control thread usage associated with the one or more applications executing within the respective partition.
 
7. The system according to Claim 6, wherein the each of the one or more partition-level work managers (614, 615) is a copy of the partition work manager (610), and wherein each of the one or more partition-level work managers (614, 615) is configurable by a partition administrator.
 
8. A method for providing a partition work manager for use in a multitenant application server environment, comprising:

providing, at one or more computers, including the multitenant application server environment executing thereon, the multitenant application server environment enabling the deployment and execution of software applications, including and operating according to a domain configuration usable at runtime to define an application server domain of the multitenant application server environment for execution of the software applications,

a plurality of deployable resources which can be used within the multitenant application server environment,

a plurality of partitions which can be defined by a system administrator, wherein each partition provides an administrative subdivision of the domain, wherein the partition is allocated to a particular tenant, and wherein each partition contains a resource group (645) which references a resource group template of the multitenant application server environment, the resource group template specifying software applications and resources which are accessible to the partition, wherein the resource group is a collection of the deployable resources for which an administrator has provided all information needed to connect to the resources identified in the resource group, the information including the credentials for connecting to a data source, the software applications and resources specified in the resource group template being domain-wide applications and resources, wherein the resource group of each of one of the plurality of partitions and a different one of the plurality of partitions both reference the same resource group template;

providing the partition work manager, the partition work manager being configurable by the system administrator; and

configuring the partition work manager to assign a fair share value to each of the one or more partitions within the multitenant application server environment, each fair share value configured for use by the system to control thread usage associated with one or more partitions.


 
9. The method according to Claim 8, further comprising:
further configuring the partition work manager to provide a minimum threads constraint value for each partition within the application server environment, the minimum threads constraint value configured for use by the system to control the thread usage associated with one or more partitions.
 
10. The according to Claim 8 or 9, further comprising:
further configuring the partition work manager to provide a partition capacity constraint value for each partition within the application server environment, the partition capacity constraint value configured for use by the system to limit a number of work requests from each partition.
 
11. The method according to any of Claims 8 to 10, further comprising:
further configuring the partition work manager to provide a partition maximum threads constraint for each partition within the application server environment, the partition maximum threads constraint configured for use by the system to control the thread usage associated with one or more partitions.
 
12. The method according to any preceding Claim, further comprising:

providing one or more partition-level work managers, each of the one or more partitions comprising one of the one or more partition-level work managers, and

configuring each of the one or more partition-level work managers to assign a partition fair share value to one or more applications executing within the respective partition, each partition fair share value configured for use by the system to control thread usage associated with the one or more applications executing within the respective partition.


 
13. A computer program comprising program instructions in machine-readable format that when executed by a computer system cause the computer system to perform the method of any of Claims 8 to 12.
 


Ansprüche

1. System zum Bereitstellen eines Partitionsarbeitsmanagers zur Verwendung in einer mandantenfähigen Anwendungsserverumgebung, umfassend:

einen oder mehrere Computer, enthaltend die darin ausgeführte mandantenfähige Anwendungsserverumgebung (600), wobei die mandantenfähige Anwendungsserverumgebung konfiguriert ist, den Einsatz und die Ausführung von Softwareanwendungen zu ermöglichen, enthaltend und konfiguriert zum Operieren gemäß einer Konfiguration einer Domäne (620), verwendbar zur Laufzeit, um eine Anwendungsserverdomäne der mandantenfähigen Anwendungsserverumgebung zur Ausführung der Softwareanwendungen zu definieren, zusammen mit einer Vielzahl von einsetzbaren Ressourcen, die innerhalb der mandantenfähigen Anwendungsserverumgebung verwendet werden können,

eine Vielzahl von Partitionen (640, 650), die durch einen Systemadministrator (630) definiert werden können, wobei jede Partition konfiguriert ist, eine administrative Unterteilung der Domäne bereitzustellen, wobei die Partition einem besonderen Mandanten zugeteilt ist und wobei jede Partition eine Ressourcengruppe (645) enthält, die auf eine Ressourcengruppenvorlage der mandantenfähigen Anwendungsserverumgebung verweist, wobei die Ressourcengruppenvorlage Softwareanwendungen und Ressourcen spezifiziert, auf die die Partition zugreifen kann, wobei die Ressourcengruppe eine Zusammenstellung der einsetzbaren Ressourcen ist, für die ein Administrator alle Informationen bereitgestellt hat, die erforderlich sind, mit den in der Ressourcengruppe identifizierten Ressourcen zu verbinden, wobei die Informationen die Berechtigungsnachweise zum Verbinden mit einer Datenquelle enthalten, wobei die in der Ressourcengruppenvorlage spezifizierten Softwareanwendungen und Ressourcen domänenweite Anwendungen und Ressourcen sind, wobei die Ressourcengruppe jeder einen der Vielzahl von Partitionen und eine verschiedene eine der Vielzahl von Partitionen beide auf dieselbe Ressourcengruppenvorlage verweisen;

wobei der Partitionsarbeitsmanager (610) konfigurierbar ist, durch den Systemadministrator, jeder der einen oder mehreren Partitionen innerhalb der mandantenfähigen Anwendungsserverumgebung einen Wert eines angemessenen Anteils zuzuweisen, wobei jeder Wert eines angemessenen Anteils zur Verwendung durch das System konfiguriert ist, mit einer oder mehreren Partitionen assoziierte Threadnutzung zu steuern.


 
2. System nach Anspruch 1, wobei der Partitionsarbeitsmanager (610) ferner konfiguriert ist, einen Wert einer minimalen Threadbeschränkung für jede Partition (640, 650) innerhalb des Anwendungsservers (600) bereitzustellen, wobei der Wert der minimalen Threadbeschränkung zur Verwendung durch das System konfiguriert ist, die mit einer oder mehreren Partitionen assoziierte Threadnutzung zu steuern.
 
3. System nach einem der vorstehenden Ansprüche, wobei der Partitionsarbeitsmanager (610) ferner konfiguriert ist, einen Wert einer Partitionskapazitätsbeschränkung für jede Partition (640, 650) innerhalb des Anwendungsservers (600) bereitzustellen, wobei der Wert der Partitionskapazitätsbeschränkung zur Verwendung durch das System konfiguriert ist, eine Anzahl von Arbeitsanforderungen aus jeder Partition (640, 650) zu begrenzen.
 
4. System nach einem der vorstehenden Ansprüche, wobei jeder der Werte der angemessenen Beteiligung, die der einen oder den mehreren Partitionen (640, 650) zugewiesen werden, eine Zahl zwischen 1 und 99 ist, wobei eine Summe sämtlicher Werte der angemessenen Beteiligung sich auf 100 beläuft.
 
5. System nach einem der vorstehenden Ansprüche, wobei jeder der Werte der angemessenen Beteiligung ferner zur Verwendung durch das System konfiguriert ist, Arbeitsanforderungen von den jeweiligen Partitionen (640, 650) in einer Warteschlange zu ordnen, wenn ein Threadpool vollständig ausgelastet ist.
 
6. System nach einem der vorstehenden Ansprüche, ferner umfassend:
einen oder mehrere Arbeitsmanager auf Partitionsebene (615, 616), wobei jede Partition einen des einen oder der mehreren Arbeitsmanager auf Partitionsebene (615, 616) umfasst, wobei jeder des einen oder der mehreren Arbeitsmanager auf Partitionsebene konfigurierbar ist, einen Wert einer angemessenen Beteiligung einer Partition einer oder mehreren Anwendungen zuzuweisen, die innerhalb der jeweiligen Partition (640, 650) ausgeführt werden, wobei jeder Wert einer angemessenen Beteiligung einer Partition zur Verwendung durch das System konfiguriert ist, mit der einen oder den mehreren Anwendungen, die innerhalb der jeweiligen Partition ausgeführt werden, assoziierte Threadnutzung zu steuern.
 
7. System nach Anspruch 6, wobei jeder des einen oder der mehreren Arbeitsmanager auf Partitionsebene (614, 615) eine Kopie des Partitionsarbeitsmanagers (610) ist und wobei jeder des einen oder der mehreren Arbeitsmanager auf Partitionsebene (614, 615) durch einen Partitionsadministrator konfigurierbar ist.
 
8. Verfahren zum Bereitstellen eines Partitionsarbeitsmanagers zur Verwendung in einer mandantenfähigen Anwendungsserverumgebung, umfassend:

Bereitstellen, an einem oder mehreren Computern, enthaltend die darin ausgeführte mandantenfähige Anwendungsserverumgebung, der mandantenfähigen Anwendungsserverumgebung, die den Einsatz und die Ausführung von Softwareanwendungen ermöglicht, enthaltend und betrieben gemäß einer Domänenkonfiguration, verwendbar zur Laufzeit, um eine Anwendungsserverdomäne der mandantenfähigen Anwendungsserverumgebung zur Ausführung der Softwareanwendungen zu definieren,

eine Vielzahl von einsetzbaren Ressourcen, die innerhalb der mandantenfähigen Anwendungsserverumgebung verwendet werden können,

eine Vielzahl von Partitionen, die durch einen Systemadministrator definiert werden können, wobei jede Partition eine administrative Unterteilung der Domäne bereitstellt, wobei die Partition einem besonderen Mandanten zugeteilt ist und wobei jede Partition eine Ressourcengruppe (645) enthält, die auf eine Ressourcengruppenvorlage der mandantenfähigen Anwendungsserverumgebung verweist, wobei die Ressourcengruppenvorlage Softwareanwendungen und Ressourcen spezifiziert, auf die die Partition zugreifen kann, wobei die Ressourcengruppe eine Zusammenstellung der einsetzbaren Ressourcen ist, für die ein Administrator alle Informationen bereitgestellt hat, die erforderlich sind, mit den in der Ressourcengruppe identifizierten Ressourcen zu verbinden, wobei die Informationen die Berechtigungsnachweise zum Verbinden mit einer Datenquelle enthalten, wobei die in der Ressourcengruppenvorlage spezifizierten Softwareanwendungen und Ressourcen domänenweite Anwendungen und Ressourcen sind, wobei die Ressourcengruppe jeder einen der Vielzahl von Partitionen und eine verschiedene eine der Vielzahl von Partitionen beide auf dieselbe Ressourcengruppenvorlage verweisen;

Bereitstellen des Partitionsarbeitsmanagers, wobei der Partitionsarbeitsmanager durch den Systemadministrator konfigurierbar ist; und

Konfigurieren des Partitionsarbeitsmanagers zum Zuweisen, jeder der einen oder mehreren Partitionen innerhalb der mandantenfähigen Anwendungsserverumgebung, eines Wert eines angemessenen Anteils, wobei jeder Wert eines angemessenen Anteils zur Verwendung durch das System konfiguriert ist, mit einer oder mehreren Partitionen assoziierte Threadnutzung zu steuern.


 
9. Verfahren nach Anspruch 8, ferner umfassend:
ferner Konfigurieren des Partitionsarbeitsmanagers zum Bereitstellen eines Werts einer minimalen Threadbeschränkung für jede Partition innerhalb der Anwendungsserverumgebung, wobei der Wert der minimalen Threadbeschränkung zur Verwendung durch das System konfiguriert ist, die mit einer oder mehreren Partitionen assoziierte Threadnutzung zu steuern.
 
10. Verfahren nach Anspruch 8 oder 9, ferner umfassend:
ferner Konfigurieren des Partitionsarbeitsmanagers zum Bereitstellen eines Werts einer Partitionskapazitätsbeschränkung für jede Partition innerhalb der Anwendungsserverumgebung, wobei der Wert der Partitionskapazitätsbeschränkung zur Verwendung durch das System konfiguriert ist, eine Anzahl von Arbeitsanforderungen aus jeder Partition zu begrenzen.
 
11. Verfahren nach einem der Ansprüche 8 bis 10, ferner umfassend:
ferner Konfigurieren des Partitionsarbeitsmanagers zum Bereitstellen einer maximalen Partitionsthreadbeschränkung für jede Partition innerhalb der Anwendungsserverumgebung, wobei die maximale Partitionsthreadbeschränkung zur Verwendung durch das System konfiguriert ist, die mit einer oder mehreren Partitionen assoziierte Threadnutzung zu steuern.
 
12. Verfahren nach einem der vorstehenden Ansprüche, ferner umfassend:

Bereitstellen eines oder mehrerer Arbeitsmanager auf Partitionsebene, wobei jede der einen oder mehreren Partitionen einen des einen oder der mehreren Arbeitsmanager auf Partitionsebene umfasst, und

Konfigurieren jedes des einen oder der mehreren Arbeitsmanager auf Partitionsebene zum Zuweisen, einer oder mehreren Anwendungen, die innerhalb der jeweiligen Partition ausgeführt werden, eines Werts einer angemessenen Beteiligung einer Partition, wobei jeder Wert einer angemessenen Beteiligung einer Partition zur Verwendung durch das System konfiguriert ist, mit der einen oder den mehreren Anwendungen, die innerhalb der jeweiligen Partition ausgeführt werden, assoziierte Threadnutzung zu steuern.


 
13. Computerprogramm, umfassend Programmanweisungen in maschinenlesbarem Format, die, wenn sie durch ein Computersystem ausgeführt werden, bewirken, dass das Computersystem das Verfahren nach einem der Ansprüche 8 bis 12 durchführt.
 


Revendications

1. Système de fourniture d'un gestionnaire de travaux de partition destiné à être utilisé dans un environnement de serveur d'applications partagées, le système comprenant :

un ou plusieurs ordinateurs sur lesquels l'environnement de serveur d'applications partagées (600) est en cours d'exécution, l'environnement de serveur d'applications partagées étant configuré pour permettre le déploiement et l'exécution d'applications logicielles qui incluent une configuration d'un domaine (620) et qui sont configurées pour fonctionner selon ladite configuration qui peut être utilisée au moment de l'exécution pour définir un domaine de serveur d'applications de l'environnement de serveur d'applications partagées pour l'exécution des applications logicielles, conjointement avec une pluralité de ressources déployables qui peuvent être utilisées dans l'environnement de serveur d'applications partagées ;

une pluralité de partitions (640, 650) qui peuvent être définies par un administrateur de système (630), chaque partition étant configurée pour fournir une subdivision administrative du domaine, la partition étant attribuée à un locataire particulier et chaque partition contenant un groupe de ressources (645) qui fait référence à un modèle de groupe de ressources de l'environnement de serveur d'applications partagées, le modèle de groupe de ressources spécifiant des applications logicielles et des ressources qui sont accessibles par la partition, le groupe de ressources étant une collection des ressources déployables pour lesquelles un administrateur a fourni toutes les informations nécessaires pour se connecter aux ressources identifiées dans le groupe de ressources, les informations incluant les authentifiants de connexion à une source de données, les applications logicielles et les ressources spécifiées dans le modèle de groupe de ressources étant des applications et des ressources au niveau du domaine, le groupe de ressources d'une partition de la pluralité de partitions et le groupe de ressources d'une partition différente de la pluralité de partitions faisant l'un et l'autre référence au même modèle de groupe de ressources ;

le gestionnaire de travaux de partition (610) étant configurable, par l'administrateur de système, pour attribuer une valeur de partage équitable à chacune de la ou des partitions dans l'environnement de serveur d'applications partagées, chaque valeur de partage équitable étant configurée pour être utilisée par le système pour contrôler une utilisation de fils d'exécution associée à une ou plusieurs partitions.


 
2. Système selon la revendication 1, dans lequel le gestionnaire de travaux de partition (610) est en outre configuré pour fournir une valeur minimale de contrainte de fils d'exécution pour chaque partition (640, 650) dans le serveur d'applications (600), la valeur minimale de contrainte de fils d'exécution étant configurée pour être utilisée par le système pour contrôler l'utilisation de fils d'exécution associée à une ou plusieurs partitions.
 
3. Système selon l'une quelconque des revendications précédentes, dans lequel le gestionnaire de travaux de partition (610) est en outre configuré pour fournir une valeur de contrainte de capacité de partition pour chaque partition (640, 650) dans le serveur d'applications (600), la valeur de contrainte de capacité de partition étant configurée pour être utilisée par le système pour limiter un nombre de demandes de travail en provenance de chaque partition (640, 650).
 
4. Système selon l'une quelconque des revendications précédentes, dans lequel chacune des valeurs de partage équitable attribuées à la ou aux partitions (640, 650) est un nombre entre 1 et 99, une somme de toutes les valeurs de partage équitable étant égale à 100.
 
5. Système selon l'une quelconque des revendications précédentes, dans lequel chacune des valeurs de partage équitable est en outre configurée pour être utilisée par le système pour, quand un groupe de fils d'exécution est entièrement occupé, ordonner des demandes de travail en provenance des partitions respectives (640, 650) dans une file d'attente.
 
6. Système selon l'une quelconque des revendications précédentes, comprenant en outre :
un ou plusieurs gestionnaires de travaux au niveau des partitions (615, 616), chaque partition comprenant un du ou des gestionnaires de travaux au niveau des partitions (615, 616), chacun du ou des gestionnaires de travaux au niveau des partitions étant configurable pour attribuer une valeur de partage équitable de partition à une ou plusieurs applications en cours d'exécution dans la partition respective (640, 650), chaque valeur de partage équitable de partition étant configurée pour être utilisée par le système pour contrôler une utilisation de fils d'exécution associée à la ou aux applications en cours d'exécution dans la partition respective.
 
7. Système selon la revendication 6, dans lequel chacun du ou des gestionnaires de travaux au niveau des partitions (614, 615) est une copie du gestionnaire de travaux de partition (610), et dans lequel chacun du ou des gestionnaires de travaux au niveau des partitions (614, 615) est configurable par un administrateur de partition.
 
8. Procédé de fourniture d'un gestionnaire de travaux de partition destiné à être utilisé dans un environnement de serveur d'applications partagées, le procédé consistant à :

fournir, au niveau d'un ou plusieurs ordinateurs sur lesquels l'environnement de serveur d'applications partagées est en cours d'exécution, l'environnement de serveur d'applications partagées permettant le déploiement et l'exécution d'applications logicielles qui incluent une configuration d'un domaine et qui fonctionnent selon ladite configuration qui peut être utilisée au moment de l'exécution pour définir un domaine de serveur d'applications de l'environnement de serveur d'applications partagées pour l'exécution des applications logicielles,

une pluralité de ressources déployables qui peuvent être utilisées dans l'environnement de serveur d'applications partagées,

une pluralité de partitions qui peuvent être définies par un administrateur de système, chaque partition fournissant une subdivision administrative du domaine, la partition étant attribuée à un locataire particulier et chaque partition contenant un groupe de ressources (645) qui fait référence à un modèle de groupe de ressources de l'environnement de serveur d'applications partagées, le modèle de groupe de ressources spécifiant des applications logicielles et des ressources qui sont accessibles par la partition, le groupe de ressources étant une collection des ressources déployables pour lesquelles un administrateur a fourni toutes les informations nécessaires pour se connecter aux ressources identifiées dans le groupe de ressources, les informations incluant les authentifiants de connexion à une source de données, les applications logicielles et les ressources spécifiées dans le modèle de groupe de ressources étant des applications et des ressources au niveau du domaine, le groupe de ressources d'une partition de la pluralité de partitions et le groupe de ressources d'une partition différente de la pluralité de partitions faisant l'un et l'autre référence au même modèle de groupe de ressources ;

fournir le gestionnaire de travaux de partition, le gestionnaire de travaux de partition étant configurable par l'administrateur de système ; et

configurer le gestionnaire de travaux de partition pour attribuer une valeur de partage équitable à chacune de la ou des partitions dans l'environnement de serveur d'applications partagées, chaque valeur de partage équitable étant configurée pour être utilisée par le système pour contrôler une utilisation de fils d'exécution associée à une ou plusieurs partitions.


 
9. Procédé selon la revendication 8, consistant en outre à :
configurer en outre le gestionnaire de travaux de partition pour fournir une valeur minimale de contrainte de fils d'exécution pour chaque partition dans l'environnement de serveur d'applications, la valeur minimale de contrainte de fils d'exécution étant configurée pour être utilisée par le système pour contrôler l'utilisation de fils d'exécution associée à une ou plusieurs partitions.
 
10. Procédé selon la revendication 8 ou 9, consistant en outre à :
configurer en outre le gestionnaire de travaux de partition pour fournir une valeur de contrainte de capacité de partition pour chaque partition dans l'environnement de serveur d'applications, la valeur de contrainte de capacité de partition étant configurée pour être utilisée par le système pour limiter un nombre de demandes de travail en provenance de chaque partition.
 
11. Procédé selon l'une quelconque des revendications 8 à 10, consistant en outre à :
configurer en outre le gestionnaire de travaux de partition pour fournir une contrainte maximale de fils d'exécution de partition pour chaque partition dans l'environnement de serveur d'applications, la contrainte maximale de fils d'exécution de partition étant configurée pour être utilisée par le système pour contrôler l'utilisation de fils d'exécution associée à une ou plusieurs partitions.
 
12. Procédé selon l'une quelconque des revendications précédentes, consistant en outre à :

fournir un ou plusieurs gestionnaires de travaux au niveau des partitions, chacune de la ou des partitions comprenant le ou les gestionnaires de travaux au niveau des partitions ; et

configurer chacun du ou des gestionnaires de travaux au niveau des partitions pour attribuer une valeur de partage équitable de partition à une ou plusieurs applications en cours d'exécution dans la partition respective, chaque valeur de partage équitable de partition étant configurée pour être utilisée par le système pour contrôler une utilisation de fils d'exécution associée à la ou aux applications en cours d'exécution dans la partition respective.


 
13. Programme informatique comprenant des instructions de programme dans un format lisible par machine qui, lorsqu'elles sont exécutées par un système informatique, amènent le système informatique à réaliser le procédé selon l'une quelconque des revendications 8 à 12.
 




Drawing
































Cited references

REFERENCES CITED IN THE DESCRIPTION



This list of references cited by the applicant is for the reader's convenience only. It does not form part of the European patent document. Even though great care has been taken in compiling the references, errors or omissions cannot be excluded and the EPO disclaims all liability in this regard.

Patent documents cited in the description