CDH5.8.2之Enabling NTP
一.問題
CDH requires that you configure the (NTP) service on each machine in your cluster.
To start NTP
and configure it to run automatically on reboot, perform the following steps on
each node in your cluster.
1)此角色的主機的執行狀況為不良。 以下執行狀況測試不良:時鐘偏差.
2)The host’s NTP service is not synchronized to any remote server.
二.解決
先配置一臺NTP服務,然後所有的CDH節點都作為此NTP服務的客戶端。
點選(此處)摺疊或開啟
-
1.安裝NTP(叢集每臺)
-
[root@sht-sgmhadoopcm-01 ~]#yum install ntp
-
2.編輯/etc/ntp.conf(叢集每臺)
-
[root@sht-sgmhadoopcm-01 ~]#vi /etc/ntp.conf
-
server 0.pool.ntp.org
-
server 1.pool.ntp.org
-
server 2.pool.ntp.org
-
3.配置NTP開機自啟動(叢集每臺)
-
[root@sht-sgmhadoopcm-01 ~]#chkconfig ntpd on
-
4.開啟NTP服務(叢集每臺)
-
[root@sht-sgmhadoopcm-01 ~]#service ntp start
-
5.同步ntp節點(叢集每臺)
-
[root@sht-sgmhadoopcm-01 ~]# hostname -i
-
172.16.101.54
-
選取第一臺為ntp伺服器
-
[root@sht-sgmhadoopcm-01 ~]# ntpdate -u 172.16.101.54
-
17 Nov 14:31:26 ntpdate[5450]: adjust time server 172.16.101.54 offset -0.000013 sec
-
6.同步到系統時間(叢集每臺)
- [root@sht-sgmhadoopcm-01 ~]# hwclock --systohc
三.參考
https://www.cloudera.com/documentation/enterprise/5-8-x/topics/install_cdh_enable_ntp.html
http://blog.csdn.net/freedomboy319/article/details/46710255
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/30089851/viewspace-2128631/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Enabling Flexible SAP Workflow in Purchase RequisitionFlexUI
- bug solved | This experimental syntax requires enabling xxxUI
- the NTP socket is in use, exiting
- NTP時間同步
- CentOS/RHEL 7:Chrony vs NTP(ntpd和chronyd之間的差異)CentOS
- NTP/SSH 伺服器伺服器
- 時間伺服器-NTP伺服器
- Linux伺服器配置---ntpLinux伺服器
- Windos NTP 服務設定
- Linux NTP工具的基本使用Linux
- Windows下更改並使用NTPWindows
- Windows Server 2022 NTP伺服器WindowsServer伺服器
- CentOS 配置阿里雲 NTP 服務CentOS阿里
- CentOS 8 啟用 NTP 服務CentOS
- H3CSE園區-NTP
- 使用阿里雲映象站NTP服務搭建NTP伺服器(基於CentOS 7系統)阿里伺服器CentOS
- 如何發現 NTP 放大攻擊漏洞
- 使用NTP原理進行時間同步
- ntp導致的時鐘回撥
- linux 配置ntp時間伺服器Linux伺服器
- 時間同步協議NTP - 原理&實踐協議
- NTP反射型DDos攻擊FAQ/補遺反射
- Ubuntu的NTP同步時鐘設定方法Ubuntu
- 如何在 Linux 下確認 NTP 是否同步?Linux
- Windows server 2012 R2配置NTP ServerWindowsServer
- LINUX 解決時間同步問題(NTP)Linux
- .NET實現獲取NTP伺服器時間並同步(附帶Windows系統啟用NTP服務功能)伺服器Windows
- 為公益伸出援手,自建NTP 伺服器池伺服器
- Oracle叢集(RAC)時間同步(ntp和CTSS)Oracle
- Windows ntp時間同步設定(bat指令碼)WindowsBAT指令碼
- Linux系統時間同步方法小結(NTP)Linux
- Linux使用ntp時間伺服器同步時間Linux伺服器
- NTP時間伺服器優先順序配置伺服器
- 淺談基於 NTP 的反射和放大攻擊反射
- CentOS RHEL 7 Chrony Vs NTP (Differences Between ntpd and chronyd).txtCentOS
- centos8使用chrony作為NTP伺服器CentOS伺服器
- Windows NTP 時間伺服器 資訊 登錄檔Windows伺服器
- 詳解NTP網路時間協議工作過程協議
- 如何安裝和配置 Chrony 作為 NTP 客戶端?客戶端