On January 27th, this site will be read-only as we migrate to Oracle Forums for an improved community experience. You will not be able to initiate activity until January 30th, when you will be able to use this site as normal.

    Forum Stats

  • 3,889,573 Users
  • 2,269,760 Discussions
  • 7,916,783 Comments

Discussions

Want to configure DNS for my RAC setup

Jhil
Jhil Member Posts: 3,182 Bronze Trophy
edited Feb 4, 2018 2:59PM in Real Application Clusters

Dear RAC Experts,

Already RAC DB is up and running on my laptop.

I am trying to configure DNS for RAC setup.

Quesions

1) Can i use yum to download (bind* cach *) packages ?

2) named.conf files is NOT existing on my server.

>> Linux Machine details

[[email protected] ~]# cat /etc/*release

Red Hat Enterprise Linux Server release 5.7 (Tikanga)

[[email protected] ~]# cat /etc/hosts

# Do not remove the following line, or various programs

# that require network functionality will fail.

127.0.0.1       localhost.localdomain localhost

#::1            localhost6.localdomain6 localhost6i

# Public IP

192.168.212.40         rac1        rac1.example.com

192.168.212.41         rac2        rac2.example.com

# Private IP

10.0.0.1              rac1-priv

10.0.0.2              rac2-priv

# Virtual IP

192.168.212.70        rac1-vip

192.168.212.71        rac2-vip

# Scan IP

192.168.212.90        rac-scan

>>

[[email protected] ~]$ crsctl check cluster -all

**************************************************************

rac1:

CRS-4535: Cannot communicate with Cluster Ready Services

CRS-4529: Cluster Synchronization Services is online

CRS-4533: Event Manager is online

**************************************************************

rac2:

CRS-4537: Cluster Ready Services is online

CRS-4529: Cluster Synchronization Services is online

CRS-4533: Event Manager is online

**************************************************************

[[email protected] ~]$ srvctl status scan

SCAN VIP scan1 is enabled

SCAN VIP scan1 is running on node rac2

But i found no files to setup DNS for my system.

Markus FlechtnerJhilLevi Pereira
«1

Answers

  • Levi Pereira
    Levi Pereira Inside Oracle Networks.Member Posts: 2,676 Gold Trophy
    edited Feb 2, 2018 7:32AM

    [[email protected] ~]$ srvctl status scan

    SCAN VIP scan1 is enabled

    SCAN VIP scan1 is running on node rac2

    But i found no files to setup DNS for my system.

    You are not using DNS, but a host-file only.

    In order to overcome the installation requirement without setting up a DNS-based SCAN resolution, you can use a hosts-file based workaround. In this case, you would use a typical hosts-file entry to resolve the SCAN to only 1 IP address and one IP address only.

    To install and configure DNS just follow this link:

    https://oracle-base.com/articles/linux/dns-configuration-for-scan

    Markus Flechtner
  • Jhil
    Jhil Member Posts: 3,182 Bronze Trophy
    edited Feb 2, 2018 8:14AM

    Hi ,

    I am using RHEL 5.7 (personal Laptop)

    In may case, is it possible to download following packages using yum ?

    yum install bind-libs bind bind-utils

    # yum install system-config-bind

    [[email protected] ~]# yum install bind-libs bind bind-utils

    Loaded plugins: product-id, security, subscription-manager

    Updating Red Hat repositories.

    Setting up Install Process

    No package bind available.

    Nothing to do

    [[email protected] ~]# yum install system-config-bind

    Loaded plugins: product-id, security, subscription-manager

    Updating Red Hat repositories.

    Setting up Install Process

    No package system-config-bind available.

    Nothing to do

    How do i process further ?

  • Markus Flechtner
    Markus Flechtner GermanyMember Posts: 503 Bronze Trophy
    edited Feb 2, 2018 9:00AM

    Hi,

    Levi posted a link to a website.

    Please follow the steps mentioned there.

    Regards

    Markus

  • Jhil
    Jhil Member Posts: 3,182 Bronze Trophy
    edited Feb 2, 2018 9:22AM

    Hi,

    I am unable to download any packages on RHEL and OEL

    [[email protected] ~]# yum install bind-libs bind bind-utils

    Loaded plugins: rhnplugin, security

    This system is not registered with ULN.

    ULN support will be disabled.

    Setting up Install Process

    No package bind available.

    Nothing to do

    [[email protected] ~]# yum install bind*

    Loaded plugins: rhnplugin, security

    This system is not registered with ULN.

    ULN support will be disabled.

    Setting up Install Process

    Nothing to do

  • Markus Flechtner
    Markus Flechtner GermanyMember Posts: 503 Bronze Trophy
    edited Feb 2, 2018 10:13AM
  • Dude!
    Dude! [email protected]Member Posts: 22,830 Black Diamond
    edited Feb 2, 2018 10:31AM

    People have written books how to setup and configure DNS servers. It is not rocket science to setup a cache-only name server, but you still have to understand how DNS fits into your network infrastructure. If you do not configure DNS correctly, you will not be able to connect to the Internet, for example. There are also security concerns you have to be aware off, since other name servers or firewall configurations may not accept requests from your own DNS service.

    Installing DNS depends on your OS release. What you are using may apply to RHEL 6, but not 5. I don't have an old OL 5 running at the moment, but the command you can use to install the software is probably the following:

    # yum install bind caching-nameserver

    You will then need to configure /etc/named.conf to setup your authoritative zone (domain name, e.g. example.com), which needs to forward requests for other records to your corporate or public DNS server. It also means you need to create the necessary addr-arpa configuration files to include the forward and reverse lookup addresses for the computers you require.

    Why bother for your purpose? From what I can tell, considering all you past posts regarding RAC, I think you have enough trouble installing and configuring Oracle RAC. Why do you want to add DNS on top of it, which is yet another skill set? It will be easier for you just to manage the /etc/hosts file on each of your RAC nodes.

    Jhil
  • Jhil
    Jhil Member Posts: 3,182 Bronze Trophy
    edited Feb 2, 2018 11:23AM

    Hi Dude,

    I am getting too much confusion to configure DNS.

    Basically i am NOT a UNIX admin but an Oracle DBA.

    Now i am planning to install RAC on OEL 6.x

    I think 6.9 is NOT compatible for vmbox.

    I am planning to install 12.2.0.1 RAC on 6.5 with DNS setup.

    [[email protected] yum.repos.d]# yum install bind caching-nameserver

    Loaded plugins: rhnplugin, security

    This system is not registered with ULN.

    ULN support will be disabled.

    Setting up Install Process

    No package bind available.

    No package caching-nameserver available.

    Nothing to do

    Do i need ULN registration for further setup, if i go for OEL  6.5 ?

  • Dude!
    Dude! [email protected]Member Posts: 22,830 Black Diamond
    edited Feb 2, 2018 12:09PM

    You do not need ULN registration regardless.

  • Dude!
    Dude! [email protected]Member Posts: 22,830 Black Diamond
    edited Feb 2, 2018 12:15PM
    Now i am planning to install RAC on OEL 6.xI think 6.9 is NOT compatible for vmbox.

    Whatever you choose, be sure to mention your set up since installation and procedures are different between major OS release versions. I'm not aware that 6.9 was incompatible with either VirtualBox or VMware, unless you are using some unreasonably old and ancient version.

    And btw, it's OL not OEL.

  • Markus Flechtner
    Markus Flechtner GermanyMember Posts: 503 Bronze Trophy
    edited Feb 2, 2018 1:07PM
This discussion has been closed.