Thursday, February 23, 2012

WebCenter PS5 Installation - Quick guide - Domain creation

Almost there... Now we're going to create the domain.
From the WebCenter Portal Oracle Home, we start the configuration wizard.
In Explorer, navigate to the \common\bin folder and start config.bat

As I said, we are going to create a domain, so we select Create e new WebLogic Domain and click Next on the welcome page.


We want to configure the domain for the use of WebCenter Portal and Webcenter Content.
For Content, we only want to use the content server.
Please check the screen shots for the product I selected fr the domain.



I keep the name of the domain 'in sync' with the name of the Middleware Home directory and the Repository schemas prefix, dev6
Note: I moved the domain location and application location one level up.
It's always wise to keep the domain folders separate from the binaries folder.
I wonder if Oracle will implement this best practice in future releases.
Click Next


Next, enter the admin username and password.
I always use the default password from the integrated WebLogic Server from JDeveloper. It's easier to remember if all are the same... Click Next


I had only one JDK available. Select the JDK or browse to another JDK if available / required.
Click Next.



We now need to enter the database connection details.
The wizard defaults the prefix to DEV and since I selected something else, I need to change all the usernames. If you did select DEV and kept all the passwords the same, you can set the details for all schemas at once.
Select the schemas you want to set properties for, and enter the details in the top part of the screen.
In short, if all passwords are equal, select all schemas and enter the password, service name, hostname and port for all of them at once.
After setting the all, click Next.


Are you sure you entered all details correctly???
The wizard will check them.
If all tests are passed, click Next. Otherwise correct any errors and try again.


I often want to see what is being set up and maybe change something, so I select the Admin Server, Managed Servers and deployments to investigate / change.
Then click Next.


I already have an admin server listening on the default port of 7001. However, I do not want to run both instances at the same time, so I keep the settings for the admin server at default.


Normally for a local installation, with a minimum of resources, I group the WebCenter components and the UCM components into two separate Managed Servers.
For now, just keep the defaults and click Next.


No clustering today, so click Next.


We install everything locally, so we create a machine within the domain with the same name as the physical machine and let the nodemanager listen on localhost port 5556


We link all the managed servers to this machine. In a production environment you'ld create more machines and divide the managed servers between these physical (or virtual) machines.
Select all Managed Servers, click the arrow pointing to the right and click Next


