srvctl add scan_listener

Adds Oracle Clusterware resources for the SCAN listeners. The number of SCAN listener resources created is the number of SCAN VIP resources.

Note:

This command is only available with Oracle Clusterware.

Syntax and Parameters

Use the srvctl add scan_listener command with the following syntax:

srvctl add scan_listener [-listener lsnr_name_prefix] [-skip] [-netnum network_number]
 [-enpoints "[TCP:]port_list[/IPC:key][/NMP:pipe_name][/TCPS:s_port][/SDP:port]"]
 [-invitednodes node_list] [-invitedsubnets subnet_list]

Table A-17 srvctl add scan_listener Parameters

Parameter Description
-listener lsnr_name_prefix

The SCAN listener name prefix.

-skip

Use this parameter to skip checking of the ports.

-netnum network_number

The optional network number from which SCAN VIPs are obtained. If you do not specify this parameter, then the SCAN VIPs are obtained from the same default network from which the nodeapps VIP is obtained.

-endpoints "[TCP:]port_list[/IPC:key]
 [/NMP:pipe_name][/TCPS:s_port]
[/SDP:port]"

Protocol specifications for the listener. port_list is a comma-delimited list of TCP ports or listener endpoints.

If this parameter is not specified, then the default TCP port of 1521 is used.

Note: You can modify this attribute using Online Resource Attribute Modification.

-invitednodes node_list

Use this parameter to specify a comma-delimited list of host names from outside the cluster that are allowed to register with the SCAN listener.

-invitedsubnets subnet_list

Use this parameter to specify a comma-delimited list of subnets from outside the cluster that are allowed to register with the SCAN listener.

Example

An example of this command is:

# srvctl add scan_listener -listener myscanlistener