Incrementar Memoria ASM

Descargar como pdf o txt
Descargar como pdf o txt
Está en la página 1de 17

Lab: 26

Date: 2014-Feb-08
Create By: William Muoz Rodas
Email: [email protected]

Procedimiento para incrementar la memoria de ASM


Para modificar la memoria de las instancias ASM se debe garantizar que los servicios de base de
dato se encuentran abajo.

Verificar estado de los servicios


Para verificar el estado de los servicios en el clster ejecute el siguiente comando:
[root@rh6-112-rac1 ~]# /oracle/app/grid/11.2.0.4/bin/crsctl stat res -t
-------------------------------------------------------------------------------NAME
TARGET STATE
SERVER
STATE_DETAILS
-------------------------------------------------------------------------------Local Resources
-------------------------------------------------------------------------------ora.ACFS.dg
ONLINE ONLINE
rh6-112-rac1
ONLINE ONLINE
rh6-112-rac2
ora.DATA.dg
ONLINE ONLINE
rh6-112-rac1
ONLINE ONLINE
rh6-112-rac2
ora.LISTENER.lsnr
ONLINE ONLINE
rh6-112-rac1
ONLINE ONLINE
rh6-112-rac2
ora.OCR.dg
ONLINE ONLINE
rh6-112-rac1
ONLINE ONLINE
rh6-112-rac2
ora.asm
ONLINE ONLINE
rh6-112-rac1
Started
ONLINE ONLINE
rh6-112-rac2
Started
ora.gsd
OFFLINE OFFLINE rh6-112-rac1
OFFLINE OFFLINE rh6-112-rac2
ora.net1.network
ONLINE ONLINE
rh6-112-rac1
ONLINE ONLINE
rh6-112-rac2

ora.ons
ONLINE ONLINE
rh6-112-rac1
ONLINE ONLINE
rh6-112-rac2
ora.registry.acfs
ONLINE ONLINE
rh6-112-rac1
ONLINE ONLINE
rh6-112-rac2
-------------------------------------------------------------------------------Cluster Resources
-------------------------------------------------------------------------------httpd-vip
1
ONLINE ONLINE
rh6-112-rac1
ora.LISTENER_SCAN1.lsnr
1
ONLINE ONLINE
rh6-112-rac2
ora.LISTENER_SCAN2.lsnr
1
ONLINE ONLINE
rh6-112-rac1
ora.LISTENER_SCAN3.lsnr
1
ONLINE ONLINE
rh6-112-rac1
ora.cvu
1
OFFLINE OFFLINE
ora.oc4j
1
ONLINE ONLINE
rh6-112-rac1
ora.rac.db
1
ONLINE ONLINE
rh6-112-rac1
Open
2
ONLINE ONLINE
rh6-112-rac2
Open
ora.rac.ventas.svc
1
OFFLINE OFFLINE
ora.rh6-112-rac1.vip
1
ONLINE ONLINE
rh6-112-rac1
ora.rh6-112-rac2.vip
1
ONLINE ONLINE
rh6-112-rac2
ora.scan1.vip
1
ONLINE ONLINE
rh6-112-rac2
ora.scan2.vip
1
ONLINE ONLINE
rh6-112-rac1
ora.scan3.vip
1
ONLINE ONLINE
rh6-112-rac1
tomcat
1
ONLINE ONLINE
rh6-112-rac1
[root@rh6-112-rac1 ~]#
Se evidencia que hay un servicio de base de datos arriba en ambos nodos (se encuentra resaltado).
Se procede a bajarlos correctamente.

Detener servicios de base de datos


Conectarse con el usuario de sistema operativo dueo de los binarios del motor de base de datos y
detener las bases de datos. En este ejemplo corresponde al usuario oracle.

Nombre de base de datos: RAC


Nombre de instancias: RAC1, RAC2
[root@rh6-112-rac2 ~]# su - oracle
[oracle@rh6-112-rac2 ~]$ srvctl stop database -d RAC

Verificar que los servicios de base de datos se encuentran abajo

[root@rh6-112-rac1 ~]# /oracle/app/grid/11.2.0.4/bin/crsctl stat res -t


