반응형

1.Restart Version (Standalone)

 

1) grid 중단 (by grid)

$ crsctl stop has

 

2) grid unlock (by root)

# $GRID_HOME/crs/install/roothas.pl -unlock

 <- 11g

# $GRID_HOME/crs/install/roothas.has -unlock

 <- 12.1 ~

 

3) config.o file rename (bygrid)

$ ls -l $GRID_HOME/rdbms/lib/config.o

$ mv $GRID_HOME/rdbms/lib/config.o $GRID_HOME/rdbms/lib/config.o_bak

$ ls -l $GRID_HOME/rdbms/lib/config.o*

 

4) elink 작업

$ relink all

 <- grid

$ relink all

 <- database

 

5) grid unlock 작업 (by root)

# $GRID_HOME/rdbms/install/rootadd_rdbms.sh

# $GRID_HOME/crs/install/roothas.pl -patch

 <- 11g

# $GRID_HOME/crs/install/roothas.sh -postpatch

 <- 12.1 ~

 

2.RAC (Rolling 으로 가능)

 

1) grid 중단 (by grid)

$ crsctl stop crs

 <- 11g 기준이며, 12c 이후에는 unlock 만 해도 Grid 중단이 같이 됨

 

2) grid unlock (by root)

# cd $GRID_HOME/crs/install

# perl rootcrs.pl -unlock

 <- 11g

# $GRID_HOME/crs/install/rootcrs.sh -unlock

 <- 12c ~

# $GRID_HOME/crs/install/rootcrs.sh -prepatch

 <- 12c ~ , 그리고 Grid가 기동되어 있는 상태에서 사용해야 함. 또한 둘다 동시에 하려면 -nonrolling 옵션을 사용 해야 함.

 

3)  relink 작업

$ relink all

 <- grid

$ relink all

 <- database

 

4) grid unlock 작업 (by root)

# $GRID_HOME/rdbms/install/rootadd_rdbms.sh

# $GRID_HOME/crs/install/rootcrs.pl -patch

 <- 11g

# $GRID_HOME/crs/install/roothas.sh -patch

 <- 12.1

# $GRID_HOME/crs/install/roothas.sh -lock

# $GRID_HOME/bin/crsctl start crs

 <- 12.2 ~

# $GRID_HOME/crs/install/roothas.sh -postpatch

 <- 12c ~ , 그리고 Grid를 자동으로 기동 하게 됨 unlock 할때 -nonrolling 옵션을 사용 했으면 동일하게 옵션 필요.

반응형

'ORACLE > Install' 카테고리의 다른 글

12cR2~19c RU(PSU) Manual Patch  (0) 2021.06.14
OraInventory 재생성  (0) 2021.05.03
Gold Image 만드는 방법  (0) 2021.05.03

+ Recent posts