If you decide to minimize the number of managed servers, this is a good place to target the applications and libraries to these servers.
To make the process easy: Create the domain with the default servers and the new consolidated servers.
On this page, target all the libraries and applications targetted to the original server to the consoliated one as well. After the domain is created and the admin server is started, delete the original servers (or don't start them)
For now leave the defaults and click Next.


Same goes for the services. For now click Next.


At the summary page, you can check everything and then click Create.


Wait for the progress bar to reach 100% and click Done.
I prefer to start the admin server directly since we need to do one additional step.


When the admin server is started, navigate to the console at http://localhost:7001/console and login.
On the page select Servers, then go to the tab Control and check the box for UCM_server1. Click the start button


When the server is started, navigate to http://localhost:16200/cs to access the WebCenter Content content server. Login with the weblogic account (with the password supplied earlier)

At the first time the content server is being accessed, some additional configuration must be performed.
See my screen  shot for some pointer.
Click the I icon to see what each setting is for.
Click Send to submit the values.




Now go back to the admin server and start all required managed servers (WC_Spaces and WC_Utilities)
UCM_server1 has to be restarted.
You ready to develop you WebCenter Portal application.
We need to do some setup for the use of WebCenter Portal Spaces.




WebCenter PS5 Installation - Quick guide - Database Repository

Before we can create the domain and run the software, we need to create the required tables in the database.
To do that, we run the Repository Creation Utility, aka RCU

Download the software from Oracle and unzip the file.
In the rcuHome\bin folder, start the rcu.bat
The installer starts and shows a welcome page.
Click Next to proceed to the next step.


We want to create the repository so we select Create and click Next.


Now it gets interesting...
We need to specify the Database details so that the utility can connect to the database, create the tablespaces and the schema's (including tables etc)
You can use my settings as example.
Make sure you use a database user that has SYSDBA privileges. The installation might need these privileges (I know it is required for installing the Portal repository)


As always, a number of prerequisites are checked.
If the check fails, correct the problem and continue. Click OK after the check is completed.


I already have schema's in the database for other releases and therefore created a new prefix, DEV6.
If this is your first install, you can use the default prefix DEV.
If installing for another environment (Production for example) you can create a new one as well (something like PRD)
Also, select the components you'ld like to install.
For this install, select


  • Metadata Services
  • Oracle WebCenter Content Server - Complete
  • Oracle WebCenter Content Server - Search Only (would this be included in the Complete as well???)
  • WebCenter Portal
    • Spaces and Services
    • Portlet Producers
    • Activity Graph and Analytics
    • Discussions



For the components, additional settings might be required, so another prerequisite check is performed.
Click OK if it went without errors, otherwise correct any issues.


For development environments, it's always easy to have the same password for all schema's. In this step you can specify the password for all different database schema's
I select Use same password for all schemas and click Next (after entering the password as well :)


As I selected the Activities and Analytics, the installer wants to know if we want to use Partitioning.
As we will not be entering huge amounts of data, I select N (for No) and click Next.


I'm a huge fan of defaults.
therefore I let the utility determine the tablespaces that need to be created to store the data.
You might change these settings are needed. For production environments for example, you might want to create larger tablespaces.



Yes, we want to create the tablespaces we just defined... Click OK


And the tablespaces get created...


At the summary page, you can see where the different schemas will be created.
If you want, you can still go back, but I click Create.


Again, keep you eye on the progress... It won't take long...


In the completion summary, click Close.

Done!. Another step closer....
With all the software in place and all the schemas in place, we can create the domain.
Before doing that, you might want to consider making a backup. This was the most time consuming part and you don't want to waste all this time installing again....

WebCenter PS5 Installation - Quick guide - WebCenter Content


In the previous step, we installed the WebCenter Portal
To use WebCenter Portal, we could be done.
However, I like to place my content in WebCenter Content and publish my WebContent from there.

Now we're going to install the WebCenter Content software.

Download the software and unzip the file.
Start a command prompt and navigate to the Disk1 folder.
Start the installer by typing setup.exe -jreLoc (see screenshot)




Please read the information on the welcome screen and click Next.




Just as with the WebCenter Portal installation, I assume there are no updates as this Patch Set is just released, so select Skip Software Updates and click Next.




After the prerequisites check, click Next, assuming you had no issues or have fixed any issues.




Just like the WebCenter Portal installation, select the same Oracle Middleware Home where you just installed the WebLogic Server.
Leave or change the Oracle Home Directory to the location you want.




WebLogic Server is installed in the Oracle Middleware Home, so we can not change the Application Server. Click Next.




Check if the summary is correct and click Install.




Watch the progress bar go to 100% to see that the entire process succeeds in almost 12 minutes.
Click Next




At the conclusion page, click Done.





And another component installed.


Before we create the domain, we need to create the schema's in the Database.
So that is our next step.

WebCenter PS5 Installation - Quick guide - WebCenter Portal

In the previous step, we installed the WebLogic Server 10.3.6
Now we're going to install the WebCenter Portal software.

Download the software and unzip the file.
Start a command prompt and navigate to the Disk1 folder.
Start the installer by typing setup.exe -jreLoc (see screenshot)


At the welcome screen, click Next (or in Dutch, volgende)


Since this version is just released, I doubt if there are updates, so select Skip Software Updates and click Next.


Hopefully, the prerequisites get checked fine so you can continue.
If anything is wrong, please correct the issue. Otherwise click Next.



Select the Oracle Middleware Home where you just installed the WebLogic Server.


Of course we use the Weblogic Server, so select WebLogic Server as Application Server and click Next.


At the Installation Summary, click Install


Watch the progress bar getting to 100% in just a few minutes...


After the installation, Click Done.


Done. Another component installed. The installer reports a time spent of 11 minutes.
On to the next component, WebCenter Content.