About ASM and SAN...

Hello Guys,
I have to implement 3 nodes RAC 10gR2 ob centOS4 operating system. I have study so many documents about rac instaltion and configurations. I have learn how to set the network requirements with private, public and virtual IPs and all other stuff. I have learn installtion of clusterware and database with cluster enable functionality.
BUT the storage options are still not clear to me. We have purchases SAN and we are planning to implement ASM for the storage. Now i want to know:
How many disk and disk partitions 3 node structure will require on SAN?
How ASM will access SAN, or you can say OS will access this shared storage?
Voting disk and OCR can not be store on sharted storage and need to be store on raw devices... what these raw device can be? How it can be access by all nodes?
Above three questions are disturbing me a lot. If they are clear to me the whole storage concept will be clear and i can implement RAC.
Please help me by answering the above 3 questions. I will be vert greatful to you.
Regards,
Imran

How many disk and disk partitions 3 node structure will require on SAN?
There's no real answer to that! With Oracle generally, RAC or no RAC, the answer to how many disks you should have is "as many as possible". Partitioning is really up to you, too, depending on what you find easiest to manage. If you have a single SAN array, for example, comprised of 15 disks that you choose to partition into three or four logical volumes so that you can call one 'data', one 'redo', one 'OS', and one 'other' -that's entirely up to you, since Oracle could care less how you partition, what you call them or how many of them there are. Moreover, everything on every partition is being striped across those 15 disks anyway, so who cares?
I think, however, you might be thinking of the RAC-specific issues of the voting disk and the Oracle Cluster Registry. If you were using a cluster file system, they could be just two files on the file system, about 120M in size between them. Since you are going to use ASM and these two elements can't be stored inside an ASM array, you'll have to create two raw partitions for this purpose. The rest you then chop up for ASM's use.
It is NOT true, incidentally, that "Voting disk and OCR can not be store on sharted storage". By definition, the voting disk and OCR must be on shared storage! Indeed, raw partitions, ASM arrays and cluster file systems are ALL shared storage technologies. It just so happens that those two files can't use ASM... but raw or cfs are fine.
A raw partition is not, of course, intrinsically 'shared storage'... but if it's a raw partition on your SAN, to which all three of your nodes are physically attached, then it is shareable. It's shareable simply because three nodes can see it. And because there's no file system there with exclusive and blocking file locks, what one node does to a raw partition doesn't stop another node accessing it simultaneously (which is the definition of shared storage, of course).
How will ASM access SAN? By you partitioning the SAN into a number of logical volumes, each one of which will be kept raw, and you then declaring each such volume as a candidate disk. You'll wrap all candidate disks up into an ASM disk group... and then Oracle will write to that disk group and hence through to the underlying logical volumes. Which comes back to the original question: how many logical volumes should you create out of, say, a 15 disk LUN on a SAN?
Depends, as I said, on a lot of things, but for example RAID5 runs best when there are either 5 or 9 disks in the array (or did when last I looked at an EMC Clariion SAN!). So if your underlying RAID technology was going to be RAID5, you might well create 3 5-disk logical volumes on the one LUN. To let ASM use all 15 disks, you'd then create a 3-disk diskgroup (where 1 ASM disk = 1 SAN logical volume). On the other hand, you might want to keep some disks back for future storage, in which case a 1-disk ASM diskgroup representing a single 9-disk logical volume might be the go, with the remaining 6 disks on the LUN available for future expansion.
It's a complicated topic, unfortunately. You're dealing with physical storage which is already abstracted into logical volumes and then abstracted even further by wrapping those logical volumes up into ASM disk groups. You balance performance, expandability, management convenience, your SAN vendor's optimisation tricks and so on... and hopefully come out with something that works for you!

