【NetApp】配置NetApp控制器与Linux NTP服务器同步

Linux NTP服务器端配置:

1)设置/etc/ntp.conf配置文件

[[email protected] etc]# vi /etc/ntp.conf

# For more information about this file, see the man pages
# ntp.conf(5), ntp_acc(5), ntp_auth(5), ntp_clock(5), ntp_misc(5), ntp_mon(5).

driftfile /var/lib/ntp/drift

# Permit time synchronization with our time source, but do not
# permit the source to query or modify the service on this system.
restrict default kod nomodify notrap nopeer noquery
restrict -6 default kod nomodify notrap nopeer noquery

# Permit all access over the loopback interface.  This could
# be tightened as well, but to do so would effect some of
# the administrative functions.
restrict 127.0.0.1
restrict -6 ::1

# Hosts on local network are less restricted.
restrict 192.168.10.0 mask 255.255.255.0 nomodify notrap

# Use public servers from the pool.ntp.org project.
# Please consider joining the pool (http://www.pool.ntp.org/join.html).
#server 0.rhel.pool.ntp.org
#server 1.rhel.pool.ntp.org
#server 2.rhel.pool.ntp.org

#broadcast 192.168.1.255 autokey        # broadcast server
#broadcastclient                        # broadcast client
#broadcast 224.0.1.1 autokey            # multicast server
"/etc/ntp.conf" 57L, 1917C
# For more information about this file, see the man pages
# ntp.conf(5), ntp_acc(5), ntp_auth(5), ntp_clock(5), ntp_misc(5), ntp_mon(5).

driftfile /var/lib/ntp/drift

# Permit time synchronization with our time source, but do not
# permit the source to query or modify the service on this system.
restrict default kod nomodify notrap nopeer noquery
restrict -6 default kod nomodify notrap nopeer noquery

# Permit all access over the loopback interface.  This could
# be tightened as well, but to do so would effect some of
# the administrative functions.
restrict 127.0.0.1
restrict -6 ::1

# Hosts on local network are less restricted.
restrict 192.168.10.0 mask 255.255.255.0 nomodify notrap

# Use public servers from the pool.ntp.org project.
# Please consider joining the pool (http://www.pool.ntp.org/join.html).
#server 0.rhel.pool.ntp.org
#server 1.rhel.pool.ntp.org
#server 2.rhel.pool.ntp.org

#broadcast 192.168.1.255 autokey        # broadcast server
#broadcastclient                        # broadcast client
#broadcast 224.0.1.1 autokey            # multicast server
#multicastclient 224.0.1.1              # multicast client
#manycastserver 239.255.254.254         # manycast server
#manycastclient 239.255.254.254 autokey # manycast client

# Undisciplined Local Clock. This is a fake driver intended for backup
# and when no outside source of synchronized time is available.
server  127.127.1.0     # local clock
fudge   127.127.1.0 stratum 0

# Enable public key cryptography.
#crypto

2)NetApp 7mode 控制器options配置

3) autosupport中相关NTP状态查询

a)ntpdc_peer.txt文件内容

b)ntpdc_sysinfo.txt文件内容

c)ntpdc_kerninfo.txt文件内容

原文地址:http://blog.51cto.com/acadia627/2117965

时间: 2024-08-29 07:45:07

【NetApp】配置NetApp控制器与Linux NTP服务器同步的相关文章

Linux NTP服务器搭建精讲

Linux NTP服务器  (时间服务器) Date –s 22:12:30   # 设置时间 闰秒  7月1日07:59:60秒 在这个时候,要关闭ntp服务 1.1. 软件安装 所需软件:默认已安装 yum install ntp -y ntpdate-4.2.6p5-1.el6.centos.i686 fontpackages-filesystem-1.41-1.1.el6.noarch ntp-4.2.6p5-1.el6.centos.i686 1.2. 配置NTP 配置文件:   vi

Linux NTP 服务器搭建

