Oracle® Server CLI Tools for Oracle Solaris 11.2 用户指南

退出打印视图

更新时间: 2015 年 11 月
 
 

修改时钟信息

要修改时钟信息,请使用 ilomconfig modify clock 命令。指定 XML 文件名时,此命令将修改在所导出的服务处理器配置 XML 文件中定义的信息,而不是修改 Oracle ILOM。

  • 要修改时钟信息,请键入:

    ilomconfig modify clock [--datetime=datetime] [--timezone=timezone] [--usentp=enabled|disabled [-ntp-server1=ntpserver1] [--ntp-server2=ntpserver2] [--xmlfile=filename.xml]

    选项
    说明
    示例
    –-datetime
    MMDDhhmmYYYY 格式或 MMDDhhmmYYYY.ss 格式的 Oracle ILOM 日期。
    032514272010
    –-timezone
    Oracle ILOM 时钟时区,如 GMT。
    enableddisabled
    –-usentp
    Oracle ILOM NTP 客户机状态。
    enableddisabled
    –-ntp-server1
    Oracle ILOM NTP 服务器 1 IP 地址。
    aaa.bbb.ccc.ddd
    –-ntp-server2
    Oracle ILOM NTP 服务器 2 IP 地址。
    aaa.bbb.ccc.ddd
    –-xmlfile
    修改指定的 XML 文件,而非本地 Oracle ILOM 服务处理器。必须后跟 = 和文件的路径名。
    file.xml