- 积分
- 32
- 鸿鹄币
- 个
- 好评度
- 点
- 精华
- 最后登录
- 1970-1-1
- 阅读权限
- 10
- 听众
- 收听
网络小学徒

|
发表于 2013-1-2 16:25:17
|
显示全部楼层
Configure ESX/ESXi NTP and Likewise Clients
Configure ESX/ESXi to synchronize time with the Windows server Active Directory Domain Controller:
Connect to the ESX/ESXi host or vCenter Server using the vSphere Client.
Select the ESX/ESXi host in the inventory.
Click the Configuration tab.
Under the Software heading, click Time Configuration.
Click Properties.
Ensure that the NTP Client Enabled option is selected.
Click Options.
Click NTP Settings.
Click Add and specify the fully qualified domain name or IP address of the Windows server Domain Controller(s).
Click OK.
Click OK to save the changes.
Additional configuration must be done from the command line.
Open a console to the ESX or ESXi host. For more information, see Connecting to an ESX host using a SSH client (1019852) or Using Tech Support Mode in ESXi 4.1 and ESXi 5.0 (1017910).
Open the file /etc/ntp.conf in a text editor. For more information, see Editing configuration files in VMware ESXi and ESX (1017022).
Add the tos maxdist command on its own line:
tos maxdist 30
Save the configuration file.
Make the file /etc/likewise/lsassd.conf writable using the command:
chmod +w /etc/likewise/lsassd.conf
Open the file /etc/likewise/lsassd.conf in a text editor. For more information, see Editing configuration files in VMware ESXi and ESX (1017022).
Locate the sync-system-time option, uncomment it, and set the value to no:
sync-system-time = no
Save the configuration file.
On ESXi, save the configuration changes to the boot bank so they persist across reboots using the command:
/sbin/auto-backup.sh
Restart the ntpd and lsassd service for the configuration change to take effect using the commands:
service lsassd restart
service ntpd restart
Note: To restart the ntpd and lsassd services on an ESXi host use these commands:
./etc/init.d/lsassd restart
./etc/init.d/ntpd restart
If the ntpd and lsassd services are not restarting, consider restarting the management agents first. For more information about restarting the management agent, see Restarting the Management agents on an ESX or ESXi Server (1003490).
Once the configuration changes are completed, ensure that the time is synchronized between the ESX/ESXi host and the Windows server. For more information, see Troubleshooting NTP on ESX and ESXi (1005092).
http://kb.vmware.com/selfservice ... ;externalId=1035833
|
13#
2013-1-2 16:25:17
回复(0)
收起回复
|