ITPub博客

首页 > 数据库 > Oracle > Oracle对RAC gsd服务作用的解释

Oracle对RAC gsd服务作用的解释

原创 Oracle 作者:尛样儿 时间:2014-01-01 16:27:57 0 删除 编辑

    Oracle 11gR2 RAC默认情况下gsd服务是禁用的,但某些客户觉得OFFLINE看起来不爽,下面贴出一篇metalink文章,解释gsd服务的作用:

GSD Is Used Only if 9i RAC Database is Present (文档 ID 429966.1)
修改时间:2013-3-11类型:REFERENCE

In this Document

Purpose
Scope
Details
  Scalability RAC Community
References


APPLIES TO:

Oracle Database - Enterprise Edition - Version 10.1.0.2 to 11.2.0.0 [Release 10.1 to 11.2]
Information in this document applies to any platform.
***Checked for relevance on 11-Mar-2013***

PURPOSE

The purpose of this document is to clarify the functionality of GSD in 10g and above.

SCOPE

This article is informational and intended for any user.

DETAILS

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 

see also:
Grid Infrastructure Installation Guide

5 Oracle Grid Infrastructure Postinstallation Procedures

5.3.3 Enabling The Global Services Daemon (GSD) for Oracle Database Release 9.2


--end--

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/23135684/viewspace-1066192/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
Oracle数据库管理员,Oracle数据库系统构架员;2012年7月出版《构建最高可用Oracle数据库系统:Oracle 11gR2 RAC管理、维护与性能优化》一书;Oracle 10g OCM。

注册时间:2010-01-05

  • 博文量
    483
  • 访问量
    5651513