如果在更改NTP服务器之前没有条目,选择控制阀GUI不会添加限制条目
适用场景
适用于VMware vSphere的SnapCenter插件(SCV)
问题描述
restrict <NTP_SERVER> nomodify notrap nopeer noquery
如果 在更改NTP服务器之前 条目不存在,则选择控制阀图形用户界面(https://<SCV-IP>:8080
)不会在/etc/ntp.conf
中添加该条目。
diag@scv:~$ grep ^restrict /etc/ntp.conf
restrict -4 default ignore
restrict -6 default ignore
restrict 127.0.0.1
restrict ::1
diag@scv:~$
- 如果该条目不存在, 选择控制阀不会与 NTP 服务器同步。
diag@scv:~$ ntpq -np
remote refid st t when poll reach delay offset jitter
==============================================================================
<NTP_SERVER> .INIT. 16 u - 64 0 0.000 0.000 0.000
diag@scv:~$ ntpq -c as
ind assid status conf reach auth condition last_event cnt
===========================================================
1 <ID> 8011 yes no none reject mobilize 1