Skip Headers
Oracle® Collaboration Suite Administrator's Guide
10g Release 1 (10.1.1) for Windows or UNIX

Part Number B14476-03
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Master Index
Master Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
View PDF

7 Managing Oracle Collaboration Suite Infrastructure

The Infrastructure component of Oracle Collaboration Suite is the Oracle Application Server 10g instance(s), which host the centralized databases, and services utilized by most or all of the Oracle Collaboration Suite applications.

These components and databases include:

This chapter describes how to manage various parts of the Oracle Collaboration Suite Infrastructure. You will perform most of these management tasks using Enterprise Manager Application Server Control Console for Oracle Collaboration Suite (OCS Control).

This chapter does not address topics about managing the actual databases that reside on the Infrastructure. For information about managing your Oracle Collaboration Suite databases, see Chapter 6, "Managing Oracle Collaboration Suite Databases".

This chapter contains the following topics:

Setting Up and Enabling Multiple Realms

This section explains how to enable the single sign-on server to support multiple realms within one instance of the Oracle Identity Management infrastructure. You may use different realms, or namespaces, within one instance of the Oracle Identity Management infrastructure to set and store Oracle configuration information unique to different sets of users.

Realm configuration is a three-part process that consists of the following:

This section contains the following topics:

How the Single Sign-On Server Enables Authentication to Multiple Realms

The authentication sequence for single sign-on to multiple realms is much the same as it is for single sign-on in a single, default realm. The only difference from the user's perspective is that, when the user affiliated with the first type of realm is presented with the login screen (see Figure 7-1), he or she must enter not only a user name and password but also a new credential: the realm nickname. The value entered can be case insensitive.

This section covers the following topics:

Locating Realms in Oracle Internet Directory

Once a user has entered his credentials, both his realm nickname and user name are mapped to entries in Oracle Internet Directory. More specifically, the single sign-on server uses directory metadata to find the realm entry in the directory. Once it finds this entry, the single sign-on server uses realm metadata to locate the user. Once the user's entry is found, his password, an attribute of his entry, is validated. And once his password is validated, he is authenticated.

Figure 7-1 The Big Picture: Single Sign-On in Multiple Realms

Description of Figure 7-1 follows
Description of "Figure 7-1 The Big Picture: Single Sign-On in Multiple Realms"

Validating Realm-Affiliated Users to Partner Applications

Presented with two users, both with the same nickname but affiliated with different realms, a partner application requires some mechanism for distinguishing between these users. The application requires such a mechanism because it must be able to adapt content—an OracleAS Portal page with stock news and stock listings, for instance—to match the needs of the realm requesting it. Accordingly, OracleAS release 9.0.4 adds the realm nickname, realm DN, and realm GUID as attributes passed to mod_osso. Recall that mod_osso sets a cookie, storing the retrieved attributes as HTTP headers. When deciding what content to offer up, the application may use function calls to retrieve any one of these attributes from mod_osso headers.

For detailed information about mod_osso headers and the methods used to access them, see the chapter about mod_osso in Oracle Identity Management Application Developer's Guide.

Figure 7-2 shows how applications running in mod_osso see HTTP headers for two users with the same nickname who are affiliated with two different realms. The application uses the headers that appear in bold face to distinguish between the two users. The host, or default realm, in this case is mycompany.com.

Figure 7-2 mod_sso Headers for Users with the Same Name

Description of Figure 7-2 follows
Description of "Figure 7-2 mod_sso Headers for Users with the Same Name"

Configuring the Single Sign-On Server for Multiple Realms

Configuring the single sign-on server for multiple realms involves creating an entry for each realm in the single sign-on schema. Every realm that you create in Oracle Internet Directory must have a corresponding entry in the single sign-on schema.

Note:

  • Create the realm in the directory before creating it in the single sign-on schema.

  • The configuration scripts that follow work only on UNIX platforms. They cannot be run on Windows platforms.

