Applies to:
Oracle Server - Enterprise Edition - Version: 9.2.0.1 to 11.2.0.2 - Release: 9.2 to 11.2
Information in this document applies to any platform.
Goal
How to install an Oracle database in a 2-node active/passive environment without using RAC.
Solution
The set up of an active/passive failover system is fairly straightforward.
It consists of the following main parts:
- Install an Oracle Home locally on cluster node A.
- Install an identical Oracle Home locally on cluster node B.
The
identical Home can either be installed using the OUI or can be cloned
according to the appropriate cloning procedures as summarized in
Note 300062.1 - How To Clone An Existing RDBMS Installation Using OUI
Using
the cloning procedures, the Home will also have its own oraInventory
entry which is required for any further install or patch actions.
- Create/use the database located on shared storage under
$ORACLE_BASE/oradata/ that can be accessed from both server A
and B.
The database can initially be created from either server A or B.
- The only database configuration files that are needed locally on
both server A and B are those stored under the respective
$ORACLE_HOME/dbs directories (or the database directory for Windows).
That means, these files must be copied from the server where the database was created to the initially passive cluster node.
The relevant files are, for example, the pfile/spfile and the passwordfile.
- Other
files that may have to be copied/adapted could be /etc/oratab, the
Oracle Net configuration files in $ORACLE_HOME/network/admin and perhaps
instance specific directories and files under $ORACLE_BASE/admin.
However, some of these may also be located on shared storage.
- To use the active/passive setup, only one instance must be up at any time.
NOTE:
- There is no special certification needed for an active/passive setup as it is regarded as a single instance installation.
- Configuration files copied from the one server to the other may require modification for the new host name. (example: The host name in listener.ora on the second node need to be corrected.)
- Oracle as such does not support any automatic failover system as provided by the OS vendor or others.
For support for that, please contact the appropriate vendor.
References
NOTE:300062.1 - How To Clone An Existing RDBMS Installation Using OUI
[@more@]
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/161195/viewspace-1056334/
,如需转载,请注明出处,否则将追究法律责任。