You are on page 1of 2

Dear Sami,

Below please find the steps for shutting down and starting up BRMDR database and
ASM in gmc1. If you face any issue please call me.

To Stop Database:

# su - oracle

$ sqlplus / as sysdba

SQL>Shutdown immediate

To stop ASM and CRS

# su - oragrid

$ crsctl stop has


(will take some time for all resources to be down)

To check Resources are down:

$ crsctl stat res -t


(all the Resources STATE should be OFFLINE)

To start ASM and CRS after sync:

# su - oragrid

$ crsctl start has


(Wait till all resources are up)

To check Resources are Up:

$ crsctl stat res -t


(all the Resources except ora.ons STATE should be ONLINE)

To start Database:

# su - oracle

$ sqlplus / as sysdba

SQL> startup

=========================
oragrid@mpa032:/home/oragrid> sqlplus '/as sysasm'

SQL*Plus: Release 11.2.0.2.0 Production on Wed Nov 30 07:37:14 2011

Copyright (c) 1982, 2010, Oracle. All rights reserved.

Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
With the Real Application Clusters and Automatic Storage Management options
SQL> SELECT name,free_mb/1024 "Free_Space in GB",total_mb/1024 "Total_Space in GB"
FROM v$asm_diskgroup;

NAME Free_Space in GB Total_Space in GB


------------------------------ ---------------- -----------------
CRS_DATA 13.6308594 14.0625
DATA1 26.9707031 2124.1582
FRECO 378.755859 404.601563

SQL>

===============
sqlplus / as sysasm

set line 200


set pages 80
column path format a30
column name format a30
column value format a30

--to see disks

select GROUP_NUMBER, DISK_NUMBER, MOUNT_STATUS, round(OS_MB/1024),


round(TOTAL_MB/1024), round(FREE_MB/1024),name, PATH
from V$ASM_DISK order by path ;

--to see Diskgroups

select GROUP_NUMBER, NAME "DISK_GROUP", ROUND(TOTAL_MB/1024) "TOTAL_SPACE",


ROUND(USABLE_FILE_MB/1024) "FREE_SAPCE" from v$asm_diskgroup;

? To add Disks

ALTER DISKGROUP DATA1 ADD DISK


'/dev/asmdisk0048',
'/dev/asmdisk0049',
'/dev/asmdisk0050',
'/dev/asmdisk0041'
REBALANCE POWER 3 NOWAIT;

? To see Rebalance status

select * from v$asm_operation;

You might also like