| Oracle Content Management SDK Installation Guide 10g (9.0.4) Part Number B10689-01 |
|
The instructions in this chapter assume that you have completed all of the pre-installation and configuration tasks described in previous chapters. Topics in this chapter include:
The instructions presume that the Oracle CM SDK Configuration Assistant has successfully completed. You must perform the following task to complete the configuration and start the domain, and to ensure that your system is operational and secure:
These instructions assume that Oracle Application Server and Oracle CM SDK have been installed and configured properly, and that the database and listener are running.
Oracle CM SDK uses the Oracle Application Server Containers for J2EE (OC4J) component of Oracle Application Server to support the DAV Servlet, which is deployed to OC4J automatically at the end of the configuration process.
$ORACLE_HOME/bin/emctl start iasconsole
If your Oracle CM SDK domain comprises multiple physical computers, you must run this emctl start iasconsole command on each computer.
http://<hostname>:<port>
The value for port is specified during Oracle Application Server configuration. This value is typically 1810.
http://<hostname>:<port>/emd/console/targets
If you use this URL, the screen described in step 4 appears.
Enter ias_admin as the user name with the appropriate password for the Oracle Application Server instance. If no Infrastructure has been configured, the Oracle Application Server Home page appears (otherwise, the farm page appears). The name displays as Enterprise Manager. A Targets tab appears in the upper-right area of the screen.
The web page lists the Oracle Application Server components (the Targets) running on the specified host. By default, Oracle Business Components for Java (BC4J), OC4J Demos, Clickstream Collector, and other components are installed on every Oracle Application Server instance, regardless of the installation type and selections you make.
ias_admin/<password>) to continue.
Content Management SDK and the schema for Oracle CM SDK. For example:
Content Management SDK:<CMSDKSchemaName>
Note that although you see Start and Stop buttons on this page, you cannot manage Oracle CM SDK from this page. You must perform the following steps to manage Oracle CM SDK.
root user name and password.
If your domain comprises multiple nodes across multiple computers, repeat this step for each computer. You must enter the OS account name and password on each computer running a node that you want to start.
opmnctl command, located in :
$ORACLE_HOME/opmn/bin/
Use the following command to start the OC4J instance:
opmnctl startproc process-type=OC4J_iFS_cmsdk
The Oracle CM SDK domain starts.
Alternatively, you can use the ifsctl command-line tool to start the Oracle CM SDK domain. You must be logged in as the root user in order to use the ifsctl tool. The tool is located in:
$ORACLE_HOME/ifs/cmsdk/bin/
The syntax is:
ifsctl command start [-v] [-n] [domain]
This launches any local Oracle CM SDK nodes for the specified domain. ("Local nodes" are those configured to run on the computer where ifsctl is invoked.) If the domain controller for the specified domain runs locally, it is also launched. If you omit the domain, the tool launches all local Oracle CM SDK nodes and domain controllers for all domains for which the computer is registered. The command also starts the domain controller if it has been launched (either locally or remotely) but is not yet started.
Specify [domain] in the following format:
ifs://<hostname>:<port>:<service>:<schema>
The -v flag causes ifsctl to generate a log file with additional diagnostic information, located at:
$ORACLE_HOME/ifs/cmsdk/log/ifsctl.log
Starting an Oracle CM SDK domain requires a schema password. If you omit the -n flag, ifsctl prompts for the password. If you include the -n flag, ifsctl runs in non-interactive mode, and does not prompt for the schema password. In this case, ifsctl launches the Oracle CM SDK nodes and domain controllers, but does not start the domain controller.
See the Oracle Content Management SDK Administrator's Guide for more information about starting, stopping, and managing Oracle CM SDK.
Depending on the details of your Oracle CM SDK deployment, you might need to perform the following post-installation tasks. These tasks are not required to configure and run Oracle CM SDK.
See the Oracle Content Management SDK Administrator's Guide for more post-configuration options, including user and folder creation information.
To validate that the domain and nodes have started and that the core Oracle CM SDK components are working, connect to the system from another computer on the network.
If a "503 Service Temporarily Unavailable" message appears when you connect to the Web server (HTTP), the HTTP node of the domain has not been started. Start the HTTP node to continue. See Chapter 6, "Troubleshooting," for more information.
Oracle CM SDK is shipped with a sample Web application that developers can use as a starting point for creating their own custom Web applications. The Web Starter Application runs in its own OC4J instance, called OC4J_iFS_webstarterapp. This OC4J instance is automatically deployed during Oracle CM SDK configuration.
To start and run the Web Starter Application:
opmnctl (located in $ORACLE_HOME/opmn/bin/) to run the following commands:
http://<hostname>:<port>/webstarterapp
The Web Starter Application generates a log file, located at:
$ORACLE_HOME/j2ee/OC4J_iFS_webstarterapp/application-deployments/webstarterapp/
OC4J_iFS_webstarterapp_default_island_1/application.log
You can make the following three configuration changes to the Oracle CM SDK NFS Protocol Server:
In most environments, you should map the UNIX and Oracle CM SDK accounts. The user account map is a domain property, and it can be updated dynamically. You do not need to restart the server to have the mappings take effect. In addition, the changes are persistent, even after the server is restarted.
The Trusted Client List and NIS authentication are NFS server configuration properties.
See Chapter 5, "Client Access Paths and Software," for more information about configuring the NFS protocol.
The Oracle CM SDK NFS Protocol Server uses the UNIX system authentication process to authenticate users. The UNIX UID (user identification) number is passed to the Oracle CM SDK NFS protocol server.
If their UNIX accounts are mapped to Oracle CM SDK accounts, users can log in to the UNIX operating system and access Oracle CM SDK without having to undergo an additional login process.
UNIX-UID to-Oracle CM SDK client mapping is configured in the IFS.DOMAIN.PROTOCOL.NFS.UidToUserMap domain property. You can map UIDs manually, through the Application Server Control, or you can upload UIDs using the Java Bulk NFS Tool.
To map UIDs manually:
http://<hostname>:<port>
The value for port is specified during Oracle Application Server configuration. This value is typically 1810.
ias_admin as the username with the appropriate password for the Oracle Application Server instance.
The Oracle Application Server Home page appears, listing all of the components running on the application server instance, including the Oracle CM SDK domain.
IFS.DOMAIN.PROTOCOL.NFS.UidToUserMap. The property might be located on a second or subsequent page.
IFS.DOMAIN.PROTOCOL.NFS.UidToUserMap. The Edit page appears.
By default, the UID 60001 (the default UNIX guest account) is listed on the page.
Unlike other domain properties, changes to this domain property are updated dynamically, so you need not restart the domain. In addition, these changes persist after the domain is restarted.
To map UIDs using the Bulk NFS Tool:
CLASSPATH includes cmsdk.jar.
This file is located in the $ORACLE_HOME/ifs/cmsdk/lib directory.
java oracle.ifs.protocols.nfs.tools.UidLoader SmallServiceConfiguration system <cmsdk_system_user_password> uidfile=$IFSROOT/test/common/sosd/UidToName
Where UidToName is a flat file you have created with entries of type:
<cmsdk_user>:x:<uid on client>
For example:
jsmith:x:44610
ifs://<hostname>:<port>:<service>:<schema>
You can create a list of trusted clients for Oracle CM SDK to enhance security. Oracle recommends that you change these settings in the Configuration Object and then load the server on the service using the modified configuration object so that the client list is used after a restart. Optionally, you can modify these properties dynamically.
http://<hostname>:<port>
The value for port is the value specified during Oracle Application Server configuration.
ias_admin as the username with the appropriate password for the Oracle Application Server instance.
The Oracle Application Server Home page appears, listing all of the components running on the application server instance, including the Oracle CM SDK domain.
NfsServerConfiguration.
NfsServerConfiguration. The Edit page appears.
IFS.SERVER.PROTOCOL.NFS.TrustedClientList and the IFS.SERVER.PROTOCOL.NFS.TrustedClientsEnabled properties. The properties might be located on a second or subsequent page.
IFS.SERVER.PROTOCOL.NFS.TrustedClientsEnabled property and click Edit. The Edit Property page appears.
IFS.SERVER.PROTOCOL.NFS.TrustedClientList property and click Edit. Specify each entry in one of the following formats:
smith.oracle.com or 130.35.59.9.
.us.oracle.com.
@) character followed by an IP address, with an optional subnet bit length (/n) specifying the number of significant bits in the subnet address. You can omit low order zero bytes of the subnet address. For example, @130.35.68.0, @130.35.68 or @130.35.68.0/24.
If an entry is preceded by a hyphen, then that specific client will be denied access through the Oracle CM SDK NFS server.
After modifying the NfsServerConfiguration object, you must reload the modified configuration object and restart the service:
NIS (Network Information System) is a centralized management facility that consolidates UNIX password, group, and host file information. It is a distributed database of information that is easier to maintain than individual files (/etc/group, /etc/passwd, /etc/hosts) in large UNIX networks.
http://<hostname>:<port>
The value for port is specified during Oracle Application Server configuration. This value is typically 1810.
ias_admin as the username with the appropriate password for the Oracle Application Server instance.
The Oracle Application Server Home page appears, listing all of the components running on the application server instance, including the Oracle CM SDK domain.
NfsServerConfiguration.
NfsServerConfiguration. The Edit page appears.
IFS.SERVER.PROTOCOL.NFS.NISEnabled and IFS.SERVER.PROTOCOL.NFS.NISServiceProvider properties.
IFS.SERVER.PROTOCOL.NFS.NISEnabled property and click Edit. The Edit Property page appears.
IFS.SERVER.PROTOCOL.NFS.NISServiceProvider property and click Edit.
After modifying the NfsServerConfiguration object, you must restart the node.
The Node status changes to a green checkmark icon, indicating that the node is up.
The following tasks are required after configuring Oracle CM SDK if you are using Oracle CM SDK with an Oracle RAC database.
In addition to the required preconfiguration tasks for setting up Oracle CM SDK to use a RAC database (see "Set Up Oracle CM SDK to Use Real Applications Clusters Database (Optional)"), you must perform the following post-configuration steps:
registry.xml file (located in the $ORACLE_HOME/ifs/common/ directory) to add a DatabaseUrl entry.
You can add the DatabaseUrl entry anywhere under the <Instance> tag. In the following example, the entry is added directly under the tag. Note that the value for tnsentry should be the same as that specified in the RAC pre-configuration steps.
For example:
<Instance>
<DatabaseUrl>jdbc:oracle:oci8:@my_tnsentry</DatabaseUrl>
<Domain>ifs://DBHOME:1521:dbservice:ifssys</Domain>
<DomainType>files</DomainType>
<Registered>1018925008096</Registered>
<LastModified>1028330926700</LastModified>
<LastStarted>1028329087966</LastStarted>
<Ports></Ports>
</Instance>
IFS.SERVICE.JDBC.DatabaseUrl Service Configuration Property in the Service Configuration used for the system. This property should be set to the same value specified in the DatabaseUrl specified in step 1:
jdbc:oracle:oci8:@<tnsentry>
You can view Service Configuration Properties through Oracle Enterprise Manager by navigating to http://<hostname>:<port> (where hostname is the computer where the Oracle CM SDK domain controller is configured, and port is the value specified during Oracle Application Server configuration, typically 1810).
The property that shows your default service configuration is:
IFS.DOMAIN.LIBRARYOBJECT.SERVICECONFIGURATION.DefaultServiceConfiguration
Your default service configuration is one of the following:
|
|
![]() Copyright © 1999, 2003 Oracle Corporation. All Rights Reserved. |
|