Configuring an ntp server – FUJITSU SPARC M4000 User Manual

Page 100

Advertising
background image

2-44

SPARC Enterprise Mx000 Servers XSCF User’s Guide • April 2008

2. Use the setdate (8) command to set the time.

<Example 1> Set the current time to 2006-1-27 16:59:00 of a local

time.

XSCF> setdate -s 012716592006.00

Fri Jan 27 16:59:00 JST 2006

The XSCF will be reset. Continue? [y|n]:y

Fri Jan 27 16:59:00 JST 2006

<Example 2> Set the current time to 2006-1-27 07:59:00 of UTC.

XSCF> setdate -u -s 012707592006.00

Fri Jan 27 07:59:00 UTC 2006

The XSCF will be reset. Continue? [y|n]:y

Fri Jan 27 16:59:00 JST 2006

Note –

After the time settings, XSCF reset is done. At this time, the XSCF session is

disconnected. Please reconnect to the XSCF and log in again. Also, when the
domains are running and if you use XSCF as an NTP server, please perform a
domain reboot or apply the changed time to the domain using the ntpdate (1M)
command.

Note –

When replacing the XSCF unit, be sure to note the time set on the

replacement XSCF. If the replacement XSCF time does not match the current time,
set it to the current time. For the replacement XSCF unit, execute the showdate (8)
command to check the time, and reset it using the setdate (8) command.

Configuring an NTP Server

Command operation

1. Use the showntp (8) command to display the NTP server for the XSCF

network.

XSCF> showntp -a

server ntp1.example.com prefer # [1] ntp server name

server ntp2.example.com # [2] ntp server name

Advertising