Copy Grid home from one node to another

  BUG 26126676 - CLUSTER DOWN ON DENS13ADM02 SERVER AFTER ONEOFF PATCH ROLLBACK 

 

 *** PBRYS  philippe.brys 05/23/17 02:52 am ***

 Since the software installation are identical on all nodes

 it is possible to copy over the whole software from one of the correct node

 to the bad third node

 

 a. tar as root the whole software tree on e.g. node1

 e.g. for the GRID_HOME

 cd $GRID_HOME

 cd ..

 tar cvf grid.tar ./grid

 

 b. untar it as root in the same recreated directory on the failed node

 

 cd $GRID_HOME

 cd ..

 mv grid grid.old  /* preserve the bad grid home

 tar xvf grid.tar

 

 c. set back the configuration

 

 rm -Rf grid/log/*

 rm -Rf grid/crf/*

 rm -Rf grid/cdata/*

 rm -Rf grid/gpnp/*

 rm -Rf grid/ccr/hosts/*

 rm -Rf grid/dbs/*

 rm -Rf grid/network/admin/*

 

 mv grid.old/log/* grid/log

 mv grid.old/crf/* grid/crf

 mv grid.old/cdata/* grid/cdata

 mv grid.old/gpnp/* grid/gpnp

 mv grid.old/ccr/hosts/* grid/ccr/hosts

 mv grid.old/dbs/* grid/dbs

 mv grid.old/network/admin/* grid/network/admin

 

 mv grid/auth/crs/<host1> grid/auth/crs/<host2>

 mv grid/auth/css/<host1> grid/auth/css/<host2>

 mv grid/auth/evm/<host1> grid/auth/evm/<host2>

 mv grid/auth/ohasd/<host1> grid/auth/ohasd/<host2> 


*** PBRYS  philippe.brys 05/23/17 03:35 am ***

after the above action plan, gipcd still failing due to


[root@dens13adm02 .oracle]# ls -ltr *GI*

-rw-r--r-- 1 oracle oinstall 0 Feb  8 23:57

ora_gipc_dens13adm02_DBG_GIPCD_lock

srwxrwxrwx 1 root   root     0 May 22 04:17 ora_gipc_dens13adm02_DBG_GIPCD

[root@dens13adm02 .oracle]# rm *GIPC*

rm: remove socket `ora_gipc_dens13adm02_DBG_GIPCD'? y

rm: remove regular empty file `ora_gipc_dens13adm02_DBG_GIPCD_lock'? y


afterwards, gipcd running.

*** PBRYS  philippe.brys 05/23/17 03:38 am ***

crsctl query crs activeversion -f

Oracle Clusterware active version on the cluster is [12.1.0.2.0]. The cluster

upgrade state is [ROLLING PATCH]. The cluster active patch level is

[1085656618].


so we have to end the rolling upgrade following note:1968727.1, i.e.


[root@dens13adm02 .oracle]# clscfg -patch

clscfg: -patch mode specified

clscfg: EXISTING configuration version 5 detected.

clscfg: version 5 is 12c Release 1.

Successfully accumulated necessary OCR keys.

Creating OCR keys for user 'root', privgrp 'root'..

Operation successful.

crsctl stop rollingpatch

CRS-1161: The cluster was successfully patched to patch level [0].

[root@dens13adm02 .oracle]# crsctl query crs activeversion -f

Oracle Clusterware active version on the cluster is [12.1.0.2.0]. The cluster

upgrade state is [NORMAL]. The cluster active patch level is [0].

Comments

Popular posts from this blog

Oracle Materialized View In-Depth and Materialized View refresh issues in 19c

Troubleshooting Oracle Rac Crs/Cluster Startup Issues

How To Purge Optimizer Statistics Advisor Old Records From 12.2 Onwards (Doc ID 2660128.1)