Creating domain templates in weblogic
Assign Servers to Machines. Only if you have selected Managed Servers, Clusters, and Coherence on the Advanced Configuration screen, and there is at least one machine configured in the domain. Virtual Targets.
Only if you have selected Topology on the Advanced Configuration screen. Add, configure, and delete virtual targets that you want to use to run WebLogic Server in a multitenant mode. Add the required number of partitions. Later, you assign virtual targets to each partition that you define. Assign Virtual Targets to Partitions. Deployments Targeting. Only if you have selected Deployments and Services on the Advanced Configuration screen, and a selected product or template contains J2EE applications or libraries.
Select the check box for each application or library that you want to deploy on the selected target. While creating a Restricted JRF domain by using the config. Services Targeting. Only if you have selected Deployments and Services on the Advanced Configuration screen. File Stores. Only if you have selected File Store on the Advanced Configuration screen. Change the settings for each JMS file store as needed, and select the synchronous write policy for each file store. You can run the wizard automatically or manually depending on the domain type sample or product that you want to configure, as described below:.
To configure Fusion Middleware product domains, run the wizard manually as described in this section. If you are using another database, you cannot use the Quick Start Configuration Wizard to create your domain. WebLogic Server Templates. Fusion Middleware Product Templates. Table shows the sequence of the Quick Start Configuration Wizard screens:. You can also run the wizard from the command line. If you are running the wizard from the command line, you must create the sample domains one at a time.
This process requires you to run the Quick Start Wizard three times to create all three domains. WebLogic Server Examples.
Previous Next JavaScript must be enabled to correctly display this content. You can create a new WebLogic domain by using the Configuration Wizard in graphical mode. Depending on your domain requirements and customizations, the Configuration Wizard takes you through a series of screens during the domain creation process. Domain Creation Process You can use the Configuration Wizard to create a WebLogic domain, by selecting either the product components to include in your domain or by selecting the template JAR files.
Starting the Configuration Wizard You can start the Configuration Wizard in graphical mode either from the Windows Start menu or from the command line. Starting the Administration Server You can start the Administration Server after you create the domain. You may want to customize your domain in the following circumstances: To create a multi-server or clustered domain when using the default settings.
To customize the listen port and the SSL port. The restrictions include the following: The versions of the WebLogic Server templates that were used to create the custom domain and custom domain template must be the same version as the WebLogic Server installation in which the domain is used.
To start the Configuration Wizard in graphical mode from a Windows command prompt or on UNIX systems: Log in to the system on which the product is installed. Execute the following command: On Windows: config. Click Next. Templates Always Select the appropriate option: Select Create Domain Using Product Templates , and then select the check box for each product to include in the domain.
High Availability Options Only if the templates that you have selected in the Templates screen are configured for high availability. You can configure the following HA options: Select Enable Automatic Service Migration to automatically migrate services from an unhealthy hosting server to a healthy active server. You can use either a file store or a JDBC store. Advanced Configuration You can use the Advanced Configuration screen to select all categories for which you want to perform advanced configurations.
Select the Convert to GridLink option. Select the Convert to RAC multi-data source option. Click Next to continue. If you do not want to test connections, deselect all data sources.
Enter the username and password for accessing the Node Manager. Clusters Only if you have selected Managed Servers, Clusters, and Coherence on the Advanced Configuration screen Add, delete, or reconfigure clusters as needed. Server Templates Only if you have selected Managed Servers, Clusters, and Coherence on the Advanced Configuration screen Add templates to or delete templates from the domain that you are configuring. Assign Servers to Clusters Only if you have selected Managed Servers, Clusters, and Coherence on the Advanced Configuration screen, and your domain includes at least one cluster Add servers to or remove servers from the clusters in your domain.
HTTP Proxy Applications Only if you have selected Managed Servers, Clusters, and Coherence on the Advanced Configuration screen, and your domain includes at least one cluster, and at least one Managed Server that is not assigned to a cluster For each cluster, specify whether or not you want to create an HTTP proxy application for the cluster.
Enter the port number to use as the Coherence cluster listen port. Add machines as needed. Configure the settings for each machine. An editing toolbar is provided at the top of the Edit File pane. The replacement variable replaces the selected string.
The Configuration Wizard later substitutes literal strings for the replacement variables to set up a specific WebLogic domain. For definitions of the available replacement variables, see Replacement Variable Definitions. Review the changes and click Save to preserve your changes, or Revert to replace the current version of the file with the last saved version.
If you edited the file since the last time you saved it, you are prompted to confirm the revert operation. If you saved the edited file, select the check box next to the filename in the Select File pane. Table List of Replacement Variables. Directory containing the applications required by the domain. Mode in which you want the JVM to run, such as -jrockit , -server , -hotspot. The default value is Mode in which the server is started.
If this variable is set to true, the server starts in production mode; if set to false, the server starts in development mode. Directory containing the samples provided with your product installation.
Directory containing the user domains created with the Configuration Wizard. Root directory of your WebLogic Server installation. Root directory of your WebLogic Workshop installation. The Review WebLogic Domain Template screen lets you review the settings for the new template before it is created.
Select an item in the Template Summary pane on the left and review the associated details in the Details pane on the right. If you need to change any settings that you defined in previous windows, select Previous to return to the required configuration window. The Creating Template screen displays status messages during the template creation process. The Domain Template Builder generates a JAR file that contains all the components required to generate a new WebLogic domain, including the template settings that you provided.
When the process completes, click Done to exit the Domain Template Builder. The files included in a template vary, depending on the WebLogic domain or template on which the template is based. For example, if you specify any Start menu entries in the Specify Start Menu Entries screen, a startmenu.
When you use this template to create a domain, Start menu entries are created by using the values specified in this file. Table Options for Creating Templates Choose this option When you want to Create a Domain Template Create a template that defines the full set of resources within a WebLogic domain, including infrastructure components, applications, services, security options, and general environment and operating system parameters.
Create an Extension Template Create a template that defines applications and services that can be used to extend existing WebLogic domains. Select a Template Domain Source The Select a Template Domain Source screen lets you choose the domain or domain template from which you want to create a new domain template. To select an existing WebLogic domain as the source for the new template Select the Select a Domain tab.
Click Next. The Domain Template Builder verifies that the directory you selected contains a valid domain. Note: If the directory does not contain a valid domain, an error message is displayed. Describe the Template Use the Describe the Template screen to provide a description for the template. Category Enter the name of the category in which you want this template to be displayed. Description Enter a description of the domain template. You can enter another name for the JAR file if you want.
The name must not include spaces. Add or Omit Applications The Add or Omit Applications screen is displayed only if applications are included in the template or domain that you selected. From the Add or Omit Applications screen, you can Review the list of applications that are currently defined in your template source Review the paths of the current and imported applications If necessary, change the relative path for the directory into which applications are imported If necessary, omit applications from the list of files to be imported.
For example: If you selected a template as the source for the new template, and if the source template has a separately defined applications directory, all the application files defined in the applications directory are included by default.
If you selected a domain as the source for the new template, applications that fulfill the following conditions are included by default: Applications that are defined in the config. These steps are needed to ensure that the application and its application-scoped resources are targeted and deployed properly. For more information about targeting and deploying application-scoped modules, see "Deploying Applications and Modules with weblogic.
Note: Some of the applications listed in the Applications pane may be included with the WebLogic products. You cannot change the relative paths for these applications. When you select these applications in the Applications pane, the Imported Application Path field is replaced by an Internal Application Path field.
Because these files are installed on your system during your product installation, they are not copied into the template at template creation time. When you use this template to create a domain, this path points to the application files located in your product installation directory. Add Files By default, the Domain Template Builder includes files from the WebLogic domain or template you specified as the source for the new template. If you selected a domain as the source for your new template, the following files and directories are included by default: All files in the root directory with the following extensions:.
Note: By default, the servers directory is not included in the template. If you have configured additional security data such as users, groups, or roles, through the WebLogic Server Administration Console or other online tools, it is stored in the LDAP server and is not included in the template.
You must export the data first and then import it into the target domain. Note: You cannot remove files shown in red or their parent directories as they consist of the applications defined in the config.
These files are included by default in the template being created. If you do not want these files included in your template, you must remove the application with which they are associated. To do so, click Previous to return to the Add or Omit Applications screen and deselect the appropriate check box for the application. Note: SQL scripts that are included with the product do not need to be added to the template.
Note: If you use a template as the basis for the new template, SQL files that are included in the source template are displayed in the Selected Database Scripts pane, organized by database type. Note: If you are creating an extension template, the Security Configuration Options screen is displayed next.
For more information, see Security Configuration Options. After configuring the Administration Server, click Next. Configure Administrator Username and Password When you create a domain template, the administrator username and password from the original WebLogic domain or template are included in your new template. You can also provide extra security for application resources using the following security features: Users and groups: Classification of individuals and groups of individuals who may be granted a security role.
To modify the administrator username and password: Specify a valid username in the Username field. Re-enter the password in the Confirm user password field. Optionally, enter a login description for this username. Configure Users, Groups, and Global Roles The Configure Users, Groups and Global Roles screen is displayed in the Domain Template Builder in the following situations: You are creating a domain template and you selected the option to configure users, groups, and global roles on the Configure Administrator Username and Password screen.
Users, groups, and global roles are defined as follows: A user is an entity that can be authenticated. Note: Depending on the template or domain you selected, one or more users, groups, or roles may be defined already. In addition, WebLogic Server defines a default set of groups and roles. Note: Do not make the default global security roles for administrative and server resources more restrictive.
If you eliminate any existing security roles, you risk degrading WebLogic Server operation. You can, however, make the default security roles more inclusive for example, by adding new security roles.
Description Enter a description of the role to be used for informational purposes only. The current assignments for the selected group are displayed in the left pane. In the right pane, do one of the following: To assign a user to the selected group, select the check box for the user.
To remove a user from the selected group, clear the check box for the user. The list of groups associated with each user is updated to reflect the changes.
The Assign Groups to Groups screen is displayed. Assign Groups to Groups The Assign Groups to Groups screen lets you designate one group as a subgroup of another, to refine management of security for your domain. Note: You should not assign groups recursively. For example, do not assign groupA as a subgroup of groupB and groupB as a subgroup of groupA. Note: You must assign one or more users or groups containing one or more users to the administrator role to ensure that there is at least one user who can start WebLogic Server.
Note: If you are creating an extension template, the Prepare Scripts and Files with Replacement Variables screen that is displayed next. The next step depends on the source for the new template that you are creating. Generate a domain configured automatically to support the following products :. Select this option to create a domain by using an existing domain template.
Enter the full path to the template in the Template location field, or click Browse to navigate to the directory containing the required template. Domain names must not start with a number.
This restriction is intended to prevent potential conflicts with internally-generated JDBC store table names, which must begin with a letter. The domain directory can be located anywhere in the system. The Configuration Wizard stores the config.
Configure the username and password for the administrator. The username is used to boot the administration server and connect to it. The password is case sensitive, and must contain at least eight alphanumeric characters, with at least one numeral or one of the following characters:. In development mode, the configuration of security is relatively relaxed, allowing you to autodeploy applications. In production mode, the configuration of security is stringent, requiring a user name and password to deploy applications.
Before putting a domain into production, familiarize yourself with securing the production environment. For information about changing the run-time mode after you have created a domain, see the WebLogic Server Administration Console Online Help. Table provides information to help you select a startup mode that suits your requirements.
You can use the demonstration digital certificates and the demonstration keystores provided by the WebLogic Server security services. With these certificates, you can design your application to work within environments secured by SSL.
You must not use the demonstration digital certificates and the demonstration keystores. If you do so, a warning message is displayed. The auto-deployment feature is disabled; so, you must use the WebLogic Server administration console, the weblogic. Deployer tool, or the WebLogic Scripting Tool. For the remainder of the server session, messages accumulate in the log file until the file grows to a size of kilobytes.
The default value of Limit number of retained files in Logging Configuration is true.
0コメント