Oracle ASM on RAID 5
This is more of a planning side question. My company need to install oracle ASM 10G R2 with 10.2.3 patchset on a 32bit linux machine. I am comparatively new to this so doesn't have a thorough understanding.
The hardware configuration I am going to have is 6 x 300GB 15K RPM SAS 3Gb/s Drives in a RAID5 to create a single logical drive. Is this a good configuration to install ASM? I can change the hardware configuration as per the requirement.
I heard that ASM requires two logical drives. If so, do I need to make this into two logical drives? If I am making into 2 logical drives, I will loose 300G for parity drive and I must avoid that. Is there any other raid combination which is good for ASM?
RAID5 provides the striping feature that takes care of contiguous data stored in different disks. Does ASM do the same thing? What additional benefits I will get from ASM? I have done some googling but I couldn't understand most of them. Can anybody help?
Read this first :
http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/storeman.htm
and then post if you have questions left .
Similar Messages
-
Hi All..
I have an OLTP database about 80 GB in size and is running on Oracle RAC with ASM on MSW2K3 Server 64 bit.
The diskgroups were not balanced as some disks in the DATA diskgroup were of different capacity. So I suggested to add disks with equal capacities but the problem is that Storage Admin has give given me 3 X 100GB LUNs on RAID 5 for the DATA diskgroup which contains datafiles only. Below is the distribution of diskgroups
DATA - 4 disks - 2X50 , 2X100 RAID 1_0
ONLINELOGS- 2 disks - 2X50 GB RAID 1_0
UNDO -- 2 disks 2X50 GB RAID 5
As RAID 5 is not suggested for OLTP databases because of more I/O and parity reasons, my questions are
1. Whether ASM performs well with RAID 5 or not?
2. Will it impact the performance if only datafiles will be on RAID 5 and Redo Logs are on RAID 10?
Please suggest...Yes, of course there is a penalty with RAID5 and of course if you have a disk failure there is an EVEN larger penalty.
But not everyone has huge transactional burdens to bear, so for some people the trade off in terms of less performance is worth the benefit in terms of higher capacity.
Only you know the number of IOPS you need to sustain, and the best way of determining if your configuration will meet your needs is to test it. Do you have a similar setup with a database already that undergoes a similar workload? If so how does the disk setup compare?
Using external redundancy, all ASM will do is stripe the data across all devices within the diskgroup, and attempt to keep each device within the diskgroup at the same capacity. It will be blissfully unaware if it's RAID1, RAID3, RAID5, RAID6 - ASM just won't have any idea what the underlying RAID level is.
jason.
http://jarneil.wordpress.com -
ASM vs RAID for 11gR2 RAC Environment
Hi There!
We are planning to install 11GR2 RAC with two nodes Cluster on LINUX in Our Environment.
Operating System: OEL 5.4
In our hardware we got two dell Servers with 16GB RAM on each plus On SAN side we have only 8 disk (173GB) left for RAC Cluster Setup. I am going to create to database (LIVE/UAT) on This Cluster Setup. Currently Our Production DB size is 6GB and I assume for coming 5 year it will not go beyond 100GB And I keep UAT size 15GB fix with No changes.So how you get the best ASM performance by using my all Resources.
My question:
1) Which is best solution for ASM and RAID in our storage Environment?
2) How many Disk group I Create for Both Databases (UAT/LIVE)?
3) How many disks should I allocate in Each Disk Group with which RAID Option or if any suggesting for LUN, How do I create LUNS across the Disk which I got?
4) I know oracle recommended Two DISK Group DATA&FRA is there any other suggestion for CRS, REDO, and TEMP FILE?
Thanks for your Assintance.
Hemesh.My first question was : Which RAID Option(0,1,5,0+1) I choose with ASM ?Well, it doesnt matter for ASM. At least in your configuration with 8 disks.
RAID0is not an option - forget about it. RAID1 (or combined with more than two disks and an overlayed RAID0 which makes an RAID 1+0) might be an option for write-intensive databases. RAID5 is more for read-intensive due to the RAID5-write-hole but offers "more" capacity at the cost of slower write speed.
I recommended to stick with RAID1 (thus mirroring two disks) and exporting them to ASM rather than creating one big RAID1+0 over all of your disks and exporting the storage as one big chuck to ASM for manageability. If you want to add storage lateron your perfect in line with Oracles recommendations to have equal size LUNs in ASM with two mirrored disks. If you create on big RAID 1+0 and lateron add two disks you have a LUN of 600 GB size and one of 170 GB size...thats a big mismatch.
But If i create TWO disk group then, is there good practice to offer them to both (UAT/LIVE) databases.?Normally there is a separation between UAT and P on storage and on server level. In your case it might be "ok" to place everything in the same disk group. This mainly depends on which database puts the most load on the disk subsystem.
Ronny Egner
My Blog: http://blog.ronnyegner-consulting.de -
6 x 73GB disks : ASM or RAID ?
Hi,
I am going to install Oracle db on a server with 6 x 73GB disks. What is the best configuration
- ASM with no RAID,
- ASM with RAID, or
- RAID with no ASM.
To be able to install ASM i need to install OS & Oracle-binaries on at least one disk, that leaves me with 5 disks to install ASM on.
Also, is it safe to install OS and Oracle-binaries on one disk only ?
If i go for a non-ASM solution, should i use RAID10 or RAID5 ?
reg,
Amitoj.Hi,
ASM is a filesystem that manage by ORACLE that against of OS filesystem.
and RAID is a technology to redudancy of data.
RAID may be handling by hardware RAIDcontroller or by ASM of ORACLE.
if you have RAIDcontroller in hardware, you can using ASM or OS file system. in case of using ASM then selecting EXTERNAL REDUNDANCY in installing ASM.
but if you haven't RAIDcontroller in hardware , you can select REDUNDANCY handling by ASM in installing it.
paryab. -
Hi,
I have a new server Sunfire X4100 4x146G SAS disks running Solaris 10 X86 U4.
1 pair of disks is Hardware mirrored for the OS. I created Oracle home on this partition and installed oracle 10g.
I have been trying to decide if using Oracle ASM for the othere two disks is a good idea or not. Should I us ASM to create a disk group with the two remaining disks and run my production database on it or should I stick with manual storage management and raid those disks in hardware or even ZFS... ahh the choices?
The white papers talk about databases with loads of disks and controllers, I am not at that level of hardware and expenditure, YET!
Do ASM and OMF remove the need for me to manage the datafiles for the tablespaces?
Do they handle the layout and optimization of the tables within a tablespace or is that still down to the admin to define the size of the extents during expansion etc?
Can I run a standby database using non ASM storage from a database which uses ASM storage? If this is possible how are the datafiles handled on the standby database?
I guess I could keep reading but I hoped some benevolent sole might already know the answers and save me days of reading!
Finally, How reliable is ASM anybody care to comment? I know I can recover data using my existing OS level database files and ASM makes me uneasy...You really want to invest in http://www.oracle.com/technology/bookstore/index.html
Bottom line: with ASM, the database still runs against RAW disk (physical or LVM) for best possible performance. However, instead of grabbing an entire disk for each tablespace, ASM holds the metadata that tells the database instance where to read and write for specific tablespaces. This allows ASM to coordinate things like striping in a way that is really beneficial for the database.
The white papers talk about databases with loads of
disks and controllers, I am not at that level of
hardware and expenditure, YET!ASM allows you to grow to that when needed.
>
Do ASM and OMF remove the need for me to manage the
datafiles for the tablespaces?Effectively yes. ... remove? how about minimize ...
Do they handle the layout and optimization of the
tables within a tablespace or is that still down to
the admin to define the size of the extents during
expansion etc?ASM uses the principals of SAME (Stripe and Mirror Everything) to minimize admin.
>
Can I run a standby database using non ASM storage
from a database which uses ASM storage? If this is
possible how are the datafiles handled on the standby
database?Logical or physical standby. (I only have experience in the physical standby matching the storage technique of the prime. But I don't see why it should impact the physical standby to mix.)
>
I guess I could keep reading but I hoped some
benevolent sole might already know the answers and
save me days of reading!I know what you mean. The book mentioned above does consolidate a lot of the reading - worth the price and effort.
>
Finally, How reliable is ASM anybody care to comment?Very - you are still using RAW disk and Oracle has been doing that for decades.
I know I can recover data using my existing OS level
database files and ASM makes me uneasy...Not unusual. -
Oracle ASM Configuration on Solaris Cluster - Oracle 11.2.0.3
Hi,
I want some clarifications!
I need to set Active and Passive Cluster settup on Solaris 10 SPARC Operating System, the HA software is Solaris Cluster and Oracle 11.2.0.3.
1) I understand "Single instance Oracle ASM is not supported with Oracle 11g release 2" so we need to go for Clustered ASM - is it required to use RAC framework in this case?
2) When i use the RAC framework, do i need to have license for RAC?
Am new to Oracle, any help is appreciated.
Regards,
ShashankHi,
I want some clarifications!
I need to set Active and Passive Cluster settup on Solaris 10 SPARC Operating System, the HA software is Solaris Cluster and Oracle 11.2.0.3.
1) I understand "Single instance Oracle ASM is not supported with Oracle 11g release 2" so we need to go for Clustered ASM - is it required to use RAC framework in this case?
2) When i use the RAC framework, do i need to have license for RAC?
Am new to Oracle, any help is appreciated.
Regards,
Shashank -
Oracle ASM installation in Solaris Cluster
hello Experts,
Could someone please tell me how to install Oracle ASM in Solaris Cluster and how to integrate it into the cluster resources.
Details,
2 Nodes (Pri & Sec) solaris 10 SPARC 64 bit OS
solaris cluster 3.3 u5/11
Thanks & Regardshi,
pls take a look at tihs doc
http://docs.oracle.com/cd/E18728_01/html/821-2678/gjcwv.html
regards, -
ORACLE ASM OR ZFS IN SOLARIS 11
ORACLE DBA EXPERTS
What kind of storage technology is recommended in order to implement an Oracle 11gr2 database in a Solaris 11 OS?
-Oracle ASM or the Solaris 11 ZFS filesystem.
Its any difference between the performance of both storage technologies?
Thanks for answer my questions and i wish to yours a very "Happy Hollydays".
Sincerely,
JOHN JAIRO GOMEZ LAVERDEFrom what I understand Oracle recommends ASM. You cannot directly compare ASM with ZFS. ASM is a storage solution providing data management, availability and redundancy specific to Oracle. ZFS is an advanced file system. Whether you choose one over the other will depend on your storage requirements and knowledge.
-
We have Oracle datbase 11gR1 in RAC node with Oracle ASM.Recently our database server got crashed and we are trying to restore back services.
Using Snapshot technologyBusiness copy we had synced all our disk on storage level. Post this when we are trying to start ASM instance on node 1 it is coming and showing all diskgroups but on other node it is throwing errot with missing e diskgroup.
ORA-15032: not all alterations performed
ORA-15040: diskgroup is incomplete
ORA-15042: ASM disk "5" is missing
Expert please share your views.
Thanks,
TusharThe I/O fabric layer on the other node failed to mount all storage LUNs - resulting in ASM being unable to mount a diskgroup as there are missing disks in that group.
Rebooting is exactly what could be needed to reset the h/w and infrastructure used by that node, in order for it to see all the storage disks again. As node 1 sees all storage disks (and is working), the disk itself on the storage system is intact and usable.
What is the o/s? What is the fabric layer? What is used on o/s for dealing with the I/O fabric layer? -
hello,
We are building VLDB (15TB) 10.2.0.2 DB using ASM . Network team has provided
drive sets in a companation of RAID5, 0+1 Mirrors.
what is impact running ASM on top of RAID configuration?. Network guys will not
provide non RAID drive sets. what is best practice for applying ASM to RAID
configurations?.
thanks
jamesthanks for your reply.
I have another questions could please verify this for me.
we have 2 disks mirror with 136G each has single spindle.
we partioned the disks into 5 partions
DISK0 1 2 3 4 5
| 25 | 25 | 25 | 25 | 25 |
DISK1 1 2 3 4 5
| 25 | 25 | 25 | 25 | 25 |
when i create my ASM disk groups I grouped
DISK0 1 AND DISK1 1 as ASMGRP1 AND
DISK0 2 AND DISK1 2 as ASMGRP2
Is this right way of creating disk groups?... if I do that will affect the ASM I/O performance ??
OR
DISK0 1
| 136gb |
DISK2 1
| 136gb |
Can I create one disk group as one ASM diskgroups and put 2 databases in the single ASM groups?? -
Hi,
Having a multiple Oracle ASM disk group is more beneficial for Oracle database? if no why? if yes why?
Any metalink note if have.
thanksAny metalink note do you refer?What is your database version?
Please see these docs.
11g ASM New Feature [ID 429098.1]
ASM 11g New Features - How ASM Disk Resync Works. [ID 466326.1]
Thanks,
Hussein -
How to Install Oracle ASM 11gR2 In Oracle Linux 6.5
Hi
I want to install oracle ASM in oracle linux 6.5 .
Can any one helps me to find a paper with above subject?
ThanksTheses steps only if You want to use ISCSI. This is fine to get the howto:
If You ar running in VM Ware Boxes:
Add the following to the *.vmx file for the virtual machine:
disk.EnableUUID = "TRUE"
Restart the vm machine and the /dev/disk/by-id/scsi**** should be visible.
That's a nasty one - without this ISCSI just doesn't work
chkconfig iscsi on
iscsiadm -m discovery -t st -p 192.168.146.100
iscsiadm -m node -T iqn.1991-05.com.microsoft:iscsi-asm-target -p 192.168.146.100 -l
192.168.146.100 <=== IP Number of ISCSI Host
iqn.1991-05.com.microsoft:iscsi-asm-target <== Name of ISCSI Server, you get this as output from discovery command
Now, you must make sure that the devices belong to oracle.
Take a look at this link:
http://www.oracle-base.com/articles/linux/udev-scsi-rules-configuration-in-oracle-linux-5-and-6.php#make_scsi_devices_trusted
Add the following to the "/etc/scsi_id.config" file to configure SCSI devices as trusted. Create the file if it doesn't already exist.
options=-g
/sbin/scsi_id -g -u -s /block/sdc <== for all ISCSI devives
vi /etc/udev/rules.d/99-oracle-asmdevices.rules
KERNEL=="sd?1", BUS=="scsi", PROGRAM=="/sbin/scsi_id -g -u -s /block/$parent", RESULT=="360003fff419213c1a9a1ce9b75e35f63", NAME="asm1-disk1", OWNER="asm", GROUP="dba", MODE="0660"
KERNEL=="sd?1", BUS=="scsi", PROGRAM=="/sbin/scsi_id -g -u -s /block/$parent", RESULT=="360003fff419213c18af9aa132d316eca", NAME="asm1-disk2", OWNER="asm", GROUP="dba", MODE="0660"
KERNEL=="sd?1", BUS=="scsi", PROGRAM=="/sbin/scsi_id -g -u -s /block/$parent", RESULT=="360003fff419213c1b5bd65a6089784ae", NAME="asm1-disk3", OWNER="asm", GROUP="dba", MODE="0660"
KERNEL=="sd?1", BUS=="scsi", PROGRAM=="/sbin/scsi_id -g -u -s /block/$parent", RESULT=="360003fff419213c1b0098f974c463139", NAME="asm1-disk4", OWNER="asm", GROUP="dba", MODE="0660"
KERNEL=="sd?1", BUS=="scsi", PROGRAM=="/sbin/scsi_id -g -u -s /block/$parent", RESULT=="360003fff419213c18b94be6b8e64ae1a", NAME="asm2-disk1", OWNER="asm", GROUP="dba", MODE="0660"
KERNEL=="sd?1", BUS=="scsi", PROGRAM=="/sbin/scsi_id -g -u -s /block/$parent", RESULT=="360003fff419213c1ba97827387889d2f", NAME="asm2-disk2", OWNER="asm", GROUP="dba", MODE="0660"
KERNEL=="sd?1", BUS=="scsi", PROGRAM=="/sbin/scsi_id -g -u -s /block/$parent", RESULT=="360003fff419213c19344e120143d71a6", NAME="asm2-disk3", OWNER="asm", GROUP="dba", MODE="0660"
KERNEL=="sd?1", BUS=="scsi", PROGRAM=="/sbin/scsi_id -g -u -s /block/$parent", RESULT=="360003fff419213c1b088599c1a9a0a7f", NAME="asm2-disk4", OWNER="asm", GROUP="dba", MODE="0660"
RESULT=="360003fff419213c1b088599c1a9a0a7f" <=== That is returned by /sbin/scsi_id -g -u -s
Reload:
/sbin/udevcontrol reload_rules
/sbin/start_udev
Now you have your devices read, belonging to oracle:
ls -al /dev/asm*
Next go to oracle download click on list all and get:
Oracle Grid Infrastructure 11g Release 2 (11.2.0.1.0) for Linux x86-64
After extracting this you are ready to go.
When starting the install process you get an option to "change path", here select /dev.
In my test systems I use to set "external" for dataprotection.
Regards
Christian -
Configuring Oracle ASM 11gR2 to use ASMM
Hello,
Kernel hugepages under Oracle Linux is incompatible with Oracle AMM. The Oracle ASM instance under 11g uses AMM by default. So in order to configure Oracle ASM to use ASMM, what are the recommended settings please?
I reviewed http://docs.oracle.com/cd/E18283_01/server.112/e16102/asminst.htm#CHDBBIBF which outlines some information about various pool size parameters required for ASMM, depending on the size of the datafiles that will used.
But what about typical ASMM parametes like sga_target and pga_aggregate_target, or are these not used in an ASM instance?
How have you configred ASMM for Oracle ASM 11gR2?
Thanks!The minimum MEMORY_TARGET requirment for Oracle ASM is 256 MB. which we have set in ASM.
But what about typical ASMM parametes like sga_target and pga_aggregate_target, or are these not used in an ASM instance? yes ,they will be used ,below snap from aix 6.1 OS
SQL> sho parameter memory
NAME TYPE VALUE
memory_max_target big integer 272M
memory_target big integer 272M
SQL> r
1* select * from V$MEMORY_DYNAMIC_COMPONENTS
COMPONENT CURRENT_SIZE MIN_SIZE MAX_SIZE USER_SPECIFIED_SIZE OPER_COUNT LAST_OPER_TYP LAST_OPER LAST_OPER GRANULE_SIZE
shared pool 201326592 201326592 201326592 0 0 STATIC 4194304
large pool 20971520 12582912 20971520 12582912 2 GROW IMMEDIATE 04-JUN-12 4194304
java pool 0 0 0 0 0 STATIC 4194304
streams pool 0 0 0 0 0 STATIC 4194304
SGA Target 264241152 255852544 264241152 0 2 GROW IMMEDIATE 04-JUN-12 4194304
DEFAULT buffer cache 0 0 0 0 0 STATIC 4194304
KEEP buffer cache 0 0 0 0 0 STATIC 4194304
RECYCLE buffer cache 0 0 0 0 0 STATIC 4194304
DEFAULT 2K buffer cache 0 0 0 0 0 STATIC 4194304
DEFAULT 4K buffer cache 0 0 0 0 0 STATIC 4194304
DEFAULT 8K buffer cache 0 0 0 0 0 STATIC 4194304
COMPONENT CURRENT_SIZE MIN_SIZE MAX_SIZE USER_SPECIFIED_SIZE OPER_COUNT LAST_OPER_TYP LAST_OPER LAST_OPER GRANULE_SIZE
DEFAULT 16K buffer cache 0 0 0 0 0 STATIC 4194304
DEFAULT 32K buffer cache 0 0 0 0 0 STATIC 4194304
Shared IO Pool 0 0 0 0 0 STATIC 4194304
PGA Target 20971520 20971520 29360128 0 2 SHRINK IMMEDIATE 04-JUN-12 4194304
ASM Buffer Cache 25165824 25165824 25165824 0 0 STATIC 4194304
16 rows selected.Edited by: Kuljeet Pal Singh on Jun 27, 2012 6:59 PM -
Hello Experts,
My name is Rohan and I'm working as Oracle DBA now I came accross the ASM and I want to learn it.
I have basic knowledge of Oracle ASM and I have also configured/created an instance with the help of DBCA.
Now for the better understandings I want to create the same with Command line.
Will anybody please give me the proper tutorial for the same?????
I am using oracle 11.2.0.3 on windows.
Thanks in advance.Hello,
Need your help again.
I have successfully created the diskgroup and mounted
please find the logs below:
asmtool -list
NTFS \Device\Harddisk0\Partition1 100M
NTFS \Device\Harddisk0\Partition2 99900M
NTFS \Device\Harddisk0\Partition3 376938M
ORCLDISKDATA \Device\Harddisk1\Partition1 1022M
ORCLDISKDATA1 \Device\Harddisk2\Partition1 1022M
C:\Windows\system32>sqlplus / as sysasm
SQL> select DISK_NUMBER,path from v$asm_disk;
DISK_NUMBER PATH
1 \\.\ORCLDISKDATA
0 \\.\ORCLDISKDATA1
SQL> select NAME,STATE,TYPE,TOTAL_MB,FREE_MB from v$asm_diskgroup;
NAME STATE TYPE TOTAL_MB FREE_MB
DATA MOUNTED NORMAL 2044 1942
Now I am connected to sysdba and firing the command to create database it's showing me the following error :
create database testdb
ERROR at line 1:
ORA-15000: command disallowed by current instance type
How to troubleshot this problem?
PFB the create database script :
create database rohan
logfile group 1 ('+DATA\disk1\redo1.log') size 10M,
group 2 ('+DATA\disk1\redo2.log') size 10M,
group 3 ('+DATA\disk1\redo3.log') size 10M
character set WE8ISO8859P1
national character set utf8
datafile '+DATA\disk1\system.dbf'
size 50M
autoextend on
next 10M maxsize unlimited
extent management local
sysaux datafile '+DATA\disk1\sysaux.dbf'
size 10M
autoextend on
next 10M
maxsize unlimited
undo tablespace undoTBS
datafile '+DATA\disk1\undo.dbf'
size 10M
default temporary tablespace temp
tempfile '+DATA\disk1\temp.dbf'
size 10M; -
We are looking for a low cost solution for some qa databases and I am trying to find out if you can use iscsi storage for running multiple instances using Oracle ASM?
Is this supported and is this a good idea?
Thx.Such a configuration works,but neither supported nor recommended for production environments:
http://www.oracle.com/technology/pub/articles/hunter_rac10gr2_iscsi.html
Werner
Maybe you are looking for
-
Why can't I find Painter X3 in the bridge CS5 "open with " command list?
I just installed Painter X3 and can't find it in the "open with" list. Painter X was there along with Firefox for PSD files, so how do I add it?
-
I cant connect my iphone 4s on my laptop, I changed the usb cable and is not charging too. What i can do?
-
http://www.videora.com/en-us/Converter/img/screenshots/iPod1.png Videora iPod Converter is a free video conversion application developed by the creators of Videora. It allows you to convert your regular PC video files (avi, mpeg, etc) into the proper
-
where is the advance preferences in the brand new iMovie? it used to be in that button area. i need to do picture in picture!
-
System wide configuration file
I have a number of EJBs and plain Java Objects that all share a common set of 'configuration properties' that the business would like to configure in run-time to affect how the EJBs work. Hence, I think that defining the same properties per EJB deplo