-------------------------------------------------------------------------------NAME
TARGET STATE
SERVER
STATE_DETAILS
-------------------------------------------------------------------------------Local Resources
-------------------------------------------------------------------------------ora.ACFS.dg
ONLINE ONLINE
rh6-112-rac1
ONLINE ONLINE
rh6-112-rac2
ora.DATA.dg
ONLINE ONLINE
rh6-112-rac1
ONLINE ONLINE
rh6-112-rac2
ora.LISTENER.lsnr
ONLINE ONLINE
rh6-112-rac1
ONLINE ONLINE
rh6-112-rac2
ora.OCR.dg
ONLINE ONLINE
rh6-112-rac1
ONLINE ONLINE
rh6-112-rac2
ora.asm
ONLINE ONLINE
rh6-112-rac1
Started
ONLINE ONLINE
rh6-112-rac2
Started
ora.gsd
OFFLINE OFFLINE rh6-112-rac1
OFFLINE OFFLINE rh6-112-rac2
ora.net1.network
ONLINE ONLINE
rh6-112-rac1
ONLINE ONLINE
rh6-112-rac2
ora.ons
ONLINE ONLINE
rh6-112-rac1
ONLINE ONLINE
rh6-112-rac2
ora.registry.acfs
ONLINE ONLINE
rh6-112-rac1
ONLINE ONLINE
rh6-112-rac2
-------------------------------------------------------------------------------Cluster Resources
-------------------------------------------------------------------------------httpd-vip
1
ONLINE ONLINE
rh6-112-rac1
ora.LISTENER_SCAN1.lsnr
1
ONLINE ONLINE
rh6-112-rac2
ora.LISTENER_SCAN2.lsnr
1
ONLINE ONLINE
rh6-112-rac1
ora.LISTENER_SCAN3.lsnr
1
ONLINE ONLINE
rh6-112-rac1

ora.cvu
1
OFFLINE OFFLINE
ora.oc4j
1
ONLINE ONLINE
ora.rac.db
1
OFFLINE OFFLINE
2
OFFLINE OFFLINE
ora.rac.ventas.svc
1
OFFLINE OFFLINE
ora.rh6-112-rac1.vip
1
ONLINE ONLINE
ora.rh6-112-rac2.vip
1
ONLINE ONLINE
ora.scan1.vip
1
ONLINE ONLINE
ora.scan2.vip
1
ONLINE ONLINE
ora.scan3.vip
1
ONLINE ONLINE
tomcat
1
ONLINE ONLINE
[root@rh6-112-rac1 ~]#

rh6-112-rac1
Instance Shutdown
Instance Shutdown

rh6-112-rac1
rh6-112-rac2
rh6-112-rac2
rh6-112-rac1
rh6-112-rac1
rh6-112-rac1

Validar variables de entorno antes de conectarse con la instancia ASM


Antes de conectarse con la instancia ASM validar que las variables de entorno se encuentran bien
configuradas.
[root@rh6-112-rac1 ~]# su - grid
[grid@rh6-112-rac1 ~]$ echo $ORACLE_HOME
/oracle/app/grid/11.2.0.4
[grid@rh6-112-rac1 ~]$ echo $ORACLE_SID
+ASM1
[grid@rh6-112-rac1 ~]$ echo $PATH
/oracle/app/grid/11.2.0.4/bin:/usr/sbin:/usr/lib64/qt3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/grid/bin
[grid@rh6-112-rac1 ~]$

Conectarse a la instancia ASM como usuario SYS con perfil SYSASM

[grid@rh6-112-rac1 ~]$ sqlplus / as sysdba


SQL*Plus: Release 11.2.0.4.0 Production on Wed Feb 5 13:17:41 2014
Copyright (c) 1982, 2013, Oracle. All rights reserved.

Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Real Application Clusters and Automatic Storage Management options

Validar los valores asignados a los parametros de la instancia ASM


Validar cuanta memoria tiene asignada la instancia ASM en cada uno de los nodos

Memoria RAM asignada a las instancias


SQL> show parameter memory_
NAME
TYPE
VALUE
------------------------------------ ----------- -----------------------------memory_max_target
big integer 1076M
memory_target
big integer 1076M
SQL>

