Oracle Dynamic Services User's and Administrator's Guide Release 9.0.1 Part Number A88783-01 |
|
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.
Using the DSAdmin utility, you can manage service consumer applications with respect to the application profile registry. Managing service consumer applications includes these tasks:
Using the DSAdmin utility, you can manage services with respect to the service registry. Managing services includes these tasks:
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.
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.
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:
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:
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.
You can browse through the DSAdmin utility to find additional administrative tasks that may be useful to perform.
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.
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.
|
Copyright © 1996-2001, Oracle Corporation. All Rights Reserved. |
|