To configure the single sign-on server for multiple realms, complete the steps that follow. Steps 1, 2, and 5 must be completed only once because these steps enable the server for multiple realms. Steps 3 and 4 must be completed each time you add a realm.

  1. Ensure that you have installed the OracleAS infrastructure and the single sign-on server.

  2. Go to ORACLE_HOME/sso/admin/plsql/wwhost.

    Run the enblhstg.csh script using the syntax that follows. See Table 7-1 for an explanation of script parameters:

    enblhstg.csh -mode sso       
                 -sc sso_schema_connect_string
                 -ss orasso
                 -sw sso_schema_password
                 -h oid_host_name
                 -p oid_port
                 -d "cn=orcladmin"
                 -w oid_bind_password
    

    Note:

    If the single sign-on server is part of a distributed deployment, make sure that you run the script on the computer that contains the metadata repository for OracleAS.

    Here is an example:

    enblhstg.csh -mode sso      
                 -sc webdbsvr2:1521:s901dev3
                 -ss orasso
                 -sw xyz
                 -h dlsun670.us.oracle.com
                 -p 389
                 -d "cn=orcladmin"
                 -w welcome123
    
    
  3. Add realms to Oracle Internet Directory:

    1. Login into the Oracle Internet Directory Provisioning Console as the orcladmin super-user:

      http://<fully_qualified_oid_instance>:<port_no>/oiddas
      
      
    2. Click on Realm Management

    3. Enter value for "Realm Management"

    4. Click Submit

  4. Create an entry for the realm in the single sign-on database. Use the script ORACLE_HOME/sso/admin/plsql/wwhost/addsub.csh. Again, if your single sign-on server is part of a distributed deployment, run the script on the computer that contains the metadata repository for OracleAS.

    Use the following syntax to execute the script:

    addsub.csh -name realm_nickname          
               -id realm_ID
               -mode sso
               -sc sso_schema_connect_string
               -ss sso_schema_name
               -sw sso_schema_password
               -h oid_host_name
               -p oid_port
               -d oid_bind_dn
               -w oid_bind_dn_password
               -sp sys_schema_password
    
    

Table 7-1 defines parameters for both enblhstg.csh and addsub.csh.

Table 7-1 Parameters for enblhstg.csh and addsub.csh

Parameter Description
-mode

The value here must be sso.

-sc

The connect string for the single sign-on schema. Use the format host:port:sid.

-ss

The name of the single sign-on schema. This parameter must be orasso.

-sw

The password for the single sign-on schema. See Appendix B to learn how to obtain it.

-h

The host name for the Oracle Internet Directory server.

-p

The port number for the Oracle Internet Directory server.

-d

The bind DN for the Oracle Internet Directory server. The value of this parameter is cn=orcladmin. This is the directory super user.

-w

The password for the Oracle Internet Directory super user, cn=orcladmin.

-name

The realm nickname. This is the value that you enter into the company field on the login page.

-id

The realm ID. Choose an integer greater than 1. The value 1 is reserved for the default realm. The single sign-on server uses realm IDs internally, as an index.

-sp

The sys schema password. This password is chosen during the installation of OracleAS.


Note:

  • When the script asks you about the duplicated subscriber entry, choose the option to use the existing entry.

  • If you are creating a one-level realm, include the parameters -sd default_realm_id and -type db in the script.

  1. Update the sample login page with the multiple realm version of the page. You do this by editing ORACLE_HOME/j2ee/OC4J_SECURITY/applications/sso/web/jsp/login.jsp.

    Note:

    In a distributed deployment, this file is located on the single sign-on Applications tier.

After making a backup copy of the file, search through it for the following string:

<%-- UNCOMMENT THE FOLLOWING BLOCK TO ENABLE MULTI-SUBSCRIBER SUPPORT --%>

Uncomment this section:

<%-- tr valign="middle">
     <td style="padding-top: 10px" align="<%= reverse? "left" : "right" %>">
     <label for="subscribername">
     <%= getString(rb, "login.form.label.subscribername") %>
     </label>
</td>
     <td style="padding-top: 10px">
     <input type="text" name="subscribername" size="40" maxlength="255"
     class="textinput" value="<%= (subscribername != null) ?
     subscribername.trim() : "" %>">
     </td>
</tr --%>

  1. Stop and then start the single sign-on Applications tier:

    ORACLE_HOME/opmn/bin/opmnctl restartproc process-type=HTTP_Server
    ORACLE_HOME/opmn/bin/opmnctl restartproc process-type=OC4J_SECURITY
    

Granting Administrative Privileges for Multiple Realms

Oracle Internet Directory propagates the DIT structure of the default realm across realms when it creates these realms. Note, however, that the users, groups, and privileges that exist in the DIT of the default realm are not propagated. The super user (the oidadmin account) or realm administrator must assign, or reassign, privileges. For more information about assigning privileges, see "Managing User Entries Using the Provisioning Console".

Managing the Oracle Internet Directory Service Registry

The Oracle Internet Directory 10g Service Registry is a new feature of Oracle Collaboration Suite 10g Release 1 (10.1.1). In order to allow the various Oracle Collaboration Suite components to easily locate interfaces (service URIs) of other components, a new directory of services has been created in the Oracle Internet Directory 10g. During the configuration of each Oracle Collaboration Suite component, URIs are recorded in the Service Registry.

Introduction to the Oracle Internet Directory Service Registry

During operation, components automatically check the Service Registry to discover the correct URI for each available service. For example, Oracle Mobile Collaboration checks the Service Registry to discover the URI for Oracle Mail's IMAP server, in order to display new e-mails to a user on a wireless device.

