Ce contenu n'est pas disponible dans la langue sélectionnée.

5.3. Configuring Time Synchronization


OpenShift Enterprise requires NTP to synchronize the system and hardware clocks. This synchronization is necessary for communication between the broker and node hosts; if the clocks are not synchronized correctly, messages are dropped by MCollective. It is also helpful to have accurate time stamps on files and in log file entries.
On each host, use the ntpdate command to set the system clock, replacing the NTP servers to suit your environment:
# ntpdate clock.redhat.com
Copy to Clipboard Toggle word wrap
You must also configure the /etc/ntp.conf file to keep the clock synchronized during operation.
If the error message "the NTP socket is in use, exiting" is displayed after running the ntpdate command, it means that the ntpd daemon is already running. However, the clock may not be synchronized due to a substantial time difference. In this case, run the following commands to stop the ntpd service, set the clock, and start the service again:
# service ntpd stop
# ntpdate clock.redhat.com
# service ntpd start
Copy to Clipboard Toggle word wrap
If you are installing OpenShift Enterprise on physical hardware, use the hwclock command to synchronize the hardware clock to the system clock. Skip this step if you are installing on a virtual machine, such as an Amazon EC2 instance. For a physical hardware installation, run the following command:
# hwclock --systohc
Copy to Clipboard Toggle word wrap

Note

If you use the kickstart or bash script, the synchronize_clock function performs these steps.
Retour au début
Red Hat logoGithubredditYoutubeTwitter

Apprendre

Essayez, achetez et vendez

Communautés

À propos de la documentation Red Hat

Nous aidons les utilisateurs de Red Hat à innover et à atteindre leurs objectifs grâce à nos produits et services avec un contenu auquel ils peuvent faire confiance. Découvrez nos récentes mises à jour.

Rendre l’open source plus inclusif

Red Hat s'engage à remplacer le langage problématique dans notre code, notre documentation et nos propriétés Web. Pour plus de détails, consultez le Blog Red Hat.

À propos de Red Hat

Nous proposons des solutions renforcées qui facilitent le travail des entreprises sur plusieurs plates-formes et environnements, du centre de données central à la périphérie du réseau.

Theme

© 2025 Red Hat