Subscribe to Posts by Email

Subscriber Count

    683

Disclaimer

All information is offered in good faith and in the hope that it may be of use, 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. 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 email. admin@sh008.global.temp.domains

Pages

SRVCTL Command : For SCAN

SRVCTL command for SCAN(Single Client Access Name):

To Add a SCAN

    Command: srvctl add scan -n nodename
    Example: srvctl add scan -n lnxrac1

To Remove a SCAN

Example: srvctl remove scan [-f]

Note: Below command is using ordinal_number parameter so An ordinal number is that identifies which SCAN VIP you want to start. The range of values you can specify for this option is 1 to 3.

To Start a SCAN

    Command: srvctl start scan [-i ordinal_number] [-n node_name]
    Example: srvctl start scan -i 1 -n lnxrac1

To Stop a SCAN

    Command: srvctl stop scan [-i ordinal_number] [-f]  
    Example: srvctl stop scan -i 1

To Check status of SCAN

    Command: srvctl status scan [-i ordinal_number]
    Example: srvctl status scan -i 1

To Enable a SCAN

    Command: srvctl enable scan [-i ordinal_number]
    Example: srvctl enable scan -i 1

To Disable a SCAN

    Command: srvctl disable scan [-i ordinal_number]
    Example: srvctl disable scan -i 3

To Configure a SCAN

    Command: srvctl config scan [-i ordinal_number]
    Example: srvctl config scan -i 2

To Modify SCAN

    Command: srvctl modify scan -n scan_name
    Example: srvctl modify scan -n SCAN1

To Relocate a SCAN

    Command: srvctl relocate scan -i ordinal_number [-n node_name]
    Example: srvctl relocate scan -i 2 -n lnxrac2