Database Reference
In-Depth Information
...
ORACLE_HOME=%CRS_HOME%
PORT=1521
...
START_DEPENDENCIES=hard(type:ora.cluster_vip_net1.type) pullup(type:ora.cluster_vip_net1.type)
START_TIMEOUT=180
STATE_CHANGE_TEMPLATE=
STOP_DEPENDENCIES=hard(intermediate:type:ora.cluster_vip_net1.type)
...
USR_ORA_ENV=ORACLE_BASE=/opt/app/rac/crsbase
You can also query listener configuration using srvctl command. The listener is listening on port 1521 using
TCP protocol.
$ srvctl config listener -l LISTENER
Name: LISTENER
Network: 1, Owner: oracrs
Home: <CRS home>
End points: TCP:1521 In version 11gR2 and prior, VIP and SCAN IP addresses must be static IP addresses,
meaning that VIP/SCAN/Public DNS alias to IP address mapping is statically stored in a DNS server. Version 12c
supports DHCP-generated IP addresses for public, VIP and SCAN IP addresses. In version 12c, during cluster startup,
DNS is queried by a VIP agent to identify IP addresses associated with DNS aliases, and retrieved IP addresses are
used to configure VIP and SCAN resources. We recommend using static IP addresses for public, VIP, and SCAN IP
address unless there is a valid reason to use DHCP-generated IP addresses. In environments with numerous RAC
clusters, the use of GNS may be a preferred option.
In summary, the resource ora.net1.network captures the subnet and netmask details; resource ora.rac1.vip
captures the VIP address and is dependent upon ora.net1.network resource; and ora.LISTENER.lsnr captures the
protocol and port number details and is dependent upon ora.rac1.vip type. Any change in a resource will trigger
dependent resources to be restarted or stopped.
SCAN VIP and SCAN Listener
The SCAN VIP and SCAN listener configuration is also stored as resources in Clusterware. SCAN listener simply
acts as a redirection mechanism for a new connection, and VIP listeners do the heavy lifting of connection creation.
(Further details about SCAN listener are given in Chapter 3, as part of the workload management discussion). The
following crsctl command shows that the ora.scan1.vip resource is dependent on the ora.net1.network resource.
$ crsctl stat res ora.scan1.vip -p |more
NAME=ora.scan1.vip
TYPE=ora.scan_vip.type
ACL=owner:root:rwx,pgrp:root:r-x,other::r--,group:oinstall:r-x,user:oracrs:r-x
CARDINALITY=1
...
SCAN_NAME=rac1-scan
SCRIPT_TIMEOUT=60
START_DEPENDENCIES=hard(ora.net1.network) dispersion:active(type:ora.scan_vip.type)
pullup(global:ora.net1.network)
...
 
Search WWH ::




Custom Search