Renaming ASM Listener in 11gR2 _ Aychin's Oracle RDBMS Blog

4
3/2/2015 Renaming ASM Listener in 11gR2 | Aychin's Oracle RDBMS Blog https://aychin.wordpress.com/2011/01/24/renamingasmlistenerin11gr2/ 1/4 Aychin's Oracle RDBMS Blog Only for Advanced level Professionals Renaming ASM Listener in 11gR2 HPUX, Oralce 11g 11.2.0.1.0, 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

description

Renaming ASM Listener in 11gR2 _ Aychin's Oracle RDBMS Blog

Transcript of Renaming ASM Listener in 11gR2 _ Aychin's Oracle RDBMS Blog

  • 3/2/2015 RenamingASMListenerin11gR2|Aychin'sOracleRDBMSBlog

    https://aychin.wordpress.com/2011/01/24/renamingasmlistenerin11gr2/ 1/4

    Aychin'sOracleRDBMSBlog OnlyforAdvancedlevelProfessionals

    RenamingASMListenerin11gR2HPUX,Oralce11g11.2.0.1.0,GridInfrastructure,OracleRestart

    AfterrenamingASMlistenerinGridInfrastructureOracleRestartmode,thedependencyoftheora.asmresourcenotupdatedbynewlistenerresource,evenifYouusenetcatool.

    Forexample,afterrenamingthelistenerfromdefaultLISTENERtoASM_LISTENERusingnetca,thenewresourceora.ASM_LISTENER.lsnrissuccessfullycreatedandstartedbut,

    whenwecheckASMconfigthroughsrvctlwesee

    bash$srvctlconfigasmASMhome:/home/grid/product/11gR2ASMlistenerwasnotfoundPRCA1032:ASMlistenerLISTENERdoesnotexistSpfile:+DATA/asm/asmparameterfile/registry.237.345639401ASMdiskgroupdiscoverystring:

    Whentryingtomodifylistenerthroughsrvctlitreturnsnextmessage:

    bash$srvctlmodifyasmlASM_LISTENERPRCA1032:ASMlistenerLISTENERdoesnotexist

    CheckingOLRentryforora.asmresource,usingstringshost123.olr|grepora.asmcommand,willshowthatSTART_DEPENDENCIES=hard(ora.cssd)weak(ora.LISTENER.lsnr),

    soweneedtochangeitmanuallytonewlistenerresourcename,usecrsctl:

    bash$crsctlmodifyresourceora.asmattrSTART_DEPENDENCIES="hard(ora.cssd)weak(ora.ASM_LISTENER.lsnr)"

    afterthismodificationeverythingwillbeok

  • 3/2/2015 RenamingASMListenerin11gR2|Aychin'sOracleRDBMSBlog

    https://aychin.wordpress.com/2011/01/24/renamingasmlistenerin11gr2/ 2/4

    bash$srvctlconfigasmASMhome:/home/grid/product/11gR2ASMlistener:ASM_LISTENERSpfile:+DATA/asm/asmparameterfile/registry.237.345639401ASMdiskgroupdiscoverystring:

    Ithinkitisbugbecauseitmustbedoneautomaticallywhenweusenetcatool,andIhopeitwillbesolvedinthenearreleases.

    (c)AychinGasimov,01/2011,AzerbaijanRepublic

    60%

    Even&OddChaquetadeinviernodarkblue

    59,95 23,95

    54%

    About these ads

    Like

    Bethefirsttolikethis.

    Related

    Oracle11gR2+ASM+spfile(eng) Oracle11gR2+ASM+spfile(rus) StretchClusterorHighlyAvailableSystemIn"General" In"General" In"General"

    Follow

    Follow Aychin'sOracle RDBMSBlogGet every new post deliveredto your Inbox.

    Join 58 other followers

    Enteryouremailaddress

    Signmeup

    Build a website with WordPress.com

  • 3/2/2015 RenamingASMListenerin11gR2|Aychin'sOracleRDBMSBlog

    https://aychin.wordpress.com/2011/01/24/renamingasmlistenerin11gr2/ 3/4

    Oracle11gR2+ASM+spfile(eng) AdaptiveCursorSharingandSPM

    7responsestoRenamingASMListenerin11gR2

    ChrisJanuary28,2011at21:57thanksAychinexcellentandaccuratearticle.EveninMetalinkthereisnothingonPRCA1032.IminaWindowsenvironment,sotheequivalentDOScommandforthelinuxstringscommandwouldbe:O:\Oracle\product\11.2.0\grid\cdata\localhost>typex.olr|findora.asm

    Reply

    aychinJanuary28,2011at22:09Youarewelcome,Chris.IamverygladthatitwashelpfulforYou.

    Reply

    djedayDecember25,2011at20:33

    Reply

    SangramSinghFebruary9,2012at10:39Hiachin,ItispossibletochangetheoracleASMinstancenamein11gR2gridinfrastructure.

    General

  • 3/2/2015 RenamingASMListenerin11gR2|Aychin'sOracleRDBMSBlog

    https://aychin.wordpress.com/2011/01/24/renamingasmlistenerin11gr2/ 4/4

    Reply

    sandeepMay16,2012at11:59HiAychin,

    Thanksforthispost.Ifacedthesameissueandithelpedme.

    Regards,SandeepVadlamudi

    Reply

    ananthMay12,2013at12:28BrilliantBloggreathelpthanksaton

    Reply

    nnarimanovAugust26,2014at06:50HelloAychin,Thanksforarticle.Unfortunatelybugstillexistsin11.2.0.4(HPUX)

    Reply

    TopBlogatWordPress.com.ThezBenchTheme.