Skip Headers
Oracle® Content Database Administrator's Guide for Oracle WebCenter Suite
10g (10.1.3.2)

Part Number B32191-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Feedback page
Contact Us

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

7 Managing Oracle Content DB Processes

You can use the Application Server Control to manage Oracle Content DB processes, including starting and stopping servers and managing nodes. You can also manage Oracle Content DB domain and node processes from the command line using the opmnctl utility. To manage Oracle Content DB using the Application Server Control or opmnctl, OPMN must be started on all middle tiers.

This chapter provides information about the following topics:

About the Oracle Content DB Domain

An Oracle Content DB domain is a logical grouping of Oracle Content DB nodes and an Oracle Database instance that contains the Oracle Content DB data.

The Oracle Content DB software runs as a set of middle tier processes, called node. Oracle Content DB node processes manage one or more services, agents, and protocol servers.

Each node runs on a particular middle tier, or in other words, within a particular Oracle home. You can have multiple middle tiers on the same computer.

Each node runs as part of an OC4J process. On each middle tier, the OC4J instance for the Oracle Content DB node is OC4J_Content. You cannot have more than one node on a single middle tier.

Starting and Stopping the Oracle Content DB Domain

You can start and stop the domain using the Application Server Control. Even if your domain is distributed across multiple middle tiers, you can start and stop the domain from a single middle tier.

The steps described in the following sections assume that all Oracle Application Server instances for Oracle Content DB are part of the same cluster. See Oracle Application Server Administrator's Guide for information about how to configure OracleAS Clusters.

Starting the Domain

To start the Oracle Content DB domain from any middle tier:

  1. Access the Application Server Control.

  2. On the Cluster Topology page, in the Members table, select all Oracle Content DB processes (OC4J_Content instances) across all middle tiers. If you only have one middle tier, you only need to select one OC4J_Content process.

    Figure 7-1 shows the Cluster Topology page.

    Figure 7-1 Cluster Topology Page

    Description of Figure 7-1 follows
    Description of "Figure 7-1 Cluster Topology Page"

  3. Click Start. The entire Oracle Content DB domain is started across all middle tiers.


Note:

Oracle HTTP Server (HTTP_Server) must also be running on each middle tier for Oracle Content DB to function properly.

Restarting the Domain

To restart the Oracle Content DB domain from any middle tier:

  1. Access the Application Server Control.

  2. On the Cluster Topology page, in the Members table, select all Oracle Content DB processes (OC4J_Content instances) across all middle tiers.

  3. Click Restart, then on the Confirmation page, click Yes. Only those processes that are running are affected. Processes that are not running will not be started.

Stopping the Domain

To stop the Oracle Content DB domain from any middle tier:

  1. Access the Application Server Control.

  2. On the Cluster Topology page, in the Members table, select all Oracle Content DB processes (OC4J_Content instances) across all middle tiers.

  3. Click Stop, then on the Confirmation page, click Yes. The entire Oracle Content DB domain is stopped across all middle tiers.


    Note:

    If you are performing scheduled maintenance and want to stop one middle tier at a time, you can start and stop individual node processes. See "Starting, Stopping, and Restarting OC4J_Content Instances" for more information.

Managing Nodes at Run Time

You can use the Application Server Control to start, stop, and restart nodes (OC4J_Content instances), as well as modify run-time node properties.

You can also use the opmnctl utility to start, stop, and restart nodes, as well as check node status; see "Managing Oracle Content DB from the Command Line" for more information.

This section contains the following topics:

Starting, Stopping, and Restarting OC4J_Content Instances

You can start, stop, and restart OC4J_Content instances (in other words, Oracle Content DB node) using the Application Server Control. Even if you have multiple middle tiers, you can start, stop, and restart OC4J_Content instances from a single middle tier, regardless of where the OC4J_Content instances are located.

If an OC4J_Content instance fails to start, stop, or restart, check the logs for more information. Click Logs in the upper right corner of any Application Server Control page to search for and view the application.log file for the OC4J_Content instance.

Starting OC4J_Content Instances

To start an OC4J_Content instance using the Application Server Control:

  1. On the Cluster Topology page, in the Members table, select the OC4J_Content instance you want to start.

  2. Click Start. The Status column displays a green arrow pointing up, indicating that the OC4J_Content instance is up.

