When you want to keep current time in your SAN, you should synchronize the local time of the principal or primary FCS switch with at least one external Network Time Protocol (NTP) server.
You can synchronize the local time of the principal or primary FCS switch to a maximum of eight external NTP servers.
The tsclockserver command accepts multiple server addresses in IPv4, IPv6, or DNS name formats.
When multiple NTP server addresses are passed, tsclockserver sets the first obtainable address as the active NTP server.
The rest are stored as backup servers that can take over if the active NTP server fails.
Synchronizing the Local Time with an External Source
Connect to the switch and log in using an account assigned to the admin role.
Enter the command:
tsclockserver "<ntp1; ntp2>"
In this syntax,
ntp1 is the IP address or DNS name of the first NTP server, which the switch must be able to access.
The second variable,
ntp2 , is the second NTP server and is optional.
The operand "
ntp1;ntp2" is optional; by default, this value is LOCL, which uses the local clock of the principal or primary FCS switch as the clock server.
Example:
Using the IP address of the NTP server.
switch :admin> tsclockserver 1.2.3.4
Updating Clock Server configuration...done.
Updated with the NTP servers
Using the domain name of the NTP server (make sure the DNS is set up properly first).
switch :admin> tsclockserver ntp.domain.ext
Updating Clock Server configuration...done.
Updated with the NTP servers