GSD status showing offline in 11g

新接手套系统,用的11.2的oracle rac。crs_stat -t 发现gsd的target 和state都是offline,查mos有相关文章,表明如果clusterware管理的database里没有9i,则gsd可以关闭。且11.2GSD  默认就是关闭状态

 

GSD Is Used Only if 9i RAC Database is Present

The function of GSD (10g and above) is to service requests for 9i RAC management clients and therefore when there are no 9i databases present, there is nothing for GSD to do. Consequently, there will be no impact on a RAC cluster if GSD is offline and 9i is not used.

If gsd fails to start due to whetever reasons then best thing is to work with Oracle support to analyze and fix the issue. Until that time, gsd can be temporarily disabled.

In 11.2 GSD is disabled by default and the service will show as target:offline, status:offline.

Disable GSD (pre 11.2)
After confirming that there are no 9i databases being used you can disable GSD by adding 'exit 0' after the initial comments in the script $ORACLE_HOME/bin/gsdctl where $ORACLE_HOME is the home from which nodeapps are running (i.e. crs home).

#case $ORACLE_HOME in 
# "") echo "****ORACLE_HOME environment variable not set!" 
# echo " ORACLE_HOME should be set to the main" 
# echo " directory that contains Oracle products." 
# echo " Set and export ORACLE_HOME, then re-run." 
# exit 1;; 
#esac 
exit 0 ## Manually added as a temporary workaround 

A backup of the original script should be made before making the above change.


Disable GSD (11.2)

You may want to disable GSD after you upgraded all your Oracle9i RAC databases.

srvctl stop nodeapps
srvctl disable nodeapps -g
srvctl start nodeapps


Enable GSD in 11.2

srvctl enable nodeapps -g
srvctl start nodeapps

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值