Changing the Time Zone Settings on the Storage Servers

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

To change the time zone setting on a storage server:

  1. Log in as the root user on the storage server.
  2. Stop the processes on the cells:
    # cellcli -e alter cell shutdown services all
    
  3. Run the ipconf script:
    # /opt/oracle.cellos/ipconf
    
  4. Proceed through the script prompts until you see the time zone prompts. Do not change any other settings.

    The following example changes the time zone from McMurdo, Antarctica, to New York City, USA. The number for the United States is 230.

    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]:
    
  5. Proceed through the remaining prompts, but do not change any other values.
  6. Ensure that the time zone changes appear in the following files. Examples of the changes are shown for the files.
    • /opt/oracle.cellos/cell.conf

      $VAR1 = {
                'Hostname' => 'xdserver.us.example.com',
                'Ntp servers' => [
                                   '10.141.138.1'
                                 ],
                'Timezone' => 'America/New_York',
      
    • /etc/sysconfig/clock

      ZONE="America/New_York"
      UTC=false
      ARC=false
      #ZONE="Antarctica/McMurdo"
      #ZONE="America/New_York"
      #ZONE="America/Los_Angeles"
      

      The uncommented value (not preceded by #) is the current setting.

    • /etc/localtime

      Use the strings /etc/localtime command to see the printable characters in the file. The last line includes the time zone setting.

      EST5EDT,M3.2.0,M11.1.0
      
  7. Restart the server.
  8. Use the date command to see the current time zone. The following is an example of the output from the command:
    # date
    Thu Jun 12 16:43:47 EDT 2014
    
  9. Review the $ADR_BASE/diag/asm/cell/host_name/alert.log file. Verify that the time that you restarted the processes matches the current and correct time.