2. 对于11.2.0.2及以上版本,确认 $GRID_HOME/crs/install/s_crsconfig_
< nodename>_env.txt 中的参数设置为正确的时区
问题找到了,我们的数据库版本是11.2.0.4,需要修改这个文件,打开这个文件,
### This file can be used to modify the NLS_LANG environment variable,which determines the charset to be used for messages.
### For example, a new charset can be configured by settingNLS_LANG=JAPANESE_JAPAN.UTF8
### Do not modify this file except to change NLS_LANG, or under thedirection of Oracle Support Services
TZ=CST6CDT
NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1
RT_GRQ=ON
TNS_ADMIN=
ORACLE_BASE=
安装oracleCRS的时候操作系统时区为CST6CDT,安装之后我们修改了操作系统时区和数据库时区后就没有修改过这个值。
我们修改s_crsconfig_spdb1_env.txt的 TZ=Asia/Hong_Kong
注意:两个节点都要修改,修改之后重启生效。
到这里,这个事总算是解决了,重启时间正常。学到了很多啊