Stopping OC4J_Content Instances

To stop an OC4J_Content instance using the Application Server Control:

  1. On the Cluster Topology page, in the Members table, select the OC4J_Content instance you want to stop.

  2. Click Stop.

  3. On the Confirmation page, click Yes. The Status column displays a red arrow pointing down, indicating that the OC4J_Content instance is down.

Restarting OC4J_Content Instances

You can only restart OC4J_Content instances that are already started.

To restart an OC4J_Content instance using the Application Server Control:

  1. On the Cluster Topology page, in the Members table, select the OC4J_Content instance you want to restart.

  2. Click Restart.

  3. On the Confirmation page, click Yes. The OC4J_Content instance is stopped, then started again.

Modifying Nodes at Run Time

You can make run-time changes to nodes, such as changing the service used by the node or changing servers. Changes made at run time are lost when the node is restarted. If you want to make permanent changes, modify the node configuration for the node and then restart the node.

To modify a node at run time using the Application Server Control:

  1. Connect to the Application Server Control and go to the Content DB Home page. See "Accessing the Oracle Content DB Home Page" for information about how to do this.

  2. In the Services section, you can create, modify, or delete services for this node. See "Managing Services at Run Time" for more information.

  3. In the Servers section, you can create, modify, or delete servers for this node. See "Managing Servers at Run Time" for more information.

Managing Services at Run Time

You can use the Application Server Control to create or delete service for a particular node. When you create a service, you specify what service configuration object provides its properties.

You can make temporary (run-time) changes to a service by modifying the service from the Content DB Home page. You can also dynamically configure the Committed Data Cache, Read-only Connection Pool, and the Writeable Connection Pool while the service runs. Changes made to services at run time are lost when the node is restarted.

You can also make permanent changes to a service by modifying its service configuration; see "Managing Service Configurations" for more information.

This section contains the following topics:

Creating Services

You can create services for a particular node by modifying the node at run time, or by modifying the appropriate node configuration. You can also create services when you create node configurations.

Creating Services at Run Time

To create a service by modifying the node at run time:

  1. Connect to the Application Server Control and go to the Content DB Home page. See "Accessing the Oracle Content DB Home Page" for information about how to do this.

  2. On the Content DB Home page, in the Services section, click Create.

  3. On the Create Service page, enter a name for the service. It must be unique within the node. Service names are not case-sensitive.

  4. Choose a Service Configuration on which to base this service.

  5. Click OK on the Create Service page.

These changes will be lost when the node is restarted.

Permanently Adding Services to a Node

To permanently add a service to a node by modifying its node configuration:

  1. Connect to the Application Server Control and go to the Content DB Home page. See "Accessing the Oracle Content DB Home Page" for information about how to do this.

  2. On the Content DB Home page, click the Administration tab.

  3. In the Node Configurations table row, click the Go to Task icon.

  4. Click the name of the node configuration for which you want to add a service.

  5. In the Services section, click Add.

  6. On the Add Service page, enter a name for the service. It must be unique within the node. Service names are not case-sensitive.

  7. Select a Service Configuration on which to base this service.

  8. Select Active if you want this service to be automatically started by the node.

  9. Click OK on the Add Service page.

  10. Click OK on the Edit Node page.

Changes take effect when the node is restarted.

Modifying Run-Time Service Parameters

You can make run-time changes to services, such as limiting concurrent sessions or choosing whether or not to accept new sessions. Changes you make at run time are lost when the node is restarted. To make permanent changes to a service, edit the service configuration directly. See "Modifying Service Configurations" for more information.

To modify run-time service parameters:

  1. Connect to the Application Server Control and go to the Content DB Home page. See "Accessing the Oracle Content DB Home Page" for information about how to do this.

  2. On the Content DB Home page, in the Services section, click the name of the service you want to modify.

  3. Click the Administration tab.

  4. In the Service Properties table row, click the Go to Task icon.

  5. You can change the following properties:

    • Concurrent Sessions: You can have an unlimited number of concurrent sessions, or you can limit concurrent sessions to a specified number. If you have an unlimited number of concurrent sessions, you may run out of memory. See "Oracle Content DB Sizing Guidelines" for more information.

    • Accepting New Sessions: Select this option if you want the service to accept additional sessions.

    • Disposed on Last Disconnected Session: Select this option if you want the service to shut down automatically when the last session is disconnected.

  6. Click Apply to save your changes.

  7. Use the locator links to return to the Content DB Home page.

