CHAPTER 3:
Timestamping – NTP and
Clock Drift
This chapter describes how to maintain accurate time on the appliance by performing the following tasks:
>
>
"Correcting Clock Drift Manually" on the next page
>
"NTP on SafeNet Luna Network HSM" on page 43
Setting the Time Zone
In LunaSH, the
sysconf timezone
command allows you to change the current system time zone setting. The
sysconf timezone
command accepts any time zone defined in the Time Zone Database maintained by IANA
(also often referred to as zoneinfo, tzdata, or tz). You may prefer to use an offset of Greenwich Mean Time
(GMT), or to set your local time zone. For a list of accepted time zone abbreviations, use the command
sysconf timezone list
, or see
https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
Note that the time zone code reported by
sysconf timezone show
is a localized abbreviation. For example,
the following three commands set the time zone code to “EST” or "EDT", depending on whether Daylight
Saving Time (DST) is currently in effect:
>
sysconf timezone set America/Kentucky/Louisville
>
sysconf timezone set America/Toronto
>
sysconf timezone set EST5EDT
If you choose a named time zone, the system automatically adjusts for DST on the appropriate dates.
If you choose a simple time zone abbreviation (like
EST
) or GMT plus-or-minus a numeric offset (like
Etc/GMT+5
), that value is fixed, and the system does not adjust for DST. You must therefore make any
appropriate time changes manually.
NOTE
If you choose to enter GMT plus-or-minus a numeric offset, please note that zone
names beginning with "
Etc/GMT
" have their signs reversed. Zones west of GMT have a (+)
sign and zones east of GMT have a (-) sign.
Examples
To set the time zone to...
Command
Eastern Standard Time
sysconf timezone set EST
SafeNet Luna Network HSM 7.3 Appliance Administration Guide
007-013576-005 Rev. A 13 December 2019 Copyright 2001-2019 Thales
41