CAFE

DBA 로 가는 길(ORACLE)

Relink Grid Infrastructure

작성자송지환|작성시간23.05.09|조회수44 목록 댓글 0

Relink Grid Infrastructure
By bpeasland in Oracle, RAC
I recently had to work with my SysAdmin on a minor OS upgrade on a two-node RAC cluster. I am running Oracle Grid Infrastructure 11.2.0.2 with Oracle RDBMS 11.2.0.2 and we were upgrading from Oracle Enterprise Linux 5.2 to 5.8.

As most Oracle DBA’s know, it is a good idea to recompile the Oracle software after an OS upgrade. For the Oracle RDMBS software, this is as simple as “$ORACLE_HOME/bin/relink all”. But what about the Grid Infrastructure software?

If you read Metalink Note 220970.1 RAC: Frequently Asked Questions, it states that for 11.2 and higher, you should relink after an OS upgrade (Lower versions do not need the relink). However, I think the steps are a bit misleading as I found out last night. The steps this note gives are as follows:

As root:

cd $GRID_HOME/crs/install

perl rootcrs.pl -unlock

As GRID_HOME owner ("oracle" in my case):

export ORACLE_HOME=$GRID_HOME

$ORACLE_HOME/bin/relink

As root:

cd $GRID_HOME/crs/install

perl rootcrs.pl -patch


What the instructions fail to tell you is that the last call to rootcrs.pl will start Grid Infrastructure, which for most people means an automatic restart of the instances running under GI’s control. But wait a minute! I didn’t get a chance to recompile the Oracle RDBMS software! So here is my modified steps to recompile everything:

As root:

cd $GRID_HOME/crs/install

perl rootcrs.pl -unlock

As GRID_HOME owner ("oracle" in my case):

export ORACLE_HOME=$GRID_HOME

$ORACLE_HOME/bin/relink

export ORACLE_HOME={rdbms home}

$ORACLE_HOME/bin/relink all

As root:

cd $GRID_HOME/crs/install

perl rootcrs.pl -patch

다음검색
현재 게시글 추가 기능 열기

댓글

댓글 리스트
맨위로

카페 검색

카페 검색어 입력폼