These changes will be lost when the node is restarted.

Changing the Service Configuration Used by the Service

You can change the service configuration for a particular service from the Edit Node Configuration page:

  1. Connect to the Application Server Control and go to the Content DB Home page. See "Accessing the Oracle Content DB Home Page" for information about how to do this.

  2. On the Content DB Home page, click the Administration tab.

  3. In the Node Configurations table row, click the Go to Task icon.

  4. On the Node Configurations page, click the name of the node configuration that uses the service you want to modify.

  5. In the Services section, click the name of the service you want to change.

  6. Select a new service configuration from the Configuration list and click OK.

  7. On the Edit Node page, click OK.

Changes take effect when the node is restarted.

Managing the Committed Data Cache

The Committed Data Cache provides caching of the attribute values of frequently used objects without a database request, improving performance and scalability. Least recently used data is periodically purged from the cache. Each service has its own Committed Data Cache.

You can make run-time changes to the Committed Data Cache properties for a service using the Application Server Control. You can also view Committed Data Cache statistics for a service. See "Monitoring Service Performance" for information about viewing or resetting the statistics.

See "Oracle Content DB Sizing Guidelines" for more information about cache settings.

Making Run-Time Changes to Committed Data Cache Properties

To make run-time changes to Committed Data Cache properties:

  1. Connect to the Application Server Control and go to the Content DB Home page. See "Accessing the Oracle Content DB Home Page" for information about how to do this.

  2. On the Content DB Home page, click the name of the service you want to modify.

  3. Click the Administration tab.

  4. In the Data Cache table row, click the Go to Task icon.

    Figure 7-2 shows the Committed Data Cache Administration page.

    Figure 7-2 Committed Data Cache Administration Page

    Description of Figure 7-2 follows
    Description of "Figure 7-2 Committed Data Cache Administration Page"

  5. You can change the following cache settings:

    • Cache Capacity: The absolute maximum size of the data cache of the service, in LibraryObjects. (The LibraryObject class is the base class for all persistent Oracle Content DB objects.) The service data cache holds the attribute values of recently used LibraryObjects.

      After you specify Cache Capacity, you can click Calculate to automatically fill in the values for the other parameters based on the capacity you specified.

    • Normal Purge Trigger: The cache size, in LibraryObjects, at which the service data cache schedules a low-priority purge of data that has not been recently used.

    • Urgent Purge Trigger: The cache size, in LibraryObjects, at which the service data cache schedules a high-priority purge of data that has not been recently used. The value must be greater than the Normal Purge Trigger value.

    • Emergency Purge Trigger: The cache size, in LibraryObjects, at which the service data cache performs an immediate purge of data that has not been recently used. The value must be greater than the Urgent Purge Trigger value, but less than the Cache Capacity value.

    • Purge Target: The target cache size, in LibraryObjects, upon completion of a purge cycle. The value must be less than the Normal Purge Trigger value.

  6. Click Apply after you are finished specifying cache settings.

Changes you make at run time are lost when the node is restarted. To make permanent changes to Committed Data Cache properties, edit the service configuration directly. See "Modifying Service Configurations" for more information.

Table 7-1 maps the properties on the Committed Data Cache Administration page with their service configuration parameter equivalents.

Table 7-1 Committed Data Cache Service Configuration Properties

Property Service Configuration Parameter Equivalent

Cache Capacity

IFS.SERVICE.DATACACHE.Size

Normal Purge Trigger

IFS.SERVICE.DATACACHE.NormalTrigger

Urgent Purge Trigger

IFS.SERVICE.DATACACHE.UrgentTrigger

Emergency Purge Trigger

IFS.SERVICE.DATACACHE.EmergencyTrigger

Purge Target

IFS.SERVICE.DATACACHE.PurgeTarget


Managing the Connection Pools

There are two connection pools used by each service: the Read-Only Connection Pool and the Writable Connection Pool. The Read-Only Connection Pool is a set of database connections shared by the sessions to perform database read operations. The Writeable Connection Pool is a set of database connections shared by the sessions to perform database read and write operations within a database transaction.

