4.13.1 Change Time Zone Settings on Storage Servers

Use these steps to change the time zone setting on storage servers.

Complete the setting changes to all storage servers before changing the settings on the database servers.

  1. Log in to the database server as the root user.
  2. Stop Oracle Clusterware.

    Use a command similar to the following, where Grid_home is the location of your Oracle Clusterware software installation.

    # Grid_home/bin/crsctl stop crs
  3. Repeat the previous steps on all of the database servers in the cluster.
  4. Log in to the storage server as the root user.
  5. Stop the Exadata services on the storage server.
    # cellcli -e alter cell shutdown services all
  6. Run the ipconf script.
    # /opt/oracle.cellos/ipconf
    1. Proceed through the script prompts until you get to the time zone prompts. Do not change any other settings.

      Each Country is identified by a number and once it is selected, you will see another set of numbers for the different time zones within that country.

      The following is an example of the time zone prompts for changing the time zone from Antarctica to the United States. In this example, the number for the United States is 230. However, note that you may see different numbers depending on the time zone definitions contained in your software release.

      The current timezone: Antarctica/McMurdo
      Do you want to change it (y/n) [n]: y
       
      Setting up local time...
       
      1) Andorra
      2) United Arab Emirates
      3) Afghanistan
      .
      .
      .
      15) Aruba
      16) Aaland Islands
      Select country by number, [n]ext, [l]ast: 230
      
      Selected country: United States (US). Now choose a zone
       
      1) America/New_York
      2) America/Detroit
      3) America/Kentucky/Louisville
      .
      .
      .
      15) America/North_Dakota/New_Salem
      16) America/Denver
      Select zone by number, [n]ext: 1
      
      Selected timezone: America/New_York
      Is this correct (y/n) [y]: y
      
    2. Proceed through the rest of the script prompts, but do not change any other values. Do not change ILOM settings.

    After responding to all change requests, the script generates new files.

    Info. Run /opt/oracle.cellos/validations/init.d/saveconfig
    /opt/oracle.cellos/validations/init.d/saveconfig started at 2017_05_12_10_28
    Copy cell configs from /opt/oracle/cell/cellsrv/deploy/config to /opt/oracle.cellos/iso/lastGoodConfig/cell/cellsrv/deploy/config
    [INFO] Copying ssh host settings from //etc/ssh to /opt/oracle.cellos/iso/lastGoodConfig/etc/ssh ...
    uid=0(root) gid=0(root) groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel)
  7. Take note of the Oracle Linux version used on the storage server.

    For example:

    # cat /etc/system-release
    Oracle Linux Server release 8.9
    
  8. Verify that the time zone has been changed on the storage server.

    Choose the appropriate method based on the Oracle Linux version used on the storage server.

    • If the storage server uses Oracle Linux 6 or earlier, then:

      • Check the time zone in the output of the date command. For example:

        # date
        Mon Apr 1 22:26:00 EDT 2024
      • Check the time zone setting in /opt/oracle.cellos/cell.conf. For example:

        # cat /opt/oracle.cellos/cell.conf
        ...
        <Timezone>America/New_York</Timezone>
        ...
      • Check the time zone setting in /etc/sysconfig/clock. For example:

        # cat /etc/sysconfig/clock
        ...
        ZONE="America/New_York"
        ...
      • Check the time zone setting in /etc/localtime.

        Examine the output from strings /etc/localtime. The last line contains the time zone.

        For example:

        # strings /etc/localtime
        ...
        EST5EDT,M3.2.0,M11.1.0
    • If the storage server uses Oracle Linux 7 or later, then use the timedatectl command to view the current time zone configuration. For example:

      # /usr/bin/timedatectl
                     Local time: Mon 2024-04-01 22:26:30 EDT
                 Universal time: Tue 2024-04-02 02:26:30 UTC
                       RTC time: Tue 2024-04-02 02:26:31
                      Time zone: America/New_York (EDT, -0400)
      System clock synchronized: yes
                    NTP service: active
                RTC in local TZ: no
  9. Restart the Exadata storage services.
    # cellcli -e alter cell startup services all
  10. Review the $ADR_BASE/diag/asm/cell/host_name/trace/alert.log file.

    Ensure that the timestamps for recently restarted processes matches the updated time settings.

  11. Repeat steps 4 through 10 on each cell.