Forgot your password?    
+ Reply to Thread
Results 1 to 1 of 1

Thread: Srvctl Major Options and Usage in Oracle RAC

  1. #1
    Expert Oracle Administrator
    Join Date
    Oct 2011
    New Delhi, India

    Srvctl Major Options and Usage in Oracle RAC

    Database Related Commands
    srvctl start instance -d <db_name> -i <inst_name> = Starts an instance
    srvctl start database -d <db_name> = Starts all instances
    srvctl stop database -d <db_name> = Stops all instances, closes database
    srvctl stop instance -d <db_name> -i <inst_name> = Stops an instance
    srvctl start service -d <db_name> -s <service_name> = Starts a service
    srvctl stop service -d <db_name> -s <service_name> = Stops a service
    srvctl status service -d <db_name> = Checks status of a service
    srvctl status instance -d <db_name> -i <inst_name> = Checks an individual instance
    srvctl status database -d <db_name> = Checks status of all instances
    srvctl start nodeapps -n <node_name> = Starts gsd, vip, listener, and ons
    srvctl stop nodeapps -n <node_name> = Stops gsd, vip and listener

    srvctl start nodeapps -n (node)
    This will bring up the gsd, ons, listener, and vip. The same command can shut down the nodeapps by replacing start with stop.

    srvctl start asm -n (node)
    This will bring up our ASM instances on nodes

    srvctl start instance -d (database) -i (instance)
    This will bring up our Database Instance

    srvctl start service -d (database) -s (service)
    Will start a load balanced/TAF service.

    Status of all instances and services
    srvctl status database -d devdb
    Instance devdb1 is running on node rac1
    Instance devdb2 is running on node rac2

    Status of a single instance
    srvctl status instance -d devdb -i devdb2
    Instance devdb2 is running on node rac2

    Status of node applications on a particular node
    srvctl status nodeapps -n rac1
    VIP is running on node: rac1
    GSD is running on node: rac1
    Listener is running on node: rac1
    ONS daemon is running on node: rac1

    srvctl status nodeapps -n rac2
    VIP is running on node: rac2
    GSD is running on node: rac2
    Listener is running on node: rac2
    ONS daemon is running on node: rac2

    Status of an ASM instance
    srvctl status asm -n rac1
    ASM instance +ASM1 is running on node rac1.

    srvctl status asm -n rac2
    ASM instance +ASM2 is running on node rac2.

    List all configured databases
    srvctl config database

    Display configuration for our RAC database
    srvctl config database -d devdb
    rac1 devdb1 /u01/app/oracle/product/10.2.0/db_1
    rac2 devdb2 /u01/app/oracle/product/10.2.0/db_1

    Display the configuration for node applications - (VIP, GSD, ONS, Listener)
    srvctl config nodeapps -n rac1 -a -g -s -l
    VIP exists.: /rac1-vip/
    GSD exists.
    ONS daemon exists.
    Listener exists.

    Display the configuration for the ASM instance(s)
    srvctl config asm -n rac1
    +ASM1 /u01/app/oracle/product/10.2.0/db_1

    Sequence to Start and Stop Services : Sequence-to-Start-and-Stop-RAC-Services

+ Reply to Thread

Similar Threads

  1. Oracle RAC 11gR2 Server Side TAF Using SRVCTL.
    By ajaychandi in forum RAC Performance,LoadBalancing,TAF,FAN,Troubleshooting
    Replies: 1
    Last Post: 11-15-2012, 06:46 PM
  2. Autoconfig Usage in Oracle Apps 11i and R12
    By Hemant in forum AD Utilities , Autoconfig , FND Utilities
    Replies: 5
    Last Post: 02-23-2012, 09:37 PM
  3. RMAN All major Restoration and Recovery Scenarios
    By Hemant in forum Backup, Restoration & Recovery, RMAN, Flashback, Datapump, Export, Import
    Replies: 2
    Last Post: 02-05-2012, 11:29 AM
  4. Oracle ASM Views and Usage - Quick Reference/Understanding
    By Hemant in forum RAC Installation, ASM Install , ASM Administration
    Replies: 0
    Last Post: 11-21-2011, 04:17 PM
  5. Major Oracle Database Init Parameters 10G
    By Hemant in forum Core Database Administration and Monitoring
    Replies: 0
    Last Post: 11-12-2011, 01:13 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

DBA Lounge (P) Ltd. deals in Oracle Technologies on Consulting, Resourcing, Corporate Training

Online and corporate training available on Oracle Database 11g, Oracle 11g Real Application Cluster (RAC), Oracle Applications 11i/R12, Oracle Fusion Middleware 11g, Oracle Identity Management-OIM, Oracle Internet Directory 11g-OID, Oracle Business Intelligence Enterprise Edition-OBIEE, Oracle Golden Gate, Oracle Access Management-OAM, Oracle Internet Directory-ODS, Oracle Identity Analytics Architecture-OIA Statistics