A minimum number of connections are created in each pool when the service is started. Depending on the number of concurrent operations performed by the sessions, and the type of operations, additional connections may be added to each pool up to a specified maximum.

You can make run-time changes to the Connection Pool properties for a particular service using the Application Server Control. You can also view Read-Only and Writeable Connection Pool statistics for a particular service. See "Monitoring Service Performance" for information about viewing or resetting the statistics.

See "Oracle Content DB Sizing Guidelines" for more information about connection pool settings.

About the Statement Cache

To improve performance, Oracle Content DB reuses Oracle prepared statements (objects used to query and update the database) when possible. Because Oracle Content DB stores statements in the statement cache, similar queries can reuse existing statements. Least recently used statements are purged when the number of statements in the cache equals the Statement Cache Purge Trigger value.

You can manage statement cache settings from the Connection Pool Administration page. You can also view statement cache statistics (number of attempted purges and purge count) on the Connection Pool Statistics page. See "Monitoring Service Performance" for more information.

Making Run-Time Changes to Connection Pool Properties

To make run-time changes to Connection Pool properties:

  1. Connect to the Application Server Control and go to the Content DB Home page. See "Accessing the Oracle Content DB Home Page" for information about how to do this.

  2. On the Content DB Home page, click the name of the service you want to modify.

  3. Click the Administration tab.

  4. In the Read-Only Connection Pool or Writable Connection Pool table row, click the Go to Task icon.

    Figure 7-3 shows the Read-Only Connection Pool Administration page.

    Figure 7-3 Read-Only Connection Pool Administration Page

    Description of Figure 7-3 follows
    Description of "Figure 7-3 Read-Only Connection Pool Administration Page"

    Figure 7-4 shows the Writable Connection Pool Administration page.

    Figure 7-4 Writable Connection Pool Administration Page

    Description of Figure 7-4 follows
    Description of "Figure 7-4 Writable Connection Pool Administration Page"

  5. On the Read-Only Connection Pool Administration page or Writable Connection Pool Administration page, you can change the following settings:

    • Minimum Number of Connections: The initial number of database connections in the connection pool.

      If you change this property, ensure the value you specify is greater than the current size for this connection pool. You can view the current connection pool size from the Performance tab for the service. See "Monitoring Service Performance" for more information.

    • Target Maximum Number of Connections: The target maximum number of database connections in the connection pool. The value must be greater than or equal to the Minimum Number of Connections value.

    • Absolute Maximum Number of Connections: The absolute maximum number of database connections in the connection pool. The value must be greater than or equal to the Target Maximum Number of Connections value.

    • Statement Cache Purge Target: The target cache size, in number of statements, for the statement cache upon completion of a purge cycle. The value must be less than the Statement Cache Purge Trigger value.

    • Statement Cache Purge Trigger: The cache size, in number of statements, at which the statement cache schedules a purge.

    • Target Size Timeout: The maximum period, in milliseconds, that the service will postpone a connection allocation request when there are no unallocated connections, when the current size of the connection pool is greater than or equal to its target size but less than the maximum size. If a database connection does not become available within this period, a new connection will be created.

    • Maximum Size Timeout: The maximum period, in milliseconds, that a service will postpone a connection allocation request when there are no unallocated connections, when the current size of the connection pool is equal to its maximum size. If a database connection does not become available within this period, the allocation request will fail, and an exception will occur.

  6. Click Apply after you are finished specifying connection pool settings.

Changes you make at run time are lost when the node is restarted. To make permanent changes to Connection Pool properties, edit the service configuration directly. See "Modifying Service Configurations" for more information.

Table 7-2 maps the properties on the Read-Only Connection Pool Administration page and Writable Connection Pool Administration page with their service configuration parameter equivalents.

Table 7-2 Connection Pool Service Configuration Properties

Property Service Configuration Parameter Equivalent

Minimum Number of Connections

IFS.SERVICE.CONNECTIONPOOL.READONLY.MinimumSize

IFS.SERVICE.CONNECTIONPOOL.WRITEABLE.MinimumSize

Target Maximum Number of Connections

IFS.SERVICE.CONNECTIONPOOL.READONLY.TargetSize

IFS.SERVICE.CONNECTIONPOOL.WRITEABLE.TargetSize

