Creating an Oracle Virtual Directory Component Using OPMNCTL

10-4 Oracle Fusion Middleware Administrators Guide for Oracle Virtual Directory

10.5 Unregistering an Oracle Instance Using OPMNCTL

To unregister an Oracle Instance and all the components in that Oracle instance, you use opmnctl unregisterinstance. The syntax is: ORACLE_INSTANCEbinopmnctl unregisterinstance [-adminHost hostname] [-adminPort weblogic_port] [-adminUsername weblogic_admin] [-adminPasswordFile ‘FILE_WITH_WEBLOGIC_ADMIN_PASSWORD’] For example: ORACLE_INSTANCEbinopmnctl unregisterinstance -adminHost myhost \ -adminPort 7001 -adminUsername weblogic \ The default administrative port on the WebLogic Administration Server is 7001.

10.6 Updating the Component Registration of an Oracle Instance Using OPMNCTL

To update the registration of an Oracle Virtual Directory component in a registered Oracle instance after changing the Oracle Virtual Directory component’s registration, you use opmnctl updatecomponentregistration. The opmnctl updatecomponentregistration command updates the registration for the Oracle Virtual Directory component using the values in its listeners.os_xml and server.os_xml files. The syntax for opmnctl updatecomponentregistration is: ORACLE_INSTANCEbinopmnctl updatecomponentregistration [-adminHost hostname] [-adminPort weblogic_port] [-adminUsername weblogic_admin] [-adminPasswordFile ‘FILE_WITH_WEBLOGIC_ADMIN_PASSWORD’] [-componentType OVD] -componentName componentName [-Host OVD_HOST_NAME] For example: ORACLE_INSTANCEbinopmnctl updatecomponentregistration -adminHost myhost \ -adminPort 7001 -adminUsername weblogic -componentType OVD -componentName ovd1

10.7 Deleting an Oracle Virtual Directory Component Using OPMNCTL

You remove an Oracle Virtual Directory component by using opmnctl deletecomponent. The syntax is: Notes: ■ If you do not use the -Host option, the value in listeners.os_xml is used. ■ Both the componentName and componentType parameters are required. Managing Oracle Virtual Directory Server Processes 10-5 ORACLE_INSTANCEbinopmnctl deletecomponent [-adminHost hostname] [-adminPort weblogic_port] [-adminUsername weblogic_admin] [-adminPasswordFile ‘FILE_WITH_WEBLOGIC_ADMIN_PASSWORD’] [-componentType ovd] -componentName componentName For example: ORACLE_INSTANCEbinopmnctl deletecomponent -adminHost myhost -adminPort 7001 \ -adminUsername weblogic -componentType OVD -componentName ovd1

10.8 Viewing Active Server Instance Information Using OPMNCTL

To view the status of components and processes using opmnctl, use the following: ORACLE_INSTANCEbinopmnctl status -l

10.9 Starting the Oracle Virtual Directory Server Using OPMNCTL

Typically, the component name of the first Oracle Virtual Directory component is ovd1. To start the first Oracle Virtual Directory component, use the following: ORACLE_INSTANCEbinopmnctl startproc ias-component=ovd1 To start all Oracle Virtual Directory components, use the following: ORACLE_INSTANCEbinopmnctl startproc process-type=OVD To start all components, use the following: ORACLE_INSTANCEbinopmnctl startall

10.10 Stopping the Oracle Virtual Directory Server Using OPMNCTL

To stop the first Oracle Virtual Directory component, use the following: ORACLE_INSTANCEbinopmnctl stopproc ias-component=ovd1 To stop all Oracle Virtual Directory components, use the following: ORACLE_INSTANCEbinopmnctl stopproc process-type=OVD To stop all components, use the following: ORACLE_INSTANCEbinopmnctl stopall Note: Both HTTP endpoints Admin and WebGateway in Oracle Virtual Directory have the identical protocol name of http. However, you can differentiate between the two using the description reflected in the opmnctl debug command, not using the opmnctl status -l command. Oracle Enterprise Manager Fusion Middleware Control does not show the description field while displaying port information of a server.