Nmero de procesos permitidos


SQL> show parameter processes
NAME
TYPE
VALUE
------------------------------------ ----------- -----------------------------processes
integer 120
SQL>
Verificar en ambos nodos, si la instancia ASM est iniciando con el archivo SPFILE o init (en
ausencia de valor, la instancia se encuentra configurada para iniciar con archivo PFILE).
En ambas instancias el campo NAME debe indicar el valor spfile y el campo VALUE debe ser
el mismo valor.

Configuracin de archivo de inicio


SQL> show parameter spfile
NAME
TYPE
VALUE
------------------------------------ ----------- -----------------------------spfile
string +OCR/rh6-112-scan/asmparameterfile/registry.253.794747249
SQL>

Modificar los valores de los parametros de configuracio n


Los valores asignados en este documento no corresponde a los valores que usted debe asignar,
simplemente se est demostrando la forma en que se realiza.

Modificar el nmero de procesos


Para modificar el nmero de procesos ejecute la siguiente instruccin:
SQL> alter system set processes=600 scope=spfile;
System altered.
SQL>

Modificar la memoria asignada


Actualmente la instancia ASM tiene asignado 1076 Megas, para efectos de mostrar el
procedimiento voy a subir la memoria a 1100 Megas. (Tambin se puede asignar en megas,
1100m)
Se debe asignar en bytes, entonces 1100*1024*1024= 1153433600
SQL> alter system set memory_target=1153433600 scope=spfile;
System altered.
SQL> alter system set memory_max_target=1153433600 scope=spfile;
System altered.
SQL>

Detener los servicios de clu ster para que los cambios tomen efecto
Como usuario root ejecutar las siguientes instrucciones en ambos nodos:

Desmontar file system ACFS


[root@rh6-112-rac1 ~]# df -h
Filesystem
Size Used Avail Use% Mounted on
/dev/mapper/rootvg-LogVol00
35G 18G 16G 54% /
tmpfs
880M 117M 764M 14% /dev/shm
/dev/sda1
194M 26M 159M 14% /boot
/dev/asm/archvol1-476
5.9G 367M 5.5G 7% /acfsarchives

[root@rh6-112-rac1 ~]#
[root@rh6-112-rac1 ~]# umount /acfsarchives

Detener los servicios de clster