Absolute Maximum Number of Connections

IFS.SERVICE.CONNECTIONPOOL.READONLY.MaximumSize

IFS.SERVICE.CONNECTIONPOOL.WRITEABLE.MaximumSize

Statement Cache Purge Target

IFS.SERVICE.CONNECTIONPOOL.READONLY.Statement CacheTarget

IFS.SERVICE.CONNECTIONPOOL.WRITEABLE.Statement CacheTarget

Statement Cache Purge Trigger

IFS.SERVICE.CONNECTIONPOOL.READONLY.Statement CacheSizeTrigger

IFS.SERVICE.CONNECTIONPOOL.WRITEABLE.Statement CacheSizeTrigger

Target Size Timeout

IFS.SERVICE.CONNECTIONPOOL.READONLY.TargetSize Timeout

IFS.SERVICE.CONNECTIONPOOL.WRITEABLE.TargetSize Timeout

Maximum Size Timeout

IFS.SERVICE.CONNECTIONPOOL.WRITEABLE.MaximumSize Timeout

IFS.SERVICE.CONNECTIONPOOL.WRITEABLE.MaximumSize Timeout


Deleting Services

You can delete services for a node by modifying the node at run time, or by modifying the appropriate node configuration.

If you delete a service with active sessions, and if there are data transfers in progress over those sessions, data may be lost when you delete the service. In addition, any servers using this service will stop accepting new requests.

Deleting Services at Run Time

To delete a service by modifying the node at run time:

  1. Connect to the Application Server Control and go to the Content DB Home page. See "Accessing the Oracle Content DB Home Page" for information about how to do this.

  2. On the Content DB Home page, in the Services section, select the service you want to delete and click Delete. Each node must have one active service.

  3. On the Confirmation page, click Yes.

If you delete a service at run time that is defined in the node configuration, the service will reappear on the node when the node is restarted. To permanently delete the service, you must remove it from the node configuration, as described in the following section.

Permanently Removing Services from a Node

To permanently remove a service from a node by modifying its node configuration:

  1. Connect to the Application Server Control and go to the Content DB Home page. See "Accessing the Oracle Content DB Home Page" for information about how to do this.

  2. On the Content DB Home page, click the Administration tab.

  3. In the Node Configurations table row, click the Go to Task icon.

  4. On the Node Configurations page, click the name of the node configuration that uses the service you want to remove.

  5. In the Services section, select the service you want to remove and click Remove.

    You cannot remove a service if it is the only service defined in the node configuration. Each node must have at least one active service.

  6. Click OK.

Changes take effect when the node is restarted.

Managing Servers at Run Time

You can use the Application Server Control to create or delete server for a particular node. When you create a server, you specify what server configuration object provides its properties.

You can make temporary (run-time) changes to a server by modifying the server from the Content DB Home page. Changes made to servers at run time are lost when the node is restarted.

You can also make permanent changes to a server by modifying its server configuration. See "Managing Server Configurations" for more information.

This section contains the following topics:

Creating Servers

You can create servers for a particular node by modifying the node at run time, or by modifying the appropriate node configuration. You can also create servers when you create node configurations.

Creating Servers at Run Time

To create a server by modifying the node at run time:

  1. Connect to the Application Server Control and go to the Content DB Home page. See "Accessing the Oracle Content DB Home Page" for information about how to do this.

  2. On the Content DB Home page, in the Servers section, click Create.

  3. On the Create Server page, enter a name for the server. It must be unique within the node.

  4. Select a Service Name to support this server.

  5. Select a Server Configuration on which to base this server.

  6. If you want this server to be started after it has been created, ensure that Start the server after it has been created is selected. Otherwise, deselect this option.

  7. Click OK.

These changes will be lost when the node is restarted.

Permanently Adding Servers to a Node

To permanently add a server to a node by modifying its node configuration:

  1. Connect to the Application Server Control and go to the Content DB Home page. See "Accessing the Oracle Content DB Home Page" for information about how to do this.

  2. On the Content DB Home page, click the Administration tab.

  3. In the Node Configurations table row, click the Go to Task icon.

  4. Click the name of the node configuration for which you want to add a server.

  5. In the Servers section, click Add.

  6. On the Add Server page, enter a name for the server. It must be unique within the node.

  7. Select a Server Configuration on which to base this service.

  8. Select a Service to support this server.

  9. For Initial Priority, select the Java thread priority of the server.

  10. Select Active to deploy this server on the node at run time. If you do not select this option, this server will not appear in the Servers list on the Node page.

  11. Select Initially Started if you want this server to be automatically started by the node. You should only select this option for active nodes.

  12. Click OK.

  13. On the Edit Node page, click OK.

