Grid Naming Service Cluster Configuration Example

Review this example to understand Grid Naming Service configuration.

Note:

The Highly Available Grid Naming Service feature of Grid Naming Service (GNS) in Oracle Grid Infrastructure is deprecated in Oracle AI Database 26ai.

To use GNS, you must specify a static IP address for the GNS VIP address, and you must have a subdomain configured on your DNS to delegate resolution for that subdomain to the static GNS IP address.

As nodes are added to the cluster, your organization's DHCP server can provide addresses for these nodes dynamically. These addresses are then registered automatically in GNS, and GNS provides resolution within the subdomain to cluster node addresses registered with GNS.

Because allocation and configuration of addresses is performed automatically with GNS, no further configuration is required. Oracle Clusterware provides dynamic network configuration as nodes are added to or removed from the cluster. The following example is provided only for information.

With IPv6 networks, the IPv6 auto configuration feature assigns IP addresses and no DHCP server is required.

With a two node cluster where you have defined the GNS VIP, after installation you might have a configuration similar to the following for a two-node cluster, where the cluster name is mycluster, the GNS parent domain is gns.example.com, the subdomain is cluster01.example.com, the 192.0.2 portion of the IP addresses represents the cluster public IP address subdomain, and 192.168 represents the private IP address subdomain:

Table: Grid Naming Service Cluster Configuration Example

IdentityHome NodeHost NodeGiven NameTypeAddressAddress Assigned ByResolved By
GNS VIPNoneSelected by Oracle Clusterwaremycluster-gns-vip.example.comvirtual192.0.2.1Fixed by net administratorDNS
Node 1 PublicNode 1node1node1public192.0.2.101FixedGNS
Node 1 VIPNode 1Selected by Oracle Clusterwarenode1-vipvirtual192.0.2.104DHCPGNS
Node 1 PrivateNode 1node1node1-privprivate192.168.0.1Fixed or DHCPGNS
Node 2 PublicNode 2node2node2public192.0.2.102FixedGNS
Node 2 VIPNode 2Selected by Oracle Clusterwarenode2-vipvirtual192.0.2.105DHCPGNS
Node 2 PrivateNode 2node2node2-privprivate192.168.0.2Fixed or DHCPGNS
SCAN VIP 1noneSelected by Oracle Clusterwaremycluster-scan.mycluster.cluster01.example.comvirtual192.0.2.201DHCPGNS
SCAN VIP 2noneSelected by Oracle Clusterwaremycluster-scan.mycluster.cluster01.example.comvirtual192.0.2.202DHCPGNS
SCAN VIP 3noneSelected by Oracle Clusterwaremycluster-scan.mycluster.cluster01.example.comvirtual192.0.2.203DHCPGNS