[root@rh6-112-rac1 ~]# /oracle/app/grid/11.2.0.4/bin/crsctl stop crs
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'rh6-112rac1'
CRS-2673: Attempting to stop 'ora.crsd' on 'rh6-112-rac1'
CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on 'rh6-112-rac1'
CRS-2673: Attempting to stop 'ora.LISTENER_SCAN2.lsnr' on 'rh6-112-rac1'
CRS-2673: Attempting to stop 'ora.LISTENER.lsnr' on 'rh6-112-rac1'
CRS-2673: Attempting to stop 'tomcat' on 'rh6-112-rac1'
CRS-2673: Attempting to stop 'ora.ACFS.dg' on 'rh6-112-rac1'
CRS-2673: Attempting to stop 'ora.OCR.dg' on 'rh6-112-rac1'
CRS-2673: Attempting to stop 'ora.registry.acfs' on 'rh6-112-rac1'
CRS-2673: Attempting to stop 'ora.DATA.dg' on 'rh6-112-rac1'
CRS-2673: Attempting to stop 'ora.LISTENER_SCAN3.lsnr' on 'rh6-112-rac1'
CRS-2673: Attempting to stop 'ora.LISTENER_SCAN1.lsnr' on 'rh6-112-rac1'
CRS-2673: Attempting to stop 'ora.oc4j' on 'rh6-112-rac1'
CRS-2677: Stop of 'ora.LISTENER.lsnr' on 'rh6-112-rac1' succeeded
CRS-2677: Stop of 'ora.LISTENER_SCAN2.lsnr' on 'rh6-112-rac1' succeeded
CRS-2673: Attempting to stop 'ora.scan2.vip' on 'rh6-112-rac1'
CRS-2677: Stop of 'ora.LISTENER_SCAN1.lsnr' on 'rh6-112-rac1' succeeded
CRS-2673: Attempting to stop 'ora.scan1.vip' on 'rh6-112-rac1'
CRS-2677: Stop of 'ora.LISTENER_SCAN3.lsnr' on 'rh6-112-rac1' succeeded
CRS-2673: Attempting to stop 'ora.scan3.vip' on 'rh6-112-rac1'
CRS-2677: Stop of 'ora.scan2.vip' on 'rh6-112-rac1' succeeded
CRS-2677: Stop of 'ora.scan1.vip' on 'rh6-112-rac1' succeeded
CRS-2677: Stop of 'ora.registry.acfs' on 'rh6-112-rac1' succeeded
CRS-2677: Stop of 'ora.scan3.vip' on 'rh6-112-rac1' succeeded
CRS-2677: Stop of 'ora.DATA.dg' on 'rh6-112-rac1' succeeded
CRS-2677: Stop of 'ora.ACFS.dg' on 'rh6-112-rac1' succeeded
CRS-2677: Stop of 'ora.OCR.dg' on 'rh6-112-rac1' succeeded
CRS-2673: Attempting to stop 'ora.asm' on 'rh6-112-rac1'
CRS-2675: Stop of 'tomcat' on 'rh6-112-rac1' failed
CRS-2673: Attempting to stop 'ora.rh6-112-rac1.vip' on 'rh6-112-rac1'
CRS-2677: Stop of 'ora.asm' on 'rh6-112-rac1' succeeded
CRS-2677: Stop of 'ora.rh6-112-rac1.vip' on 'rh6-112-rac1' succeeded
CRS-2673: Attempting to stop 'ora.rh6-112-rac2.vip' on 'rh6-112-rac1'
CRS-2677: Stop of 'ora.rh6-112-rac2.vip' on 'rh6-112-rac1' succeeded
CRS-2677: Stop of 'ora.oc4j' on 'rh6-112-rac1' succeeded
CRS-2799: Failed to shut down resource 'httpd-vip' on 'rh6-112-rac1'
CRS-2799: Failed to shut down resource 'tomcat' on 'rh6-112-rac1'
CRS-2794: Shutdown of Cluster Ready Services-managed resources on 'rh6-112-rac1' has failed
CRS-5022: Stop of resource "ora.crsd" failed: current state is "UNKNOWN"

CRS-2675: Stop of 'ora.crsd' on 'rh6-112-rac1' failed


CRS-2799: Failed to shut down resource 'ora.crsd' on 'rh6-112-rac1'
CRS-2795: Shutdown of Oracle High Availability Services-managed resources on 'rh6-112-rac1' has
failed
CRS-4687: Shutdown command has completed with errors.
CRS-4000: Command Stop failed, or completed with errors.
[root@rh6-112-rac1 ~]#

Validar que los servicios se encuentran abajo


Para verificar que los servicios de clster no estn en ejecucin, ejecute los siguientes comandos
en ambos nodos:
[root@rh6-112-rac1 ~]# /oracle/app/grid/11.2.0.4/bin/crsctl stat res -t
CRS-4535: Cannot communicate with Cluster Ready Services
CRS-4000: Command Status failed, or completed with errors.
[root@rh6-112-rac2 ~]# /oracle/app/grid/11.2.0.4/bin/crsctl stat res -t
CRS-4535: Cannot communicate with Cluster Ready Services
CRS-4000: Command Status failed, or completed with errors.

Subir servicios de clu ster nuevamente


Subir los servicios de clster en ambos nodos, comenzar por el nodo principal (generalmente el
nodo 1):
[root@rh6-112-rac1 ~]# /oracle/app/grid/11.2.0.4/bin/crsctl start crs
CRS-4123: Oracle High Availability Services has been started.
[root@rh6-112-rac1 ~]#
[root@rh6-112-rac2 ~]# /oracle/app/grid/11.2.0.4/bin/crsctl start crs
CRS-4123: Oracle High Availability Services has been started.
[root@rh6-112-rac2 ~]#

Validar que los servicios de clu ster subieron correctamente


