web logic creation
Before learning domain let us understand, Administration Server, Managed Server and Cluster in Oracle Web Logic.
What is domain in Web Logic?
WebLogic Domain
Domain is logical grouping of resources and services and consists of Administration Server, Managed Server and cluster. There can only be one administration Server in domain and zero to N Managed Server.
What is Administration Server?
Administration Server is Web Logic Server instance that maintains configuration data for a domain. You can deploy your application on administration Server but it is recommended to create managed Server and deploy your application in managed server and leave Administration domain for configuration and maintenance.
—There will always be at least one Administration Server in a domain.
.
.
What is Managed Server ?
Any Web Logic Server instance apart from Administration Server is called as Managed Servers. This is web logic server where you deploy your application (Though you can deploy your application in Administration server as well but it is not recommended in production/UAT instance)
.
.
What is Cluster in Web Logic?
Group of Web Logic Managed Server Instances that work together to provide high availability and scalability for applications is called cluster. Web Logic Servers with in cluster can run on same machine or different machines. These are also called as managed Server cluster.
===================================================
Things you should know before creating domain in WebLogic Server ?
– You use configuration wizard to create or extend domain but this can be used only in offline mode (when web logic server is not running)
– You can also use WLST (Web Logic Scripting Tool), command line tool to create and extend domains in Web Logic Server.
==========================================
– You can also use unpack command to create new domain. This command can’t be used to extend domain.
– Extending a domain means, you already created domain and now wish to extend it (use more application, add managed server, create cluster…)
– Configuration wizard can be run in Graphical Mode (interactive GUI) or Console Mode (interactive text based)
=========================================
– For silent mode use WLST (Web Logic Scripting Tool)
===================================================
– While creating domain you specify Startup Mode (Development or Production). In development mode, you get auto deploy option and security is low. In production mode you need username/password to deploy applications.
================================================================
– When you create domain, it creates following directories
i) auto deploy ii) bin iii) config (config.xml for domain sits here) iv) console-ext v) lib vi) security vii) servers
–You use config.cmd (windows) or config.sh (UNIX) from $BEA_HOME/ wlserver_<ver>/ common/ bin to start configuration manager to create domain
Below Flowchart (image from Oracle Documentation) displays steps to create domain.
===============================================================
Create WebLogic Domain
==================
Comments
Post a Comment