beautypg.com

Tstimezone – Dell POWEREDGE M1000E User Manual

Page 1100

background image

1072

Fabric OS Command Reference

53-1002746-01

tsTimeZone

2

tsTimeZone

Displays or sets the system time zone.

SYNOPSIS

tstimezone --interactive

tstimezone timezonename

tstimezone --old hourOffset[,minuteOffset]

DESCRIPTION

Use this command to display or set the system time zone.

All switches maintain the current time zone setup in nonvolatile memory. Changing the time zone on a
switch updates the local time zone setup and is reflected in local time calculations.

All switches are by default in the 0,0 time zone:, which is, GMT. If all switches in a fabric are located in
the same time zone, you may leave the default time zone setup.

Time zone is used in computing local time for error reporting and logging. An incorrect time zone setup
does not affect the switch operation in any way.

System services started during the switch boot reflect a time zone change only at the next reboot.

The time zone can be specified in the following two ways, by name or in an hours and minutes offset
format:

The offset format is specified with the --old option, followed by an hour offset value and optionally a
minute offset value.

The time zone name format uses the timezone database, which automatically adjusts for Daylight
Saving Time.

By default, the switch is in offset mode (--old), with zero offsets, that is, time is displayed in GMT. Use
tsTimeZone timezonename to change the offset format to the timezone name format.

When executed without parameters, this command displays the current time zone configuration in the
format in which it was set.

Negative hour offset values mean that the local time is behind GMT; for example, -8,0 is GMT-08:00.

Positive hour offset values mean the that local time is ahead of GMT; for example, 3,0 is
GMT+03:00.

When Virtual Fabrics are enabled, the hardware clock is updated by the default switch in the chassis,
and the time zone set on any logical switch applies to all logical switches on the chassis. The
tsTimeZone command requires chassis permissions.

Because there is only one clock on the chassis, for the time server to function correctly, ensure that all
logical switches in the fabric have the same NTP Clock Server configured. This includes any Pre-v6.2.0
switches in the fabric.

NOTES

The execution of this command is subject to Virtual Fabric or Admin Domain restrictions that may be in
place. Refer to Chapter 1, "Using Fabric OS Commands" and Appendix A, "Command Availability" for
details.

OPERANDS

This command has the following operands:

--old

Specifies the time zone in the offset format.

hourOffset

Specifies the number of hours relative to GMT. This operand must be specified as
an integer. Valid values are -12 to 12. This operand is required with the --old
option.