Exadata, how to change ilom nameserver by ipconf in cell

You have to stop cell service properly before you change ilom network config in cell. You can find the procedure at How to restart cell services properly I propose you use ipconf to update your network config in exadata system. Don’t use ilom command line , because it doesn’t change /opt/oracle.cellos/cell.conf file, and you will have a problem during exadata patching.

[root@41cel01-m ~]# /usr/local/bin/ipconf
[Info]: ipconf command line: /opt/oracle.cellos/ipconf.pl -nocodes
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:xx:xx:xx:xx:xx

The current nameserver(s): xxx.xxx.55.18,xxx.xxx.55.19
Do you want to change it (y/n) [n]: n
The current timezone: Europe/Zurich
Do you want to change it (y/n) [n]: n
The current NTP server(s): xxx.xxx.40.42 xxx.xxx.40.10
Do you want to change it (y/n) [n]: n


Network interfaces
Name  State  Speed    Status  IP address     Netmask       Gateway      Net type   Hostname
ib0   Linked          UP      -xxx.xxx.100.5 255.255.252.0              Private    cel01-priv1.mydomaine.local
ib1   Linked          UP      -xxx.xxx.100.6 255.255.252.0              Private    cel01-priv2.mydomaine.local
eth0  Linked default  UP      xxx.xxx.64.12  255.255.255.0 xxx.xxx.64.1 Management 41cel01-m.mydomaine.local
Select interface name to configure or press Enter to continue:
Select canonical hostname from the list below
1: cel01-priv1.mydomaine.local
2: cel01-priv2.mydomaine.local
3: 41cel01-m.mydomaine.local
Canonical fully qualified domain name [3]:

Select default gateway interface from the list below
1: eth0
Default gateway interface [1]:

Canonical hostname: 41cel01-m.mydomaine.local
Nameservers: xxx.xxx.40.42 xxx.xxx.40.10
Timezone: Europe/Zurich
NTP servers: xxx.xxx.40.42 xxx.xxx.40.10
Default gateway device: eth0
Network interfaces
Name  State  Speed    Status  IP address     Netmask       Gateway      Net type   Hostname
ib0   Linked          UP      -xxx.xxx.100.5 255.255.252.0              Private    cel01-priv1.mydomaine.local
ib1   Linked          UP      -xxx.xxx.100.6 255.255.252.0              Private    cel01-priv2.mydomaine.local
eth0  Linked default  UP      xxx.xxx.64.12  255.255.255.0 xxx.xxx.64.1 Management cel01-m.mydomaine.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 [41cel01-r.mydomaine.local]:
Inet protocol (IPv4,IPv6) [IPv4]:
ILOM IP address [xxx.xxx.64.17]:
ILOM Netmask [255.255.255.0]:
ILOM Gateway or none [xxx.xxx.64.1]:
ILOM Nameserver (multiple IPs separated by a comma) or none [xxx.xxx.40.10,xxx.xxx.40.42]: xxx.xxx.55.18,xxx.xxx.55.19      <==== New ilom nameserver

ILOM Use NTP Servers (enabled/disabled) [enabled]:
ILOM First NTP server. Fully qualified hostname or ip address or none [xxx.xxx.40.10]:
ILOM Second NTP server. Fully qualified hostname or ip address or none [xxx.xxx.40.42]:
ILOM Vlan id or zero for non-tagged VLAN (0-4079) [0]:

Basic ILOM configuration settings:
Hostname             : 41cel01-r.mydomaine.local
IP Address           : xxx.xxx.64.17
Netmask              : 255.255.255.0
Gateway              : xxx.xxx.64.1
DNS servers          : xxx.xxx.55.18,xxx.xxx.55.19
Use NTP servers      : enabled
First NTP server     : xxx.xxx.40.10
Second NTP server    : xxx.xxx.40.42
Timezone (read-only) : Europe/Zurich
VLAN id              : 0
Is this correct (y/n) [y]: y

[Info]: Run /opt/oracle.cellos/validations/init.d/saveconfig

Use of uninitialized value $qinq_conf in -f at /opt/oracle.cellos/ipconf.pl line 8444.
[Info]: Original file /etc/ssh/sshd_config will be saved in /etc/ssh/sshd_config.backupbyExadata
[Info]: Generate /etc/ssh/sshd_config with ListenAddress(es) xxx.xxx.64.12, 127.0.0.1
[Info]: Save /etc/sysctl.conf in /etc/sysctl.conf.backupbyExadata
[Info]: Adjust settings for IB interfaces in /etc/sysctl.conf
Re-login using new IP address xxx.xxx.64.12 if you were disconnected after following commands
ip addr show eth0
sleep 4
service sshd condrestart

After exadata 20.1.0, we can change ilom dns by one command line as below:

ipconf -update -dns IP_addr_list [-ilom-dns ILOM_DNS_list]

Published by dbaliw

Highly experienced Oracle Database Administrator and Exadata Specialist with over 15 years of expertise in managing complex database environments. Skilled in cloud technologies, DevOps practices, and automation. Certified Oracle Cloud Infrastructure Architect and Oracle Certified Master with a strong background in performance tuning, high availability solutions, and database migrations.

Leave a comment