ASM Questions
ASM Questions
11. Question 24. How Does An Oracle Clusterware Manage Crs Resources?
Answer :
Oracle Clusterware manages CRS resources based on the configuration
information of CRS resources stored in OCR (Oracle Cluster Registry).
14. Question 27. How Does Database Connects To Asm Instance?
Answer :
The database communicates with ASM instance using the ASMB (umblicus
process) process. Once the database obtains the necessary extents from
extent map, all database IO going forward is processed through by the
database processes, bypassing ASM. Thus we say ASM is not really in the IO
path. So, the question how do we make ASM go faster…..you don’t have to.
15. Question 28. What Init.ora Parameters Does A User Need To Configure
For Asm Instances?
Answer :
The default parameter settings work perfectly for ASM. The only parameters
needed for 11g ASM:
o PROCESSES*
o ASM_DISKSTRING*
o ASM_DISKGROUPS
o INSTANCE_TYPE
16. Question 29. How Does The Database Interact With The Asm Instance
And How Do I Make Asm Go Faster?
Answer :
ASM is not in the I/O path so ASM does not impede the database file access.
Since the RDBMS instance is performing raw I/O, the I/O is as fast as possible.
17. Question 30. Do I Need To Define The Rdbms Filesystemio_options
Parameter When I Use Asm?
Answer :
No. The RDBMS does I/O directly to the raw disk devices, the
FILESYSTEMIO_OPTIONS parameter is only for filesystems.
18. Question 31. Why Oracle Recommends Two Disk Groups?
Answer :
Oracle recommends two diskgroups to provide a balance of manageability,
utilization, and performance.
19. Question 32. We Have A 16 Tb Database. I’m Curious About The
Number Of Disk Groups We Should Use; E.g. 1 Large Disk Group, A Couple Of
Disk Groups, Or Otherwise?
Answer :
For VLDBs you will probably end up with different storage tiers; e.g with some
of our large customers they have Tier1 (RAID10 FC), Tier2 (RAID5 FC), Tier3
(SATA), etc. Each one of these is mapped to a diskgroup.
20. Question 33. We Have A New App And Don’t Know Our Access Pattern,
But Assuming Mostly Sequential Access, What Size Would Be A Good Au Fit?
Answer :
For 11g ASM/RDBMS it is recommended to use 4MB ASM AU for disk groups.
See Metalink Note 810484.1
21. Question 34. Would It Be Better To Use Bigfile Tablespaces, Or
Standard Tablespaces For Asm?
Answer :
The use of Bigfile tablespaces has no bearing on ASM (or vice versa). In fact
most database object related decisions are transparent to ASM.
22. Question 35. What Is The Best Lun Size For Asm?
Answer :
There is no best size! In most cases the storage team will dictate to you based
on their standardized LUN size. The ASM administrator merely has to
communicate the ASM Best Practices and application characteristics to
storage folks :
• Need equally sized / performance LUNs
• Minimum of 4 LUNs
• The capacity requirement
• The workload characteristic (random r/w, sequential r/w) & any response
time SLA
Using this info , and their standards, the storage folks should build a nice LUN
group set for you.
23. Question 36. In 11g Rac We Want To Separate Asm Admins From Dbas
And Create Different Users And Groups. How Do We Set This Up?
Answer :
For clarification
• Separate Oracle Home for ASM and RDBMS.
• RDBMS instance connects to ASM using OSDBA group of the ASM instance.
Thus, software owner for each RDBMS instance connecting to ASM must be a
member of ASM's OSDBA group.
• Choose a different OSDBA group for ASM instance (asmdba) than
for RDBMS instance (dba)
• In 11g, ASM administrator has to be member of a separate SYSASM group
to separate ASM Admin and DBAs.
24. Question 37. Can My Rdbms And Asm Instances Run Different
Versions?
Answer :
Yes. ASM can be at a higher version or at lower version than its client
databases. There’s two:
components of compatiblity: Software compatibility
Diskgroup compatibility attributes: compatible.asm, compatible.rdbms.
25. Question 38. Where Do I Run My Database Listener From; I.e., Asm
Home Or Db Home?
Answer :
It is recommended to run the listener from the ASM HOME. This is particularly
important for RAC env, since the listener is a node-level resource. In this
config, you can create additional [user] listeners from the database homes as
needed.
26. Question 39. How Do I Backup My Asm Instance?
Answer :
Not applicable! ASM has no files to backup, as its does not contain
controlfile,redo logs etc.
27. Question 40. When Should I Use Rman And When Should I Use Asmcmd
Copy?
Answer :
RMAN is the recommended and most complete and flexible method to backup
and transport database files in ASM.
ASMCMD copy is good for copying single files
• Supports all Oracle file types
• Can be used to instantiate a Data Guard environment
• Does not update the controlfile
• Does not create OMF files
28. Question 41. I'm Going To Do Add Disks To My Asm Diskgroup, How
Long Will This Rebalance Take?
Answer :
Rebalance time is heavily driven by the three items:
1) Amount of data currently in the diskgroup
2) IO bandwidth available on the server
3) ASM_POWER_LIMIT or Rebalance Power Level
29. Question 42. We Are Migrating To A New Storage Array. How Do I Move
My Asm Database From Storage A To Storage B?
Answer :
Given that the new and old storage are both visible to ASM, simply add the
new disks to the ASM disk group and drop the old disks. ASM rebalance will
migrate data online.
30. Question 43. Is It Possible To Unplug An Asm Disk Group From One
Platform And Plug Into A Server On Another Platform (for Example, From
Solaris To Linux)?
Answer :
No. Cross-platform disk group migration not supported. To move datafiles
between endian-ness platforms, you need to use XTTS, Datapump or Streams.
31. Question 44. How Does Asm Work With Multipathing Software?
Answer :
It works great! Multipathing software is at a layer lower than ASM, and thus is
transparent.
You may need to adjust ASM_DISKSTRING to specify only the path to the
multipathing pseudo devices.
32. Question 45. Is Asm Constantly Rebalancing To Manage “hot Spots”?
Answer :
No.ASM provides even distribution of extents across all disks in a disk group.
Since each disk will equal number of extents, no single disk will be hotter than
another. Thus the answer NO, ASM does not dynamically move hot spots,
because hot spots simply do not occur in ASM configurations. Rebalance only
occurs on storage configuration changes (e.g. add, drop, or resize disks).
33. Question 46. What Are The File Types That Asm Support And Keep In
Disk Groups?
Answer :
o Control files
o Flashback logs
o Data Pump dump sets
o Data files
o DB SPFILE
o Data Guard configuration
o Temporary data files
o RMAN backup sets
o Change tracking bitmaps
o Online redo logs
o RMAN data file copies
o OCR files
o Archive logs
o Transport data files
o ASM SPFILE