Aychin's Oracle RDBMS Blog

Only for Advanced level Professionals

Renaming ASM Listener in 11gR2

HP-UX, Oralce 11g, Grid Infrastructure, Oracle Restart

After renaming ASM listener in Grid Infrastructure Oracle Restart mode, the dependency of the ora.asm resource not updated by new listener resource, even if You use netca tool.

For example, after renaming the listener from default LISTENER to ASM_LISTENER using netca, the new resource ora.ASM_LISTENER.lsnr is successfully created and started but, when we check ASM config through srvctl we see

bash$ srvctl config asm
ASM home: /home/grid/product/11gR2
ASM listener was not found
PRCA-1032 : ASM listener LISTENER does not exist
Spfile: +DATA/asm/asmparameterfile/registry.237.345639401
ASM diskgroup discovery string:

When trying to modify listener through srvctl it returns next message:

bash$ srvctl modify asm -l ASM_LISTENER
PRCA-1032 : ASM listener LISTENER does not exist

Checking OLR entry for ora.asm resource, using “strings host123.olr  | grep ora.asm” command, will show that START_DEPENDENCIES=hard(ora.cssd) weak(ora.LISTENER.lsnr), so we need to change it manually to new listener resource name, use crsctl:

bash$ crsctl modify resource ora.asm -attr START_DEPENDENCIES="hard(ora.cssd) weak(ora.ASM_LISTENER.lsnr)"

after this modification everything will be ok

bash$ srvctl config asm
ASM home: /home/grid/product/11gR2
Spfile: +DATA/asm/asmparameterfile/registry.237.345639401
ASM diskgroup discovery string:

I think it is bug because it must be done automatically when we use netca tool, and I hope it will be solved in the near releases.

(c) Aychin Gasimov, 01/2011, Azerbaijan Republic


11 responses to “Renaming ASM Listener in 11gR2

  1. Chris January 28, 2011 at 21:57

    thanks Aychin – excellent and accurate article. Even in Metalink there is nothing on PRCA-1032.
    I’m in a Windows environment, so the equivalent DOS command for the linux “strings” command would be:
    O:\Oracle\product\11.2.0\grid\cdata\localhost>type x.olr | find “ora.asm”

  2. djeday December 25, 2011 at 20:33

    отличный блог 🙂 спасибо за Ваш труд

  3. Sangram Singh February 9, 2012 at 10:39

    Hi achin,
    It is possible to change the oracle ASM instance name in 11gR2 grid infrastructure.

  4. sandeep May 16, 2012 at 11:59

    Hi Aychin ,

    Thanks for this post. I faced the same issue and it helped me.

    Sandeep Vadlamudi

  5. ananth May 12, 2013 at 12:28

    Brilliant Blog… great help thanks a ton

  6. nnarimanov August 26, 2014 at 06:50

    Hello Aychin,
    Thanks for article. Unfortunately bug still exists in (HP-UX)

  7. sarveswara March 4, 2015 at 11:16

    This issue exists in 12c as well and worst part is I cant use crsctl to modify resource any more. I get message CRS-4995: The command ‘Modify resource’ is invalid in crsctl. Use srvctl for this command
    When I checked support.oracle.com, they say we have to contact support.

    • aychin June 25, 2015 at 12:29

      Yes, now oracle force you to specify key “-unsupported” to modify system resources directly. Just add this key to the crsctl command and it will work.

  8. Steve June 9, 2015 at 10:41

    Kudos to you for this, a clear and accurate article.

  9. sri August 17, 2015 at 16:27

    Hello Aychin, Thanks for the commands, it helped me to correct it. Can you please let us know how the command for renaming ASM home.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: