Go to main content
Oracle EDR InfiniBand 交换机和虚拟化 I/O 系统管理指南

退出打印视图

更新时间: 2016 年 11 月
 
 

显示 NTP 服务器 (Oracle ILOM CLI)

可以配置交换机使用 NTP 而不是内部系统时钟。配置交换机使用 NTP 并与网络的 NTP 服务器同步后,可以使用此任务显示与交换机连接的 NTP 服务器。

  1. 显示 NTP 服务器的 IP 地址。
    -> show /SP/clients/ntp/server/1 address
     /SP/clients/ntp/server/1
     	Properties:
     		address = 123.45.67.89
     
    -> show /SP/clients/ntp/server/2 address
     /SP/clients/ntp/server/2
     	Properties:
     		address = 0.0.0.0
    ->
    

    在输出中,NTP 服务器 1 的 IP 地址是 123.45.67.89。NTP 服务器 2 的 IP 地址为 0.0.0.0,这表示该服务器未配置。

  2. 显示 NTP 服务器状态。
    -> show /SP/clock usentpserver
     /SP/clock
     	Properties:
     		usentpserver = enabled
    ->
    

    usentpserver 属性的值确定 SP 是否与已配置的 NTP 服务器同步了时间。值为 enabled 或 disabled。

相关信息