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

 
 Home
 E-mail Us
 Oracle Articles


 Oracle Training
 Oracle Tips

 Oracle Forum
 Class Catalog


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


 SQL Tuning
 Security

 Oracle UNIX
 Oracle Linux
 Monitoring
 Remote s
upport
 Remote plans
 Remote
services
 Application Server

 Applications
 Oracle Forms
 Oracle Portal
 App Upgrades
 SQL Server
 Oracle Concepts
 Software Support

 Remote S
upport  
 Development  

 Implementation


 Consulting Staff
 Consulting Prices
 Help Wanted!

 


 Oracle Posters
 Oracle Books

 Oracle Scripts
 Ion
 Excel-DB  

Don Burleson Blog 


 

 

 


 

 

 

 
 

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 performance tuning software 
 
oracle dba poster
Oracle Linux poster
 
 

 

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 -  2014

All rights reserved by Burleson

Oracle ? is the registered trademark of Oracle Corporation.