This is next post in series “Learn Oracle WebLogic with Us“. Next Step after Oracle WebLogic Installation is to create Domain.
Before creating domains let us understand Domain, Administration Server, Managed Server and Cluster in Oracle WebLogic.
In next post We’ll learn how to create basic Domain (Administration Server only) and Domain with Managed Server Cluster (one Administration Server and two Managed Server in cluster) using Configuration Manager.
What is domain in WebLogic ?
Domain is logical grouping of resources and services and consist 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 WebLogic 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 atleast one Administration Server in a domain.
What is Managed Server ?
Any WebLogic Server instance apart from Administration Server is called as Managed Servers. This is weblogic 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 WebLogic ?
Group of WebLogic Managed Server Instances that work together to provide high availability and scalability for applications is called cluster. WebLogic 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 weblogic server is not running)
— You can also use WLST (WebLogic Scripting Tool), command line tool to create and extend domains in WebLogic 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 (WebLogic Scripting Tool)
— While creating domain you specify Startup Mode (Development or Production). In development mode, you get autodeploy option and security is low. In production mode you need username/password to deploy applications.
— When you create domain, it creates following directories
i) autodeploy 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
Step by Step Weblogic Domain creation (with Managed Server Cluster) coming soon …