Skip to content
Home » Oracle » How to Resolve PRVG-1101 : SCAN name failed to resolve

How to Resolve PRVG-1101 : SCAN name failed to resolve

PRVG-1101 or PRVG-01101

In grid infrastructure installation, OUI expects that SCAN VIP is returned in a round-robin fashion through nslookup the DNS. Without DNS, it can only depend on /etc/hosts to resolve the hostname of SCAN.

If your problem is that only one SCAN VIP is available to use, please go for Setup Only One SCAN VIP.

For 12c and later releases, if you don't have any DNS at this moment, you can still install Grid infrastructure without using DNS. The installer will warn you that it can't resolve SCAN VIP through DNS, you can ignore warning and continue the installation.

There're different warnings that you might see during grid installation.

Can We Setup SCAN VIP without DNS?

Without DNS, OUI can only depend on /etc/hosts to do name resolution. It throws the following warning.

Oracle 19c Grid Infrastructure Installation - PRVG-1101
Oracle 19c Grid Infrastructure Installation - PRVG-1101
DNS/NIS name service - This test verifies that the Name Service lookups for the Distributed Name Server (DNS) and the Network Information Service (NIS) match for the SCAN name entries. 
Error: 
 
PRVG-1101 : SCAN name "primary-cluster-scan" failed to resolve
  - Cause:  An attempt to resolve specified SCAN name to a list of IP addresses failed because SCAN could not be resolved in DNS or GNS using ''nslookup''.
  - Action:  Check whether the specified SCAN name is correct. If SCAN name should be resolved in DNS, check the configuration of SCAN name in DNS. If it should be resolved in GNS make sure that GNS resource is online.

You can ignore the warning and continue the installation.

In this case, we have 4 SCAN VIP registered with /etc/hosts. After grid installation, we can list SCAN configuration as following.

[grid@primary01 grid]$ srvctl config scan
SCAN name: primary-cluster-scan, Network: 1
Subnet IPv4: 192.168.10.0/255.255.255.0/ens33, static
Subnet IPv6:
SCAN 1 IPv4 VIP: 192.168.10.81
SCAN VIP is enabled.
SCAN 2 IPv4 VIP: 192.168.10.82
SCAN VIP is enabled.
SCAN 3 IPv4 VIP: 192.168.10.83
SCAN VIP is enabled.
SCAN 4 IPv4 VIP: 192.168.10.84
SCAN VIP is enabled.

Let's see SCAN VIP allocation.

[grid@primary01 grid]$ srvctl status scan
SCAN VIP scan1 is enabled
SCAN VIP scan1 is running on node primary02
SCAN VIP scan2 is enabled
SCAN VIP scan2 is running on node primary01
SCAN VIP scan3 is enabled
SCAN VIP scan3 is running on node primary01
SCAN VIP scan4 is enabled
SCAN VIP scan4 is running on node primary01

We did it without DNS.

There's a practical example of using /etc/hosts for a RAC database 19c, you may take a look.

Leave a Reply

Your email address will not be published. Required fields are marked *