ESXi配置windows服务器ntp服务器_第1页
ESXi配置windows服务器ntp服务器_第2页
ESXi配置windows服务器ntp服务器_第3页
全文预览已结束

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、构建一流信息化平台,助力中国企业成长! PAGE 构建一流信息化平台,助力中国企业成长! PAGE 4、标 题: 在VCenter 上设置NTP Client分 类:虚拟化系统关键字: ESXi,vCenter,NTP摘 要:在VCenterNTP Client具体内容:问题描述虚拟化主机上配置 ntp 服务器之后不能与服务器同步解决方案修改 ESXi 底层 ntp 配置文件,具体步骤如下:在 VCenter 上设置 NTP Client.使用 vSphere Web Client 同步时间,请执行以下操作:1,配置所有 ESXi 服务器使其与 NTP 服务器同步。a, 在 vSphereWe

2、bClient 中,选择 ESXi时间配置,然后单击编辑链接。b, 选择使用网络时间协议 (启用 NTP 客户端)。c, 从 NTP 服务启动策略下拉菜单中,选择随主机启动和停止。d, 在 NTP 服务器文本框中,添加所有 NTP 服务器。e, 单击启动或重新启动更新 NTP 服务设置。f, 单 击 确 定 。2,同步所有虚拟机上的时间。a, 在 vSphere Web Client 中,右键单击虚拟机并选择编辑设置。b, 在虚拟机选项选项卡上,单击 VMware Tools,然后选中同步客户机时间与主机时间复选框。c, 单击确定。在 ESXi 主机上修改配置文件(只能对 esxi4.X,es

3、xi5.x)。在 ESXi 主机上修改配置文件(只能对 esxi4.X,esxi5.x)。1. 在/etc/ntp.conf 的最后一行添加一行 tos maxdist 302. 修改/etc/likewise/lsassd.conf 文件, 设置 sync-system-time = yes3. 重启 lsassd 服务和 ntpd 服务.4.重启服务/etc/init.d/ntpd restart操作过程: # cp /etc/ntp.conf /etc/ntp.conf.bak # vi /etc/ntp.conf操作过程: # cp /etc/ntp.conf /etc/ntp.con

4、f.bak # vi /etc/ntp.confrestrict default kod nomodify notrap nopeer restrict 127.0.0.1server 192.168.169.30 driftfile /etc/ntp.drifttos maxdist 30 # cp /etc/likewise/lsassd.conf /etc/likewise/lsassd.conf.bak # vi /etc/likewise/lsassd.conf cache-entry-expiry = 1m# Machine password expiration lifespan

5、 # Default: 30d# Minimum: 1h # Maximum: 60dmachine-password-lifespan = 30d # Default: # Allowed: a punctuation character# Excluded: whitespace, alphanumeric, , /, domain separator character, #space-replacement = # Default: no# assume-default-domain = yes# Default: yessync-system-time = yessync-syste

6、m-time = yes# Allow only the following users and groups # to login to this system# Note: Use a comma-separated list of # /sbin/auto-backup.shFiles /etc/opt/vmware/fdm/vmmetadata and/tmp/auto-backup.15881350/etc/opt/vmware/fdm/vmmetadata differSaving current state in /bootbank Clock updated.Time: 03:

7、06:50Date: 03/25/2017Files /etc/opt/vmware/fdm/vmmetadata and/tmp/auto-backup.15881350/etc/opt/vmware/fdm/vmmetadata differSaving current state in /bootbank Clock updated.Time: 03:06:50Date: 03/25/2017UTC # /etc/init.d/lsassd restartStopping Likewise Identity and Authentication Service.failedStarting Likewise Identity and Authentication Servicetouch:/var/lock/subsys/lsassd: No such file or directory.o

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论