srvctl enable listener

Enables a listener resource.

Syntax and Parameters

Use the srvctl enable listener command with the following syntax:

srvctl enable listener [-listener listener_name] [-node node_name]

Table A-57 srvctl enable listener Parameters

Parameter Description
-listener listener_name

Name of a listener resource. If you do not specify this parameter, the name of the listener defaults to LISTENER

-node node_name

Name of a cluster node

Note: This parameter can be used only with Oracle Clusterware.

Example

To enable the listener named listener_crm on the node named node5, use the following command:

$ srvctl enable listener -listener listener_crm -node node5