Controlling Orphan Connections Caused by Remote Client or Server Failure

Configuring and Managing the Oracle Virtual Directory Server 9-13

9.6.2 Loading Libraries into the Oracle Virtual Directory Server

Perform the following steps to load libraries into Oracle Virtual Directory using Oracle Directory Services Manager:

1. Log in to Oracle Directory Services Manager.

2. Select Advanced from the task selection bar. The Advanced navigation tree

appears.

3. Expand the Libraries entry in the Advanced tree.

4. Click the Upload New Library button at the top of the Advanced tree. The Upload

New Library dialog box appears.

5. Enter the path to the library you want to load into Oracle Virtual Directory or click

Browse , navigate to the library and select it. Click OK on the Upload New Library dialog box to load the library into Oracle Virtual Directory. The library appears in the Libraries entry of the Advanced tree.

9.7 Copying Configuration Files Between Oracle Virtual Directory Servers Using syncovdconfig

You can use the syncovdconfig command to copy the following Oracle Virtual Directory configuration files between multiple Oracle Virtual Directory components: ■ server.os_xml ■ adapters.os_xml ■ acls.os_xml ■ schema.user.xml The syncovdconfig command .pl for UNIXLinux and.bat for Windows is located in the ORACLE_HOMEovdbin directory. The following is the syntax for syncovdconfig: syncovdconfig -srcHost source_host_name -srcPort source_port_number -srcUserName source_user_name -dstHost destination_host_name -dstPort destination_port_number -dstUserName destination_user_name -configFile name_of_configuration_file -adapterName name_of_adapter -isSrcAdminSSL [true |false] -isDstAdminSSL [true |false]

9.7.1 Options

The following is a list of the options for syncovdconfig: srcHost Required. String format. The host name of the source Oracle Virtual Directory server—that is, the Oracle Virtual Directory server that contains the configuration files you want to copy to a different Oracle Virtual Directory server. Notes: ■ You are prompted for the password for both the source and destination users. ■ Set the Oracle Home variable before using the syncovdconfig command. 9-14 Oracle Fusion Middleware Administrators Guide for Oracle Virtual Directory srcPort Required. Integer format. The listening port number of the source Oracle Virtual Directory server—that is, the Oracle Virtual Directory server that contains the configuration files you want to copy to a different Oracle Virtual Directory server. srcUserName Optional. String format. The user who has Oracle Directory Services Manager Administrator access to the source Oracle Virtual Directory server—that is, the Oracle Virtual Directory server that contains the configuration files you want to copy to a different Oracle Virtual Directory server. If the srcUserName option is not specified, the default value of cn=orcladmin is used. dstHost Required. String format. The host name of the destination Oracle Virtual Directory server—that is, the Oracle Virtual Directory server where you want to copy the configuration files to. dstPort Required. Integer format. The listening port number of the destination Oracle Virtual Directory server—that is, the Oracle Virtual Directory server where you want to copy the configuration files to. dstUserName Optional. String format. The user with Oracle Directory Services Manager Administrator access to the destination Oracle Virtual Directory server—that is, the Oracle Virtual Directory server where you want to copy the configuration files to. If the dstUserName option is not specified, the default value of cn=orcladmin is used. configFile Optional. String format. The name of the configuration file on the source Oracle Virtual Directory server to copy to the destination Oracle Virtual Directory server. You can use the configFile option multiple times in the same command to copy multiple configuration files. If you do not include the configFile option, the server.os_xml, adapters.os_xml, acls.os_xml, and schema.user.xml files on the source Oracle Virtual Directory server are copied to the destination Oracle Virtual Directory server. adapterName Optional. String format. The name of the adapter on the source Oracle Virtual Directory server to copy to the destination Oracle Virtual Directory server. You can use the adapterName option multiple times in the same command to copy multiple adapters. If you do not include the adapterName option—but you include the configFile option and specify an adapters.os.xml file, you overwrite the adapters.os.xml file on the destination Oracle Virtual Directory server. Surround adapter names that contain space characters with quotation marks . For example: ORACLE_HOME ovdbinsyncovdconfig.pl -srcHost sales.west.com -srcPort 8888 \ -dstHost sales.east.com -dstPort 8899 -configFile adapters.os_xml \ -adapterName Sales Organizations