Oracle對RAC gsd服務作用的解釋

尛樣兒發表於2014-01-01

    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部落格 ” ,連結:http://blog.itpub.net/23135684/viewspace-1066192/,如需轉載,請註明出處,否則將追究法律責任。

相關文章