settimezone

You can use the settimezone command to set the time zone for the cluster.

Syntax

Read syntax diagramSkip visual syntax diagram>>- svctask -- -- settimezone -- ------------------------------->

>-- -timezone -- timezone_arg ---------------------------------><

Parameters

-timezone timezone_arg
Specifies the time zone to set for the cluster.

Description

This command sets the time zone for the cluster. Use the -timezone parameter to specify the numeric ID of the time zone you want to set. Issue the svcinfo lstimezones command to list the time-zones available on the cluster. A list of valid time-zones settings are displayed in a list. The specific cluster ID and its assigned time-zone are indicated in the list.

The time zone that this command sets will be used when formatting the error log produced by typing:
svctask dumperrlog

Note:Note: If you have changed the timezone, you must clear the error log dump directory before viewing the error log through the Web application.

Issue the svcinfo showtimezone command to display the current time-zone settings for the cluster. The cluster ID and its associated time-zone are displayed. Issue the svctask setclustertime command to set the time for the cluster.

Possible failures

Examples

An invocation example

svctask settimezone -timezone 5

The resulting output

No feedback

Related topics

(C) Copyright International Business Machines Corporation 2003, 2004