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.
You can use the template that you create as the basis for creating a WebLogic domain, by specifying the template in the Configuration Wizard, WLST, or the unpack command. Create a template that defines applications and services that can be used to extend existing WebLogic domains. You can import applications and services stored in extension templates into an existing WebLogic domain by using the Configuration Wizard.
Select Create a Domain Template and click Next. 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.
Navigate to the directory of the WebLogic domain from which you want to create a domain template. Valid domain directories are indicated by the Domain directory folder icon, shown here. To select a domain template as the source for the new template. From the list of templates displayed in the Templates pane, select a template.
The templates in the list are located in the directory specified in the Locate Additional Templates pane. If you want to change the directory, click Browse , and then either navigate to the appropriate directory or enter the path manually.
Use the Describe the Template screen to provide a description for the template. If you selected a WebLogic domain as the source for the new template, enter the information required for the domain, and click Next.
If you selected a template as the source for the new template, information about the selected template is displayed. Review the information, and, if necessary, change it to suit the requirements of your domain. When done, click Next. Table describes the fields on the Describe the Template screen.
Fields marked with an asterisk are required. Table Describe the Template. Enter a valid name for the domain template. The name must be a string of characters, and can include spaces. Enter the name of the author of the template. The author must be a string of characters, and can include spaces. Enter the name of the category in which you want this template to be displayed. The category must be a string of characters, and can include spaces.
Enter a description of the domain template. The description must be a string of characters, and can include spaces.
Table describes the fields on this screen. This field defaults to a name based on the values you entered in the Name and Version fields on the previous screen. If the template name includes spaces, they are replaced by a period. For example, if you entered "My new domain" for Name and 1.
If you want to store the file elsewhere, either enter the full path to the desired directory or click the Browse button to select the directory. The Add or Omit Applications screen is displayed only if applications are included in the template or domain that you selected. By default, the Domain Template Builder includes applications from the domain or template you specified as the source for the template that you are creating.
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. Applications that are not considered internal applications in your product installation are included by default. In the Applications pane, review the list of applications to be included in your template.
By default, all the applications are selected. The listed applications reside in the directory specified in the Current Application Path field. The applications are copied into your template from this location. To change the relative path of the directory into which an application is imported, do the following:. In the Imported Application Path field, enter the relative path you want to use after the application is imported into your template.
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 an existing template as the source for the new template, all files from the source template are automatically included. If the existing template defines a separate applications directory, the applications in the template are listed under the Applications Root Directory in the Current Template View pane.
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:. All files in the security directory that are not created automatically during domain creation.
All files and subdirectories in the config directory that are not included by the Domain Template Builder automatically during template creation. For example, config. You may also need to include other files from your domain or file system that are required by the applications.
The Add Files screen lets you to review, add, or remove files in the template. You can use the filters in the Show File Types drop-down list to limit the files displayed in this pane. For example, to display only files with the. If you attempt to add a file that is created automatically by the Configuration Wizard at domain creation time, an error message is displayed. You can add your own SQL scripts to the new template, so that the scripts are available when you create a WebLogic domain based on the template.
You can also specify the order in which the scripts are executed. When you create a WebLogic domain based on this template, the databases and associated SQL scripts that you include are displayed on the Run Database Scripts screen of the Configuration Wizard.
In the Database Type and Version pane, select a database from the Type drop-down list. Select the database version from the Version drop-down list or enter a version number directly in the field.
To modify the configuration, click Previous to return to the appropriate screen for the settings you want to change. Configuration Progress. Configuration Success.
Table lists the sequence of data source screens that are displayed in the Configuration Wizard. After you configure the screens described in this section, return to Table Select the data sources to test, and click Test Connection. Wait for one or more connection tests to complete. Note: In order to test connections, the database to which you are trying to connect must be running. You can use the Advanced Configuration screen to select all categories for which you want to perform advanced configurations.
For each category that you select, you can perform the advanced configurations in the appropriate configuration screen. This section describes the sequence of screens that appear if you select the options listed on Advanced Configuration screen. Administration Server. Only if you have selected Administration Server on the Advanced Configuration screen. Node Manager. Only if you have selected Node Manager on the Advanced Configuration screen. Managed Servers. Server Templates.
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. 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. Coherence Clusters. 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. Note: When you run the config. Click Next to continue. Select the JDK s to use in the domain. Add, delete, or reconfigure machines as needed.
Select the check box for each application or library you want to deploy on the selected target. Select the check box for each service you want to target to it. When the process completes, click Done. Table Schema Configuration Screens No. If you do not want to test connections at this time, deselect all data sources.
Select the database version. Click Run Scripts. Starting the Administration Server When you finish creating your domain, you can start the Administration Server. Select Create a new WebLogic domain. Select Domain Source. Do one of the following: Select Generate a domain configured automatically to support the following products , and then select the check box for each product to include in the domain. Specify Domain Name and Location. Specify the name and directory location of the domain.
Configure Administrator User Name and Password. Specify the username and password for the domain's administrator account. Select the startup mode to use. See Configuring Schemas, for information about these screens. See Configuring Data Sources, for information about these screens. Configure Keystore Credentials. Only if the domain includes a product that requires a keystore password.
Select Optional Configuration. Select the check box for each category if any for which you want to perform advanced configuration tasks The available check boxes depend on the resources that are configured in the selected products or template.
Note: As a performance optimization, WebLogic Server does not store most of its default values in the domain's configuration files.
In some cases, this optimization prevents entire management objects from being displayed by WLST offline because WebLogic Server has never written the corresponding XML elements to the domain's configuration files. For example, if you never modify the default logging severity level for a WebLogic domain while the domain is active, WLST offline will not display the domain's Log management object. For more information, see this section in WLST Command Reference for WebLogic Server Navigate the hierarchy of management objects cd path "cd" List child attributes or management objects for the current management object ls [ ' a ' ' c ' ] "ls" Toggle the display of the management object navigation path information at the prompt prompt [ ' off ' ' on ' ] "prompt" Display the current location in the configuration hierarchy pwd "pwd" Display all variables used by WLST dumpVariables "dumpVariables" Display the stack trace from the last exception that occurred while performing a WLST action dumpStack "dumpStack".
Only the WebLogic Server configuration is included in the script. Open an existing WebLogic domain or select the templates for the domain. Optional Modify the WebLogic domain. Set the password for the default user, if it is not already set. Write the domain configuration information to a domain template. Use the template to create a domain. Navigate the hierarchy of management objects. List child attributes or management objects for the current management object.
Toggle the display of the management object navigation path information at the prompt. Display the current location in the configuration hierarchy. Display all variables used by WLST. Display the stack trace from the last exception that occurred while performing a WLST action.
0コメント