Linux时间同步服务器搭建 NTP(Network Time Protocol)是用来使计算机时间同步化的一种协议,它使用UDP协议123号端口对外提供服务,它可以使计算机对其服务器或时钟源(如石英钟,GPS等等)做时间的同步化,它可以提供高精准度的时间校正(LAN上与标准间差小于1毫秒,WAN上几十毫秒),且可介由加密确认的方式来防止恶毒的协议攻击.时间按NTP服务器的等级传播.按照离外部UTC源的远近把所有服务器归入不同的Stratum(层)中. 今天做一个项目需要配置一台NTP时间同步服

配置树莓派3和局域网NTP服务器实现内网时间校准

一.配置局域网NTP服务器 1.安装ntp-4.2.8p5-win32-setup.exe 下载地址:https://www.meinbergglobal.com/english/sw/ntp.htm按默认步骤安装即可. 2.修改配置文件ntp.conf 配置文件默认路径为:C:\Program Files (x86)\NTP\etc\ntp.conf去掉 [plain] view plain copy #server 127.127.1.0 #fudge 127.127.1.0 stratum

linux ntp 服务器和用户端

ntp 服务器 1.输入 rpm -qa|grep ntp 查看是否安装了ntp服务器 2.如果没安装 yum -y install ntp 安装 3.修改 /etc/ntp.conf 将原server加上注释 添加本地server 127.127.1.1 4.重启服务 systemctl restart ntpd.service使用 ntpq -p 查看是否为本地ntpd 5. 客户端配置 安装ntp 修改配置文档 vi /etc/ntp.conf 修改 server 服务器ip地址 ibur

linux ntp 服务器,时间同步

周氏一族,整理技术文档,给下一代留点教程...... 公司服务器较多,各种服务分布式管理,所以时间的同步非常重要. 经过几番了解和思考之后,决定用这样的方式来控制时间同步 1.随便一台公网服务器server21,ntp 到 http://www.pool.ntp.org ,获得国际标准时间 2.内部形成一个局域网,全部所有机器,ntp到内网服务器 server21,获得同步 3.内网服务器,编写同步监控脚本,1小时执行一次,以确保时间同步无误. 服务器,centos 6.3  64bit 公网,

linux ntp服务器搭建

在VMvare中,采用的是光盘镜像安装, 1 . 安装ntp rpm 包 mount /dev/cdrom /mnt         #挂载光盘镜像文件到mnt下,便于访问 ls /mnt/Packages/ntp*      #找到ntp相关的rpm包 rpm -ivh

Linux -- NTP服务器配置

/etc/Linux NTP.conf System-config-date Network Time Protocol(Linux NTP,网络时间协议)用于同步它所有客户端时钟的服务.Linux NTP服务器将本地系统的时钟与一个公共的Linux NTP服务器同步然后作为时间主机提供服务,使本地网络的所有客户端能同步时钟. 同步时钟最大的好处就是相关系统上日志文件中的数据,如果网络中使用中央日志主机集中管理日志,得到的日志结果就更能反映真实情况.在同步了时钟的网络中,集中式的性能监控.服务监

Linux NTP配置详解 (Network Time Protocol)

Network Time Protocol (NTP) 也是RHCE新增的考试要求. 学习的时候也顺便复习了一下如何设置Linux的时间,现在拿出来和大家分享 设置NTP服务器不难但是NTP本身是一个很复杂的协议. 这里只是简要地介绍一下实践方法和上次一样,下面的实验都在RHEL5上运行 1. 时间和时区 如果有人问你说现在几点? 你看了看表回答他说晚上8点了. 这样回答看上去没有什么问题,但是如果问你的这个人在欧洲的话那么你的回答就会让他很疑惑,因为他那里还太阳当空呢. 这里就有产生了一个如何

Centos6.5 配置NTP服务器

配置NTP-server 环境: [[email protected] ~]# cat/etc/redhat-release  CentOS release 6.5 (Final) [[email protected] ~]# uname -r 2.6.32-431.el6.x86_64 [[email protected] ~]# uname -m x86_64 安装NTP软件: [[email protected] ~]# yum install -yntp 检查远程ntp服务器是否可用: