Skip to main content

3.6.11 Configuring the DNS Round-Robin of the NTP Server


3.6.11 Configuring the DNS Round-Robin of the NTP Server
If you have registered the NTP server by using the host name, you can use DNS round-robin with that host name. To use DNS round-robin, use the setntp command with the -c pool option specified. In advance of this time, the NTP server that you want to configure must be registered with the XSCF. For details on how to register the NTP server, see "3.6.10 Configuring the NTP Servers Used by the XSCF."
  1. Execute the showntp command to display the DNS round-robin settings.
XSCF> showntp -a
client : enable
server : disable

server ntp1.example.com prefer
server ntp2.example.com
  1. Execute the setntp command to configure DNS round-robin.
    The following example shows the NTP server with DNS round-robin enabled.
XSCF> setntp -c pool ntp2.example.com
Please reset the XSCF by rebootxscf to apply the ntp settings.
  1. The following example shows the NTP server with DNS round-robin disabled.
XSCF> setntp -c server ntp2.example.com
Please reset the XSCF by rebootxscf to apply the ntp settings.
  1. Execute the rebootxscf command to reboot the XSCF to reflect the settings made.
XSCF> rebootxscf -a
The XSCF will be reset. Continue? [y|n] :y
  1. The XSCF session is disconnected at this time. Reconnect to the XSCF, and log in again.
  1. Execute the showntp command to display the DNS round-robin settings.
    The following example shows the ntp2.example.com with DNS round-robin enabled.
XSCF> showntp -a
client : enable
server : disable

server ntp1.example.com prefer
pool ntp2.example.com