EX200 Exam QuestionsBrowse all questions from this exam

EX200 Exam - Question 13


SIMULATION -

Configure the system synchronous as 172.24.40.10.

Show Answer
Correct Answer:

To configure the system to synchronize time with the server at 172.24.40.10 on a RHEL8 system, you need to follow these steps: 1. Install the chrony package using the command `sudo yum -y install chrony`. 2. Edit the chrony configuration file with `sudo vi /etc/chrony.conf` and add the line `server 172.24.40.10`. The optional `iburst` keyword can be added to speed up the initial synchronization. 3. Enable NTP synchronization with `sudo timedatectl set-ntp true`. 4. Start and enable the chrony service with `sudo systemctl enable --now chronyd`. 5. Check the status of the chrony synchronization using `chronyc sources -v`. These steps ensure that your system time is synchronized with the specified server.

Discussion

6 comments
Sign in to comment
mariuszz
Oct 27, 2020

FOR RHEL8: sudo yum -y install chrony $ sudo vi /etc/chrony.conf server 192.168.25.3 sudo timedatectl set-ntp true sudo systemctl enable --now chronyd

RedHatStudent
Jan 4, 2021

Don't forget iburst option server 192.168.25.3 iburst and to check the server that ntp is synchronized with use the command , chronyc sources -v.

ms200
Mar 30, 2021

iburst option not required. Need only server <hostname or ip>

chyaba
May 6, 2021

where did "server 192.168.25.3" come from?

tck123
Jun 12, 2021

server 172.24.40.10?

kenkct
Feb 15, 2022

For RHEL8: #chkconfig chronyd on #sudo vim /etc/chrony.conf allow 172.24.40.0/24 server 172.24.40.10 #sudo systemctl restart chronyd #sudo chronyc sources -v

AbidBajwa
Oct 7, 2021

yum install chrony.x86_64 vi /etc/chrony.conf pool 172.24.40.10 iburst timedatectl status ##check if NTP service is not active timedatectl set-ntp true systemctl enable --now chronyd.service ##check status of chrony sync chronyc sources -v

gunwantk
Oct 15, 2021

Do you guys this "Configure the system synchronous as 172.24.40.10." This is a incomplete question statement?

nickoftime
Apr 27, 2021

why we need to "timedatectl set-ntp true"? can we just strart chronyd alone?

nickoftime
Apr 27, 2021

(i just wondering why need that... i think 'mariuszz' is right answer )

eddiemy
Apr 4, 2022

I never did that, what's use for? timedatectl set-ntp true usually $ sudo yum -y install chrony $ sudo vi /etc/chrony.conf server 192.168.25.3 $ systemctl restart chronyd $ chronyc sources

KreaP
May 25, 2022

its required to tell the system to use the ntp configuration.

americaman80
Apr 24, 2024

Also, don't forget to modify the firewall-cmd settings: firewall-cmd --permanent --add-service=ntp firewall-cmd --reload firewall-cmd --list-all