Setting the cluster time using the CLI

You can use the command-line interface (CLI) to set the cluster time.

Perform the following steps to set the cluster time:

  1. Issue the svcinfo showtimezone CLI command to display the current time-zone settings for the cluster. The time zone and the associated time-zone ID are displayed.
  2. Issue the svcinfo lstimezones CLI command to list the time zones that are available on the cluster. A list of valid time-zone settings are displayed. Each time zone is assigned an ID. The time zone and the associated ID are indicated in the list.
  3. Issue the following CLI command to set the time zone for the cluster.
    svctask settimezone -timezone time_zone_setting

    where time_zone_setting is the new time zone ID that you have chosen from the list of time zones that are available on the cluster.

  4. Issue the following CLI command to set the time for the cluster:
    svctask setclustertime -time 031809142005

    where 031809142005 is the new time that you want to set for the cluster. You must use the MMDDHHmmYYYY format to set the time for the cluster.

Library | Support | Terms of use | Feedback
© Copyright IBM Corporation 2003, 2009. All Rights Reserved.