Tuesday, January 7, 2014

Exadata -- Changing DNS Server

Changing the DNS of Exadata means actually changing the DNS of Db nodes, Cell nodes, IB switches and Ethernet switches.
We follow step to accomplish these;
  • Logon to infiniband switches one by one and make the changes in /etc/resolv.conf.. Open /etc/resolv.cof in vi editor, and change the desired dns server or append a line for your new dns server..
Note that : The resolv.conf file is the resolver configuration file. It is use to configure client side access to the Internet Domain Name System (DNS).
  • Logon to Db nodes one by one and make the changes in /etc/resolv.conf..pen /etc/resolv.cof in vi editor, and change the desired dns server or append a line for your new dns server..
  • Logon to one of the Cell nodes, and execute ipconf to change the DNS of Cell Server and ILOM.. In the example above, we add a new dns server(192.168.120.202) to Exadata.. Note that , Exadata in the Example, has already a dns server (192.168.120.205).
[root@dm01cel01 oracle.cellos]# /opt/oracle.cellos/ipconf
Logging started to /var/log/cellos/ipconf.log
Interface ib0 is Linked. hca: mlx4_0
Interface ib1 is Linked. hca: mlx4_0
Interface eth0 is Linked. driver/mac: igb/00:21:28:8e:b2:98
Interface eth1 is ... Unlinked. driver/mac: igb/00:21:28:8e:b2:99
Interface eth2 is ... Unlinked. driver/mac: igb/00:21:28:8e:b2:9a
Interface eth3 is ... Unlinked. driver/mac: igb/00:21:28:8e:b2:9b

Network interfaces
Name State IP address Netmask Gateway Net type Hostname
ib0 Linked
ib1 Linked
eth0 Linked
eth1 Unlinked
eth2 Unlinked
eth3 Unlinked
Warning. Some network interface(s) are disconnected. Check cables and swicthes and retry
Do you want to retry (y/n) [y]: n
The current nameserver(s): 192.168.120.205
Do you want to change it (y/n) [n]: y
Nameserver: 192.168.120.205
Add more nameservers (y/n) [n]: y
Nameserver: 192.168.120.202
Add more nameservers (y/n) [n]: n
The current timezone: Europe/Istanbul
Do you want to change it (y/n) [n]: n
The current NTP server(s): 192.168.120.1
Do you want to change it (y/n) [n]: n
Network interfaces
Name State IP address Netmask Gateway Net type Hostname
eth0 Linked 128.10.154.4 255.255.255.0 128.10.154.1 Management dm01cel01.erman.local
eth1 Unlinked
eth2 Unlinked
eth3 Unlinked
bondib0 ib0,ib1 192.168.154.4 255.255.255.0 Private dm01cel01-priv.erman.local
Select interface name to configure or press Enter to continue:
Select canonical hostname from the list below
1: dm01cel01.erman.local
2: dm01cel01-erman.local
Canonical fully qualified domain name [1]:
Select default gateway interface from the list below
1: eth0
Default gateway interface [1]:
Canonical hostname: dm01cel01.erman.local
Nameservers: 192.168.120.205 192.168.120.202
Timezone: Europe/Istanbul
NTP servers: 192.168.120.1
Default gateway device: eth0
Network interfaces
Name State IP address Netmask Gateway Net type Hostname
eth0 Linked 128.10.154.4 255.255.255.0 128.10.154.1 Management dm01cel01.erman.local
eth1 Unlinked
eth2 Unlinked
eth3 Unlinked
bondib0 ib0,ib1 192.168.154.4 255.255.255.0 Private dm01cel01-priv.erman.local
Is this correct (y/n) [y]:
Do you want to configure basic ILOM settings (y/n) [y]:
Loading basic configuration settings from ILOM ...
ILOM Fully qualified hostname [dm01cel01-ilom.erman.local]:
ILOM IP discovery (static/dhcp) [static]:
ILOM IP address [128.10.154.9]:
ILOM Netmask [255.255.255.0]:
ILOM Gateway or none [128.10.154.1]:
ILOM Nameserver or none [192.168.120.205]:
ILOM Use NTP Servers (enabled/disabled) [enabled]:
ILOM Use NTP Servers (enabled/disabled) [enabled]:
ILOM First NTP server. Fully qualified hostname or ip address or none [192.168.120.1]:
ILOM Second NTP server. Fully qualified hostname or ip address or none [none]:
Basic ILOM configuration settings:
Hostname : dm01cel01-ilom.erman.local
IP Discovery : static
IP Address : 128.10.154.9
Netmask : 255.255.255.0
Gateway : 128.10.154.1
DNS servers : 192.168.120.205
Use NTP servers : enabled
First NTP server : 192.168.120.1
Second NTP server : none
Timezone (read-only) : Europe/Istanbul
Is this correct (y/n) [y]:
Info. Run /opt/oracle.cellos/validations/init.d/saveconfig
Info. Custom changes have been detected in /etc/resolv.conf
Info. Original file will be saved in /etc/resolv.conf.backupbyExadata
Warning. You modified DNS name server.
Ensure you also update the Infiniband Switch DNS server
if the same DNS server was also used by the Infiniband switch.

  • After this operation, restart cell services with the following command;

cellcli -e alter cell restart services all

  • Ensure the cell processes are running and their status are ONLINE ...

cellcli -e list cell detail

  • Repeate this step one by one for each exadata cell...

No comments :

Post a Comment