In the following command, IP_addr_list is a comma-separated list of up to 3 IP addresses for the NTP servers. If you also want to change the NTP servers for ILOM, then include the -ilom-ntp parameter and replace ILOM_NTP_list with a comma-separated list of up to 3 IP addresses for the NTP servers. Include the -force parameter to force the update, bypassing all checks.
# ipconf -update -ntp IP_addr_list [-ilom-ntp ILOM_NTP_list] [-force]
If the timestamp obtained from the new NTP server
differs from the current time known to the system by more than 1
second (time step), then the command fails and does not
update the NTP settings. You can use the -force
option with the command line to override this check.
Here is an example of the command and its output.
[root@dbm03adm02 oracle.cellos]# ipconf -update -ntp 10.31.138.20,10.31.16.1
-ilom-ntp 10.31.138.20,10.31.16.1
[Info]: ipconf command line: ipconf -update -ntp 10.31.138.20,10.31.16.1
-ilom-ntp 10.31.138.20,10.31.16.1
Logging started to /var/log/cellos/ipconf.log
[Info]: Updating dns/ntp
[Warning]: ntpd service is not running
[Info]: Backup existing cell configuration file /opt/oracle.cellos/cell.conf to
/var/log/exadatatmp/cell.conf_2020_01_13-17_54_56
[Info]: Restart ntpd service
Shutting down ntpd: [ OK ]
Starting ntpd: [ OK ]
[Done]: Update cell configuration file /opt/oracle.cellos/cell.conf OK