Changes take effect when the node is restarted.

Starting, Stopping, Restarting, Suspending, and Resuming Servers

Which servers and agents start up with the node are defined in the node configuration. Any servers and agents marked "Active" and "Initially Started" in the node configuration are started automatically when you start the domain.

You can also manually start, stop, restart, suspend, and resume servers from the Content DB Home page for a particular node. The Create, Delete, and Reload buttons are discussed in separate sections.

To manage servers from the Content DB Home page for a particular node:

  1. Connect to the Application Server Control and go to the Content DB Home page. See "Accessing the Oracle Content DB Home Page" for information about how to do this.

    Figure 7-5 shows the Servers section of the Content DB Home page.

    Figure 7-5 Servers Section of Content DB Home Page

    Description of Figure 7-5 follows
    Description of "Figure 7-5 Servers Section of Content DB Home Page"

  2. On the Content DB Home page, in the Servers section, there is a list of all servers for this OC4J_Content instance. Check the Status column to see whether a particular server is started, stopped, starting, stopping, or suspended. Use the following buttons to manage servers:

    • Start: Use this option to start a server that is not running.

    • Stop: Use this option to stop a server that is running or suspended.

    • Restart: Use this option to stop and then start a server that is running. This option does not refresh the server configuration information.

    • Suspend: Use this option to suspend a server that is running.

    • Resume: Use this option to resume a server that is suspended.

      The Suspend and Resume functions are not available for all protocol servers.

If a server fails to start, check for errors in the application.log file for the OC4J_Content instance.

Ensuring Servers Are Started When the Node Is Started

Which servers and agents start with the node are defined in the node configuration. Servers and agents marked Active and Initially Started in the node configuration are started automatically when you start the domain.

To ensure that a particular server starts when the node restarts, you must modify the node configuration for the node where the server is running:

  1. Connect to the Application Server Control and go to the Content DB Home page. See "Accessing the Oracle Content DB Home Page" for information about how to do this.

  2. On the Content DB Home page, click the Administration tab.

  3. In the Node Configurations table row, click the Go to Task icon.

  4. Click the name of the node configuration you want to modify.

  5. In the Servers section, select the server you want to change and click Edit.

  6. Select Initially Started.

  7. Click OK.

  8. On the Edit Node page, click OK.

Modifying Run-Time Server Parameters

You can make run-time changes to servers, such as changing the Java thread priority of the server or changing run-time server properties. Changes you make at run time are lost when the node is restarted or when the server is reloaded. To make permanent changes to a server, edit the server configuration directly. See "Modifying Server Configurations" for more information.

To modify run-time server parameters:

  1. Connect to the Application Server Control and go to the Content DB Home page. See "Accessing the Oracle Content DB Home Page" for information about how to do this.

  2. On the Content DB Home page, in the Servers section, click the name of the server you want to modify.

  3. In the General section, click Change Priority to change the Java thread priority of the server. On the Change Priority page, select a new priority and click OK. Most servers and agents let you change the Java thread priority at run time, but a few servers do not provide this option.

  4. The run-time properties for the server are displayed in the Runtime Properties section. Properties that can be modified at run time are displayed as links. Click the name of a property to update it. Some run-time properties can only be modified when the server is stopped.

  5. Use the locator links to return to the Content DB Home page.

These changes will be lost when the server is reloaded or when the node is restarted.

Changing the Server Configuration Used by the Server

To change the configuration used by a server, delete the existing server and then create a new server from the Content DB Home page. Alternatively, you can change the configuration for a server from the Edit Node Configuration page:

  1. Connect to the Application Server Control and go to the Content DB Home page. See "Accessing the Oracle Content DB Home Page" for information about how to do this.

  2. On the Content DB Home page, click the Administration tab.

  3. In the Node Configurations table row, click the Go to Task icon.

  4. Click the name of the node configuration that contains the server you want to modify.

  5. In the Servers section, select the server you want to change and click Edit.

  6. Select a new server configuration from the Configuration drop-down list.

  7. Click OK.

  8. On the Edit Node page, click OK.