The Service Registry is particularly important to the operation of OracleAS Portal and Oracle Collaborative Portlets. These components make many connections to the various Oracle Collaboration Suite applications in order to populate the portlets with connection URLs and summarized data.

You may need to make changes to the URIs recorded in the Service Registry from time to time. Changes must be made manually when you perform any of the following procedures:

  • Add a load-balancer and additional Applications tier nodes to your Oracle Collaboration Suite configuration

  • Install or configure OracleAS Portal and Oracle Collaborative Portlets on separate Applications tiers

  • Move an Applications tier to a new host computer, give it a new host name, or change ports used

  • Change to Secure Socket Layers (SSL) access to Oracle Collaboration Suite applications

URIs Recorded in the Oracle Internet Directory Service Registry

The Oracle Internet Directory Service Registry stores a variety of information about each configured Oracle Collaboration Suite application. For the purposes of problem solving and handling changes made to Oracle Collaboration Suite applications, the most important information recorded is the set of URIs which are used to communicate between the various applications.

These URIs can be categorized into three broad groups:

  • Browser URLs

  • Web Service URLs

  • Other miscellaneous URIs

Browser URLs are the URLs which are provided as links for users to select, in order to navigate to the various application Web resources.

Web Service URLs are used by the various applications themselves, to query each other for data to present in their own user interfaces. For example, OracleAS Portal makes extensive use of Web Service URLs to present information such as new Oracle Mail messages and upcoming Oracle Calendar events in the Portal page. Oracle Workspaces also makes extensive use of Web Service URLs to aggregate and present resources from different Oracle Collaboration Suite applications together in a single workspace view.

In a load balanced deployment, both Browser and Web Service URIs should be load balanced and must be modified in the Service Registry if you make host or port changes. Only the Browser URIs can be set to use HTTPS (SSL).

Various other URIs are also stored in the Oracle Internet Directory Service Registry, such as the RSS feed URL provided by Oracle Discussions.

Table 7-2, "URIs Recorded in the Oracle Internet Directory Service Registry" shows a comprehensive list of URIs recorded in the Oracle Internet Directory Service Registry. Note that the path of some objects is created based on your database <db> or hostname <host> values.

Table 7-2 URIs Recorded in the Oracle Internet Directory Service Registry

Application Path URI Label URI Type

Calendar

cn=OCAD 24924

labeleduri;adminurl:

Browser


cn=OCAL 78476

labeleduri;appuri:



cn=OCAL 78476

labeleduri;csmuri:



cn=OCAS 90991

labeleduri;syncserversecureurl:

Browser


cn=OCAS 90991

labeleduri;syncserverurl:

Browser


cn=OCAS 90991

labeleduri;webbaseurl:

Browser


cn=OCAS 90991

labeleduri;webserviceurl:

Web Service

CollaborativeWorkspaces

cn=<db>

labeleduri;adminurl:

Browser


cn=<db>

labeleduri;webbaseurl:

Browser


cn=<db>

labeleduri;webui:

Browser

Email

cn=emailadmin

labeleduri;adminurl:

Browser


cn=imap

labeleduri:



cn=smtp

labeleduri:



cn=Webmail

labeleduri;peopleurl:

Browser


cn=Webmail

labeleduri;webbaseurl:

Browser


cn=Webmail

orclraparameter;webbaseurl:

Browser


cn=webservice

labeleduri;webservice:

Web Service

Content Services

cn=FILES

labeleduri;adminurl:

Browser


cn=FILES

labeleduri;s2sauthenticationurl:

Web Service


cn=FILES

labeleduri;webdavurl:

Browser / WebDAV


cn=FILES

labeleduri;webservicesurl:

Web Service

OCSClient

cn=IntegratedClient

labeleduri;baseurl:

Browser


cn=IntegratedClient

labeleduri;popuplibraryurl:

Browser


cn=Search

labeleduri;webbaseurl:

Browser

Portal

cn=ReturnToPortalURL

labeleduri:

Browser

RTC

cn=RTC

labeleduri;adminurl:

Browser


cn=RTC

labeleduri;enduserurl:

Browser


cn=RTC

labeleduri;guesturl:

Browser


cn=RTC

labeleduri;integrationservicehome:

Web Service


cn=RTC

labeleduri:integrationserviceurl:

Web Service

ThreadedDiscussions

cn=Discussions:<db>:<host>

labeleduri;adminurl:

Browser


cn=Discussions:<db>:<host>

labeleduri;rss:

RSS Feed


cn=Discussions:<db>:<host>

labeleduri;webbaseurl:

Browser


cn=Discussions:<db>:<host>

