grid 11.2.0.2 之后的版本(包含11.2.0.2),时区的配置文件是写
在 $GRID_HOME/crs/install/s_crsconfig_<nodename>_env.txt 这个文件中的
Grid Time Zone Setting
Once OS default timezone is changed, make sure:
1. For 11.2.0.1, shell environment variable TZ is set correctly for grid user and root.
2. For 11.2.0.2 and above, TZ entry in $GRID_HOME/crs/install/s_crsconfig_<nodename>_env.txt sets to correct time zone.
OS Default Timezone Setting
Linux
To change: /usr/sbin/timeconfig
To display current setting:
ZONE="America/Los_Angeles"
UTC=true
ARC=false
To find out all valid setting: ls -l /usr/share/zoneinfo
Anything that appears in this directory is valid to use, for example, CST6CDT and America/Chicago.
Note: the "Zone" field in /etc/sysconfig/clock could be different than what's in /usr/share/zoneinfo in OL6.3/RHEL6.3, the one from /usr/share/zoneinfo should be used in $GRID_HOME/crs/install/s_crsconfig_<nodename>_env.txt
hp-ux
To display current setting:
PST8PDT
To change: set_parms timezone
To find out all valid setting: ls -l /usr/lib/tztab
Solaris
To display current setting:
TZ=US/Pacific
To change on x64, modify TIMEZONE, also run "rtc -z US/pacific; rtc -c"
To find out all valid settings: ls -l /usr/share/lib/zoneinfo
AIX
To display current setting:
TZ=GMT
Refer to the following URL for more about timezone on AIX:
参考:How To Change Timezone for 11gR2 Grid Infrastructure (文档 ID 1209444.1)