Exam EX200 All QuestionsBrowse all questions from this exam
Question 13

SIMULATION -

Configure the system synchronous as 172.24.40.10.

    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
mariuszz

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

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

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

chyaba

where did "server 192.168.25.3" come from?

tck123

server 172.24.40.10?

kenkct

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

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

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

americaman80

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

nickoftime

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

nickoftime

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

eddiemy

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

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