Help Center/
MapReduce Service/
FAQs/
Cluster Management/
What Can I Do If the Time Information of an MRS Cluster Node Is Incorrect?
Updated on 2023-10-19 GMT+08:00
What Can I Do If the Time Information of an MRS Cluster Node Is Incorrect?
- If the time on a node inside the cluster is incorrect, log in to the node and rectify the fault from 2.
- If the time on a node inside the cluster is different from that on a node outside the cluster, log in to the node and rectify the fault from 1.
- Run the vi /etc/ntp.conf command to edit the NTP client configuration file, add the IP addresses of the master node in the MRS cluster, and comment out the IP address of other servers.
server master1_ip prefer server master2_ip
Figure 1 Adding the master node IP addresses
- Run the service ntpd stop command to stop the NTP service.
- Run the /usr/sbin/ntpdate IP address of the active master node command to manually synchronize time.
- Run the service ntpd start or systemctl restart ntpd command to start the NTP service.
- Run the ntpstat command to check the time synchronization result:
Parent topic: Cluster Management
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot