Wednesday, September 7, 2011

SRVCTL For RAC

  • srvctl enable asm -n node_name [-i ] asm_instance_name


    Use the following syntax to disable an ASM instance:


    srvctl disable asm -n node_name [-i asm_instance_name]

    The above statement is generally required when u want to disable the asm so that asm does not start automatically on reboot.

    You can also use SRVCTL to start, stop, and obtain the status of an ASM instance as in the following examples.



    Use the following syntax to start an ASM instance:

    srvctl start asm -n node_name [-i asm_instance_name] [-o start_options] [-c | -q]



    Use the following syntax to stop an ASM instance:

    srvctl stop asm -n node_name [-i asm_instance_name] [-o stop_options] [-c | -q]



    Use the following syntax to show the configuration of an ASM instance:

    srvctl config asm -n node_name



    Use the following syntax to obtain the status of an ASM instance:

    srvctl status asm -n node_name



    Use the following syntax to stop the database on anyone of the nodes in an RAC environment:

    srvctl stop listener -n node_name

    srvctl stop instance -d -i -o immediate



    Use the following syntax to start the database on anyone of the nodes in an RAC environment:

    srvctl start listener -n node_name

    srvctl start instance -d -i -o immediate



    Use the following command to stop the database using single command:

    srvctl stop database -d -o immediate


    In order to stop the node applications like oracle vip,gsd, ons services ,use following commands

    srvctl stop nodeapps -n


    Similarly to start

    srvctl start nodeapps -n


    If u wish to trun srvm trace on which can be useful for diagnosisi during instance startup or shut dowm use following command:

    SRVM_TRACE=TRUE; export SRVM_TRACE

    srvctl stop asm -n -i +ASM1 -o immediate>srvctl_stop_asm.log

    Similarly

    srvctl stop instance -d db_name -i instance_name -o immediate > srvctl_stop_instance.log crsctl status res ora.rac1.vip -p ===>status of VIP
    srvctl config network             ===>Configuration details of network

    srvctl add vip -h                 ===>help for adding vip

    srvctl config listener            ===> Configuration details of listener

    srvctl config scan                ===> Configuration details of SCAN

    srvctl config service -d

    srvctl add listener -l listenerk2 -p 1522 -k 2

    srvctl stop listener -l

    srvctl start listener -l

11 comments:

Anonymous said...

In thаt гespect, this іtеm dоeѕ ωork οr at
thе ѵеry leaѕt dοеs not
mаke untrue claims.

Feel fгee to ѕurf to my web pagе more�
Also see my web site > jendnes.eu

Anonymous said...

Pretty great post. I sіmplу stumblеԁ
upοn уour blog and wanteԁ to saу that I haνe really enjoyed surfing аround уour ωeblog pοsts.
Afteг all I'll be subscribing for your feed and I'm
hoping you ωrіte agаin very ѕoon!

My homepagе Click Here!
My page > www.prnewswire.com

Anonymous said...

The signals сonnеct with cоncеntгated nerve гegions,
ωhich in turn spread the signal to the whole abdominal region.


mу web sitе moved here

Anonymous said...

I have read so many articles or reviews about the blogger lovers however this piece of writing is really a fastidious post, keep it up.


Also visit my web-site hip to waist ratio calculator
Also see my website :: hip to waist ratio calculator

Anonymous said...

I'd like to thank you for the efforts you've put in penning this blog.
I am hoping to view the same high-grade content from you later on as
well. In fact, your creative writing abilities has encouraged me to get my very own site now ;
)

Have a look at my site - directory of real estate resources

Anonymous said...

I am sure this post has touched all the internet people, its really really
fastidious paragraph on building up new weblog.



my web-site mister cartoon tattoos facebook

Anonymous said...

What's up, always i used to check web site posts here early in the break of day, since i like to learn more and more.

My web page :: charlotte north carolina computers

Anonymous said...

Woah! I'm really loving the template/theme of this blog. It's simple, yet effective.

A lot of times it's challenging to get that "perfect balance" between user friendliness and visual appearance. I must say you've done a superb job with this.

In addition, the blog loads super fast for me on Chrome.
Exceptional Blog!

my site :: white pages business phone number lookup

Anonymous said...

Very shortly this web page will be famous amid all blogging people, due
to it's good articles

Look at my web page - buy computers charlotte north carolina

Anonymous said...

It is in reality a nice and helpful piece of information.
I am satisfied that you shared this helpful information
with us. Please stay us informed like this. Thanks
for sharing.

my blog: movie forum org

Xia Zhang said...

http://www.shopbestgoods.com/
http://www.bestcustomsonline.com/
http://www.nike-jordanshoes.com/
http://www.polo-tshirts.com/
http://www.burberry-factory.com/
http://www.kate-spades.com/
http://www.barbour-factory.com/
http://www.coachlosangeles.com/
http://www.official-coachoutlet.com/
http://www.louisvuittonas.com/
http://www.burberryoutlet2014.com/
http://www.official-mkoutlet.com/
http://www.official-pradaoutlet.com/
http://www.beatsbydreoutlet.net/
http://www.michaelkorsonlineusa.com/
http://www.northsclearance.com/
http://www.ralph-laurensale.com/
http://www.gucci-shoesuk2014.com/
http://www.michael-korsusa.com/
http://www.polo-outlets.com/
http://www.hermes-outletonline.com/
http://www.ralphslauren.co.uk/
http://www.marcjacobsonsale.com/
http://www.mcmworldwides.com/
http://www.warmbootssale.com/
http://www.salongchamppairs.com/
http://www.canada-gooser.com/
http://www.michaelkors.so/
http://www.oakley-sunglassoutlet.com/
http://www.north-faceoutlets.net/
http://www.moncler-clearance.com/
http://www.woolrich-clearance.com/
http://www.barbour-jacketsoutlet.com/
http://www.moncler-jacketsoutletonline.com/
http://www.monsterbeatsbydres.net/
http://www.lv-guccishoesfactory.com/
http://www.cheapdiscountoutlet.com/
http://www.coachsfactoryoutlet.com/
http://www.coach-blackfriday2014.com/
http://www.coach-storeoutletonline.com/
http://www.coach-factorysoutletonline.com/
http://www.coachccoachoutlet.com/
http://www.coach-factories.net/
http://www.coach-pursesoutletonline.com/
http://www.coach-outletsusa.com/
http://www.zxcoachoutlet.com/
http://www.mischristmas.com/
http://www.misblackfriday.com/
http://www.newoutletonlinemall.com/
http://www.ralphlaurenepolo.com/
http://michaelkorsoutlet.mischristmas.com/
http://mcmbackpack.mischristmas.com/
http://monsterbeats.mischristmas.com/
http://northfaceoutlet.mischristmas.com/
http://mk.misblackfriday.com/
http://coachoutlet.misblackfriday.com/
http://coachfactory.misblackfriday.com/
http://uggaustralia.misblackfriday.com/
http://coachpurses.misblackfriday.com/
http://coachusa.misblackfriday.com/
http://coach.misblackfriday.com/
http://michaelkorss.misblackfriday.com/
http://michaelkors.misblackfriday.com/
http://airmax.misblackfriday.com/
http://michael-kors.misblackfriday.com/
https://twitter.com/CoachOutlet2014
https://www.facebook.com/coachoutletstoreonline
https://www.facebook.com/ralphlaurenoutletonline