Skip Headers
Oracle® Application Server Disaster Recovery Guide Using OracleAS Guard
10
g
Release 2 (10.1.2.3)
Part Number E11078-02
Home
Index
Contact Us
Next
View PDF
Contents
List of Figures
List of Tables
Title and Copyright Information
Preface
Intended Audience
Documentation Accessibility
Related Documentation
Conventions
1
OracleAS Disaster Recovery Introduction
1.1
Oracle Application Server 10
g
Disaster Recovery Solution
1.1.1
OracleAS Disaster Recovery Requirements
1.1.1.1
Configuring Oracle Data Guard for Databases in an OracleAS Disaster Recovery Topology
1.1.1.2
Understanding the Default Oracle Data Guard Configuration Set Up by Oracle Application Server Guard
1.1.2
Using Oracle Application Server Guard in an OracleAS Disaster Recovery Topology
1.1.3
Supported Topologies
1.1.3.1
Symmetrical Topologies - Strict Mirror of the Production Site with Collocated Oracle Identity Management and OracleAS Metadata Repository Infrastructure
1.1.3.2
Asymmetrical Topologies - Simple Asymmetric Standby Topology with Collocated Oracle Identity Management and OracleAS Metadata Repository Infrastructure
1.1.3.3
Separate OracleAS Metadata Repository for OracleAS Portal with Collocated Oracle Identity Management and OracleAS Metadata Repository Infrastructure (the Departmental Topology)
1.1.3.4
Distributed Application OracleAS Metadata Repositories with Non Collocated Oracle Identity Management and OracleAS Metadata Repository Infrastructure
1.1.3.5
Redundant Multiple Oracle Application Server 10.1.3 Homes J2EE Topology
1.1.3.6
Redundant Single Oracle Application Server 10.1.3 Oracle Home J2EE Topology Integrated with an Existing Oracle Identity Management 10.1.4.2 Topology
1.2
Preparing the OracleAS Disaster Recovery Environment
1.2.1
Planning and Assigning Hostnames
1.2.1.1
Physical Hostnames
1.2.1.1.1
Creating Physical Hostnames Before Installing Application Server Releases 10.1.2.0.2 and 10.1.2.1
1.2.1.1.2
Creating Physical Hostnames Before Installing Application Server Releases 10.1.2.2 and 10.1.2.3
1.2.1.1.3
Creating Physical Hostnames Before Installing Application Server Releases 10.1.3.0 through 10.1.3.3
1.2.1.2
Network Hostnames
1.2.1.3
Virtual Hostname
1.2.1.4
Virtual Hostname Aliases
1.2.2
Configuring Hostname Resolution
1.2.2.1
Using Local Hostnaming File Resolution
1.2.2.2
Using DNS Resolution
1.2.2.2.1
Additional DNS Server Entries for Oracle Data Guard
1.3
Preparing the OracleAS Disaster Recovery Environment for an Asymmetrical Standby Site
1.3.1
Configuring Hostname Resolution for the Asymmetrical Topology
1.3.1.1
Using Local Hostnaming File Resolution for the Asymmetrical Topology
1.3.1.2
Using DNS Resolution for the Asymmetrical Topology
1.4
Overview of Installing Oracle Application Server
1.5
Wide Area DNS Operations
1.5.1
Using a Wide Area Load Balancer
1.5.2
Manually Changing DNS Names
1.5.3
HTTP Server Configuration When Using a Server Load Balancer
2
Oracle Application Server Guard and asgctl
2.1
Overview of Oracle Application Server Guard and asgctl
2.1.1
Overview of asgctl
2.1.2
Oracle Application Server Guard Client
2.1.3
Oracle Application Server Guard Server
2.1.4
asgctl Operations
2.1.5
Oracle Application Server Guard Integration with OPMN
2.1.6
Supported OracleAS Disaster Recovery Configurations
2.1.7
Configuring Oracle Application Server Guard and Other Relevant Information
2.2
Authentication of Databases
2.3
Discovering, Dumping, and Verifying the Topology
2.4
Dumping Policy Files and Using Policy Files With Some asgctl Commands
2.5
Discovering Oracle Application Server 10.1.3 Instances in Redundant Multiple Oracle Application Server 10.1.3 Homes J2EE Topology
2.6
Adding or Removing Oracle Application Server 10.1.3 Instances to Redundant Single Oracle Application Server 10.1.3 Home J2EE Topology Integrated with an Existing Oracle Identity Management 10.1.4.2 Topology
2.7
Oracle Application Server Guard Operations -- Standby Site Cloning of One or More Production Instances to a Standby System
2.7.1
Cloning Single or Multiple Production Instances to a Standby System
2.8
Oracle Application Server Guard Operations -- Standby Instantiation and Standby Synchronization
2.8.1
Standby Instantiation
2.8.2
Standby Synchronization
2.9
Runtime Operations -- Oracle Application Server Guard Switchover and Failover Operations
2.9.1
Outages
2.9.1.1
Scheduled Outages
2.9.1.2
Unplanned Outages
2.10
Monitoring Oracle Application Server Guard Operations and Troubleshooting
2.10.1
Verifying the Topology
2.10.2
Displaying the Current Operation
2.10.3
Displaying a List of Completed Operations
2.10.4
Stopping an Operation
2.10.5
Tracing Tasks
2.10.6
Writing Information About the Topology to a File
2.10.7
Error Messages
2.11
Using Oracle Application Server Guard Command-Line Utility (asgctl)
2.11.1
Typical Oracle Application Server Guard Session Using asgctl
2.11.1.1
Getting Help
2.11.1.2
Specifying the Primary Database
2.11.1.3
Discovering the Topology
2.11.1.4
Creating and Executing an asgctl Script
2.11.2
Periodic Scheduling of Oracle Application Server Guard asgctl Scripts
2.11.3
Submitting Oracle Application Server Guard Jobs to the Enterprise Manager Job System
3
Configuring OracleAS Disaster Recovery
3.1
Configuring OracleAS Disaster Recovery Without Real Application Clusters Databases
3.1.1
Assumptions
3.1.1.1
Special Considerations for Multiple Databases in a Topology
3.1.2
Configuration Procedure
3.1.3
Switchover Procedure
3.1.4
Switchback Procedure
3.1.5
Failover Procedure
3.2
Using Oracle Real Application Clusters Database with OracleAS Disaster Recovery
3.2.1
Configuring OracleAS Disaster Recovery Where Both the Primary and Standby Sites Use Oracle Real Application Clusters Databases
3.2.1.1
Assumptions
3.2.1.2
Configuration Procedure
3.2.1.3
Switchover Procedure
3.2.1.4
Switchback Procedure (for Switching Back to the Primary Site)
3.2.1.5
Failover Procedure
3.2.2
Configuring OracleAS Disaster Recovery Where Only the Primary Site Uses Oracle Real Application Clusters Database (Standby Site Uses a Non-Real Application Clusters Database)
3.2.2.1
Assumptions
3.2.2.2
Configuration Procedure
3.2.2.3
Switchover Procedure
3.2.2.4
Switchback Procedure
3.2.2.5
Failover Procedure
4
Disaster Recovery Special Considerations
4.1
Special Considerations for Some OracleAS Metadata Repository Configurations
4.1.1
Special Considerations for Multiple OracleAS Metadata Repository Configurations
4.1.1.1
Setting asgctl Credentials
4.1.1.2
Specifying the Primary Database
4.1.1.3
Setting Oracle Application Server Guard Port Numbers
4.1.2
Special Considerations for OracleAS Metadata Repository Configurations Created Using OracleAS Metadata Repository Creation Assistant
4.2
Special Considerations for OracleAS Disaster Recovery Environments
4.2.1
Some Special Considerations That Must Be Taken When Setting Up Some OracleAS Disaster Recovery Sites
4.2.2
Handling dsa.conf or asg.conf Configuration Files for Asymmetric Topologies
4.2.3
Customized Preference Store Location for Portlets Not Preserved After Switchover Operation
4.2.4
Other Special Considerations for OracleAS Disaster Recovery Environments
5
Oracle Application Server Guard asgctl Command-line Reference
5.1
Information Common to Oracle Application Server Guard asgctl Commands
5.2
Information Specific to a Small Set of Oracle Application Server Guard Commands
5.2.1
Special Considerations for OracleAS Disaster Recovery Configurations in CFC Environments
5.2.1.1
Special Considerations for Running Instantiate and Failover Operations in CFC Environments
5.2.1.2
A Special Consideration and Workaround for Performing an Instantiate Operation in CFC Environments
5.2.1.3
Special Considerations for Running a Switchover Operation in CFC Environments
5.2.2
Other Special Considerations for OracleAS Disaster Recovery Environments
add instance
asgctl
clone instance
clone topology
connect asg
create standby database
disconnect
discover topology
discover topology within farm
dump policies
dump topology
exit
failover
help
instantiate topology
quit
remove instance
run
set asg credentials
set echo
set new primary database
set noprompt
set primary database
set trace
show env
show operation
shutdown
shutdown topology
startup
startup topology
stop operation
switchover topology
sync topology
verify topology
dump farm (Deprecated)
instantiate farm (Deprecated)
shutdown farm (Deprecated)
startup farm (Deprecated)
switchover farm (Deprecated)
sync farm (Deprecated)
verify farm (Deprecated)
6
Setting Up a DNS Server
7
Secure Shell (SSH) Port Forwarding
7.1
SSH Port Forwarding
A
Troubleshooting High Availability
A.1
Troubleshooting OracleAS Disaster Recovery Topologies
A.1.1
Changing the Default Oracle Data Guard Configuration Set Up by Oracle Application Server Guard
A.1.2
Failure to Bring Up Standby Instances After Failover or Switchover
A.1.3
Switchover Operation Fails At the Step dcmctl resyncInstance -force -script
A.1.4
An Oracle Application Server Guard asgctl verify Operation Does Not Check Temp Directories
A.1.5
Unable to Start Standalone OracleAS Web Cache Installations at the Standby Site
A.1.6
Standby Site Middle-tier Installation Uses Wrong Hostname
A.1.7
Failure of Farm Verification Operation with Standby Farm
A.1.8
Sync Farm Operation Returns Error Message
A.1.9
On Windows Systems Use of asgctl startup Command May Fail If the PATH Environment Variable Has Exceeded 1024 Characters
A.1.10
Adding an Instance from a Remote Client Adds an Instance on the Local Instance and Not on the Remote Instance
A.1.11
Oracle Application Server Guard Returns an Inappropriate Message When It Cannot Find the User Specified Database Identifier
A.1.12
Database Instance on Standby Site Must Be Shut Down Before Issuing an asgctl create standby database Command
A.1.13
Known Issue with Disaster Recovery Cloning on Windows
A.1.14
The asgctl shutdown topology Command Does Not Shut Down an MRCA Database That is Detected To Be of a repCA Type Database
A.1.15
Connecting to an Oracle Application Server Guard Server May Return an Authentication Error
A.1.16
Running Instantiate Topology Across Nodes After Executing a Failover Operation Results in an ORA-01665 Error
A.1.17
Oracle Application Server Guard Is Unable to Shutdown the Database Because More Than One Instance of Oracle RAC is Running
A.1.18
Create Standby Fails if Initiated on a Different ASGCTL Shell
A.1.19
Resolve Missing Archived Logs
A.1.20
Heartbeat Failure After Failover in Alert Logs
A.1.21
Create Standby Database Fails If Database Uses OMF Storage or ASM Storage
A.1.22
Database Already Exists Errors During Create Standby
A.1.23
Oracle Application Server Guard Add Instance Command Fails When Attempting to Add an Oracle RAC Database to the Topology
A.1.24
A Create Standby Database Operation Fails with an ASG_DGA-12500 Error Message on Windows
A.1.25
Use Fully Qualified Instance Names to Ensure Uniqueness
A.1.26
Misleading Message on JSSO Page
A.1.27
Instantiate Topology Fails if TNS Alias Includes Domain
A.1.28
ORA-32001 Errors during Create Standby Database
A.1.29
ORA-09925 Errors when Bringing Up RAC Database Manually after Switchover
A.1.30
Recommended Method of Patching an Oracle Application Server Disaster Recovery Site
A.2
Troubleshooting Middle-Tier Components
A.2.1
Using Multiple NICs with OracleAS Cluster (OC4J-EJB)
A.2.2
Performance Is Slow When Using the "opmn:" URL Prefix
A.3
Need More Help?
B
Oracle Application Server Guard Error Messages
B.1
DGA Error Messages
B.1.1
LRO Error Messages
B.1.2
Undo Error Messages
B.1.3
Create Template Error Messages
B.1.4
Switchover Physical Standby Error Messages
B.2
Duf Error Messages
B.2.1
Database Error Messages
B.2.2
Connection and Network Error Messages
B.2.3
SQL*Plus Error Messages
B.2.4
JDBC Error Messages
B.2.5
OPMN Error Messages
B.2.6
Net Services Error Messages
B.2.7
LDAP or OID Error Messages
B.2.8
System Error Messages
B.2.9
Warning Error Messages
B.2.10
OracleAS Database Error Messages
B.2.11
OracleAS Topology Error Messages
B.2.12
OracleAS Backup and Restore Error Messages
B.2.13
Oracle Application Server Guard Synchronize Error Messages
B.2.14
Oracle Application Server Guard Instantiate Error Messages
C
Sync Operations Automated by OracleAS Disaster Recovery
C.1
Shipping OracleAS Infrastructure Database Archive Logs to the Standby Site
C.2
Backing Up OracleAS Infrastructure and Middle Tier Configuration Files at the Production Site
C.3
Restoring OracleAS Infrastructure and Middle Tier Configuration Files at the Standby Site
C.4
Restoring OracleAS Infrastructure Database Archive Logs at the Standby Site
Glossary
Index