Call now: 252-767-6166  
Oracle Training Oracle Support Development Oracle Apps

Free Oracle Tips

HTML Text

 Home
 E-mail Us
 Oracle Articles


 Oracle Training
 Oracle News

 Oracle Forum
 Class Catalog


 Our Staff
 Our Prices
 Help Wanted!

 Remote DBA
 Oracle Tuning
 Emergency 911
 RAC Support
 Apps Support
 Analysis
 Design
 Implementation
 Oracle Support


 SQL Tuning
 Security

 UNIX
 Oracle UNIX
 Linux
 Oracle Linux
 Monitoring
 Remote help

 Remote plans
 Remote
services
 Oracle C++
 Oracle Java
 Apache
 JDeveloper
 App Server

 Applications
 Oracle Forms
 Oracle Portal
 11i Upgrades
 SQL Server
 Oracle Concepts
 HTML-DB Tips
 Software Help

 Remote Help  
 Development  

 Implementation


 Financials Training
 Oracle 11i
 Oracle Apps 11i
 Oracle Workflow
 Oracle AR 11i Class
 Oracle AP 11i class
 Oracle GL 11i class
 Oracle HR 11i class
 Oracle FA 11i class
 11i Project Mgt
 11i procurement
 11i collections


 Oracle Posters
 Oracle Books

 Oracle Tuning Book
 Oracle RAC Book
 Oracle Security
 Easy Oracle Books
 Oracle Scripts
 SQL Server DBA
 SQL Design Patterns
 Ion
 Excel-DB   


 BC Oracle News


 Rednecks!
 Dress code
 Arabian Stallion

 Burleson Arabians
 Guide Horses
 Don Burleson Blog
 Golf & Travel


 Privacy Policy
 

 

 

 
 

Oracle Application Server Guard

Oracle Tips by Burleson Consulting

Oracle application server guard is a supplemental package within Oracle application server 10g that provides for disaster recovery.

Using a primary/standby architecture reminiscent of Oracle Data Guard, the Oracle application server guard allows the Oracle applications server administrator to failover to a surviving instance of the application server in cases of failure.

Oracle Application Server Guard has a command line utility called ASGCTL which shows the basic functionality of Oracle application server guard:

ASGCTL> help
    connect asg [<host>] [ias_admin/<password>]
    disconnect
    exit
    quit
    dump farm [to <file>]
    help [<command>]
    instantiate farm to <standby_farm_host>
    set asg credentials <host> ias_admin/<password> [for farm]
    set trace on|off <traceflags>
    set primary database <username>/<password>@<servicename> [pfile <filename> | spfile <filename>]
    set new primary database <username>/<password>@<servicename> [pfile <filename> | spfile <filename>]
    sync farm to <standby_farm_host> [<sync_mode>]
    startup farm
    shutdown farm
    show op[eration] [full] [[his]tory]
    stop op[eration] <op#>
    verify farm [with <host>]
    switchover farm to <standby_farm_host>
    failover

The Oracle documentation shows the basic functions of each of the application server guard asgctl commands:
 

Command Description
asgctl
 
Invokes the OracleAS Guard client command-line utility asgctl. On UNIX systems, asgctl.sh is located in <ORACLE_HOME>/dsa/bin and on Windows systems, asgctl.bat is located in <ORACLE_HOME>\dsa\bin.
connect asg
 
Connects the OracleAS Guard client to the OracleAS Guard server.
disconnect
 
Disconnects the OracleAS Guard client from the OracleAS Guard server.
dump farm
 
Directs the OracleAS Guard server to write detailed information about the farm to the screen or if specified, to a file.
exit
 
Disconnects the OracleAS Guard client from any existing connections and exits the OracleAS Guard client. This has the same effect as the quit command.
failover
 
During an unscheduled outage of the production site, the standby site becomes the production site.
help
 
Displays help information at the command line.
instantiate farm to
 
Creates a farm at the standby site (after verifying that the primary and standby sites are valid for OracleAS Disaster Recovery; also synchronizes the standby site with the primary site such that the primary and standby sites are transactionally consistent.
quit
 
Disconnects the OracleAS Guard client from any existing connections and exits the OracleAS Guard client. This has the same effect as the exit command.
set asg credentials
 
Sets the credentials used to authenticate the OracleAS Guard client connections to OracleAS Guard servers and connections between OracleAS Guard servers.
set echo
 
Sets command-echoing on or off in a asgctl script.
set new primary database
 
Identifies the OracleAS Infrastructure database on the standby farm as the new primary OracleAS Infrastructure database.
set primary database
 
Identifies the OracleAS Infrastructure database on the primary farm.
set trace
 
Enables or disables tracing for the specified trace flag. When tracing for a flag is set to on, the output of the trace is written to the OracleAS Guard log files.
show operation
 
Shows the current operation.
shutdown farm
 
Shuts down a running farm.
startup farm
 
Starts up a shutdown farm.
stop operation
 
Stops the specified operation.
switchover farm to
 
During a scheduled outage of the production site, switches the roles of the production site with the standby site so that the standby site now becomes the production site.
sync farm to
 
Synchronizes the standby site with the primary site such that the primary and standby sites are transactionally consistent.
verify farm
 
Verifies that the farm is running and the configuration is valid. If a standby farm is specified, this command compares the primary and standby farms to verify that they conform to the requirements for OracleAS Disaster Recovery.

 

 

If you like Oracle tuning, you may enjoy my new book "Oracle Tuning: The Definitive Reference", over 900 pages of BC's favorite tuning tips & scripts. 

You can buy it direct from the publisher for 30%-off and get instant access to the code depot of Oracle tuning scripts.


 

 

  
 

 Oracle cruise
 
 
 
Oracle performance tuning software
 
 

Oracle performance tuning book

 

 
 
 
Oracle performance Tuning 10g reference poster
 
 
 
Oracle training in Linux commands
 
Oracle training Excel
 
Oracle training & performance tuning books
 

 

Burleson is the American Team

Note: This Oracle documentation was created as a support and Oracle training reference for use by our DBA performance tuning consulting professionals.  Feel free to ask questions on our Oracle forum.

Verify experience! Anyone considering using the services of an Oracle support expert should independently investigate their credentials and experience, and not rely on advertisements and self-proclaimed expertise. All legitimate Oracle experts publish their Oracle qualifications.

Errata?  Oracle technology is changing and we strive to update our BC Oracle support information.  If you find an error or have a suggestion for improving our content, we would appreciate your feedback.  Just  e-mail:  and include the URL for the page.
 
 


Burleson Consulting

The Oracle of Database Support

Oracle Performance Tuning

 

Remote DBA Services


 

Copyright © 1996 -  2009 by Burleson Enterprises, Inc. All rights reserved.

Oracle © is the registered trademark of Oracle Corporation.