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

Similar Messages

  • Wrongly issued #localconfig reset  on RAC node1

    Hello,
    I wrongly issued on node1 the command:
    #localconfig reset
    After that the OCR was moved on a local file, instead on shared raw storage: /u01/oracle/product/10gr2/db/cdata/localhost/local.ocr
    How can I revert back to the configuration with two nodes?
    Configuration is RAC 10g with 2 nodes, having ASM, OCR, VotDisk of shared raw devices.
    ORACLE_BASE=/u01/oracle
    ORACLE_HOME=/u01/oracle/product/10gr2/db
    ORA_CRS_HOME=/u01/oracle/product/10gr2/crs
    Thanks alot.

    Cannot execute #localconfig all
    Is Oracle 10g and the only options available are:
    node1:root$ /u01/oracle/product/10gr2/crs/bin//localconfig all
    Usage:/u01/oracle/product/10gr2/crs/bin//localconfig [add] [delete] [ reset <destination Oracle home> ] [-silent] [-paramfile <Complete path of file specifying parameter values>]

  • Fed up with resetting my BT Home Hub 3 and it's so...

    I keep having to reset my BT Home Hub 3 because of problems with wireless connections.
    The Hub is close to all the equipment.
    I have lots of things connected to it:
    -          iPhones - Slow not much better that 3G
    -          Blackberrys
    -          Macbook - Very fast
    -          2 Dell Laptops - Slow
    -          New model Panasonic TV – Viera ST50 Series – Has Wireless inbuilt – New this year - Slow + buffering problems
    -          Sky Box connected via Netgear WN2000RPT Wifi Range Extender - Slow + buffering problems
    -          Hard wired PC - Very fast
    All worked fine with my old Netgear Router (before I changed to BT).
    When I first had this Hub (it’s my 2nd) all was OK for a couple of weeks.
    After a while (usually a few days after resetting BT Home Hub) the older Dell Laptop will keep losing its connection.   Once the problem starts the laptop might last for 5 or 10 minute intervals, lose connection and then automatically reconnect, etc, etc.
    I'm will to accept that the Laptop is old, but when the Laptop is playing up the TV plays up too.    The Internet on the TV’s also fails.
    The answer is to reboot the BT Home Hub.   The Laptop and TV are then both OK (for a few days).
    I’m getting fed up with resetting the Hub.   Especially as it has dropped out while watching online TV.
    All the other devices appear OK (maybe slow but remain connected).   Only the older laptop and the TV actually lose connection.   But resetting the BT Hub fixes the problem for a few days.   So the hub is at fault.
    Recently I’ve been getting other problems.   Now whenever I need to reset the BT Home Hub I need to disconnect the Netgear WN2000RPT.   If I don’t  disconnect the Netgear the BT Home Hub appears to start up and connect OK and everything appears to connect to the Hub OK.  But then none of the Internet content works.   Websites don’t work, TV reports no content.
    Now whenever I reset the BT Home Hub I must first turn off the Netgear WN2000RPT.   Previously this never used to be a problem.
    In case compatibility with the Netgear WN2000RPT is an issue I now usually leave it unplugged.   I only turn it on for Internet content from Sky.
    But the problems described above continue even when Netgear WN2000RPT is turned off.
    When playing up the Laptop sometimes shows “Unsecure Connection”.  I wonder if it’s picked up the BT FON connection (but it shows the normal connection).    I suspect the start of the problems may have coincided with the activation of BT FON on the box (could this have taken 2 weeks?).   I’m sure that it was BT FON that completely broke my first BT Home Hub 3, we had had it about a week, then wifi would not connect from anything, after hours on the phone to BT support we could not establish a wireless connection to the Hub, but strangely all was OK on the FON connection.
    We have BT Infinity.
    Hub is generally slow.   Wired Internet is lightning fast.   New Macbook (using Chrome) via wifi is lightning fast.   Everything else disappointingly slow.   TV and Sky both have buffering issues.
    Any ideas?
    Solved!
    Go to Solution.

    Ludite60
    The HH3 has the ability to hop around the various Wireless Channels (of which there are 14, see http://en.wikipedia.org/wiki/List_of_WLAN_channels for indepth info) to enable the hub to pick the best channel for you, taking into account any cordless phones, mobile phones, microwaves etc, all of which could interfere with your wireless signal.
    By reseting you HH3 you are forcing it back to its factory default channel (Channel 7 I guess).  Over a period of days, the HH3 may decide that its default channel isn't the most appropriate and select another channel based on what interference it 'sees'- clearly if it gets this wrong (as my HH3 did) then you potentially get wireless reception issues.
    Consequently, I decided to manually find out what the best channel was by install a wireless scanner (free @ http://www.metageek.net/products/inssider/), then:
    1.  Manually change the HH3 Channel (via its settings)
    2.  Check the wireless reception 'power' using inSSider installed on the laptop around your house, ie next to your TV etc.
    3.  When you find the channel that gives you the best wireless reception, tell the HH3 to remain on that Channel by disabling the 'Smart Wireless' feature (there's some info on this @ http://bt.custhelp.com/app/answers/detail/a_id/322​36/~/how-do-i-change-the-wireless-channel-on-my-bt​...)
    As I say, my HH3's range was useless until I forced it to stick to a set Channel, now I have reliable coverage all around the house.  Hope this is some help.

  • 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

  • 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

  • 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

  • Do I need to patch ASM home?

    Hi,
    I have a Linux 4 server which has ASM HOME and RDBMS HOME and both are on 10.2.0.2. I want to apply the latest CPU. Do I need to apply CPU on ASM home too. This is not a RAC environment.
    --MM                                                                                                                                                                                                                                                                                                                                                                                                                   

    I am sorry about the subject of this thread, its sounds confusing, Anyway. it should have said "Do I need to apply quaterly CPU patches to ASM_HOME too?"
    --MM                                                                                                                                                                                                                                                                                                                                   

  • 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

  • Using provisioning can I apply patches to the rdbms and asm home

    We have 24 patches that have been recommended by Oracle support to apply to RDBMS and ASM home. I currently have been using provisioning via GRID to apply 1 patch.
    My question is can I use provisioning to apply all 24 patches at one time to both the RDBMS and ASM home?

    You can apply all the patchese at one shot but u have to use two different DP
    Please refer the section Patching Oracle Database and Patching Oracle Automatic Storage Management (ASM) from the doc
    http://download.oracle.com/docs/cd/B16240_01/doc/doc.102/e14500/toc.htm#

  • Do we need to apply DST patches on ASM Home?

    Hi there,
    I have a question.
    Do we have to apply DSTv11 patches and its inetrm patch (7695070) on ASM Home? We have 10.2.0.4 DB's on Sun Solaris and AIX boxes.
    I would appreciate , if you could provide this information.
    Thanks in advance,
    RM.

    I do not believe you can use the same HOME for ASM and database. AFAIK, ASM needs a dedicated HOME
    http://download.oracle.com/docs/cd/E11882_01/server.112/e16102/asmcon.htm#i1021951
    HTH
    Srini

  • I have tried several methods and can NOT reset my 2 home pages?

    I used your method to reset my 2 home pages. It's the first one I want to change - I inadvertently set it to www.google.ca/advanced search. I really want www.google.com, but it always reverts back to the.ca version.

    Do you get the international Google.com website if you open google.com via the location bar?
    Some sites like google automatically redirect you to a localized vrsion of the website, based on where your IP locates you.
    Clear the cache and the cookies from websites that cause problems.
    "Clear the Cache":
    *Firefox/Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Firefox/Tools > Options > Privacy > Cookies: "Show Cookies"

  • Ipod touch wont load past apple screen. I have tried resetting by holding home button and on/off but after it resets it still only loads to the apple screen. When I plug the device in It stays on the apple screen and itunes does not recognize it?

    Ipod touch wont load past apple screen. I have tried resetting by holding home button and on/off but after it resets it still only loads to the apple screen. When I plug the device in It stays on the apple screen and itunes does not recognize it? I fear it may be stuck in some sort of reset loop which is stopping itunes from recognizing it. How do I go about the process of sending it in to apple if I cannot find a fix? Thank you in advance, it is greatly appreciated!!

    - See if placing the iPod in Recovery mode will allow a restore.
    - If not successful and you can't turn the iPod fully off (that is required to place in recovery mode), then let the battery fully drain. After charging for at least an hour try the reset, restore again
    - Then time for an appointment at the Genius Bar of an Apples store.

  • My iphone 4 will not turn on. I can not soft reset because my home button is broken. Any suggestions?

    My iphone 4 suddenly died on me. It had a good amount of battery life left. I cannot soft reset because my home button does not work. Is there a way to reboot without the method of holding the two buttons? I am thinking that letting the battery die will work but I assume it will take a long time since the phone is off. Any other way to get it to turn back on/rest?

    Plug it into the wall charger or to your computer with iTunes.

Maybe you are looking for

  • Java.io.IOException: A complete message could not be read on socket

    Hell All , Am gettign this issue very frequently .. From my googling i see that this can be because weblgic server was not able to do an IO operation because of time out or may be because of Net work issue ..           I would like to know how this c

  • Web Service - Create Purchase Order

    Hi, I'm about to start building a proof of concept around integrating an on premise system with cloud fusion. One of the requirements is to create a PO in Fusion on demand using data from the on premise system. I am fairly comfortable with the overal

  • Screen Exit in Tcode COR1 - Create Process Order

    Hi All, Can anyone let me know if there is a screen exit or a BADI where in i can use it to extend the COR1 general data tab to include a field. Even if i can add a additional tab in COR1 tcode through a BADI, will be good. Please help. Thanks, Jaffe

  • Copy command error

    I made a selection and used edit>copy but get a Photoshop Elements Editor error message, "Could not complete the copy command because of a program error." What have I dobe wrong?

  • Keep Getting Error Message When Trying to Upgrade

    I have tried to upgrade several times it goes all the way through and then it gives an error message after trying to upgrade quicktime error message 2378