Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 2

1.

Change the ownership and Permissions to the disks that are going to become part of the
diskgroup ASMFLASH.

#chown oracle:dba /dev/hdisk…


#chmod 640 /dev/hdisk…

2.Make entry in init+ASM1.ora


Asm_power_limit=11 (to increase the rebalancing activity,default is 1)

3.Start asm instance at Node-1

4. Add disks to diskgroup i.e ASMFLASH

SQL> ALTER DISKGROUP ASMFLASH ADD DISK


'/devices/hdisk25' name disk25,
'/devices/hdisk26' name disk26,
'/devices/hdisk27' name disk27,
'/devices/hdisk28' name disk28,
'/devices/hdisk29' name disk29,
'/devices/hdisk30' name disk30,
'/devices/hdisk31name disk31

5. Create diskgroup for credence.


CREATE DISKGROUP credence EXTERNAL REDUNDANCY DISK
'/dev/hdisk…..

Note:- The header_status of the disks must be either candidate or former.


Sql>select disk_number,header_status,path from V$asm_disk

6.Shut down asm instance

7.Make the entry of this newly created Diskgroup in asm_diskgroups to make the
diskgroup mount each time the asm instance restarts.
(init+ASM1.ora(Node-1) and init+ASM2.ora(Node-2) )

8.Start asm instance

9.Create database using dbca utility from NODE-1 on the diskgroup created in privious
step.

ENABLING FLASHBACK DATABASE


You only need to enable flashback on one of the instances, the other instances will then
startup in flashback mode.

1. Shutdown all your RAC instances on all nodes .


2. "Startup mount" one of the instances .
3. Issue the "alter database flashback on;" command .
4. Start the other instances .
5. Run "select flashback_on from v$database;" to
Verify.

You might also like