Changes take effect when the server is reloaded or when the node is restarted.

Reloading Servers

If you modify a server configuration, you need to reload the server before the changes take effect. Restarting a server and reloading a server are different functions:

  • Restart stops and then starts the server. You can only restart servers that are started. Restarting the server will not pick up changes to server configuration properties.

  • Reload does the following:

    • Stops the server, if it is not stopped already.

    • Deletes the server.

    • Creates a new instance of the server, picking up any changes to the server configuration properties.

    • Returns the server to the state it was in when you clicked Reload (stopped, running, or suspended).

Both restarting and reloading a server will disconnect any users connected to that server.

To reload a server:

  1. Connect to the Application Server Control and go to the Content DB Home page. See "Accessing the Oracle Content DB Home Page" for information about how to do this.

  2. On the Content DB Home page, in the Servers section, select the server you want to reload (for example, EcmHttpServer).

  3. Click Reload, then click Yes on the Confirmation page. The server picks up the new server properties.

Deleting Servers

You can delete servers from a node by modifying the node at run time, or by modifying the appropriate node configuration.

Deleting Servers at Run Time

To delete a server by modifying the node at run time:

  1. Connect to the Application Server Control and go to the Content DB Home page. See "Accessing the Oracle Content DB Home Page" for information about how to do this.

  2. On the Content DB Home page, in the Servers section, select the server you want to delete and click Stop, if it is not stopped already. You cannot delete a server that is running or suspended.

  3. Select the server again and click Delete.

  4. On the Confirmation page, click Yes. The server still appears in the server list, but the following message is displayed: "This server is configured but not loaded now."

If you delete a server at run time that is defined in the node configuration, the server will reappear on the node when the node is restarted. To permanently delete the server, you must remove it from the node configuration, as described in the following section.

Permanently Removing Servers from a Node

To permanently remove a server from a node by modifying its node configuration:

  1. Connect to the Application Server Control and go to the Content DB Home page. See "Accessing the Oracle Content DB Home Page" for information about how to do this.

  2. On the Content DB Home page, click the Administration tab.

  3. In the Node Configurations table row, click the Go to Task icon.

  4. Click the name of the node configuration that contains the server you want to remove.

  5. In the Servers section, select the server you want to remove and click Remove.

  6. Click OK.

Changes take effect when the node is restarted.

Managing Oracle Content DB from the Command Line

Use opmnctl, the command-line tool for OPMN, to manage the Oracle Content DB domain and nodes. The OPMN command-line tool can be found in:

ORACLE_HOME/opmn/bin

Checking Node Status

Use the following command to check the status of Oracle Content DB nodes (OC4J_Content instances) on the local middle tier:

./opmnctl status

Include the @cluster option to check nodes on all middle tiers, as follows:

./opmnctl @cluster status

Starting, Stopping, or Restarting the Oracle Content DB Domain

Use the following commands to start, stop, or restart Oracle Content DB domain processes (OC4J_Content instances) across all Oracle Content DB middle tiers:

./opmnctl @cluster startproc process-type=OC4J_Content
./opmnctl @cluster stopproc process-type=OC4J_Content
./opmnctl @cluster restartproc process-type=OC4J_Content

Starting, Stopping, or Restarting Node Processes

Use the following commands to start, stop, or restart Oracle Content DB node processes (OC4J_Content instances) on the local middle tier:

./opmnctl startproc process-type=OC4J_Content
./opmnctl stopproc process-type=OC4J_Content
./opmnctl restartproc process-type=OC4J_Content

To start, stop, or restart a particular Oracle Content DB node process on a remote middle tier, include the Oracle Application Server instance name for the remote middle tier. For example:

./opmnctl @instance:remote_instance_name startproc process-type=OC4J_Content

If you are unsure of which Oracle Application Server instance name to use, use the opmnctl @cluster status command to list Oracle Application Server instance names.


Note:

Before you log in to Oracle Content DB after starting a node process (OC4J_Content instance), make sure that both the OC4J_Content instance and Oracle HTTP Server are running. To do this, use the following command:
opmnctl status