1. Revisar que el cluster este ejecutándose correctamente así:
[root@nodo1]/>export GRID_HOME=/orafs/app/11.2.0/grid
[root@nodo1]/bin>cd $GRID_HOME/bin
[root@nodo1]/orafs/app/11.2.0/grid/bin>./crsctl check cluster -all
**************************************************************
nodo1:
CRS-4537: Cluster Ready Services is online
CRS-4529: Cluster Synchronization Services is online
CRS-4533: Event Manager is online
**************************************************************
nodo2:
CRS-4537: Cluster Ready Services is online
CRS-4529: Cluster Synchronization Services is online
CRS-4533: Event Manager is online
**************************************************************
[root@nodo1]/orafs/app/11.2.0/grid/bin>
2. Mover el voting disk al nuevo diskgroup:
[root@nodo1]/orafs/app/11.2.0/grid/bin>./crsctl query css votedisk
## STATE File Universal Id File Name Disk group
-- ----- ----------------- --------- ---------
1. ONLINE 7fc064b1fe094f20bf8669f555d1d683 (/dev/rhdisk2) [DATA]
Located 1 voting disk(s).
[root@nodo1]/orafs/app/11.2.0/grid/bin>
[root@nodo1]/orafs/app/11.2.0/grid/bin>./crsctl replace votedisk +DG_OCRVOTING
Successful addition of voting disk 5524677e2da74f97bf98d910915a47b7.
Successful deletion of voting disk 7fc064b1fe094f20bf8669f555d1d683.
Successfully replaced voting disk group with +DG_OCRVOTING.
CRS-4266: Voting file(s) successfully replaced
[root@nodo1]/orafs/app/11.2.0/grid/bin>
[root@nodo1]/orafs/app/11.2.0/grid/bin>./crsctl query css votedisk
## STATE File Universal Id File Name Disk group
-- ----- ----------------- --------- ---------
1. ONLINE 5524677e2da74f97bf98d910915a47b7 (/dev/rhdisk13) [DG_OCRVOTING]
Located 1 voting disk(s).
[root@nodo1]/orafs/app/11.2.0/grid/bin>
Con el OCR es ideal contar con mas de una copia por lo que lo que hare sera multiplexar el OCR antes que moverlo a otro diskgroup.
1. Revisar el estado actual del OCR
[root@nodo1]/orafs/app/11.2.0/grid/bin>cat /etc/oracle/ocr.loc
ocrconfig_loc=+DATA
local_only=FALSE
[root@nodo1]/orafs/app/11.2.0/grid/bin>
[root@nodo1]/orafs/app/11.2.0/grid/bin>./ocrcheck
Status of Oracle Cluster Registry is as follows :
Version : 3
Total space (kbytes) : 262120
Used space (kbytes) : 3232
Available space (kbytes) : 258888
ID : 2009883967
Device/File Name : +DATA
Device/File integrity check succeeded
Device/File not configured
Device/File not configured
Device/File not configured
Device/File not configured
Cluster registry integrity check succeeded
Logical corruption check succeeded
2. Adicionar una copia a un nuevo diskgroup
[root@nodo1]/orafs/app/11.2.0/grid/bin>
[root@nodo1]/orafs/app/11.2.0/grid/bin>./ocrconfig -add +DG_OCRVOTING
3. Revisar el estado final
[root@nodo1]/orafs/app/11.2.0/grid/bin>./ocrcheck
Status of Oracle Cluster Registry is as follows :
Version : 3
Total space (kbytes) : 262120
Used space (kbytes) : 3232
Available space (kbytes) : 258888
ID : 2009883967
Device/File Name : +DATA
Device/File integrity check succeeded
Device/File Name : +DG_OCRVOTING
Device/File integrity check succeeded
Device/File not configured
Device/File not configured
Device/File not configured
Cluster registry integrity check succeeded
Logical corruption check succeeded
[root@nodo1]/orafs/app/11.2.0/grid/bin>
Validar el funcionamiento del cluster
[root@nodo1]/orafs/app/11.2.0/grid/bin>cat /etc/oracle/ocr.loc
#Device/file getting replaced by device +DG_OCRVOTING
ocrconfig_loc=+DATA
ocrmirrorconfig_loc=+DG_OCRVOTING
local_only=false[root@nodo1]/orafs/app/11.2.0/grid/bin>
[root@nodo1]/orafs/app/11.2.0/grid/bin>./crsctl check cluster -all
**************************************************************
nodo1:
CRS-4537: Cluster Ready Services is online
CRS-4529: Cluster Synchronization Services is online
CRS-4533: Event Manager is online
**************************************************************
nodo2:
CRS-4535: Cannot communicate with Cluster Ready Services
CRS-4529: Cluster Synchronization Services is online
CRS-4533: Event Manager is online
**************************************************************
[root@nodo1]/orafs/app/11.2.0/grid/bin>
No hay comentarios:
Publicar un comentario