When overlooking the past year we have seen a large increase in deployments where only some parts of the WebCenter Suite infrastructure has been used. The most common from my personal perspective is a domain topology that includes: WebCenter Custom Portal, WebCenter Content and Oracle HTTP ServicesToday its very common to see installation where the whole suite is installed when the use case only requires the custom portal and some sub component like WebCenter Content.
This post will go into detail on how to minimize the deployment time and effort by only laying down the necessary managed servers needed, by following this proposed method you will minimize the configuration steps and only install the required components and schema's, configure only the necessary components and minimize the impact of architectural changes through reduced dependencies.
Assumptions:
Oracle 11g Database installed
SYS or equivalent access to Database to setup schema's via RCU
Running Operating System supporting JDK 7 Update 2 (Check support matrix here)
Good understanding of WebLogic Architecture
Binaries:
Oracle JDK 7 Update 2 (1.7.0_02) (Download)
Oracle WebLogic 10.3.6 (Download)
Oracle WebCenter Binaries (11.1.1.6) (Download)
Oracle WebCenter Content Binaries (11.1.1.6) (Download 1) (Download 2)
Oracle HTTP Services (11.1.1.6) (Download)
Oracle Repository Creation Utility (11.1.1.6) (Download Linux or Windows)
Schema's:
Normal
0
false
false
false
EN-US
X-NONE
X-NONE
MicrosoftInternetExplorer4
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-qformat:yes;
mso-style-parent:"";
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-para-margin:0in;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:"Times New Roman";
mso-fareast-theme-font:minor-fareast;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:"Times New Roman";
mso-bidi-theme-font:minor-bidi;}
MDS - Meta Data Services (WebCenter and OWSM)
WebCenter (WebCenter Schema)
OCS (Oracle WebCenter Content)
Activities (WebCenter Activities)
OPSS (Policy Store for WebCenter)
Installation Structure:
- [Installation Home]/Middleware - Oracle_WC1 (WebCenter Installation) - Oracle_WT1 (Oracle WebTier) - Oracle_ECM (WebCenter Content) - wlserver_10.3 (Weblogic installation)- [Installation Home]/domains - webcenter (WebCenter Domain) - instances (OHS/OPMN instance)- [Installation Home]/applications- [Installation Home]/JDK1.7.0_02
Installation and Configuration Steps:
Install Java and configure Java Home
Extract the Java Installable (jdk-7u2-linux-x64) to [Installation Home]/JDK1.7.0_02
Add JAVA_HOME to Environment Settings (JAVA_HOME=[Installation Home]/JDK1.7.0_02)
Update PATH in Environment Settings (PATH=$JAVA_HOME/bin:$PATH)
Install WebLogic Server (Middleware Home)
Run the installer / execute jar file (java - jar wls1036_generic.jar)
Create the Middleware Home under [Installation Home]/Middleware
Install WebCenter Portal (Extend Middleware Home)
Extract the compressed file (ofm_wc_generic_11.1.1.6.0_disk1_1of1.zip) to a temp folder
Execute runInstaller under folder (DISK1/) with following command (runInstaller -jreLoc $JAVA_HOME)
Make sure to install in following structure ([Installation Home]/Middleware/Oracle_WC1)
Install WebCenter Content (Extend Middleware Home)
Extract the compressed files (ofm_wcc_generic_11.1.1.6.0_disk1_1of2.zip & ofm_wcc_generic_11.1.1.6.0_disk1_2of2.zip) to the same temp folder
Execute runInstaller under folder (DISK1/) with following command (runInstaller -jreLoc $JAVA_HOME)
Make sure to install in following structure ([Installation Home]/Middleware/Oracle_ECM)
Configure Initial Domain (Domain name webcenter)
Execute configuration tool - [Installation Home]/Middleware/wlserver_10.3/common/bin/config
Select "Create a New Weblogic Domain"
Select following template (Basic Weblogic Server Domain, Oracle Enterprise Manager, Oracle WSM Policy Manager, Oracle JRF)
Create new domain with name webcenter under following location ([Installation Home]/domains) for applications ([Installation Home]/applications)
Select Production Mode
Finish Configuration wizard
Setup username for startup scripts - Add a new file called boot.properties to ([Installation Home]/domains/webcenter/servers/AdminServer/security)Add following lines to boot.propertiesusername=weblogicpassword=[password clear text, it will be encrypted during first start]
Start AdminServer in the background ([Installation Home]/domains/webcenter/bin/startWeblogic)
Install and Configure Oracle WebTier (OHS Server)
Extract compressed file (ofm_webtier_linux_11.1.1.6.0_64_disk1_1of1.zip) to a temp folder
Execute runInstaller under folder (DISK1/) with following command (runInstaller)
Select Install & Configure option
Deselect Oracle WebCache
Auto Configure Ports
Configure Schema's with RCU (Repository Creation Utility)
Extract compressed file (ofm_rcu_linux_11.1.1.6.0_disk1_1of1.zip) to a temp folder
Execute rcu with following command ([temp]/rcuHome/rcu)
Make sure database meets RCU requirements, particular (PROCESSES is 200 or more)
Normal
0
false
false
false
EN-US
X-NONE
X-NONE
MicrosoftInternetExplorer4
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-qformat:yes;
mso-style-parent:"";
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-para-margin:0in;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:"Times New Roman";
mso-fareast-theme-font:minor-fareast;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:"Times New Roman";
mso-bidi-theme-font:minor-bidi;}
Using SQLPLUS and sys user tou can update this configuration in the database with following procedure:ALTER SYSTEM SET PROCESSES=200 SCOPE=SPFILE
shutdown immediate
startup
Create and Configure following schemas:MDS - Meta Data Services (WebCenter and OWSM)WebCenter (WebCenter Schema)OCS (Oracle WebCenter Content)Activities (WebCenter Activities)OPSS (Policy Store for WebCenter)
Remember selected schema prefix and password (will be used later)
Configure WebCenter Portal instance (WC_CustomPortal)
Execute following command to start configuration wizard ([Installation Home]/Middleware/Oracle_WC1/common/bin/config)
Select Extend an Existing WebLogic domain
Select the existing webcenter domain ([Installation Home]/domains/webcenter)
Select Extend my domain using existing extension templateBrowse to ([Installation Home]/Middleware/Oracle_WC1/common/templates/applications)Select oracle.wc_custom_portal_template_11.1.1.jar
Select to configure (Managed Servers/Clusters/Machines)
On the Managed Server Screen you can now configure 1 or more WC_CustomPortal managed servers (name them WC_CustomPortal[n] (skip numbering if not clustered))
In case of two WC_CustomPortal Servers then create a Cluster (any name) and make sure the managed servers join the new cluster
Create a new machine with same name as the current machine
Make sure the AdminServer and WC_CustomPortal[n] managed servers joins the machine
Finish the configuration wizard
Stop AdminServer ([Installation Home]/domains/webcenter/bin/stopWeblogic)
Start AdminServer in the background ([Installation Home]/domains/webcenter/bin/startWeblogic)
Start WC_CustomPortal in the foreground (([Installation Home]/domains/webcenter/bin/startManagedServer WC_CustomPortal))- repeat for each WC_CustomPortal instance on the host Give credentials for weblogic user on start up
Copy folder security including file boot.properties - from ([Installation Home]/domains/webcenter/servers/AdminServer/) to ([Installation Home]/domains/webcenter/servers/WC_CustomPortal/) Result should be ([Installation Home]/domains/webcenter/servers/WC_CustomPortal/security/boot.properties)
Configure WebCenter Content instance (UCM_server1)
Execute following command to start configuration wizard ([Installation Home]/Middleware/Oracle_ECM/common/bin/config)
Select Extend an Existing WebLogic domain
Select Oracle Universal Content Management - Content Server
Select to configure (Managed Servers/Clusters/Machines)
On Managed Server Screen create only one managed server instance (UCM_server1 on port 16200 (you can select any other available port))
Make sure the UCM_server1 managed server joins the machine
Finish the configuration wizard
Stop AdminServer ([Installation Home]/domains/webcenter/bin/stopWeblogic)
Start AdminServer in the background ([Installation Home]/domains/webcenter/bin/startWeblogic)
Start UCM_server1 in the foreground ([Installation Home]/domains/webcenter/bin/startManagedServer UCM_server1)Give credentials for weblogic user on start up
Copy folder security including file boot.properties - from ([Installation Home]/domains/webcenter/servers/AdminServer/) to ([Installation Home]/domains/webcenter/servers/UCM_server1/ Result should be ([Installation Home]/domains/webcenter/servers/UCM_server1/security/boot.properties)
Post Configure WebCenter Content instance for WebCenter Portal
Open a browser where you have support for Java applets - navigate to http://host:port/cs
WARNING: The page that you are presented with after authentication will only appear once for each instance
WARNING: Make sure you set correct storage options - also remember to consider file sharing options if you like to cluster your Content Server instance over multiple hosts
Set an appropriate Auto number prefix
Update the Server Socket Port: Commonly set to (4444) used for RIDC communication (a requirement for WebCenter Portal)
Update the IP Address Filter to include the IP that is planned to access the server over RIDC - at the minimum add the ip address of the current host (this option can be updated later via EM)
Stop UCM_server1 ([Installation Home]/domains/webcenter/bin/stopManagedServer UCM_server1)
Start UCM_server1 in the background([Installation Home]/domains/webcenter/bin/startManagedServer UCM_server1)
Open a browser where you have support for Java applets - navigate to http://host:port/cs
Navigate to Administration/Admin Server
Go to General ConfigurationCheck Enable AccountsIn Additional Configuration Variables (Add on two lines)
Normal
0
false
false
false
EN-US
X-NONE
X-NONE
MicrosoftInternetExplorer4
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-qformat:yes;
mso-style-parent:"";
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-para-margin:0in;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:"Times New Roman";
mso-fareast-theme-font:minor-fareast;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:"Times New Roman";
mso-bidi-theme-font:minor-bidi;}
AllowUpdateForGenwww=1CollectionUseCache=1
Save the changes and go to Component Manager
Click on the link advanced component manager
Enable following components
Normal
0
false
false
false
EN-US
X-NONE
X-NONE
MicrosoftInternetExplorer4
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-qformat:yes;
mso-style-parent:"";
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-para-margin:0in;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:"Times New Roman";
mso-fareast-theme-font:minor-fareast;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:"Times New Roman";
mso-bidi-theme-font:minor-bidi;}
Folders_g, WebCenterConfigure, SiteStudio,
SiteStudioExternalApplications, DBSearchContainsOpSupport
WARNING: Make sure that following component is disabled: FrameworkFolders
Stop UCM_server1 ([Installation Home]/domains/webcenter/bin/stopManagedServer UCM_server1)
Start UCM_server1 in the background([Installation Home]/domains/webcenter/bin/startManagedServer UCM_server1)
Open a browser where you have support for Java applets - navigate to http://host:port/cs
Navigate to Administration/Site Studio Administration and update - Do not forget to save and submit each page
Normal
0
false
false
false
EN-US
X-NONE
X-NONE
MicrosoftInternetExplorer4
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-qformat:yes;
mso-style-parent:"";
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-para-margin:0in;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:"Times New Roman";
mso-fareast-theme-font:minor-fareast;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:"Times New Roman";
mso-bidi-theme-font:minor-bidi;}
Set Default ProjectSet Default WebAssets
Post Configure Oracle WebTier (OHS) to include Content Server and WebCenter Portal application context
Update following file - [Installation Home]/domains/instances/instance1/config/OHS/ohs1/mod_wl_ohs.conf
For single add lines from following example: Link
For clustered environment add lines from following template (note the clustering in example on applies to WC_CustomPortal): Link
For more information on this: http://docs.oracle.com/cd/E23943_01/core.1111/e12037/contentsvr.htm#WCEDG318
Optional - Configure JOC
Normal
0
false
false
false
EN-US
X-NONE
X-NONE
MicrosoftInternetExplorer4
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-qformat:yes;
mso-style-parent:"";
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-para-margin:0in;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:"Times New Roman";
mso-fareast-theme-font:minor-fareast;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:"Times New Roman";
mso-bidi-theme-font:minor-bidi;}
Follow instructions:
http://docs.oracle.com/cd/E23943_01/core.1111/e12037/extend_wc.htm#WCEDG264
Optional (Recommended) - Configure Node Manager
Follow instructions:
Normal
0
false
false
false
EN-US
X-NONE
X-NONE
MicrosoftInternetExplorer4
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-qformat:yes;
mso-style-parent:"";
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-para-margin:0in;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:"Times New Roman";
mso-fareast-theme-font:minor-fareast;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:"Times New Roman";
mso-bidi-theme-font:minor-bidi;}
http://docs.oracle.com/cd/E23943_01/core.1111/e12037/node_manager.htm#WCEDG277
Optional (Mandatory for clustered environments) - Re-Associate Policy Store to Database or OID
Follow instructions:
Normal
0
false
false
false
EN-US
X-NONE
X-NONE
MicrosoftInternetExplorer4
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-qformat:yes;
mso-style-parent:"";
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-para-margin:0in;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:"Times New Roman";
mso-fareast-theme-font:minor-fareast;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:"Times New Roman";
mso-bidi-theme-font:minor-bidi;}
http://docs.oracle.com/cd/E23943_01/webcenter.1111/e12405/wcadm_security_credstore.htm#CFHDEDJH
Optional - Configure Coherence for Content Presenter
Follow instructions in Blog Post (This post is for PS4):
https://blogs.oracle.com/ATEAM_WEBCENTER/entry/enabling_coherence_for_content_presenter
Other Recommended Post
Cloning WebCenter Custom Portal - https://blogs.oracle.com/ATEAM_WEBCENTER/entry/cloning_a_webcenter_portal_managedImproving WebCenter Performance through caching - https://blogs.oracle.com/ATEAM_WEBCENTER/entry/improving_webcenter_performance