ASM Home under Cluster Configuration

Hi Guys
I need some information regarding how and from where OCR get information.
I have 3 Oracle Homes , DB_HOME,ASM_HOME and CRS_HOME. When I create ASM instance, I export my ORACLE_HOME=DB_HOME and run dbca . From there I create my ASM Instance. Everything works fine, up and running.. No issues.
Now, When I do ocrdump on the system OR run srvctl config command on ASM instance
e.g.
srvctl config asm -n node1, I get
+ASM1 /u01/oracle/product/10.2.0/asm
Now, My question is, How does OCR got this Oracle Home for ASM. From where does it read? I never exported or pointed ASM_HOME in my environment while creating ASM instance.
Any idea? I will appriciate your help.
Thanks
PG

Now I am ready to create database using ASM (I don't have any ASM yet, just the binaries). So I export ORAC_EHOME = DB_HOME and run dbca (dbca is using DB_HOME binary). I create ASM, Disk Groups, Database everything. Works normalThis defeats the purpose of having an ASM_HOME.. the idea of having a separate ASM_HOME is to support different releases of ASM while keeping the RDBMS version different.. Which means you have to run DBCA to create the ASM instance, disks and disk groups from the ASM_HOME/bin directory.
At this stage agreed the version/binaries are all the same. But one of the ideas of having separate homes is for the future in case we have different versions between the ASM instance and the RDBMS instance.
Does Oracle scans itself and look for directories OR Does oracle scan Oracle Inventory and look for ASM_HOME or something?I don't think Oracle scans anything.. but uses the environment variables you give during installation (OUI)and stores this information into the OCR.
Message was edited by:
Murali Vallath

Similar Messages

  • ASM in it own asm home under separate asm user

    Hi,
    I would kindly ask those who are familiar with ASM on OEL/RHEL installing it
    1. in its own asm home
    2. under separate asm user
    to look into this thread in ASM forum
    Installing ASM single instance in its own home, separate from ORACLE_HOME
    Any comment, suggestion or solution would be appreciated. To avoid duplicating threads, please make your comments there (on ASM forum).
    Thanks in advance.
    NJ

    sergeko wrote:
    I would use the same user id.Thanks. I know that. No problem with ASM home under the same user id as DB instance. But why did Oracle put this demo on OTN site?
    http://www.oracle.com/technology/obe/demos/10gr2/asm_install_diff_home.viewlet/asm_install_diff_home_viewlet_swf.html
    This is a guaranteed non-working example of ASM implementation and the central point of confusion.
    NJ

  • Separating ASM home and DATABASE home?

    I just installed a new 2 node cluster on linux Itanium and I have configured my CLUSTERWARE_HOME and DATABASE_HOME. We are using ASM for our database storage and I had used dbca to create the ASM instances and when I ran the dbca to create the new ASM instance I used the dbca from the DATABASE_HOME.
    I have been told that I should have created an additional home for the ASM instance? Is this correct and is this a best practice for RAC and ASM?
    Everything is up and running fine and I and pondering if it is worth reconfiguring so that we can have a separate ASM home?
    Is there a good doc out there concerning how to reconfigure the home for ASM once it is up and runnig and my database is currently utilizing it for it's storage?
    I know that I would just have to lay down the binariies into a new directory but what alse needs to change? Will this affect how the ASM instances are registered with the clusterware?
    What is the real benefit of having them separate? I have been told that you can patch then separately but I don't see the benefit as the db would have to be down anyhow if the ASM instance would need to be patched?
    Any suggestions are greatly appreciated.
    Thanks.

    Hi,
    << Oracle Documentation >>
    Keep the following in mind when installing ASM:
    When running more than one database instance on a single server or node, it is recommended that you install ASM in its own Oracle home on that server or node. This is advisable even if you are running only one database instance but plan to add one or more database instances to the server or node in the future.
    With separate Oracle homes, you can upgrade and patch ASM and databases independently, and you can deinstall database software without impacting the ASM instance.
    If an ASM instance does not already exist and you select the OUI option to install and configure ASM only, OUI installs ASM in its own Oracle home.
    If you are running a single database instance on a server or node and have no plans to add one or more database instances to this server or node, ASM and the database can share a single Oracle home
    If an ASM instance does not already exist and you select the OUI option to create a database that uses ASM for storage, OUI creates this single-home configuration.
    Have a look at the following documents:
    1) ML NOTE:265633.1 ASM Technical Best Practices
    2) http://julian.dyke.users.btopenworld.com/com/Blog/2007_01_01_archive.html
    3) http://www.dell.com/downloads/global/solutions/Oracle_DB_Deployment_with_Separate_ASM_and_Database_Home_Final_Web_Ready.pdf
    4) http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/storeman.htm#i1021337

  • Patching Strategy for CRS and ASM homes

    I'm fairly new to RAC/ASM and haven't performed any patch set upgrades yet. Back in the simple days when I wanted to apply a patch set to a database, say from 10.2.0.4 to 10.2.0.5, I would create a brand new Oracle home ahead of time and apply the patch set to it. I'd name my homes like this:
    /opt/oracle/product/10.2.0.4/db1
    /opt/oracle/product/10.2.0.5/db1
    During the maintenance window I would change /etc/oratab to point the database to the new 10.2.0.5 and complete the database upgrade scripts. The advantages of this strategy:
    1 - Less risk installing software as nothing uses the new home yet. If something goes wrong in the install, no big deal. Research the problem and try again without being under the stress of a defined maintenance window.
    2 - No need to backup old home for back-out purposes.
    3 - Less time required for database to be down during actual patch window since Oracle Installer does not need to run.
    Now with CRS and ASM, is there a way to pre-stage a new home for those, but not have them "active" to the node until later during the maintenance window?
    For ASM, it seems like it would be possible to treat the same way as database and simply update ASM SID in /etc/oratab
    +ASM1:/opt/oracle/product/10.2.0.5/asm1
    but I'm not totally confident in that as I'm afraid the CRS home may already have references to the ASM home in the cluster registry.
    For CRS, it seems like the home is pretty well hard-wired into the node startup scripts and installing a brand new CRS home will probably disrupt the running CRS home.
    Any thoughts about this?

    Hi,
    user5448593 wrote:
    I'm fairly new to RAC/ASM and haven't performed any patch set upgrades yet. Back in the simple days when I wanted to apply a patch set to a database, say from 10.2.0.4 to 10.2.0.5, I would create a brand new Oracle home ahead of time and apply the patch set to it.
    Now with CRS and ASM, is there a way to pre-stage a new home for those, but not have them "active" to the node until later during the maintenance window?Although you have not mentioned the version you are actually on, it is a quite up-to-date question and dilemma.
    Starting with 11.2 for Grid Infrastructure only "out-of-place" patchset upgrades are supported.
    >
    For ASM, it seems like it would be possible to treat the same way as database and simply update ASM SID in /etc/oratab
    +ASM1:/opt/oracle/product/10.2.0.5/asm1
    but I'm not totally confident in that as I'm afraid the CRS home may already have references to the ASM home in the cluster registry.
    For CRS, it seems like the home is pretty well hard-wired into the node startup scripts and installing a brand new CRS home will probably disrupt the running CRS home.
    Any thoughts about this?As of 11gR2 the ASM is part of the Grid Infrastructure, therefore it is running from the same home and not recommended to separate them. (although you can do that)
    By the way, what is your upgrade path? It could be easier to answer your questions if we knew that as there has been a quite a few enhancements and changes in the upgrade/patching process from 10g to 11g. (even between 11gR1 and 11gR2)
    Regards,
    Jozsef

  • Localconfig reset in ASM home

    In our NON-RAC environment, we have 3 different database instance and one common ASM instance.
    let assume if database homes on the same server below
    1. /u01/app/prod/product/10.2.0/db_1
    2. /u01/app/devel/product/10.2.0/db_1
    3. /u01/app/test/product/11.1.0/db_1
    Common ASM instance to all three databases
    /u01/app/asm/product/10.2.0/asm_1
    1. $ more /var/opt/oracle/ocr.loc
    ocrconfig_loc=/u01/app/test/product/11.1.0/db_1/cdata/localhost/local.ocr local_only=TRUE
    2. ps -ef |grep css
    /u01/app/test/product/11.1.0/db_1/bin/ocssd.bin
    From all the above i understand the ocssd.bin is pointing to one of the database instance but not to ASM instance
    Do ocssd.bin should point to ASM instance? is ocssd.bin has been run under wrong ORACLE HOME instead of ASM home?
    Does always localconfig reset needs to be run under $ORACLE_HOME/bin or $ASM_HOME/bin?
    Thanks all in advance

    Rakhi -
    It seems when you executed localconfig add from root, you choose below home
    /u01/app/test/product/11.1.0/db_1/bin/localconfig
    I checked for localconfig file on my 11g installation, it seems ORACLE_HOME is hardcoded in this file.
    <code>
    [root@js bin]# more localconfig
    #!/bin/sh
    # localconfig.sbs for local CSS
    # This script file should be run for following three cases:
    # 1) add: When you are configuring the CSS for the first time
    # 2) delete: When there is only one single instance Oracle home on a node and
    # you are deleting/deinstalling that Oracle home
    # 3) reset: When there are more than two single instance Oracle homes on a
    # node and you are deleting/deconfiguring the Oracle home that
    # currently runs CSS daemon but you want CSS to run from a
    # different Oracle home
    # NOTE: When using 'reset' option. This script can be run from
    # source Oracle home or destination (Where CSS is to be reset to) Oracle
    # home.
    SILENT=%s_silent%
    CSS_ORACLE_HOME=/u01/app/oracle/product/11g
    CSS_ORACLE_OWNER=oracle
    CSS_DBA_GROUP=dba
    CSS_LANGUAGE_ID=AMERICAN_AMERICA.WE8ISO8859P1
    CSS_PARAMS="CSS_ORACLE_HOME CSS_ORACLE_OWNER CSS_DBA_GROUP CSS_LANGUAGE_ID"
    </code>
    Regards

  • Cross-WAN Cluster Configuration in JMQ

    Hi MQ experts,
    Here I have some questions regarding the JMQ cluster configuration
    with regard to the cross WAN support. Let say there are two JMQ
    brokers located in two different geo locations (e.g. one in NY and the
    other in SF) configured to participating in the same JMQ cluster, and
    several JMQ clients are configured to talk to their local JMQ broker in
    either site.
    Given the above configuration, here are my questions:
    * Does this configuration work from the functionality point of view?
    * What is the protocol/mechanism used for the inter-broker communication?
    * Does this configuration (cross WAN) work from the performance's point of view? If so, is there s is any specific configuration that needs to be done (for instance, we heard if HTTP is being used for the data synchronization between these two brokers across the WAN then it's possible, etc.)?
    * For the clients on each site, if the home broker fails, then does the failover mechanism work well in this cross-WAN configuration?
    * If this is indeed a supported configuration, is there any other documentation/performance benchmark reporting from which we can get more information?
    Thanks in advance for any information that you can share with us.
    -Alan

    hi alan,
    1) yes it will work functionally
    2) dont know exactly but i think there are several
    3) what will you use about openmq? what are the charackteristics for your usage? queues/topics temp queues .... lots of things to ask.
    4) it will work
    5) i think it is not supported since WAN capabilities are just in development and are planned for the next releases.
    regards chris

  • Windows 2003 Standard Edition (Cluster Configuration Storage page)

    I am trying to install RAC R2 on windows Server 2003 (Standard Edition). I am using FireWire 800 SIIG to connect to Maxtor OneTouch III External HDD.
    When installing cluster Services, i do not see the Cluster Storage Devices. When i go to Computer Management, i see all the partitions of the raw device.
    One "Cluster Configuration Storage" page, the Available Disks show no partitions.
    Oracle installtion documentation says "On the Cluster Configuration Storage page, identify the disks that you want to use for the Oracle Clusterware files and, optionally, Oracle Cluster File System (OCFS) storage. Highlight each of these disks one at a time and click Edit to open the Specify Disk Configuration page where you define the details for the selected disk"
    In my case, i do not see any disks. What am i missing?
    Any Thoughts. Please advise
    Thanks
    -Prasad
    Message was edited by:
    pinjam

    You have a more fundamental problem, Firewire disks will not work for RAC on Windows. The storage needs to be shared, Firewire disks can't be shared on Windows. On Linux, Oracle took the open source firewire driver and modified it to allow more than one host to connect. On Windows the driver is closed source so they can't do that.
    I presume you are wanting to try-out RAC on Windows, If so another solution may be to download one of the many iSCSI Servers that are available. Microsoft ship an iSCSI Initiator for Windows, this allows you to share a 'block device' which is what RAC needs - then you can choose your RAC Database storage method of choice, ASM, OCFS, RAW. I prefer ASM

  • Separate ASM HOME in RAC

    Dear Experts,
    I have created separate ORACLE & ASM home in our 2-NODE RAC environment. The question I have is when I add 3rd NODE to the Cluster I know I need to run 'addnode.sh' from ORACLE_HOME but since I have separate ASM_HOME also do I need to do the same from ASM_HOME?
    thanks

    Yes this needs to be done for both OHs (and from both OHs), to keep the oraInventory in sync as well as ensure the OCR has the consistent/approp OH created for each resource (rdbms and asm)

  • Listener starting out of ASM home?

    Hello,
    I have a fresh install of 10.2.0.3 RAC running on Solaris 2.9.
    We have older 10.2.0.3 RAC installs where the ASM HOME and the RDBMS HOME(10.2.0.3) shared the same home and our Listener started under the .../10.2.0/network/admin directory like any other stand-alone database.
    We separated the ASM HOME and RDBMS home on our new install and the Listener now automatically starts out the ASM HOME instead during bootup.
    Is it okay to run the Listener out of the ASM HOME? It appears to work but our GRID is finding Listeners under both spots (RDBMS and ASM HOME)
    Can I changed it to start out of the RDBMS home like all our other Listeners? If so, where does Oracle look during bootup of RAC to set this and how can I change it?

    Thanks for the quick response Kevin.
    I've ran your command and found:
    NAME=ora.snapdragon1.LISTENER_SNAPDRAGON1.lsnr
    TYPE=application
    ACTION_SCRIPT=/u01/app/oracle/product/asm/bin/racgwrap
    NAME=ora.snapdragon2.LISTENER_SNAPDRAGON2.lsnr
    TYPE=application
    ACTION_SCRIPT=/u01/app/oracle/product/asm/bin/racgwrap
    So it appears that the variable ACTION_SCRIPT is being set to the ASM home during CRS startup which would explain why it's using that home.
    Is there a way to change that variable? I'd like to start the listeners out of the RDBMS home like all my other databases.
    I'll dig around and post back here if I find it first.
    Thx,
    Gary

  • Find ASM Home

    Hi,
    My question is :
    To find the ORACLE HOME we use the "echo $ORACLE_HOME" and to find the CRS HOME we use the "echo $ORA_CRS_HOME"; In the same way, What variable i have to use to find ASM HOME ?
    $ ps -ef |grep smon
    oracle 7416 1 0 Apr08 ? 00:00:00 asm_smon_+ASM1
    oracle 8218 1 0 Apr08 ? 00:06:20 ora_smon_ractest1
    oracle 28210 15182 0 15:23 pts/0 00:00:00 grep smon
    $ echo $ORACLE_HOME
    /u01/app/oracle/product/10.2.0/db_1
    $ echo $ORACLE_SID
    ractest1
    $ export ORACLE_SID=+ASM1
    $ echo $ORACLE_SID
    +ASM1
    $ echo $ASM_HOME >>>>>>>>>>>>>>>>>>>>>>>>
    $
    $ sqlplus "/as sysdba"
    SQL*Plus: Release 10.2.0.3.0 - Production on Sat Jul 3 15:25:11 2010
    Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
    With the Partitioning, Real Application Clusters, OLAP and Data Mining options
    SQL> select instance_name from v$instance;
    INSTANCE_NAME
    +ASM1
    $ cat /etc/oratab
    +ASM1:/u01/app/oracle/product/10.2.0/db_1:N
    ractest:/u01/app/oracle/product/10.2.0/db_1:N
    ------------------------------------

    First of all ASM_HOME ora ORA_ASM_HOME - there are no conventions or requirements by Oracle to use this variables.
    When saying "oracle home" we do not mean the home directory for 'database' type instance or the home for 'asm' type instance. There is just one term, Oracle Home - which means oracle software installation directory - not regarding which type of instance is run from this directory(i.e. from oracle home).
    So, for your ASM instance also you will have a term "oracle home" which means the home directory of database binaries and other files.
    Regarding to your configuration, you yourself answered to your question in your first post(question). your database and asm instances both share the same oracle home, which is shown via entries in your oratab file
    $ cat /etc/oratab
    +ASM1:/u01/app/oracle/product/10.2.0/db_1:N
    ractest:/u01/app/oracle/product/10.2.0/db_1:N

  • No shared disks visible in the Cluster Configuration Storage dialog

    When installing the Oracle 10g clusterware the "Cluster Configuration Storage" dialog shows no shared disks.
    We are using:
    Windows 2003 Server
    HP Eva 4400

    Hello,
    all disks in cluster are visible from all nodes (2 of them).
    We tested it with unpartioned and partioned disks (primary and extended). No way to make them visible for the OUI.
    Automount is enabled in Windows like required from Oracle.
    Besides, we are using Standard Edition. Therefore we have to work with ASM.
    Any more information needed.
    Thanx in advance.

  • Cluster Configuration in WebLogic 10.3.5

    I have some doubts about clustering in WebLogic.
    1) I have created two MS(Managed Servers) in one machine: MS1(port 7003),MS2(port 7013). The MS2 should be the backup for MS1 when something wrong happens. So MS1 and MS2 have to be agreggated to my cluster configuration or just MS2?
    2) I have created the cluster ,with the Admin Console, assuming I have to agregate just MS2. ¿Do I need to do another configuration? I don't know exactly what are the steps to complete the cluster.

    Hi,
    You are going in the right track.
    First make sure that you have a standalone server,in your case (AdminServer) to distribute the requests to the other Managed servers.
    1)Create the two managed servers.
    2)Add all the servers in the cluster
    3)create a machine and add MS1 and MS2.
    4)Run the node manager from the directory <oracle_home>/wlserver10.3/server/bin/nodemanager.cmd
    5)Now try to start the managed servers.
    optionally...add the below argument in the managed servers... Home >Summary of Servers >Summary of Clusters >Cluster_1 >ms1
    -Xms512m -Xmx512m -XX:MaxPermSize=512m
    Clustering achieved-
    But wait, now this is not the end of things... :)
    Now you need to achieve Load balancing, to actually see how the clustering behaves.
    cheers,
    salil

  • Pros and cons for sharing ASM home

    Hello,
    Had a question on RAC with ASM...the ASM home is using the DB home...i mean ASM is sharing DB home...how bad can this be ???...i do not have a ASM home or it was never created...So how can this be resolved...or can i still use the db home for my ASM home??? what are the pros and cons for this ??

    So you are telling me that, if this 3 node RAC
    cluster which only have 1 database should be
    fine..and what about when its come to patching ???
    any big problems on that ???If the ASM needs to be patched, the database probably needs to come down. If the database needs to be patched, the database probably needs to come down.
    These are true whether the ASM is in the same home or not.
    The challenge comes when you have 2 or more databases (2 DB instances). If the ASM goes down for patching, both DBs probably come down.
    But if only one DB needs to be patched, and the Home is ALSO the ASM Home, both DBs come down.
    So separating ASM home and DB home is irrelevant when one DB is used, but is very relevant when multiple DBs are used and each DB has it's own ORACLE_HOME.

  • Stop application under cluster for maintenance

    Hi
    I  have a application which is under control of  the  cluster  and needs to be shutdown and startup manually for  maintenance like patching , how can I shutdown the application without it  causing the  resource group to switch over and start the application on another node and after  the  maintenance is   successful pass the control  back to the cluster
    TIA

    Hi,
    when doing planned maintenance (like applying a patch or upgrading the application software) for an application under cluster control, the safest way is to:
    disable the cluster resource (clrs disable <resourcename>)
    perform the maintenance
    verify everything is working as expected
    enable the cluster resource again (clrs enable <resourcename>)
    There is also the possibility to suspend the whole resource group, where the application resource is configured in, by doing a "clrg suspend <resourcegroupname".
    Then the cluster framework will not try to restart this resource group or trigger failover for it.
    The resource group can be resumed by "clrg resume <resourcegroupname>".
    But here it really depends on the scope of change you apply to an application, if the data service monitor for the application resource can really continue to perform monitoring as before.
    In some cases the data service monitor is not only probe based, but does also perform PMF based monitoring, ie. it monitors the specific process ids (pids) that got started by its start method.
    If you then manually stop the application, PMF might no longer see any of those pids, and thus determine a failed resource.
    That is why in general for performing maintenance on an application, you should start with disabling the resource. And enable it back once the maintenance is finished.
    Regards
                 Thorsten

  • Live migration to HA failed leaving VHD on local storage and VM in cluster = Unsupported Cluster Configuration

    Hi all
    Fun one here, I've been moving non-HA VMs to a HA and everything has been working perfectly until now.  All this is being performed on Hyper-V 2012R2, Windows Server 2012R2 and VMM 2012R2.
    For some reason on the VMs failed the migration with an error 10608 "Cannot create or update a highly available virtual machine because Virtual Machine Manager could not locate or access Drive:\Folder"  The odd thing is the drive\folder is
    a local storage one and I selected a CSV in the migration wizard.
    The net result is that the VM is half configured into the cluster but the VHD is still on local storage.  Hence the "unsupported cluster configuration" error.
    The question is how do I roll back? I either need to get the VM out of the cluster and back into a non-HA state or move the VHD onto the CSV.  Not sure if the latter is really a option.
    I've foolishly clicked "Ignore" on the repair so now I can't use the "undo" option (brain fade moment on my part).
    Any help gratefully received as I'm a bit stuck with this.
    Thanks
    Rob

    Hi Simar
    Thanks for the advice, I've now got the VM back in a stable state and running HA.
    Just to finish off the thread for future I did the following
    - Shutdown the VM
    - Remove the VM from the Failover Cluster Manager (as you say this did leave the VM configuration intact)
    - I was unable to import the VM as per your instructions so I copied the VHD to another folder on the local storage and took a note of the VM configuration.
    - Deleted the VM from VMM so this removed all the configuration details/old VHD.
    - Built a new VM using the details I saved from the point above
    - Copied the VHD into the new VMs folder and attached it to the VM.
    - Started it up and reconfigured networking
    - Use VMM to make the VM HA.
    I believe I have found the reason for the initial error, it appears there was a empty folder in the Snapshot folder, probably from an old Checkpoint that hadn't cleaned up properly when it was deleted.
    The system is up and running now so thanks again for the advice.
    Rob

