This chapter describes the tasks you can perform to create, monitor, and configure resource group templates. A resource group template is a named, domain-level collection of deployable resources and applications that is referenced from one or more resource groups.
Each resource group that refers to a given template will have its own runtime copies of the resources defined in the template. A resource group template is a convenient way to define and replicate resources for multiple tenants. Resource group templates make it very easy to deploy the same collection of applications and resources to multiple domain partitions.
Resource group templates are defined at the domain level, and then referenced by one or more resource groups.
Resource group templates are particularly useful in a SaaS environment where WebLogic Server MT activates the same applications and resources multiple times, once per domain partition. Some of the information about such resources is the same across all domain partitions, while some of it, such as JMS queues and database connections, varies from one partition to the next. WLS MT activates the application suite represented by the template differently for each partition, using the property values each partition defined. I
For more information on WebLogic Server resource group templates, see "Configuring Resource Group Templates" in Using WebLogic Server MT.
This chapter includes the following sections:
To create a new resource group template:
From the WebLogic Domain dropdown menu, select Environment, then select Resource Group Templates.
The Resource Group Templates table displays information about each resource group template that has been configured in the current domain.
Click Create.
On the Create a New Resource Group Template page, you can define the following configuration settings for your new resource group template:
Name: enter a name for the new resource group template
Notes: enter notes for the new resource group template
For more information about these fields, see Configuration Options.
Click Create.
To view all of the resource group templates configured in a domain:
From the WebLogic Domain dropdown menu, select Environment, then select Resource Group Templates.
The Resource Group Templates table displays information about each resource group template that has been configured in the current domain, including:
Name
Referencing Resource Groups
Reference Domain Partitions
Notes
For more information about these fields, see Configuration Options.
Optionally, select View to access the following table options:
Columns: add or remove the columns displayed in the table
Sort: sort the columns in ascending or descending order
Reorder: change the order of the columns displayed
Query by Example
This section describes how to configure resource group templates.
This section includes the following tasks:
Configure resource group template foreign JNDI provider settings
Configure resource group template diagnostic system module settings
To view and define general resource group template settings:
From the WebLogic Domain dropdown menu, select Environment, then select Resource Group Templates.
The Resource Group Templates table displays information about each resource group template that has been configured in the current domain.
In the Resource Group Templates table, select the resource group template you want to configure.
Select General.
On the General page, you can view the Name configuration setting for this resource group template.
For more information, see Configuration Options.
To configure all applications deployed to a resource group template:
From the WebLogic Domain dropdown menu, select Environment, then select Resource Group Templates.
The Resource Group Templates table displays information about each resource group template that has been configured in the current domain.
In the Resource Group Templates table, select the resource group template you want to configure.
Select Deployments.
The Deployments table displays information on the deployments configured in this resource group template, such as:
Name
Status
State
Health
Type
Domain Partition
Targets
Deployment Order
Scope
Resource Group
Tags
To control application deployments for this resource group template, see Control application deployments.
Note:
You cannot start or stop application deployments on a resource group template; you must start or stop applications on the resource group that references the resource group template.For more information about these fields, see Configuration Options.
Optionally, select View to access the following table options:
Columns: add or remove the columns displayed in the table
Sort: sort the columns in ascending or descending order
Reorder: change the order of the columns displayed
To view configuration settings for the JDBC system resources that have been created in this resource group template:
From the WebLogic Domain dropdown menu, select Environment, then select Resource Group Templates.
The Resource Group Templates table displays information about each resource group template that has been configured in the current domain.
In the Resource Group Templates table, select the resource group template you want to configure.
Select Services, then select JDBC.
The JDBC table displays information on the JDBC data sources configured in this resource group template, such as:
Name
JNDI Name
Type
Targets
Algorithm Type
Row Prefetch Enabled
Row Prefetch Size
Stream Chunk Size
For more information about these fields, see Configuration Options.
Optionally, select View to access the following table options:
Columns: add or remove the columns displayed in the table
Detach: detach the table (viewing option)
Sort: sort the columns in ascending or descending order
Reorder: change the order of the columns displayed
Query by Example
You can also create new JDBC data sources for this resource group template. Click Create or Create Like to create a new JDBC data source. For more information on creating JDBC data sources, see Create JDBC data sources.
This section describes how to monitor resource group template JMS settings.
This section includes the following tasks:
To view configuration settings for the JMS servers that have been created for this resource group template:
From the WebLogic Domain dropdown menu, select Environment, then select Resource Group Templates.
The Resource Group Templates table displays information about each resource group template that has been configured in the current domain.
In the Resource Group Templates table, select the resource group template you want to configure.
Select Services, then select Messaging > JMS Servers.
The JMS Servers table displays information on the JMS servers configured in this resource group template, such as:
Name
Health
Health Reason
Persistent Store
Temporary Template Name
Bytes Maximum
Messages Maximum
Bytes Threshold High
Bytes Threshold Low
Messages Threshold High
For more information about these fields, see Configuration Options.
Optionally, select View to access the following table options:
Columns: add or remove the columns displayed in the table
Detach: detach the table (viewing option)
Sort: sort the columns in ascending or descending order
Reorder: change the order of the columns displayed
Query by Example
You can also create new a new JMS server by clicking the Create button. For more information on creating JMS servers, see Create JMS servers.
To view configuration settings for the store-and-forward (SAF) agents that have been created for this resource group template:
From the WebLogic Domain dropdown menu, select Environment, then select Resource Group Templates.
The Resource Group Templates table displays information about each resource group template that has been configured in the current domain.
In the Resource Group Templates table, select the resource group template you want to configure.
Select Services, then select Messaging > SAF Agents.
The SAF Agents table displays information on the SAF agents configured in this resource group template, such as:
Name
Agent Type
Persistent Store
For more information about these fields, see Configuration Options.
Optionally, select View to access the following table options:
Columns: add or remove the columns displayed in the table
Detach: detach the table (viewing option)
Sort: sort the columns in ascending or descending order
Reorder: change the order of the columns displayed
Query by Example
You can also create new a new SAF agent by clicking the Create button. For more information on creating SAF agents, see Create Store-and-Forward agents.
To configure the JMS resource settings for a resource group template:
From the WebLogic Domain dropdown menu, select Environment, then select Resource Group Templates.
The Resource Group Templates table displays information about each resource group template that has been configured in the current domain.
In the Resource Group Templates table, select the resource group template you want to configure.
Select Services, then select Messaging > JMS Resources.
The JMS Resources table displays information on the JMS resources configured in this resource group template, such as:
Name
Type
JMS Module Name
JNDI Name
Subdeployment
For more information about these fields, see Configuration Options.
Optionally, select View to access the following table options:
Columns: add or remove the columns displayed in the table
Detach: detach the table (viewing option)
Sort: sort the columns in ascending or descending order
Reorder: change the order of the columns displayed
Query by Example
You can also create new a new JMS resource by clicking the Create button. For more information on creating JMS resources, see Create JMS resources.
To configure the JMS modules for a resource group template:
From the WebLogic Domain dropdown menu, select Environment, then select Resource Group Templates.
The Resource Group Templates table displays information about each resource group template that has been configured in the current domain.
In the Resource Group Templates table, select the resource group template you want to configure.
Select Services, then select Messaging > JMS Modules.
The JMS Modules table displays information on the JMS modules configured in this resource group, such as:
Name
Queues
Topics
Connection Factories
Distributed Queues
Distributed Topics
Foreign Servers
Quotas
SAF Error Handlers
SAF Imported Destinations
SAF Remote Contexts
Templates
Uniform Distributed Queues
Uniform Distributed Topics
Destination Keys
Type
For more information about these fields, see Configuration Options.
Optionally, select View to access the following table options:
Columns: add or remove the columns displayed in the table
Detach: detach the table (viewing option)
Sort: sort the columns in ascending or descending order
Reorder: change the order of the columns displayed
Query by Example
You can also create new a new JMS module by clicking the Create button. For more information on creating JMS modules, see Create JMS modules.
To configure the messaging bridge settings for a resource group template:
From the WebLogic Domain dropdown menu, select Environment, then select Resource Group Templates.
The Resource Group Templates table displays information about each resource group template that has been configured in the current domain.
In the Resource Group Templates table, select the resource group template you want to configure.
Select Services, then select Messaging > Messaging Bridges.
The Messaging Bridges table displays information on the messaging bridges configured in this resource group template, such as:
Name
Source Bridge Destination
Target Bridge Destination
For more information about these fields, see Configuration Options.
Optionally, select View to access the following table options:
Columns: add or remove the columns displayed in the table
Detach: detach the table (viewing option)
Sort: sort the columns in ascending or descending order
Reorder: change the order of the columns displayed
Query by Example
You can also create new a new messaging bridge by clicking the Create button. For more information on creating messaging bridges, see Create messaging bridges.
To configure the JMS bridge destination settings for a resource group template:
From the WebLogic Domain dropdown menu, select Environment, then select Resource Group Templates.
The Resource Group Templates table displays information about each resource group template that has been configured in the current domain.
In the Resource Group Templates table, select the resource group template you want to configure.
Select Services, then select Messaging > Bridge Destinations.
The JMS Bridge Destinations table displays information on the JMS bridge destinations configured in this resource group template, such as:
Name
Adapter JNDI Name
For more information about these fields, see Configuration Options.
Optionally, select View to access the following table options:
Columns: add or remove the columns displayed in the table
Detach: detach the table (viewing option)
Sort: sort the columns in ascending or descending order
Query by Example
You can also create new a new JMS bridge destination by clicking the Create button. For more information on creating JMS bridge destinations, see Create JMS bridge destinations.
To configure the path services settings for a resource group template:
From the WebLogic Domain dropdown menu, select Environment, then select Resource Group Templates.
The Resource Group Templates table displays information about each resource group template that has been configured in the current domain.
In the Resource Group Templates table, select the resource group template you want to configure.
Select Services, then select Messaging > Path Services.
The Path Services table displays information on the path services configured in this resource group template, such as:
Name
Persistent Store
For more information about these fields, see Configuration Options.
Optionally, select View to access the following table options:
Columns: add or remove the columns displayed in the table
Detach: detach the table (viewing option)
Sort: sort the columns in ascending or descending order
Query by Example
You can also create new a new path service by clicking the Create button. For more information on creating path services, see Create path services.
To view configuration settings for the mail sessions that have been created in this resource group template:
From the WebLogic Domain dropdown menu, select Environment, then select Resource Group Templates.
The Resource Group Templates table displays information about each resource group template that has been configured in the current domain.
In the Resource Group Templates table, select the resource group template you want to configure.
Select Services, then select Mail.
The Mail table displays information on the mail sessions configured in this resource group template, such as:
Name
JNDI Name
For more information about these fields, see Configuration Options.
Optionally, select View to access the following table options:
Columns: add or remove the columns displayed in the table
Detach: detach the table (viewing option)
Sort: sort the columns in ascending or descending order
Query by Example
You can also create a new mail session for this resource group template by clicking the Create button. For more information on creating mail sessions, see Create mail sessions.
To view configuration settings for the persistent stores that have been created in this resource group template:
From the WebLogic Domain dropdown menu, select Environment, then select Resource Group Templates.
The Resource Group Templates table displays information about each resource group template that has been configured in the current domain.
In the Resource Group Templates table, select the resource group template you want to configure.
Select Services, then select Persistent Stores.
The Persistent Stores table displays information on the persistent stores configured in this resource group template, such as:
Name
Type
For more information about these fields, see Configuration Options.
Optionally, select View to access the following table options:
Columns: add or remove the columns displayed in the table
Detach: detach the table (viewing option)
Sort: sort the columns in ascending or descending order
Query by Example
You can also create a new persistent store for this resource group template by clicking the Create button. For more information on creating persistent stores, see Create persistent stores.
To view configuration settings for the foreign JNDI providers that have been created in this resource group template:
From the WebLogic Domain dropdown menu, select Environment, then select Resource Group Templates.
The Resource Group Templates table displays information about each resource group template that has been configured in the current domain.
In the Resource Group Templates table, select the resource group template you want to configure.
Select Services, then select Foreign JNDI Providers.
The Foreign JNDI Provider table displays information on the foreign JNDI providers configured in this resource group template, such as:
Name
Initial Context Factory
Provider URL
User
Targets
For more information about these fields, see Configuration Options.
Optionally, select View to access the following table options:
Columns: add or remove the columns displayed in the table
Detach: detach the table (viewing option)
Sort: sort the columns in ascending or descending order
Reorder: change the order of the columns displayed
Query by Example
You can also create a new foreign JNDI provider for this resource group template by clicking the Create button. For more information on creating foreign JNDI providers, see Create foreign JNDI providers.
To view configuration settings for the diagnostic system modules that have been created in this resource group template:
From the WebLogic Domain dropdown menu, select Environment, then select Resource Group Templates.
The Resource Group Templates table displays information about each resource group template that has been configured in the current domain.
In the Resource Group Templates table, select the resource group template you want to configure.
Select Services, then select Diagnostics.
The Diagnostics table displays information on the diagnostic system modules configured in this resource group template, such as:
Name
Description
Targets
For more information about these fields, see Configuration Options.
Optionally, select View to access the following table options:
Columns: add or remove the columns displayed in the table
Detach: detach the table (viewing option)
Sort: sort the columns in ascending or descending order
Reorder: change the order of the columns displayed
Query by Example
You can also create a new diagnostic system module for this resource group template by clicking the Create button. For more information on creating diagnostic system modules, see Create diagnostic system modules.
To create notes for a resource group template:
From the WebLogic Domain dropdown menu, select Environment, then select Resource Group Templates.
The Resource Group Templates table displays information about each resource group template that has been configured in the current domain.
In the Resource Group Templates table, select the resource group template you want to configure.
Select Notes.
On the Notes page, enter your notes.
Click Save.
For more information, see Configuration Options.