Install Oracle 11g RAC in Linux-DNS Configuration

Source: Internet
Author: User
Tags nameserver nslookup

Install Oracle 11g RAC in Linux-DNS Configuration

The IP address of the Linux-DNS server is 192.168.2.98.
The DNS address to be configured is 192.168.2.212, which must be used by no one. Otherwise, an error will be reported when installing grid.

1. Install the following rpm package
Bind-9.3.6-4.P1.el5.x86_64.rpm
Bind-chroot-9.3.6-4.P1.el5.x86_64.rpm
Caching-nameserver-9.3.6-4.P1.el5.x86_64.rpm

2. Copy the named. caching-nameserver.conf file as named. conf and modify the named. conf file.
[Root @ bjgtj1 opt] # cd/var/named/chroot/etc/
[Root @ bjgtj1 etc] cp-p named. caching-nameserver.conf named. conf (the-p Parameter also copies the permission)
[Root @ bjgtj1 etc] vi named. conf
Change the content in the following five parts to any
Listen-on port 53 {any ;};
Allow-query {any ;};
Allow-query-cache {any ;};
Match-clients {any ;};
Match-destinations {any ;};

3. Define the zone File
[Root @ bjgtj1 etc] # vi named. rfc1912.zones
Add the following content at the bottom of the file:
----- Configure forward resolution zone
Zone "bkjia.com" IN {
Type master;
File "rac. bkjia. zone ";
Allow-update {none ;};
};
----- Configure reverse resolution zone
Zone "Limit 192.in-addr. arpa" IN {
Type master;
File "rac. bkjia. local ";
Allow-update {none ;};
};

4. Copy the template file to a data file
[Root @ bjgtj1 etc] # cd/var/named/chroot/var/named/
[Root @ bjgtj1 named] # cp-p localhost. zone rac. bkjia. zone
[Root @ bjgtj1 named] # cp-p named. local rac. bkjia. local

[Root @ bjgtj1 named] # vi rac. bkjia. zone
$ TTL 86400
@ In soa @ root (
42; serial (d. adams)
3 H; refresh
15 M; retry
1 W; expiry
1D); minimum

In ns bkjia.com
Rac-scan in a 192.168.2.212


-------------------------------------------------------
[Root @ bjgtj1 named] # vi rac. bkjia. local
$ TTL 86400
@ In soa localhost. root. localhost .(
1997022700; Serial
28800; Refresh
14400; Retry
3600000; Expire
86400); Minimum
In ns bkjia.
212 in ptr rac-scan.bkjia.com.

5. Verify DNS Configuration
Log on to 192.168.2.208 and add the 192.168.2.212 rac-scan.bkjia.com rac-scan in the hosts file
Vi/etc/hosts
127.0.0.1 localhost
: 1 localhost6.localdomain6 localhost6
# Public Network
192.168.2.208 db1
192.168.2.209 db2

# Private Interconnect
10.0.1.55 db1-priv
10.0.1.56 db2-priv

# Public Virtual ip
192.168.2.210 db1-vip
192.168.2.211 db2-vip

192.168.2.212 rac-scan.bkjia.com rac-scan
(Clustername input rac-scan-name input rac-scan.bkjia.com when installing grid)

Edit the resolv. conf file and add the following content:
Vi/etc/resolv. conf
Search rac-scan.bkjia.com
Nameserver 192.168.2.98

Log on to 192.168.2.209 and add the 192.168.2.212 rac-scan.bkjia.com rac-scan in the hosts file
Edit the resolv. conf file and add the following content:
Vi/etc/resolv. conf
Search rac-scan.bkjia.com
Nameserver 192.168.2.98

------------------------------------
Run the following command to verify the two nodes:
Nslookup 192.168.2.212
Nslookup rac-scan.bkjia.com

If the following information is output, the verification is successful:
Server: 192.168.2.98
Address: 192.168.2.98 #53
98.20.192.in-addr. arpa name = rac-scan.bkjia.com.

Oracle 11g installation manual on RedHat Linux 5.8 _ x64 Platform

Installing Oracle 12C in Linux-6-64

Install Oracle 11gR2 (x64) in CentOS 6.4)

Steps for installing Oracle 11gR2 in vmwarevm

Install Oracle 11g XE R2 In Debian

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.