Subscribe to Posts by Email

Subscriber Count

    696

Disclaimer

All information is offered in good faith and in the hope that it may be of use for educational purpose and for Database community purpose, but is not guaranteed to be correct, up to date or suitable for any particular purpose. db.geeksinsight.com accepts no liability in respect of this information or its use. This site is independent of and does not represent Oracle Corporation in any way. Oracle does not officially sponsor, approve, or endorse this site or its content and if notify any such I am happy to remove. Product and company names mentioned in this website may be the trademarks of their respective owners and published here for informational purpose only. This is my personal blog. The views expressed on these pages are mine and learnt from other blogs and bloggers and to enhance and support the DBA community and this web blog does not represent the thoughts, intentions, plans or strategies of my current employer nor the Oracle and its affiliates or any other companies. And this website does not offer or take profit for providing these content and this is purely non-profit and for educational purpose only. If you see any issues with Content and copy write issues, I am happy to remove if you notify me. Contact Geek DBA Team, via geeksinsights@gmail.com

Pages

SRVCTL Command : For ASM

Want to know new features in 12c, 18c, 19c, 20c ??? Follow this

More than 100+ features listed here : http://db.geeksinsight.com/category/12c-database/

More than 50+ features listed here: http://db.geeksinsight.com/category/18c-database/

More than 40 features listed here: http://db.geeksinsight.com/category/19c-database/

Upcoming 20c features : http://db.geeksinsight.com/category/20c-database/

SRVCTL command for ASM

To add/remove the ASM

    Command: srvctl add asm [-l lsnr_name] [-p spfile] [-d asm_diskstring]
    Command: srvctl remove asm -l [-f]
    Example: srvctl add asm -l LISTENER_ASM01 -p +diskg_data/spfile.ora
    Example: srvctl remove asm -l LISTENER_ASM01 -f

To start/stop the ASM

    Command: srvctl start asm [-n node_name] [-o start_options]
    Example: srvctl start asm -n lnxrac1
    Command: srvctl stop asm [-n node_name] [-o stop_options] [-f]
    Example: srvctl stop asm -n lnxrac1 -f

To check the status of the ASM

    Command: srvctl status asm [-n node_name] [-a]
    Example: srvctl status asm -n lnxrac1 -a

To enable/disable ASM

    Command: srvctl enable asm [-n node_name]
    Example: srvctl enable asm -n lnxrac1
    Command: srvctl disable asm [-n node_name]
    Example: srvctl disable asm -n lnxrac1

To configure the ASM

    Command: srvctl config asm [-a]
    Example: srvctl config asm -a

To modify the ASM parameters

    Command: srvctl modify asm [-n node_name] [-l listener_name] [-d asm_diskstring] [-p spfile_path]
    Example: srvctl modify asm -l listener01

To get/set/unset the environment of ASM

    Example: srvctl getenv asm
    Example: srvctl setenv asm -t LANG=en
    Example: srvctl unsetenv asm -t CLASSPATH