I got a error during exadata patchmgr precheck on cell storage.
# ./patchmgr -cells cells -log_dir auto -patch_check_prereq -rolling ... cel01: [ERROR] Can not continue. Runtime configuration is not consistent with values configured in /opt/oracle.cellos/cell.conf. cel01: [ERROR] Run ipconf to correct the inconsistencies. Failed check: /root/<em>cellupd_dpullec</em>/<em>p</em>/ipconf -check-consistency -at-runtime -semantic -verbose cel01: [ERROR] Details: cel01: ILOM DNS server 100.13.148.093,100.13.148.094 in system configuration must match 100.13.10.188 in /opt/oracle.cellos/cell.conf : FAILED cel01: [Info]: Consistency check FAILED cel01: _EXIT_ERROR_Cell cel01 10.66.128.82 2021-10-06 16:18:44 +0200: ...
The ilom dns is still old ip adresse in cell.conf.
# egrep -i ILOM_Nameserver /opt/oracle.cellos/cell.conf <ILOM_Nameserver>100.13.10.188</ILOM_Nameserver> ...
But dns has been changed in ilom.
# ipmitool sunoem cli \"show /sp/clients/dns\" | egrep -i nameserver cel01: nameserver = 100.13.148.093,100.13.148.094 ...
So what’s happened?
It could be someone change nameserver directly with ilom command line as below.
ipmitool sunoem cli "set /SP/clients/dns nameserver=100.13.148.093,100.13.148.094"
But the cell.conf cann’t be updated by ipmitool. In this case, we need to update cell.conf.
Be careful, always backup before the update.
# diff /opt/oracle.cellos/cell.conf /opt/oracle.cellos/cell.conf.20211006 64c64 < <ILOM_Nameserver>100.13.148.093,100.13.148.094</ILOM_Nameserver> --- > <ILOM_Nameserver>100.13.10.188</ILOM_Nameserver>
After change cell.conf, we need to check config again.
# /opt/oracle.cellos/ipconf.pl -check-consistency -at-runtime -nocodes [Info]: ipconf command line: /opt/oracle.cellos/ipconf.pl -check-consistency -at-runtime -nocodes Logging started to /var/log/cellos/ipconf.log [Info]: Verify that the configured values in the Exadata configuration file /opt/oracle.cellos/cell.conf agree with the actual values in use on this system Loading basic configuration settings from ILOM ... [Info]: Consistency check PASSED <============== PASSED
Using ipconf command is another way to change cell.conf, you can find it in MOS . I’ll show you this method next time.