Академический Документы
Профессиональный Документы
Культура Документы
Blog
TRENDING
4/7/14 11:02 pm
"
Search...
&
BLOG LIST
Home
AMIS
AMIS EVENTS
ABOUT
CONTACT US
Configuring a private DNS server on Openfiler for use with Oracle RAC 12C on Virtual Boxes
EVENTS
RECENT
'0
'0
'2
'0
'0
'0
To build an Oracle 12C RAC database on Virtual Boxes theres at least shared storage needed for ASM, and a DNS-
server for the SCAN-addresses. Several methods can be used for this, but for the storage in my private project I chose
Openfiler, an open source management storage tool, on a separate Virtual Box. Its like a SAN in real life (the complete
system will be three Virtual Boxes: two RAC-nodes and 1 storage Virtual Box). Version Openfiler: 2.99.
AMIS
O.k. storage is clear, but what about DNS? The quickest and dirtiest way to accomplish this is to use Dnsmasq on every RAC-node.
Like
But what I want is a separate DNS-server, just as in real life. The perfect candidate is to use the separate Openfiler Virtual Box.
Agreed, a bit more complicated to setup, but I just have to do it once. I used a nice blogpost about DHCP and DNS setup in the
past as my starting point. In this post I will describe the various steps to take to get your own DNS-server on Openfiler, with the
complete content of the files I used. The installation of openfiler will be described in another post. So the assumption here is that the
openfiler-virtual box is running and accessible.
Facebook social plugin
873
Follow
TAGS
11g
11gr2
adf bc
Agile
cloud
adf dvt
apex
12c
ADF expertise
BPEL
customization
visualization
dvt
bpm
Database
fmw 12c
http://technology.amis.nl/2013/12/30/configuring-a-private-dns-server-on-openfiler-for-use-with-oracle-rac-12c-on-virtual-boxes/
adf faces
business rule
data
fusion
Page 1 of 5
Configuring a private DNS server on Openfiler for use with Oracle RAC 12C on Virtual Boxes - AMIS Technology Blog
4/7/14 11:02 pm
Java
middleware
jsf
jdeveloper 11g
suite
sql
For the RAC-nodes I needed the ip-range 192.168.188.xxx as public, and 192.168.190.xxx as private addresses.
XML
maven
Oracle
OOW 2012
wizard
jdeveloper
Mobile
oow
Oracle
WebCenter
weblogic
web service
xmldb
RECENT COMMENTS
|> /srv/named/data/<reversed-files>
/etc/named.conf:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
//
//,named.conf,for,Red,Hat,caching=nameserver
//
,
options,{
directory,"/srv/named/data";
dump=file,"/srv/named/data/cache_dump.db";
statistics=file,"/srv/named/data/named_stats.txt";
/*
*,If,there,is,a,firewall,between,you,and,nameservers,you,want
*,to,talk,to,,you,might,need,to,uncomment,the,query=source
*,directive,below.,,Previous,versions,of,BIND,always,asked
*,questions,using,port,53,,but,BIND,8.1,uses,an,unprivileged
*,port,by,default.
*/
//,query=source,address,*,port,53;
};
,
//,a,caching,only,nameserver,config
//
controls,{
inet,127.0.0.1,allow,{,localhost;,},keys,{,rndckey;,};
};
,
zone,"amis.nl",{
type,master;
file,"amis.nl.hosts";
};
,
#,reverse,zone
,
zone,"188.168.192.in=addr.arpa",{
type,master;
file,"188.168.192.rev";
};
,
zone,"190.168.192.in=addr.arpa",{
type,master;
file,"190.168.192.rev";
};
,
include,"/etc/rndc.key";
FOLLOW US ON TWITTER
Tweets
Follow
$TTL,86400,,;,1,day
@,IN,SOA,Openfiler2.amis.nl.,,foo.bar.tld.,(
200612069,;,serial
7200,;,refresh,(2,hours)
300,;,retry,(5,minutes)
604800,;,expire,(1,week)
60,;,minimum,(1,minute)
)
@,IN,NS,,Openfiler2.amis.nl.
Openfiler2.amis.nl.,,,,,,,,IN,,,A,,,192.168.188.195
rac1=ol6=121.amis.nl.,,,,,,IN,,,A,,,192.168.188.100
rac2=ol6=121.amis.nl.,,,,,,IN,,,A,,,192.168.188.110
rac1=ol6=121=vip.amis.nl.,,IN,,,A,,,192.168.188.150
rac2=ol6=121=vip.amis.nl.,,IN,,,A,,,192.168.188.160
ol6=121=scan.amis.nl.,,,,,,IN,,,A,,,192.168.188.210
ol6=121=scan.amis.nl.,,,,,,IN,,,A,,,192.168.188.220
ol6=121=scan.amis.nl.,,,,,,IN,,,A,,,192.168.188.230
rac1=ol6=121=priv.amis.nl.,IN,,,A,,,192.168.190.200
rac2=ol6=121=priv.amis.nl.,IN,,,A,,,192.168.190.250
,
,,
AngularJS News
30 Jun
@AngularJS_News
1 Jul
Tweet to @AMIS_Services
http://technology.amis.nl/2013/12/30/configuring-a-private-dns-server-on-openfiler-for-use-with-oracle-rac-12c-on-virtual-boxes/
Page 2 of 5
Configuring a private DNS server on Openfiler for use with Oracle RAC 12C on Virtual Boxes - AMIS Technology Blog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
@,IN,SOA,Openfiler2.amis.nl,admin.amis.nl.,(
200612069,;,serial
7200,;,refresh,(2,hours)
300,;,retry,(5,minutes)
604800,;,expire,(1,week)
60,;,minimum,(1,minute)
)
,
188.168.192.in=addr.arpa.,IN,,NS,,Openfiler2.amis.nl.
,
195,,,,PTR,Openfiler2.amis.nl.
,
100,,,,PTR,rac1=ol6=121.amis.nl.
110,,,,PTR,rac2=ol6=121.amis.nl.
,
150,,,,PTR,rac1=ol6=121=vip.amis.nl.
160,,,,PTR,rac2=ol6=121=vip.amis.nl.
,
210,,,,PTR,ol6=121=scan.amis.nl.
220,,,,PTR,ol6=121=scan.amis.nl.
230,,,,PTR,ol6=121=scan.amis.nl.
,
,,
4/7/14 11:02 pm
$TTL,86400,,;,1,day
@,IN,SOA,Openfiler2.,admin.amis.nl.,(
200612069,;,serial
7200,;,refresh,(2,hours)
300,;,retry,(5,minutes)
604800,;,expire,(1,week)
60,;,minimum,(1,minute)
)
,
190.168.192.in=addr.arpa.,IN,,NS,,Openfiler2.amis.nl.
,
200,PTR,rac1=ol6=121=priv.amis.nl.
250,PTR,rac2=ol6=121=priv.amis.nl.
,
,,
FRIENDS OF AMIS
Mastering Architecture (Mike van Alst)
Notes on Oracle (Alex Nuijten)
Olrichs Blog (Richard Olrichs)
Oracle DBMS related tidbits (Toon Koppelaars)
Oracle XMLDB (Marco Gralike)
META
Register
Log in
Entries RSS
Comments RSS
You may ignore this error for the purpose of this blog. I did..
WordPress.org
# chkconfig named on
But is it working? To check this out, youll have to reconfigure your DNS-resolving on your own server. In my case the first node of
my cluster: rac1-ol6-121.
To make sure that all the hostnames can be resolved the file /etc/resolv.conf must be edited. Create this file with the following
entries:
1
2
3
search,amis.nl
,
nameserver,192.168.188.195
But you may experience that this will gets overwritten in OEL6. To overcome this youll have to edit the adapter-settings (eth0 / eth1) through the
GUI. Or, as Rob state in his blog, create the file /etc/dhclient-enter-hooks with the following content:
1
make_resolv_conf(),{echo,"doing,nothing,to,resolv.conf}
So lets test this (configured this in another domain, jobacle.nl, so the output of the nslookup is somewhat different than the
configuration above
):
http://technology.amis.nl/2013/12/30/configuring-a-private-dns-server-on-openfiler-for-use-with-oracle-rac-12c-on-virtual-boxes/
Page 3 of 5
Configuring a private DNS server on Openfiler for use with Oracle RAC 12C on Virtual Boxes - AMIS Technology Blog
4/7/14 11:02 pm
Sources:
Related posts:
12c
DNS
dnsmasq
openfiler
SHARE.
Oracle
RAC
resolv.conf
scan
scan addresses
virtual box
"
ABOUT AUTHOR
JOB OPREL
RELATED POSTS
JULY 2, 2014
'1
'0
'0
Leave a Reply
Enter your comment here...
http://technology.amis.nl/2013/12/30/configuring-a-private-dns-server-on-openfiler-for-use-with-oracle-rac-12c-on-virtual-boxes/
Page 4 of 5
Configuring a private DNS server on Openfiler for use with Oracle RAC 12C on Virtual Boxes - AMIS Technology Blog
ABOUT
4/7/14 11:02 pm
RECENT POSTS
'1
JULY 2, 2014
Email Address
'2
JULY 1, 2014
'0
GitHub repository
'0
http://technology.amis.nl/2013/12/30/configuring-a-private-dns-server-on-openfiler-for-use-with-oracle-rac-12c-on-virtual-boxes/
Page 5 of 5