Database Reference
In-Depth Information
The VIP address is configured as a dependent resource of the ora.net1.network resource in Clusterware. The
VIP resource is named ora.<node name>.vip; in this example configuration, the name of the resource is ora.rac1.vip.
If the network is restarted, then the VIP resource is also restarted by the dependency-tracking mechanism. Note that
the type of VIP resource is ora.cluster_vip_net1.type , and this type will be used to build dependency in listener
resources.
$ crsctl stat res ora.rac1.vip -p
NAME=ora.rac1.vip
TYPE=ora.cluster_vip_net1.type
...
DESCRIPTION=Oracle VIP resource
ENABLED=1
...
START_DEPENDENCIES=hard(ora.net1.network) pullup(ora.net1.network)
STOP_DEPENDENCIES=hard(ora.net1.network)
The VIP address rac1-vip is associated with this resource. The IP address of this VIP is queried from DNS or
/etc/hosts file, and that IP address must be in the same subnet as the subnet of dependent network resource (in this
example, 10.11.45.0) .
...
USR_ORA_ENV=
USR_ORA_VIP=rac1-vip
VERSION=12.1.0.0.0
You can also query VIP configuration using the srvctl command.
$ srvctl config vip -n rac1
VIP exists: /rac1-vip/10.11.45.35/10.11.45.0/255.255.254.0/eth1:eth2, hosting node rac1
Listener is configured as a dependent resource of the VIP resource. The owner of Grid Infrastructure will be the
owner of this resource.
$ crsctl stat res ora.LISTENER.lsnr -p
NAME=ora.LISTENER.lsnr
TYPE=ora.listener.type
ACL=owner:oracrs:rwx,pgrp:oinstall:rwx,other::r--
...
AGENT_FILENAME=%CRS_HOME%/bin/oraagent%CRS_EXE_SUFFIX%
...
Listener resource will be checked every 60 seconds, and the check command should complete in 30 seconds.
Also, the port number of the listener is configured in the ENDPOINTS field of this resource. Listener resource is a
dependent resource of type ora.cluster_vip_net1.type. As discussed earlier in this section, VIP resource is of type ora.
cluster_vip_net1.type. Startup or shutdown of any resource with ora.cluster_vip_net1.type will trigger the listener
resource to be restarted.
CHECK_INTERVAL=60
CHECK_TIMEOUT=30
...
ENDPOINTS=
 
Search WWH ::




Custom Search