Tuesday, December 10, 2024

Oracle Weblogic 12c Administration - Part 3

 


Creating WebLogic Domain:

Development Domain Mode: 

* It allows applications to be auto deployed.

* The admin console auto-locks the configuration by deafault.

* The admin server can handles administration and run applications.

* We can able to use the test/demonstration digital certificates for SSL.

Production Domain Mode:

* It will not allow the applications to auto deployed and disable mode.

* We should not use the demo digital certifcates for SSL.

* The admin console does not allow auto-locking of the configuration.

Domain creation Tools:

* Configuration Wizard : Graphical user tool for a domain creation

* WebLogic Scripting Tool (WLST) : We can able to create a interactive method of creating a domain  

  through WLST script.

* Pack and Unpack Utilities: We can copy an existing domain and run on other machine.

Workflow of Domain Creation:


Domain File structure:

* Domain-name : The name of this directory is the name of domain.
* bin - Scripting for start and stop the servers in the domain
* config - The saved configuration of the domain is contained in the config.xml file and other domain related configuration files.
* lib - JAR file are placed and created a CLASSPATH of each WebLogic Server started on this machine.
* nodemanager - Default location for the nodemanager
* pending - Domain configuration file is saved but not active from Domain side.
* security - Domain-wide security related files
* servers - One sub directory for each server in the domain
* server1 - The server directory for each server with name
* Data - Data for internal LDAP, node manager and saved diagonstics.
* logs - Server log files
* stage - Default stage location for the deployed applications.

Creating a domain Archive through Pack tool:
% cd /Middleware_path/oracle_common/common/bin
% ./pack.sh -domain=/domain_path/domain_name -template=name.jar  -managed=true

Unpacked the Domain Archive through Unpack tool:
% cd /Middleware_path/oracle_common/common/bin
% ./unpack.sh -domain=/domain_path/domain_name -template=/pathtojarfile/name.jar

Creating the domain with Configuration Wizard tool:

1) run a configuration wizard
    %/Middleware_path/oracle_common/common/bin/config.sh
2) Select the location of domain creation
3) Select the template for the domain
4) Define your username and password for the domain
5) Select the JDK 
6) Define Node manager credentials 
7) Add multiple mange servers
8) Create a cluster
9) Review and finish
We can able to see the Domain from the Admin console.

 

No comments:

Post a Comment