En el nodo 1 verificar que los servicios subieron correctamente. En condiciones normales los
servicios suben correctamente.
[root@rh6-112-rac1 ~]# /oracle/app/grid/11.2.0.4/bin/crsctl stat res -t
-------------------------------------------------------------------------------NAME
TARGET STATE
SERVER
STATE_DETAILS
-------------------------------------------------------------------------------Local Resources
--------------------------------------------------------------------------------

ora.ACFS.dg
ONLINE ONLINE
rh6-112-rac1
ONLINE ONLINE
rh6-112-rac2
ora.DATA.dg
ONLINE ONLINE
rh6-112-rac1
ONLINE ONLINE
rh6-112-rac2
ora.LISTENER.lsnr
OFFLINE OFFLINE rh6-112-rac1
ONLINE ONLINE
rh6-112-rac2
ora.OCR.dg
ONLINE ONLINE
rh6-112-rac1
ONLINE ONLINE
rh6-112-rac2
ora.asm
ONLINE ONLINE
rh6-112-rac1
Started
ONLINE ONLINE
rh6-112-rac2
Started
ora.gsd
OFFLINE OFFLINE rh6-112-rac1
OFFLINE OFFLINE rh6-112-rac2
ora.net1.network
ONLINE ONLINE
rh6-112-rac1
ONLINE ONLINE
rh6-112-rac2
ora.ons
ONLINE ONLINE
rh6-112-rac1
ONLINE ONLINE
rh6-112-rac2
ora.registry.acfs
ONLINE ONLINE
rh6-112-rac1
ONLINE ONLINE
rh6-112-rac2
-------------------------------------------------------------------------------Cluster Resources
-------------------------------------------------------------------------------httpd-vip
1
OFFLINE OFFLINE
ora.LISTENER_SCAN1.lsnr
1
OFFLINE OFFLINE
ora.LISTENER_SCAN2.lsnr
1
OFFLINE OFFLINE
ora.LISTENER_SCAN3.lsnr
1
OFFLINE OFFLINE
ora.cvu
1
OFFLINE OFFLINE
ora.oc4j
1
OFFLINE OFFLINE
ora.rac.db
1
OFFLINE OFFLINE
Instance Shutdown
2
OFFLINE OFFLINE
Instance Shutdown
ora.rac.ventas.svc
1
OFFLINE OFFLINE
ora.rh6-112-rac1.vip

1
OFFLINE OFFLINE
ora.rh6-112-rac2.vip
1
ONLINE ONLINE
ora.scan1.vip
1
OFFLINE OFFLINE
ora.scan2.vip
1
OFFLINE OFFLINE
ora.scan3.vip
1
OFFLINE OFFLINE
tomcat
1
ONLINE ONLINE
[root@rh6-112-rac1 ~]#

rh6-112-rac2

rh6-112-rac1

Verificar que los parametros fueron aplicados en ambas instancias ASM


Validar que los parmetros fueron aplicados en el nodo 1
[root@rh6-112-rac1 ~]# su - grid
[grid@rh6-112-rac1 ~]$ echo $ORACLE_HOME
/oracle/app/grid/11.2.0.4
[grid@rh6-112-rac1 ~]$ echo $ORACLE_SID
+ASM1
[grid@rh6-112-rac1 ~]$ echo $PATH
/oracle/app/grid/11.2.0.4/bin:/usr/sbin:/usr/lib64/qt3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/grid/bin
[grid@rh6-112-rac1 ~]$
[grid@rh6-112-rac1 ~]$ sqlplus / as sysasm
SQL*Plus: Release 11.2.0.4.0 Production on Wed Feb 5 14:52:19 2014
Copyright (c) 1982, 2013, Oracle. All rights reserved.

Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Real Application Clusters and Automatic Storage Management options
SQL> show parameter processes
NAME
TYPE
VALUE
------------------------------------ ----------- -----------------------------processes
integer 300
SQL> show parameter memory_
NAME

TYPE

VALUE

------------------------------------ ----------- -----------------------------memory_max_target


big integer 1104M
memory_target
big integer 0
SQL>

Validar que los parmetros fueron aplicados en el nodo 2


