In this post, we will create our first virtual m/c which will use in RAC node 1
Create new Machine In Virtual Box with settings as below: and IP Adress
RAM: 4G or above
3 Network adapters: 1 Bridged and 2 Host Only Adapters
HardDisk: 50 GB
IP address :
I am using eth1 and eth2 as my host only adapters that will be used for public and private IP's .
eth0 I am using as bridged adapter to access the internet .I will set up static IP for eth1 and eth2
eth1:(Public IP)
192.168.56.10
255.255.255.0
255.255.255.o
eth2:(Private IP)
10.10.0.10
8
10.10.0.1
and select connect automatically for eth0,eth1 and eth2.
1-select Bidirectional on general setting and other setting is available in pics
1-select Bidirectional on general setting and other setting is available in pics
create custom layout
/swap-->4GB
/tmp--->4GB
/boot--->500MB
/root-->remaining space
select software option:
Machine has been prepared for RACNODE2
===============================================================
DNS Config
Now let's configure the system so that it will go to our DNS server that we created earlier.
Make sure DNS server is up and running.
Login to DNS server and go to /var/named and put IP entries in zone file for our RAC Ip's.
Restart DNS service
service named restart
[root@himvirtualdns Desktop]# cd /var/named/
[root@himvirtualdns named]# ls
56.168.192.in-addr.arpa himvirtualdns.lab.zone named.localhost
data named.ca named.loopback
dynamic named.empty slaves
[root@himvirtualdns named]# cat himvirtualdns.lab.zone
$TTL 86400
@ IN SOA localhost root.localhost (
42 ; serial (d. adams)
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum
IN NS localhost
localhost IN A 127.0.0.1
himvirtualdns IN A 192.168.56.101
himvirtualdns IN A 192.168.56.101
racnode1 IN A 192.168.56.10
racnode2 IN A 192.168.56.11
racnode1-priv IN A 10.10.0.10
racnode2-priv IN A 10.10.0.11
racnode1-vip IN A 192.168.56.111
racnode2-vip IN A 192.168.56.112
racdb-scan IN A 192.168.56.121
racdb-scan IN A 192.168.56.122
racdb-scan IN A 192.168.56.123
Login to RACNode1 and edit /etc/resolv.conf. It should have below entiries
cat /etc/resolv.conf
# Generated by NetworkManager
search himvirtualdns.lab
nameserver 192.168.56.101
Permission change
chattr +i resolv.conf
Now run nslookup from racnode1 to verify it is routing to DNS server.
Before the check nslookup we should Disable the "Firewall"
[oracle@racnode1 bin]$ nslookup racnode1
======================================================================
No comments:
Post a Comment