Oracle Dynamic Services User's and Administrator's Guide
Release 9.0.1

Part Number A88783-01
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents
Go To Index
Index

Master Index

Feedback

Go to previous page Go to next page

7
Service Administration

In the previous chapters, some service administrator tasks included how to use the DSAdmin utility to perform basic tasks such as registering a service, creating a new service consumer application identity, and how to test a service execution. Other basic tasks such as unregistering a service, adding service consumer application properties, and so forth can also be performed using the DSAdmin utility. In this chapter, a brief overview of other topics relevant to administrators is provided.

7.1 Managing Consumer Applications

Using the DSAdmin utility, you can manage service consumer applications with respect to the application profile registry. Managing service consumer applications includes these tasks:

7.2 Managing Services

Using the DSAdmin utility, you can manage services with respect to the service registry. Managing services includes these tasks:

7.3 Service Response Caching

The Dynamic Services engine uses the Oracle database for caching the service responses. The caching policy for a given service is controlled through deployment parameters in the service descriptors. Before registering a service, the service administrator can review these parameters and modify them as needed. The caching parameters are defined in the SERVICE_HEADER, DEPLOYMENT, and CACHING elements in the service descriptor.

In this release, to change the caching parameters of a given service, you must unregister the service and register it again with the new parameter settings. The following information describes the caching parameters that are available:

If the USE_PROTOCOL caching parameter is true, the supplied HTTP/HTTPS protocol adaptors check the Expired HTTP header to determine the expiration date of the response. The supplied JDBC protocol adaptor does not support caching.

7.4 Cache Cleanup

The cache can grow to be rather large. If caching is enabled, you may want to manually run the DS_CacheManager package procedure, deleteExpiredResponses, or start a DBMS_JOB package to periodically clean up the cache. A procedure is supplied within the DS_CacheManager package to start the DBMS_JOB package that performs the cache cleanup. This procedure is called startCleanupJob, and it takes a VARCHAR2 argument that specifies the interval between cleanup jobs.

7.5 Connecting Multiple Dynamic Services Engine Instances


Note:

The information presented in this section assumes that you have performed the advanced installation option of installing the Oracle Internet Directory (OID) and set up LDAP with OID as described in Section 4.5. Once OID is installed and set up with LDAP, you can use the DSAdmin utility to manage Dynamic Services engine instances with the master registry or repository. 


A logical service engine can be deployed with multiple physical service engine instances running, all sharing the same central master registry. The system can then be tuned by adding additional service execution engines. The central registry will not become a bottleneck because of the heavy use of caches at the service execution engine.

No load-balancing or failover feature is available in the current release. Administrators should partition the requests based on workload pattern. For example, an administrator can direct all applications in a subnet to a service engine in the same subnet.

There is no automatic synchronizing between multiple service engines in this current release. Administrators should synchronize all engines with the central master registry after an update. Therefore, Oracle Corporation recommends that you schedule the updates in batch mode, during low-load hours.

By default, installing a Dynamic Services engine includes:

To install an additional Dynamic Services engine:

  1. Install a Dynamic Services engine as usual, but do not install the LDAP directory again.
  2. Configure the LDAP connection system properties.
  3. Invoke the resync command to resynchronize the registry. Using the DSAdmin utility, you can navigate to this command by selecting Reg or R for registry operations, and then select Engine or E to manage engine instances.

The registry should be running. Administrators should direct some users to the new Dynamic Services engines.

To perform any updates:

  1. Connect to a Dynamic Services engine and perform the update (or a set of updates).
  2. Connect to all other Dynamic Services engines, and invoke the resync command as described previously in step 3 using the DSAdmin utility.

Again, Oracle Corporation recommends that you schedule the updates in batch mode, during low-load hours.

7.6 Additional Operations of the DSAdmin Utility

You can browse through the DSAdmin utility to find additional administrative tasks that may be useful to perform.

7.6.1 Using Script Files with the DSAdmin Utility

Script files can be used with the DSAdmin utility to facilitate the process of regression testing and batch processing. Example 7-1 shows the command line and option to use is as described in Section 3.1.

Example 7-1 Run the DSAdmin Utility Using the -i Option

On UNIX systems:
<ORACLE_HOME>/ds/bin/dsadmin -u dssys/<dssys-password> -i <script file name>


On Windows NT systems:
<ORACLE_HOME>\ds\bin\dsadmin -u dssys/<dssys-password> -i <script file name>


Comments are allowed in the script in the form of lines that begin with the two slash (//) characters. Every string token supplied in the script file is treated as a separate command, or as user input. Commands are usually single string tokens, whereas user input need not be. For example, a category string can contain spaces within it. To use a parameter with spaces, you must enclose the entire parameter between quotation marks. This is true whether the DSAdmin utility is being used interactively or with a script.


Go to previous page Go to next page
Oracle
Copyright © 1996-2001, Oracle Corporation.

All Rights Reserved.
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents
Go To Index
Index

Master Index

Feedback