[root@rh6-112-rac2 ~]# su - grid
[grid@rh6-112-rac2 ~]$ echo $ORACLE_HOME
/oracle/app/grid/11.2.0.4
[grid@rh6-112-rac2 ~]$ echo $ORACLE_SID
+ASM2
[grid@rh6-112-rac2 ~]$ echo $PATH
/oracle/app/grid/11.2.0.4/bin:/usr/sbin:/usr/lib64/qt3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/grid/bin
[grid@rh6-112-rac2 ~]$ sqlplus / as sysasm
SQL*Plus: Release 11.2.0.4.0 Production on Wed Feb 5 14:54:26 2014
Copyright (c) 1982, 2013, Oracle. All rights reserved.

Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Real Application Clusters and Automatic Storage Management options
SQL> show parameter processes
NAME
TYPE
VALUE
------------------------------------ ----------- -----------------------------processes
integer 300
SQL> show parameter memory_
NAME
TYPE
VALUE
------------------------------------ ----------- -----------------------------memory_max_target
big integer 1104M
memory_target
big integer 0
SQL>

Subir los demas servicios del clu ster


Subir las direcciones SCAN
[root@rh6-112-rac1 ~]# /oracle/app/grid/11.2.0.4/bin/crsctl start resource
ora.LISTENER_SCAN1.lsnr
CRS-2672: Attempting to start 'ora.scan1.vip' on 'rh6-112-rac1'
CRS-2676: Start of 'ora.scan1.vip' on 'rh6-112-rac1' succeeded

CRS-2672: Attempting to start 'ora.LISTENER_SCAN1.lsnr' on 'rh6-112-rac1'


CRS-2676: Start of 'ora.LISTENER_SCAN1.lsnr' on 'rh6-112-rac1' succeeded
[root@rh6-112-rac1 ~]#
[root@rh6-112-rac1 ~]# /oracle/app/grid/11.2.0.4/bin/crsctl start resource
ora.LISTENER_SCAN2.lsnr
CRS-2672: Attempting to start 'ora.scan2.vip' on 'rh6-112-rac2'
CRS-2676: Start of 'ora.scan2.vip' on 'rh6-112-rac2' succeeded
CRS-2672: Attempting to start 'ora.LISTENER_SCAN2.lsnr' on 'rh6-112-rac2'
CRS-2676: Start of 'ora.LISTENER_SCAN2.lsnr' on 'rh6-112-rac2' succeeded
[root@rh6-112-rac1 ~]# /oracle/app/grid/11.2.0.4/bin/crsctl start resource
ora.LISTENER_SCAN3.lsnr
CRS-2672: Attempting to start 'ora.scan3.vip' on 'rh6-112-rac1'
CRS-2676: Start of 'ora.scan3.vip' on 'rh6-112-rac1' succeeded
CRS-2672: Attempting to start 'ora.LISTENER_SCAN3.lsnr' on 'rh6-112-rac1'
CRS-2676: Start of 'ora.LISTENER_SCAN3.lsnr' on 'rh6-112-rac1' succeeded

Subir el listener en el nodo 1


[root@rh6-112-rac1 ~]# /oracle/app/grid/11.2.0.4/bin/crsctl start resource ora.LISTENER.lsnr
CRS-2672: Attempting to start 'ora.rh6-112-rac1.vip' on 'rh6-112-rac1'
CRS-2676: Start of 'ora.rh6-112-rac1.vip' on 'rh6-112-rac1' succeeded
CRS-2672: Attempting to start 'ora.LISTENER.lsnr' on 'rh6-112-rac1'
CRS-2676: Start of 'ora.LISTENER.lsnr' on 'rh6-112-rac1' succeeded

Montar file systems ACFS


Montar los file systems ACFS necesarios para poder subir otros servicios, en este caso yo utilizo los
file systems para los archive logs de la base de datos.

Nodo 1
[root@rh6-112-rac1 ~]# !mount
mount -t acfs /dev/asm/archvol1-476 /acfsarchives
[root@rh6-112-rac1 ~]# df -h
Filesystem
Size Used Avail Use% Mounted on
/dev/mapper/rootvg-LogVol00
35G 18G 16G 54% /
tmpfs
880M 159M 722M 19% /dev/shm
/dev/sda1
194M 26M 159M 14% /boot
/dev/asm/archvol1-476
5.9G 367M 5.5G 7% /acfsarchives
[root@rh6-112-rac1 ~]#