labeleduri;webui:

Browser


cn=Discussions:<db>:<host>

orclassociasinstance:

Other


cn=Discussions:<db>:<host>

orclraparameter:

Other

Wireless

cn=WIRELESS1

labeleduri;adminurl:

Browser


cn=WIRELESS1

labeleduri;calendarnotificationlistenerurl:



cn=WIRELESS1

labeleduri;mobilesetupurl:

Browser


cn=WIRELESS1

labeleduri;presencewebservicesurl:

Web Service


See Also:

For instructions on locating and editing Oracle Internet Directory Service Registry URIs, see "Using Oracle Directory Manager to Edit the Oracle Internet Directory Service Registry"

Using Oracle Directory Manager to Edit the Oracle Internet Directory Service Registry

To edit the Oracle Internet Directory Service Registry using the Oracle Directory Manager:

  1. Start the Oracle Directory Manager:

    Unix:

    ORACLE_HOME/bin/oidadmin
    
    

    Windows:

    Start > Programs > Oracle Application Server > OracleHome >
    Integrated Management Tools >  Oracle Directory Manager
    
    
  2. When you start Oracle Directory Manager, it will prompt you for connection information. Enter the following information to connect to your Oracle Internet Directory, typically hosted in the Oracle Collaboration Suite Database on your Oracle Collaboration Suite Infrastructure:

    Host: <infrahost.yourdomain.com>
    Port: 389
    Username: cn=orcladmin
    Password: <password>
    
    

    Port 389 is the default port used by Oracle Internet Directory. You may be using a different port. If so, enter the correct Oracle Internet Directory port.

    If you have configured your Oracle Internet Directory to be accessed using Secure Socket Layers (SSL), select the SSL Enabled checkbox. Otherwise, leave it blank.

  3. Select Login to log in to the Oracle Internet Directory. When the connection is successful, the Oracle Internet Directory management screen is displayed. See Figure 7-3, "Accessing Oracle Internet Directory with Oracle Directory Manager".

    Figure 7-3 Accessing Oracle Internet Directory with Oracle Directory Manager

    Description of Figure 7-3 follows
    Description of "Figure 7-3 Accessing Oracle Internet Directory with Oracle Directory Manager"

  4. To access the Service Registry, drill down into the Oracle Internet Directory by selecting the following items in the System Objects pane:

    1. Select Entry Management

    2. Select cn=OracleContext

    3. Select cn=Services

    The System Objects pane displays a list of the Oracle Collaboration Suite applications which have entries in the Service Registry. The Properties tab displays the properties of the cn=Services object. See Figure 7-4, "Displaying the Service Registry with Oracle Directory Manager".

    Figure 7-4 Displaying the Service Registry with Oracle Directory Manager

    Description of Figure 7-4 follows
    Description of "Figure 7-4 Displaying the Service Registry with Oracle Directory Manager"

  5. To display URIs stored by each component in the Service Registry, select the component in the System Objects pane. Most components will contain a cn=VirtualServices object; this object contains one or more URIs used by other applications and OracleAS Portal to access that application. Applications store URIs in one or more child objects of the cn=VirtualServices object.

    Note:

    The Oracle Universal Installer seeds the Oracle Internet Directory with objects for every Oracle Collaboration Suite application during installation, even if you do not configure and deploy every application. These unconfigured application entries will not contain child objects of their cn=VirtualServices objects. The child objects, and the URIs they store, are created in the Service Registry by each component's Configuration Assistant when it first runs.

    See Figure 7-5, "Oracle Calendar OCAL Virtual Services Object in the Service Registry" for an example of URIs stored in child objects of the cn=VirtualServices object. For illustrative purposes, the OCAL child object of Oracle Calendar is shown.

    Figure 7-5 Oracle Calendar OCAL Virtual Services Object in the Service Registry

    Description of Figure 7-5 follows
    Description of "Figure 7-5 Oracle Calendar OCAL Virtual Services Object in the Service Registry"

  6. Carefully edit application URIs stored in the Service Registry, according to the specific procedure you are following. For example, if you are creating a load-balanced cluster of Applications tiers for OCAS, edit the OCAS URIs to point to the new virtual host name of the load balancer.

    When you have finished editing the properties of an object, select Apply to save the new values in Oracle Internet Directory. If you decide to reject the changes you have made, select Revert to reset the displayed attributes to those currently stored in the Oracle Internet Directory.

  7. Using opmnctl or Oracle Collaboration Suite Control, restart the Oracle Collaboration Suite Infrastructure and all Oracle Collaboration Suite Applications tiers, to clear caches that may still be storing the old URIs and to load the new URIs you have entered.

    There is no need to restart the Oracle Collaboration Suite Database.