Oracle Instance Arguments The -oracleInstance and -instanceName

opmnctl Commands 4-15 ■ -opmnRemoteHost : the OPMN remote host. The default value is the computer canonical host name. ■ -opmnLocalPort: the OPMN local port value. The default port value is 6700 if the port is available. ■ -opmnRemotePort : the OPMN remote port value. The default port value is 6701 if the port is available. For example: opmnctl createinstance -oracleInstance foobarinst1 -adminHost myadminserver -adminPort 7001 or opmnctl createinstance -oracleInstance foobarinst1 -adminRegistration OFF

4.3.4.4.2 createcomponent The createcomponent command creates a component

within an Oracle instance. The created component is consistent with the Oracle instance in regard to its registration state. The createcomponent command uses the following arguments: ■ Adminserver ■ Logging ■ Oracle Instance ■ Component Specific Arguments ■ -componentType : the system component type ■ -componentName : the system component name For example: opmnctl createcomponent -componentType OHS -componentName ohs1 -proxyPort 8888 It is important to note that different system components feature different sets of arguments that are available for configuration. In the above command example, the -proxyPort usage is specific to the OHS component. For more information about component specific arguments refer to Section 4.3.4.3.4 . 4.3.4.4.3 deleteinstance The deleteinstance command deletes an Oracle instance and unregisters the Oracle instance and associated system components. A successful Oracle instance deletion removes all files of the Oracle instance except for the default provision.log file. For example: opmnctl deleteinstance The deleteinstance command uses the following arguments: ■ Adminserver ■ Logging ■ Oracle Instance ■ -force : The -force argument forces the opmnctl deleteinstance command to proceed regardless of discrepancies in the Oracle instance. The command is enabled only with a value of true. The default value is false. 4-16 Oracle Fusion Middleware Oracle Process Manager and Notification Server Administrators Guide Please note that the -force option circumvents most pre-validation checks. Therefore, Oracle recommends using the -force option with caution. An example is shown in section Force deleteinstance . Force deleteinstance The deleteinstance command operates in a forced mode if the option -force true is included in the command. When used, this option directs opmnctl to proceed with the operation regardless of warnings and errors detected for the Oracle instance. Because the Oracle instance may be in a bad or non-responsive state, Oracle recommends explicitly providing non-required values that are associated and appropriate for the Oracle instance for example, -instanceName, -adminHost, -adminPort to ensure that the proper values are used. During the course of cleanup, the forced deleteinstance command displays warnings and exceptions consistent with the damaged state of the Oracle instance. These warnings and exceptions are provided as visual feedback for the inconsistencies encountered and do not necessarily indicate that further corrective action is needed. For example: opmnctl deleteinstance -force true -instanceName instance1 -adminHost myadminserver -adminPort 7001 or opmnctl deleteinstance -force true -instanceName instance1

4.3.4.4.4 deletecomponent The deletecomponent command deletes a system

component. The deletecomponent command uses the following arguments: ■ Adminserver ■ Logging ■ Oracle Instance ■ -componentName : The system component name. For example: opmnctl deletecomponent -componentName ohs1

4.3.4.4.5 registerinstance The registerinstance command switches the Oracle

instance to a registered state and updates the Adminserver value. The registerinstance command uses the following arguments: ■ Adminserver ■ Logging ■ Oracle Instance For example: opmnctl registerinstance -adminHost myhostname -adminPort 8000

4.3.4.4.6 unregisterinstance The unregisterinstance command switches the Oracle

instance to a non-registered state and updates the Adminserver value.