Nodo 2
[root@rh6-112-rac2 ~]# !mount
mount -t acfs /dev/asm/archvol1-476 /acfsarchives
[root@rh6-112-rac2 ~]# df -h
Filesystem
Size Used Avail Use% Mounted on
/dev/mapper/rootvg-LogVol00
35G 13G 20G 39% /
tmpfs
880M 159M 722M 19% /dev/shm
/dev/sda1
194M 26M 159M 14% /boot
/dev/asm/archvol1-476
5.9G 367M 5.5G 7% /acfsarchives
[root@rh6-112-rac2 ~]#

Subir la base de datos


[root@rh6-112-rac1 ~]# su - oracle
[oracle@rh6-112-rac1 ~]$ srvctl start database -d RAC
[oracle@rh6-112-rac1 ~]$

Verificar todos los servicios del Clu ster


[root@rh6-112-rac1 ~]# /oracle/app/grid/11.2.0.4/bin/crsctl stat res -t
-------------------------------------------------------------------------------NAME
TARGET STATE
SERVER
STATE_DETAILS
-------------------------------------------------------------------------------Local Resources
-------------------------------------------------------------------------------ora.ACFS.dg
ONLINE ONLINE
rh6-112-rac1
ONLINE ONLINE
rh6-112-rac2
ora.DATA.dg
ONLINE ONLINE
rh6-112-rac1
ONLINE ONLINE
rh6-112-rac2
ora.LISTENER.lsnr
ONLINE ONLINE
rh6-112-rac1
ONLINE ONLINE
rh6-112-rac2
ora.OCR.dg
ONLINE ONLINE
rh6-112-rac1
ONLINE ONLINE
rh6-112-rac2
ora.asm
ONLINE ONLINE
rh6-112-rac1
Started
ONLINE ONLINE
rh6-112-rac2
Started
ora.gsd
OFFLINE OFFLINE rh6-112-rac1

OFFLINE OFFLINE rh6-112-rac2


ora.net1.network
ONLINE ONLINE
rh6-112-rac1
ONLINE ONLINE
rh6-112-rac2
ora.ons
ONLINE ONLINE
rh6-112-rac1
ONLINE ONLINE
rh6-112-rac2
ora.registry.acfs
ONLINE ONLINE
rh6-112-rac1
ONLINE ONLINE
rh6-112-rac2
-------------------------------------------------------------------------------Cluster Resources
-------------------------------------------------------------------------------httpd-vip
1
OFFLINE OFFLINE
ora.LISTENER_SCAN1.lsnr
1
ONLINE ONLINE
rh6-112-rac1
ora.LISTENER_SCAN2.lsnr
1
ONLINE ONLINE
rh6-112-rac2
ora.LISTENER_SCAN3.lsnr
1
ONLINE ONLINE
rh6-112-rac1
ora.cvu
1
OFFLINE OFFLINE
ora.oc4j
1
OFFLINE OFFLINE
ora.rac.db
1
ONLINE ONLINE
rh6-112-rac1
Open
2
ONLINE ONLINE
rh6-112-rac2
Open
ora.rac.ventas.svc
1
OFFLINE OFFLINE
ora.rh6-112-rac1.vip
1
ONLINE ONLINE
rh6-112-rac1
ora.rh6-112-rac2.vip
1
ONLINE ONLINE
rh6-112-rac2
ora.scan1.vip
1
ONLINE ONLINE
rh6-112-rac1
ora.scan2.vip
1
ONLINE ONLINE
rh6-112-rac2
ora.scan3.vip
1
ONLINE ONLINE
rh6-112-rac1
tomcat
1
ONLINE ONLINE
rh6-112-rac1
[root@rh6-112-rac1 ~]#

Los servicios que estn resaltados no deben estar iniciados.

Este documento debe ser tomado como referencia, pero los comandos aqu descritos deben ser
usados bajo su responsabilidad. Para una mejor comprensin se recomienda leer los manuales de
Oracle los cuales son una fuente valiosa de informacin, en estos se detallan de forma precisa el
procedimiento aqu descrito.

También podría gustarte