Similar Messages

  • Difference between asm and san

    Dear all Guru's,
    I have a question what is difference between san and asm because san also provide mirroring like asm,why we shuld go for asm.
    Regards,
    Jam

    926840 wrote:
    but i want to know if i don't use asm or use asm storage layer for oracle dbf file?.what is the benefit of using asm storage because some of organization don't use asm storage.There are two basic types of storage for Oracle databases.
    "Cooked" file system. This means the disk is formatted and managed via a specific file system driver. On Windows, that would be ntfs. On Linux, that typically would be something like ext3.
    This file system is managed by the file system driver loaded into the kernel. It does directory and file management, service I/O calls to read and write files, provides caching, and so on.
    ASM does not support cooked file system as it already has a driver that manages that formatted file system drive/partition.
    Raw disks is the second storage type. This means it is unformatted - and as such, you cannot (via standard o/s commands) use the drive to create/update/delete/etc directories and files.
    ASM supports managing such raw (non-cooked) devices. As these devices are directly used by the database, the database can better control and managed device access.
    Simple example. The database writes 10 8KB database blocks to a cooked file system. It has no idea whether those 10 blocks were actually written to disk.. or whether the file system driver has cached that write and all 10 blocks still sit in memory. The database itself also has a cache. So there are now 2 memory caches.. a physical database I/O may actually be a logical file system I/O.. These factors make managing and determining performance complex.
    A raw non-cooked device does not have such a secondary cooked file system cache. If the database does a physical write to disk, the data is actually written to disk. There is a single memory cache that is managed by the database. Less complexity and less ambiguity. And it can also mean better performance.
    Manually managing raw device is however complex. And in the past, problematic as the database directly used the raw device without providing any type of management layer for raw devices. ASM addresses that issue - and addresses it very well.
    Using SAN LUNs as cooked file systems for an Oracle database does not make much sense IMO. SAN LUNs should be used as raw devices for the database - and ASM used as management layer for these devices.

  • About ASM and Oracle user

    Hi,
    is there any way to installing ASM executable and database executable by diffrent operating system user.
    It means that
    there are two user one of them
    [tuba@pttstgen24 ~]$ id
    uid=500(tuba) gid=500(dba) groups=500(dba),501(oinstall)
    and the other one
    [tuba02@pttstgen24 database]$ id
    uid=501(tuba02) gid=501(oinstall) groups=500(dba),501(oinstall)
    I want to install ASM by using tuba and I want to create db by using tuba02
    but it gives the error and db installation did not discover the ASM.
    However,
    when installing db with tuba on ASM it is successfull?
    İs there any way to install ASM and Db by different users??

    Hi Terbas,
    Its is possible on Oracle 11g, see this link http://www.filibeto.org/sun/lib/nonsun/oracle/11.1.0.6.0/B28359_01/install.111/b28263/rcprelin.htm#BABGCHAD
    Regards,
    Rodrigo Mufalani

  • ASM and SAN layout

    I am considering using ASM on a SAN with many LUNs.
    1. Should I create 1 diskgroup for each LUN?
    2. All I need is one bigfile tablespace correct? We are not using transportable tablespaces so no need for separation.
    3. Should I put indexes in a separate tablespace if I am using ASM with a SAN?

    Yes. It is better to keep redo and archive logs in seperate groups different from data disk group
    Does the above is still valild if i am having one lun presented to the system as my system admin reasoning is since the lun is protected by raid5 what good it does having them sitting on differnet lun.There is no concept of fast disk ,slow disk .Is the suggestion above is more related to organizing the data aka seperating data from redologs...Sorry for using the same form as i think its relevant.

  • Question about RAC and ASM

    Hi,
    We are thinking about build RAC using ASM for OEM database. It'll have two nodes, oracle 10g and Hitachi san with solaris ( or linux ). I've few questions about RAC and ASM.
    1) Do I need to have ASM instance running on each node ? ( most likely yes... but want to make sure )
    2) can I share oracle_home between ASM instance and database instance ? what is the best choice ?
    3) I'm planning to use shared disks for all files, all databases.... what are the pros/cons ?
    4) what should be the installation procedure ? Meaning, first create ASM instance on each node, then install cluster software, build RAC databases...... can someone explain..
    5) I believe RMAN is the only option for backup since I'm using ASM, correct ?
    I'm a newbie to RAC and ASM..
    Thanks,

    user4866039 wrote:
    1) Do I need to have ASM instance running on each node ? ( most likely yes... but want to make sure )yes.
    2) can I share oracle_home between ASM instance and database instance ? what is the best choice ?in 10g you can, in 11gr2 you cannot. and it might be better to seperate them because it will give you more flexibility with patching.
    3) I'm planning to use shared disks for all files, all databases.... what are the pros/cons ?if you share your oracle_home you won't be able to do rolling updates. so i recommend to keep oracle_homes local.
    4) what should be the installation procedure ? Meaning, first create ASM instance on each node, then install cluster software, build RAC databases...... can someone explain..follow the install guide for your respective version. for 10g you'd install clusterware first, then asm and database is last.
    5) I believe RMAN is the only option for backup since I'm using ASM, correct ?pretty much. you could stop your database and dump the raw devices or use asmcmd/asmftp but rman is definitely the best choice
    Bjoern

  • ASM and IBM's SVC (SAN Volume Controller)

    Has anyone used ASM on SVC?
    Can anyone point me in the direction of any documentation regarding ASM and SVC.
    Any assistance greatly appreciated.
    Gavin Rayner

    Hi,
    I am also looking at recommendations for using IBM's SVC with AIX. (We are not using ASM in this instance).
    Can anyone post their experiences, tips and lessons learnt using this disk architecture?
    Cheers.

  • Placing Rac db redologs members on san disks ASM and local scasi disks

    Hi
    Kindly advice if should I face a performance problem case I placed db redologs members one on ASM and the 2nd on Local server scasi disk.
    Thanks

    As long as you would have the local disk not being into contention due to any other files being present or just being slow, you should be fine. But make sure that you do have the local disk in such a way that it's visible to the other node as well because that would be required in the case of recovery.
    HTH
    Aman....

  • Migrating Non ASM, Non RMAN to New Server with ASM and RMAN - Possible?

    We currently have a database ( Oracle 10g R1 ) on a Sun Solaris server that is NOT using ASM or RMAN. The database is about 300GB. We are getting a new server and we want to install Oracle 10g R2 with ASM and RMAN and migrate the database.
    I have seen the documentation on migrating non ASM to an ASM server but the methods all use RMAN. Is it possible to migrate to an ASM database without using RMAN? Would datapump import/export work if I created a new database on the new server with all the same tablespaces? Or, do I have to bite the bullet, install RMAN on the old server and do the backup?
    Thanks.

    If you're not using RMAN that doesn't mean you can't use it to perform a single backup, rman is contained in every oracle RDBMS installation version 10G or higher.
    this is only a sample of how to do it
    RMAN> CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '<file_system_path>/%U.DBF';
    --first we allocate the channel default channel.
    RMAN>RUN
    ALLOCATE CHANNEL DEFAULTCHANNEL TYPE DISK;
    SHUTDOWN IMMEDIATE;
    STARTUP MOUNT;
    BACKUP DATABASE;
    SHUTDOWN
    }then once you have it, you can do what you want.
    It should also be possible to manually restore the database from the original datafiles but it's better to follow the solution involving RMAN.
    Bye Alessandro

  • How can I remove asm and ocr installation in AIX?

    Hi,
    I try to install single instance with using ASM in AIX.
    But I did not make successfully.
    Now I want to remove ASM and OCR installation then
    I will plan to make new clear installation.
    How can I remove asm and ocr ??
    Or How can I control my removing is fully correct ?

    1) ASM Instance Clean-Up Procedures
    Stop all of the databases that use the ASM instance that is running from the Oracle home that is on the node that you are deleting.
    On the node that you are deleting, if this is the Oracle home which from which the ASM instance runs, then remove the ASM configuration by completing the following steps. Run the command srvctl stop asm -n node_name for all of the nodes on which this Oracle home exists. Run the command srvctl remove asm -n node for all nodes on which this Oracle home exists. If there are databases on this node that use ASM, then use DBCA Disk Group Management to create an ASM instance on one of the existing Oracle homes on the node, restart the databases if you stopped them.
    If you are using a cluster file system for your ASM Oracle home, then ensure that your local node has the $ORACLE_BASE and $ORACLE_HOME environment variables set correctly. Run the following commands from a node other than the node that you are deleting, where node_number is the node number of the node that you are deleting:
    rm -r $ORACLE_BASE/admin/+ASMnode_number
    rm -f $ORACLE_HOME/dbs/*ASMnode_number
    If you are not using a cluster file system for your ASM Oracle home, then run the rm or delete commands mentioned in the previous step on each node on which the Oracle home exists.
    2) Deleting an Oracle Clusterware Home Using OUI in Silent Mode
    !!! Oracle recommends that you back up your voting disk and OCR files after you complete the node deletion process.
    If you ran the Oracle Interface Configuration Tool (OIFCFG) with the -global flag during the installation, then skip this step. Otherwise, from a node that is going to remain in your cluster, from the CRS_home/bin directory, run the following command where node2 is the name of the node that you are deleting:
    ./oifcfg delif –node node2
    Obtain the remote port number, which you will use in the next step, using the following command from the CRS_home/opmn/conf directory:
    cat ons.config
    From CRS_home/bin on a node that is going to remain in the cluster, run the Oracle Notification Service Utility (RACGONS) as in the following example where remote_port is the ONS remote port number that you obtained in the previous step and node2 is the name of the node that you are deleting:
    ./racgons remove_config node2:remote_port
    On the node to be deleted, run rootdelete.sh as the root user from the CRS_home/install directory. If you are deleting more than one node, then perform this step on all of the other nodes that you are deleting.
    From any node that you are not deleting, run the following command from the CRS_home/install directory as the root user where node2,node2-number represents the node and the node number that you want to delete:
    ./rootdeletenode.sh node2,node2-number
    If necessary, identify the node number using the following command on the node that you are deleting:
    CRS_home/bin/olsnodes -n
    Perform this step only if your are using a non-shared Oracle home. On the node or nodes to be deleted, run the following command from the CRS_home/oui/bin directory where node_to_be_deleted is the name of the node that you are deleting:
    ./runInstaller -updateNodeList ORACLE_HOME=CRS_home
    "CLUSTER_NODES={node_to_be_deleted}"
    CRS=TRUE -local
    Deinstall the Oracle Clusterware home from the node that you are deleting using OUI as follows by running the following command from the Oracle_home/oui/bin directory, where CRS_home is the name defined for the Oracle Clusterware home:
    ./runInstaller -deinstall –silent "REMOVE_HOMES={CRS_home}"
    Perform step 9 from the previous section about using OUI interactively under the heading "Deleting an Oracle Clusterware Home Using OUI in Interactive Mode".

  • RAC with ASM and without ASM

    Hi all,
    we planing to install RAC 11g instance active/active . and we are using SAN storage RAID 10.
    I know ASM is nice feature . but it need more maintenance in future . This is what I see
    it from Manual and training . for patching ..... because it maintain as instance.
    why I do need ASM since I have SAN and I can control mirroring ...etc
    I need sold answer here ?? why I need to use this feature that already can be covered using another facility like SAN.
    Best Regards,

    What I have found in a RAC world is there is maintenance no matter which way you go, A cluster file system will require upgrades, patches, etc. RAW volumes will require extra effort in allocation, etc. as well as increase the number of files in the database. ASM requires additional instance on each node to maintain which is quite simple and rolling patches in ASM is becoming reality slowly. I have found that removing the management of RAW volumes is more trouble then the maintenance of the ASM instances and the added benefits of ASM outweigh the maintenance for sure. I found that the cluster file system mainteance is pretty well a wash.
    As for ASM being widely used, the most recent RAC clusters (last 3) I have built have all been ASM....... 1 on HPUX and 2 on Linux (Red Hat and Oracle Enterprise Linux) and future clusters coming up that I know of are all going to be ASM as well. While it may be true that a lot of existing RAC environments have not yet gone to ASM almost all new RAC environments are. It is certainly taking hold. If you look at the effort on a large database to move to ASM from RAW volumes or cluster file system it can appear to be a lot of work and that is true, but in the long run my experience with ASM has been positive therefore I would not hesitate to recommend new RAC clusters be built with ASM and existing clusters should have a migration plan in place. As with some cluster file systems like veritas, GPFS, etc. There is addtional cost involved where ASM does not have the additional cost so moving existing clusters can save $$........ RAM volumne management may not fall on the DBA but someone has to manage all those volumnes at a SAN level and that is additional management just may not really be with the DBA.
    Just my additional 2 cents worth.
    Hope this helps.

  • Doubt About ASM

    Hi All,
    I have some doubts about ASM.
    I have installked ASM on my linux box and created two databases which are totaly
    using ASM. I created controlfile on local file system only.
    1. Suppose I want to remove my one database. I just shut abort the database and
    remove the controlfile. Now I need to remove all files belong to DB_1 from ASM.
    I am using one single Diskgroup for both Databases. So, can not drop Diskgroup.
    Now, How can I identify files of DB_1 database ?
    2. If I create a normal redundancy diskgroup using two failgroup. It shows me total_mb
    and free_mb space as available. Whenever my database takes 1 extent of 100mb
    it reduces 200mb from free_mb column which is also understandable.
    But I am not able to figureout about col required_mirror_free_mb. What it is saying.
    I have read oracle documentation but still not able to understand.
    Can some please shed some light on this ?
    Regards,
    Js

    If you are using 10.2 then just use asmcmd .
    It is very similar to a regular Unix command prompt interface, when in fact it runs sql commands against ASM instance.
    If you are using 10.1 then you have ti run those sql commands manually.

  • ASM and file system combination

    Hi everyone -
    OK, this may sound a bit crazy, but it's the situation I'm facing and I really need your help and opinion before I do something stupid.
    I am using ASM on a SAN to manage my DATA tablespace (contains all the user data, including BLOBs). The ASM takes up all the disk space on the SAN except for what's left over from the disks allocated for the SAN OS. Basically, I have 941GB free space on the disks allocated the the SAN OS. Now, I need more space for my DATA tablespace, but can't afford to buy more disks at the moment (spent all my money on this SAN). I want to use the 941GB of unused disk space from the SAN OS disks for my DATA tablespace. But these disks are obviously not using ASM, and my current DATA tablespace is completely inside ASM.
    So the 6 million dollar question is . . . Can I add a "filesystem" datafile to an existing ASM tablespace? For example:
    Tablespace DATA is currently managed by ASM. Can I do
    SQL> alter tablespace DATA add datafile '/ora1/oradata/orcl/DATA_FS_01.DBF' size 1024M;
    So essentially I'll have part of the tablespace managed by ASM and another part residing on a traditional file system datafile.
    What do you think? Is this possible? Advisable? The worst thing I could do? Ok to do?
    Thanks in advance
    a

    OK, I see that in the documentation this time. I'll try that for tonights backup and let you know how it works. I'm a bit concerned still because it looks like it wrote fine to the +ASMDG2 location.  I would have thought the whole backup would fail but I guess it was able to read the first path...                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Is there another way of getting apps from the appstore without putting your credit card number in, ive heard about the itunes gift card thing can anybody just give me more info about that and how i can buy free things free things from the appstorepls help

    Is there another way of getting apps from the appstore without putting your credit card number in, ive heard about the itunes gift card thing can anybody just give me more info about that and how i can buy free things free things from the appstore...pls help as im only a teenager and have no credit credit and my parents dont trust me with theres and they dont care about the fact that you can set up a password/.... PLEASE SOMEONE HELP I WILL BE SO GRATEFUL... And i would really like to get the iphone 4 but if there is no way of etting apps without your credit number then i would have to get a samsung galaxy s3 maybe ...

    You can set up an Apple ID without a credit card.
    Create iTunes Store account without credit card - Support - Apple - http://support.apple.com/kb/ht2534

  • My homepage will load about 30% and then i'm dead in the water. when i close firefox it appears to close but when i try to reopen it tells me that it's already running. started with beta 6 i deleated and loaded ver 5 no change

    when i start firefox, everything starts normal then my homepage (igoogle) starts to load, gets to about 30% and stops. from there i can click on links or bookmark and a new tab will open but no page will load. i can't get anywhere. then when i close firefox it appears to close normally but when i try to reopen firefox i get a message that firefox is still running but not responding and the only way to shut it down is to reboot. when it first occured i was running beta 6 (since it became available, i also used beta 4 & beta 5) i then uninstalled beta 6 and downloaded and installed ver 5 same problem. i then did a system restore to a time before the problem.. no luck. i'm not sure what to try next. IE & chrome both work fine

    I'm in exactly the same boat - dead at blue screen, only option is to salvage using target mode.
    I don't currently have access to another Mac to do target mode. I was planning to buy a new Mac this fall anyway, though. 2 questions in preparation for that purchase:
    1) Is there anything I can do before buying a new Mac to make the salvage process more successful? ie, should I spend the time and money going to the genius bar to have them help me get from totally crippled to partially crippled? (As for expertise, I'm a proficient consumer-grade user, but Apple Support walked me through the safe-boot process, etc.)
    2) Is Apple going to provide 10.5 once it is released to people who buy a new Mac in these 6 weeks pre-release?
    Thanks for your help,
    Bailey

  • Firefox will open 4 or 5 tabs fine, but then will not load any further websites after those first 4 or 5, or allow you to refresh one of those first tabs -- including about:config and the addon page

    Firefox 5 worked fine. I installed Firefox 7, and when I ran it, tabs would just say "connecting to..." and hang. Restarting did not help. Websites open fine in IE and Chrome. Disabled all firewalls and antivirus, did not help. Uninstalled and reinstalled Firefox 5, everything worked fine again. This was using Vista 64-bit.
    Upgraded to Windows 7, uninstalled Firefox 5, installed Firefox 7, had same problem. Uninstalled Firefox 7 completely (including the profile information, I saved that information in another folder), restarted computer, and installed Firefox 7 using a completely clean profile. Did not install any add-ons, checked to make sure all plug-ins were up-to-date, and updated plugins.
    Now when I start Firefox, I can load 3 or 4 or 5 tabs fine -- after those first few tabs are open, I cannot open or refresh any other tabs -- including about:config and the add-on manager -- I have to restart Firefox. The hangup doesn't appear to be related to what websites I am attempting to open, but it looks like the number is the problem. I have run through all of the FAQ procedures, including changing the max number of network connections to 48, and the problem does not seem to go away.
    As a side note, I had this same problem when I tried to go from version 5 to version 6 as well. Version 5 is the most recent version that worked on my system.

    Can you try Aurora - download it from http://www.mozilla.org/en-US/firefox/channel/
    And let us know how it works.

Maybe you are looking for

  • How to access PL/SQL data types through JDBC

    Hi, We have stored procedures written in PL/SQL. These stored procs take both IN and OUT parameters. The parameter types are both regular datatypes like NUMBER, VARCHAR etc. So far so good. I know how to handle these data types. Some of the stored pr

  • In the new Numbers, can I find and replace within formulas like I used to in Numbers'09?

    I use Numbers with quite long formulas with reference to other tables. With Numbers'09, it was extremely useful to copy formulas and then use "find and replace" to change the terms within. Did they remove this option? I don't seem to be able to do th

  • ORACLE 11i JSP NOT RESPONDING

    Windows 2000 Server SP4. Created a staging area as listed in the documentation. Installation goes through without a problem. All the system utilities check pass with flying colours. Once installation finishes, the system post-installation check is ex

  • Boo do you close out programs running in the background

    How do I close out runni g programs running in the background in OS7

  • How do you turn off hibernation

    hi there just come across from windows all these years and as u can see in my previous post im having trouble with my mac, but one other question i must ask is that is it possible to stop the computer going into hibernation when i put the lid down on