NTP Server
背景
ESXi Server 没有外网访问功能,需要通过内其它机节点的 NTP Server 同步时间。
测试外网
vmkping 8.8.8.8
安装 NTP Server
apt install chrony -y
vim /etc/chrony/chrony.conf
检查是否有外网源:
pool ntp.ubuntu.com iburst maxsources 4
pool 0.ubuntu.pool.ntp.org iburst maxsources 1
pool 1.ubuntu.pool.ntp.org iburst maxsources 1
pool 2.ubuntu.pool.ntp.org iburst maxsources 2
在最后添加配置:
allow 10.x.x.0/24