{"id":3265,"date":"2012-06-22T08:46:29","date_gmt":"2012-06-22T13:46:29","guid":{"rendered":"http:\/\/jianmingli.com\/wp\/?p=3265"},"modified":"2012-08-25T20:52:14","modified_gmt":"2012-08-26T01:52:14","slug":"z1-102-configuring-a-simple-domain","status":"publish","type":"post","link":"https:\/\/jianmingli.com\/wp\/?p=3265","title":{"rendered":"Configuring a Simple Domain"},"content":{"rendered":"<p>This is part of <a href=\"?p=3166\">1Z1-102: Oracle Weblogic Server 11g: System Administration I<\/a><\/p>\n<p><< <a href=\"?p=3224\">Previous<\/a><\/p>\n<div class='toc wptoc'>\n<h2>Contents<\/h2>\n<ol class='toc-odd level-1'>\n\t<li>\n\t\t<a href=\"#Describe_elements_in_a_WebLogic_Server_domain\">Describe elements in a WebLogic Server domain<\/a>\n\t\t<ol class='toc-even level-2'>\n\t\t\t<li>\n\t\t\t\t<a href=\"#Contains\">Contains<\/a>\n\t\t\t<\/li>\n\t\t<\/ol>\n\t<li>\n\t\t<a href=\"#Define_a_WebLogic_Server_Domain\">Define a WebLogic Server Domain<\/a>\n\t<\/li>\n\t<li>\n\t\t<a href=\"#Compare_administration_and_managed_servers\">Compare administration and managed servers<\/a>\n\t\t<ol class='toc-even level-2'>\n\t\t\t<li>\n\t\t\t\t<a href=\"#Admin_Server\">Admin Server<\/a>\n\t\t\t<\/li>\n\t\t\t<li>\n\t\t\t\t<a href=\"#Managed_Servers\">Managed Servers<\/a>\n\t\t\t<\/li>\n\t\t<\/ol>\n\t<li>\n\t\t<a href=\"#Create_a_simple_domain_using_the_Configuration_Wizard\">Create a simple domain using the Configuration Wizard<\/a>\n\t<\/li>\n\t<li>\n\t\t<a href=\"#Describe_the_organization_and_contents_of_a_WebLogic_Server_domain_directory\">Describe the organization and contents of a WebLogic Server domain directory<\/a>\n\t\t<ol class='toc-even level-2'>\n\t\t\t<li>\n\t\t\t\t<a href=\"#Top_Directories\">Top Directories<\/a>\n\t\t\t<\/li>\n\t\t\t<li>\n\t\t\t\t<a href=\"#bin_Directory\">bin Directory<\/a>\n\t\t\t<\/li>\n\t\t\t<li>\n\t\t\t\t<a href=\"#config_Directory\">config Directory<\/a>\n\t\t\t<\/li>\n\t\t\t<li>\n\t\t\t\t<a href=\"#servers_Directory\">servers Directory<\/a>\n\t\t\t<\/li>\n\t\t<\/ol>\n\t<li>\n\t\t<a href=\"#Start_and_stop_WebLogic_Server_using_scripts\">Start and stop WebLogic Server using scripts<\/a>\n\t\t<ol class='toc-even level-2'>\n\t\t\t<li>\n\t\t\t\t<a href=\"#StartStop_Servers\">Start\/Stop Servers<\/a>\n\t\t\t<\/li>\n<\/ol>\n<\/ol>\n<\/ol>\n<\/div>\n<div class='wptoc-end'>&nbsp;<\/div>\n<span id=\"\"><h6><a href=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2011\/09\/wl_domaincontents.gif\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2011\/09\/wl_domaincontents.gif\" alt=\"\" title=\"wl_domaincontents\" width=\"422\" height=\"253\" class=\"aligncenter size-full wp-image-3291\" srcset=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2011\/09\/wl_domaincontents.gif 422w, https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2011\/09\/wl_domaincontents-300x179.gif 300w\" sizes=\"auto, (max-width: 422px) 100vw, 422px\" \/><\/a><\/h6><\/span>\n<span id=\"_1\"><h6><a href=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2012\/06\/wls11g_admin_domain_diagram.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2012\/06\/wls11g_admin_domain_diagram-300x195.jpg\" alt=\"\" title=\"wls11g_admin_domain_diagram\" width=\"300\" height=\"195\" class=\"aligncenter size-medium wp-image-5105\" srcset=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2012\/06\/wls11g_admin_domain_diagram-300x195.jpg 300w, https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2012\/06\/wls11g_admin_domain_diagram.jpg 680w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/h6><\/span>\n<span id=\"Describe_elements_in_a_WebLogic_Server_domain\"><h2>Describe elements in a WebLogic Server domain<\/h2><\/span>\n<p>* Basic administrative unit.<br \/>\n* More details <a href=\"http:\/\/download.oracle.com\/docs\/cd\/E17904_01\/web.1111\/e13716\/understand_domains.htm#DOMCF115\">here<\/a>.<\/p>\n<span id=\"Contains\"><h3>Contains<\/h3><\/span>\n<p>* Exactly one admin server.<br \/>\n* Zero or more managed servers.<br \/>\n* Zero or more clusters<br \/>\n* Logically related resources and services that are manged collectively as one unit.<br \/>\n&#8211; Machine definitions<br \/>\n&#8211; Network channels<br \/>\n&#8211; Virtual hosting<br \/>\n&#8211; Security providers<br \/>\n&#8211; Resource adapters<br \/>\n&#8211; Diagnostics and monitoring services<br \/>\n&#8211; JDBC data sources<br \/>\n&#8211; Mail sessions<br \/>\n&#8211; XML entity caches and registry of XML parsers and transformer factories.<br \/>\n&#8211; messaging services such as JMS servers and store-and-forward services.<br \/>\n&#8211; Persistent store<br \/>\n&#8211; Startup classes<br \/>\n&#8211; Work managers<br \/>\n&#8211; work contexts<\/p>\n<span id=\"Define_a_WebLogic_Server_Domain\"><h2>Define a WebLogic Server Domain<\/h2><\/span>\n<p>* Domain is defined by DOMAIN_NAME\/config\/config.xml file and files referenced by it.<\/p>\n<span id=\"Compare_administration_and_managed_servers\"><h2>Compare administration and managed servers<\/h2><\/span>\n<span id=\"Admin_Server\"><h3>Admin Server<\/h3><\/span>\n<p>* Each domain <em>must <\/em>have one admin server.<br \/>\n* Maintains the domain&#8217;s configuration documents.<br \/>\n* Distributes changes in the configuration documents to Managed Servers.<br \/>\n* Central location from which to monitor all resources in a domain.<br \/>\n* When admin server fails:<br \/>\n&#8211; Managed servers (clustered or not) continue to work.<br \/>\n&#8211; Manged servers periodically check attempt to reconnect to admin server.<\/p>\n<span id=\"Managed_Servers\"><h3>Managed Servers<\/h3><\/span>\n<p>* Managed Servers host:<br \/>\n&#8211; business applications<br \/>\n&#8211; application components<br \/>\n&#8211; Web services and their associated resources<br \/>\n* Managed Servers maintain a read-only copy of the domain&#8217;s configuration document. The copy is synchronized with admin server when a Managed Server starts up.<\/p>\n<span id=\"Create_a_simple_domain_using_the_Configuration_Wizard\"><h2>Create a simple domain using the Configuration Wizard<\/h2><\/span>\n<p>* See <a href=\"?p=3150\">this post<\/a>.<\/p>\n<span id=\"Describe_the_organization_and_contents_of_a_WebLogic_Server_domain_directory\"><h2>Describe the organization and contents of a WebLogic Server domain directory<\/h2><\/span>\n<span id=\"_2\"><h6><a href=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2012\/06\/wls11g_admin_domain_dir.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2012\/06\/wls11g_admin_domain_dir-300x189.jpg\" alt=\"\" title=\"wls11g_admin_domain_dir\" width=\"300\" height=\"189\" class=\"aligncenter size-medium wp-image-5107\" srcset=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2012\/06\/wls11g_admin_domain_dir-300x189.jpg 300w, https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2012\/06\/wls11g_admin_domain_dir.jpg 660w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/h6><\/span>\n<span id=\"Top_Directories\"><h3>Top Directories<\/h3><\/span>\n<span id=\"_3\"><h6><a href=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2011\/09\/wl_domain_dir.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2011\/09\/wl_domain_dir.jpg\" alt=\"\" title=\"wl_domain_dir\" width=\"193\" height=\"290\" class=\"aligncenter size-full wp-image-3295\" \/><\/a><\/h6><\/span>\n<span id=\"bin_Directory\"><h3>bin Directory<\/h3><\/span>\n<span id=\"_4\"><h6><a href=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2011\/09\/wl_bin_dir.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2011\/09\/wl_bin_dir.jpg\" alt=\"\" title=\"wl_bin_dir\" width=\"217\" height=\"133\" class=\"aligncenter size-full wp-image-3296\" \/><\/a><\/h6><\/span>\n<span id=\"config_Directory\"><h3>config Directory<\/h3><\/span>\n<span id=\"_5\"><h6><a href=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2011\/09\/wl_config_dir.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2011\/09\/wl_config_dir.jpg\" alt=\"\" title=\"wl_config_dir\" width=\"198\" height=\"292\" class=\"aligncenter size-full wp-image-3297\" \/><\/a><\/h6><\/span>\n<span id=\"servers_Directory\"><h3>servers Directory<\/h3><\/span>\n<span id=\"_6\"><h6><a href=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2011\/09\/wl_servers_dir.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2011\/09\/wl_servers_dir.jpg\" alt=\"\" title=\"wl_servers_dir\" width=\"261\" height=\"581\" class=\"aligncenter size-full wp-image-3298\" \/><\/a><\/h6><\/span>\n<span id=\"Start_and_stop_WebLogic_Server_using_scripts\"><h2>Start and stop WebLogic Server using scripts<\/h2><\/span>\n<p>* See <a href=\"?p=1969#StartStop_Servers\">this post<\/a>.<\/p>\n<span id=\"StartStop_Servers\"><h3>Start\/Stop Servers<\/h3><\/span>\n<p>* Start WebLogic servers<br \/>\n&#8211; $DOMAIN_NAME\/bin\/<em>startWebLogic.sh<\/em><\/p>\n<pre lang=\"bash\">\r\ncd \/opt\/oracle\/Middleware\/home_11gr1\/user_projects\/domains\/soa_domain\/bin\r\nnohup .\/startWebLogic.sh >> AdminServer.out 2>> AdminServer.err < \/dev\/null &#038;\r\nnohup .\/startManagedWebLogic.sh soa_server1 >> soa_server1.out 2>> soa_server1.err < \/dev\/null &#038;\r\nnohup .\/startManagedWebLogic.sh bam_server1 >> bam_server1.out 2>> bam_server1.err < \/dev\/null &#038;\r\n<\/pre>\n<p>- WLST + Node Manager<br \/>\n- WLST without Node Manager<br \/>\n- Custom script calling weblogic.Server (dev environment only)<br \/>\n* Stop WebLogic servers<\/p>\n<pre lang=\"bash\">\r\n- $DOMAIN_NAME\/bin\/<em>stopWebLogic.sh<\/em>\r\ncd \/opt\/oracle\/Middleware\/home_11gr1\/user_projects\/domains\/soa_domain\/bin\r\n.\/stopManagedWebLogic.sh bam_server1  >> bam_server1.out 2>> bam_server1.err < \/dev\/null &#038;\r\n.\/stopManagedWebLogic.sh soa_server1  >> soa_server1.out 2>> soa_server1.err < \/dev\/null &#038;\r\n.\/stopWebLogic.sh  >> AdminServer.out 2>> AdminServer.err < \/dev\/null &#038;\r\n<\/pre>\n<p>* From Admin Console<\/p>\n<p>>> <a href=\"?p=3434\">Next<\/a><\/p>\n<p>[mv_include id='3268']<br \/>\n* <a href=\"http:\/\/download.oracle.com\/docs\/cd\/E17904_01\/web.1111\/e13716\/toc.htm\">Oracle\u00ae Fusion Middleware Understanding Domain Configuration for Oracle WebLogic Server 11g Release 1 (10.3.4) Part Number E13716-03<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is part of 1Z1-102: Oracle Weblogic Server 11g: System Administration I > AdminServer.out 2>> AdminServer.err < \/dev\/null &#038; nohup .\/startManagedWebLogic.sh soa_server1 >> soa_server1.out 2>> soa_server1.err < \/dev\/null &#038; nohup .\/startManagedWebLogic.sh bam_server1 >> bam_server1.out 2>> bam_server1.err < \/dev\/null &#038; - &hellip; <a href=\"https:\/\/jianmingli.com\/wp\/?p=3265\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[107,104],"tags":[],"class_list":["post-3265","post","type-post","status-publish","format-standard","hentry","category-certification","category-weblogic11g"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8cRUO-QF","_links":{"self":[{"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/3265","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3265"}],"version-history":[{"count":19,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/3265\/revisions"}],"predecessor-version":[{"id":5696,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/3265\/revisions\/5696"}],"wp:attachment":[{"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3265"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3265"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3265"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}