Maybe you are looking for

  • Cost(vprs) of free goods with batch managment

    Dear Gurus, I have a problem ahout free goods with batch management. Cost(VPRS) is not accumulated in billing(free goods is not relevant for billing). My configurations are shown as below: Ordered goods (and batch) item category :zta1(copied from tan

  • Changing kodo properties in 3.0

    We have a kodo.properties file that defines the javax.jdo.option.ConnectionFactoryName and the javax.jdo.option.ConnectionFactory2Name. When we run our tests, however, we need to specify the Connection via javax.jdo.option.ConnectionURL, javax.jdo.op

  • Database Adapter Wizard does not show accessible table

    HI guys, in the wizard I am unable to see the tables which I need to use for database adapter. But I do have access to those tables, and able to select from them in SQL worksheet from with in Jdev. I dont own the tables, but my user id have readable

  • BDC to upload DATA

    Hi,      This is my BDC Program to upload batch data into infotype 0006 ans subtype 0001 plz check the code and correct i am getting one error when i compile the error is: Description                            ROW         Type Program ZBDCPA30      

  • Oracle appication server

    I installed OAS 4.0.8.1 on window nt workstation 4.0 service pack 5.I write some procedure with database 8.1.5.I am able to see all the procedure from broser.Everything look good. Question: Can i published all those procedure on the internet.With win