Using Oracle 12cR1 RAC with Oracle E-Business Suite Release 12_1490850.1
Using Oracle 12c Release 1 Real Application Clusters with Oracle E-Business Suite
Release 12 (Doc ID 1490850.1)
Oracle E-Business Suite 12 has numerous configuration options that can be chosen to suit particular business scenarios, uptime requirements, hardware capability, and availability requirements. This document describes how to migrate Oracle E-Business Suite 12 running on a single database instance to an Oracle Real Application Clusters (RAC) environment running on Oracle Database 12c Release 1 or Release 2. This document and the associated manuals are applicable for both Oracle Database 12c Release 1 (12.1.0.1) and Oracle Database 12c Release 2 (12.1.0.2).
Note: This document applies to UNIX and Linux platforms only. If you are using Windows and want to migrate to Oracle RAC or ASM, you must follow the procedures described in the Oracle Real Application Clusters Administration and Deployment Guide 12c Release 1 (12.1) and the Oracle Database Administrator's Guide 12c Release 1 (12.1) The most current version of this document can be obtained in My Oracle Support Knowledge Document 1490850.1. There is a change log at the end of this document. Note: Most documentation links point to the generic Oracle Database 12c Release 1 documentation for Linux. Refer to the appropriate installation documentation for your platform. A number of conventions are used in describing the Oracle Applications architecture:
This document is divided into the following sections:
Section 1: OverviewYou should be familiar with Oracle Database 12c Release 1, and have a good knowledge of Oracle Real Application Clusters. Refer to Oracle Real Application Clusters Administration and Deployment Guide12c Release 1 (12.1) when planning to set up Oracle Real Application Clusters and shared devices.1.1 Cluster TerminologyYou should understand the terminology used in a cluster environment. Key terms include the following.
1.2 Configuration PrerequisitesThe prerequisites for using Oracle RAC with Oracle E-Business Suite 12 are as follows:
Section 2: Environment2..1 Software and Hardware ConfigurationRefer to the relevant platform installation guides for supported hardware configurations. For example, Oracle Grid Infrastructure Installation Guide 12c Release 1 (12.1) for Linux and Oracle Real Application Clusters Administration and Deployment Guide12c Release 1 (12.1) . The minimum software versions are as follows:
You can obtain the latest Oracle Database 12c Release 1 software from: http://www.oracle.com/technology/software/products/database/index.html
Note: The Oracle Cluster Ready Services must be at a release level equal to, or greater than, the Oracle Database version.
2.2 ORACLE_HOME NomenclatureThis document refers to various ORACLE_HOME's as follows:
Section 3: Database Installation and Oracle RAC MigrationThe configuration steps you need to perform are divided into a number of stages:
3.1 Install Oracle Clusterware 12c Release1 Note: Take full backups of your environment prior to executing these procedures, and after each stage of the migration. These procedures should be validated on a test environment prior to being carried out in production. Users must be logged off the system during these procedures. 3.1 Install Oracle Clusterware 12c Release 1Note: The installation of Oracle Clusterware 12c Release 1 is now part of the Grid Infrastructure install. This task requires an understanding of the specific type of cluster and infrastructure that are to be deployed; the selection is outside the scope of this document. For convenience, the general steps are outlined below, but you should use the Infrastructure documentation set as the primary reference. 3.1.1 Check the Network RequirementsIn Oracle Database 12c Release 1, the Infrastructure install can be configured to specify address management via node addresses, names (as used in older releases), or via Grid Naming Services. Regardless of the choice here, nodes must satisfy the following requirements:
If the Grid Naming Services is not used, the following addresses must also be configured:
For further information, refer to the pre-installation requirements and checklist in Oracle Grid Infrastructure Installation Guide 12c Release 1 (12.1) for Linux. Note: A common mistake is to not set up ntpd correctly. Refer to the Setting Network Time Protocol for Cluster Time Synchronization section in Oracle Grid Infrastructure Installation Guide 12c Release 1 (12.1) for Linux. 3.1.2 Verify the Kernel ParametersAs part of the Infrastructure install, the pre-installation process checks the kernel parameters and, if necessary, creates a "fixup" script that corrects most of the common kernel parameter issues. Follow the installation instructions for running this script. Detailed hardware and OS requirements are listed in the Oracle Grid Infrastructure Installation Server Hardware Checklist section of Oracle Grid Infrastructure Installation Guide 12c Release 1 (12.1) for Linux. 3.1.3 Set up Shared StorageThe available shared storage options are either ASM or shared file system (clustered or NFS). Use of raw disk devices is only supported for upgrades. These storage options are described in the Configuring Storage for Oracle Grid Infrastructure and Oracle RAC section of Oracle Grid Infrastructure Installation Guide 12c Release 1 (12.1) for Linux. 3.1.4 Check the Account Setup
3.1.5 Configure Secure Shell on All Cluster NodesSecure Shell configuration is covered in detail in both the Oracle Real Application Clusters Installation Guide and Oracle Grid Infrastructure Installation Guide. Unlike previous releases where you would have to manually set up Secure Shell, the Oracle Database 12c Release 1 installer now provides an option to automatically setup passwordless SSH connectivity. If you have system restrictions that require you to set up SSH manually, such as using DSA keys, or for further information on passwordless SSH, refer to the Configuring SSH Manually on All Cluster Nodes section of Oracle Grid Infrastructure Installation Guide 12c Release 1 (12.1) for Linux. 3.1.6 Run Cluster Verification Utility (CVU)The installer will automatically run the Cluster Verify tool and provide fix up scripts for OS issues. However, you can also run the CVU prior to installation to check for potential issues:
3.1.7 Install Oracle Clusterware 12c Release 1
3.2 Install Oracle Database Software 12c Release 1 and Upgrade the Oracle E-Business Suite Database
Note: Take a full backup of the oraInventory directory before starting this stage, during which you will run the Oracle Universal Installer (runInstaller) to carry out an Oracle Database Installation with Oracle RAC. In the Cluster Nodes Window, verify the cluster nodes shown for the installation. Select all nodes included in your Oracle RAC cluster.
To install Oracle Database 12c Release 1 software and upgrade an existing database to 12c Release 1, refer to the interoperability note Document 1524398.1 and follow all instructions and steps listed there except the following:
Note: Installing the Example CD results in a problem where OPatch does not detect all the nodes in the RAC cluster. To resolve this problem, once you have installed the Oracle Database Software 12c on all RAC nodes, it is essential that you apply the latest OPatch Patch 6880880 in all Oracle Database Home on all of the RAC nodes.
3.3 Listener Configuration in Oracle Database 12c Release 1The listener configuration can often be confusing when converting an Oracle E-Business Suite database to use Oracle RAC. There are two types of listener in Oracle Database 12c Release 1 Clusterware: the Scan listener and general database listeners. The Scan listener provides a single named access point for clients, and replaces the use of Virtual IP addresses (VIP) in client connection requests (tnsnames.ora aliases). However, connection requests can still be routed via the VIP name, as both access methods are fully supported. To start or stop a listener using srvctl, the following three configuration components are required:
The Oracle Home can either be the Infrastructure home or an Oracle Database home. The TNS_ADMIN directory can be any accessible directory. The listener name must be unique within the listener.ora file. For further information, refer to the Listener Configuration for an Oracle RAC Database section of Oracle Real Application Clusters Administration and Deployment Guide12c Release 1 (12.1). There are three Listener issues to be considered, which are as follows:
3.3.1 Listener Configuration in Oracle Database 12c Release 1 Clusterware3.3.1.1 General Database Listeners
In Oracle Database 12c Release 1, listeners are configured at the cluster level, and all nodes inherit the port and environment settings. This means that the TNS_ADMIN directory path will be the same on all nodes. So, to create a new listener, listener_ebs on port
$ srvctl add listener -l
listener_ebs -o <12c Release 1 ORACLE_HOME> -p
$ srvctl setenv listener -l listener_ebs -T TNS_ADMIN= $TNS_ADMIN When the listener starts, it will run from the database ORACLE_HOME. srvctl manages the listener.ora file across all the nodes. 3.3.1.2 Scan ListenerThe scan listener runs from the infrastructure home and all the configuration files, such as the listener.ora, are handled by cluster services. You only need to register the listener as in the following example command:
$ srvctl add scan_listener -l
listener_scan -p 1521
To use the scan listener, additional host addresses need to be assigned and configured - refer to the IP Name and Address Requirements for Standard Cluster Manual Configuration section of Oracle Grid Infrastructure Installation Guide Oracle Database 12c Release 1 (12.1) for Linux
Note: The Configuration Prerequisites patches enable AutoConfig support for the scan listener. If you have not applied the prerequisite patches you will only be able to use the listener if you customize both the tnsnames.ora file and DBC connection strings.
3.3.2 Listener Requirements for Converting to Oracle RACTools such as rconfig, dbca, dbua impose additional restrictions on the choice of listener. The listener must be the default listener, and it must run from the Grid Infrastructure home. So if the default listener is not set up for rconfig, the example in 3.3.1 above would need to be changed to:
$ srvctl modify listener -l LISTENER -p
After conversion, you can reconfigure the listener as required. or $ srvctl add listener -p 3.3.3 Listener Requirements for AutoConfigThis section describes the general database and scan listeners.3.3.3.1 General Database Listener
Prior to named db listener support (detailed in the Configuration Prerequisites section), AutoConfig created the listener names in the form listener_ 3.4 Configure Shared StorageThis document does not discuss the setup of shared storage as there are no Oracle E-Business Suite specific tasks in setting up ASM, NFS (NAS) or clustered storage. Further information is available from the following documents:
3.4.1 Migrating your Oracle Database to ASM while converting to RAC (Optional)ASM is integrated with the Oracle Grid infrastructure and can be installed and configured during the Grid Infrastructure installation. It can be configured later using asmca. If you plan to use ASM for the Oracle database, perform the following steps prior to installing the Grid Infrastructure: 3.4.1.1 Create Users and GroupsOracle recommends using a separate user for the ASM instance rather than an Oracle user. For example, to create a "grid" user, create the groups asmdba, asmadmin, asmoper, and assign them to the "grid" user as in the following example:
$ useradd -m -u
3.4.1.2 Create ASM Disks
ASM requires unformatted (raw) disk partitions. Once selected, they are collated into ASM diskgroups. Before starting, you need to install the appropriate asmlib rpms for your Linux version. For example, the following three rpms would be used on OEL 5:
Partition the disks and label them as follows:
1. As the root user, determine the partitions available. The following command shows all the partitions known to the OS.
$ cat /proc/partitions
2. Consider a system with two raw unformatted disks /dev/sda1 and /dev/sda2. Run the command fdisk 3. To label the disks for use by ASM, perform the following steps:
Note: Prior to using rconfig to convert the database to RAC ASM, update the shared storage option setting in the XML file to ASM. For example,
3.5 Convert Oracle Database 12c Release 1 to Oracle RAC
Note : If you are planning to use the same storage location for the RAC conversion using rconfig, take a note of the temporary files, locations and sizes or alternatively make a temporary copy the v$tempfile table.
There are three options for converting to Oracle RAC, which are detailed in the Converting Single-Instance Oracle Databases to Oracle RAC section of the Oracle Real Application Clusters Administration and Deployment Guide. These are as follows:
All these will convert an Oracle E-Business Suite database to Oracle RAC; which to use is a matter of personal choice. The conversion prerequisites are as follows:
Note: Query v$tempfile table, if there are no temproary files listed, create them using the details that were taken at the begining of this section
3.6 Post Migration StepsThe conversion tools may change some of the configuration options. Most notably, your database will now be in archivelog mode, regardless of whether it was or not prior to the conversion. If you do not want to use archivelog mode, perform the following steps:
Adjust Listener SettingsThe Oracle E-Business Suite applications tier connects to the Oracle RAC instances via the port specified in the Applications Tier context file. If a different listener port was chosen during the conversion, either directly or indirectly, then either change the database ports to match the Applications Tier context files, or alternatively in 3.8.1, ensure that s_dbport is updated. The value of s_dbport depends on whether the SCAN listener is chosen in 3.7.1 If SCAN is chosen, then set s_dbport to the SCAN port; otherwise use the local listener port.3.7 Enable AutoConfig on the Database Tier3.7.1 Steps to Perform On All Oracle RAC Nodes
Note: To ensure all AutoConfig TNS aliases are correctly configured to recognize all available nodes, re-run AutoConfig on all nodes. For more details of AutoConfig, refer to My Oracle Support Knowledge
3.7.2 Shut Down the Listener and DatabaseUse the following commands to stop the listener and database:
3.7.3 Update Server Parameter File SettingsAfter the conversion to Oracle RAC, you will have a central server parameter file (spfile). It is important to understand the Oracle RAC specific changes brought in by AutoConfig, and to ensure that the context file is in sync with the database initialization parameters. The Oracle Database 12c Release 1 changes will already be reflected in the initialization parameters (from Step 3.2). The affected parameters are listed in the Oracle RAC template under 12c_Release 1_ORACLE_HOME/appsutil/template/afinit_db121RAC.ora. They are also listed below. Many will have been set by the conversion, and others may have previously been set by you for non-RAC related reasons.
The following six parameters will all have been set as part of the conversion. The context variables should be updated to be in sync with the database.
3.7.4 Update SRVCTL for the new listener.oraIf you intend to use srvctl to manage your Oracle E-Business Suite database, you must perform the following additional steps:
Note: If you are using shared Oracle Home then TNS_ADMIN cannot be shared as the directory path must be same on all nodes.See Appendix F for an example of how to use SRVCTL to manage listeners in a shared Oracle Home.
3.8 Establish the Oracle E-Business Suite Environment for Oracle RAC3.8.1 Preparatory StepsPerform the following steps on all Application Tier nodes:
3.8.2 Set Up Load BalancingImplement load balancing across the Oracle E-Business Suite database connections:
3.9 Configure Parallel Concurrent Processing3.9.1 Check prerequisites for setting up Parallel Concurrent Processing
To set up Parallel Concurrent Processing (PCP), you must have more than one Concurrent Processing node in your environment. If you need to add another node, follow the appropriate instructions in My Oracle Support Knowledge
Note: If you are planning to implement a shared Application tier file system, refer to My Oracle Support Knowledge Document 384248.1, Sharing the Application Tier File System in Oracle E-Business Suite Release 12, for the necessary configuration steps. If you are adding a new Concurrent Processing node to the Application Tier, you will need to set up load balancing on the new Application Tier by repeating steps 1-6 in Section 3.8.2.
3.9.2 Set Up PCP
3.9.3 Set up the Transaction Managers
3.9.4 Set Up Load Balancing on the Concurrent Processing Nodes
Section 4: ReferencesThis section lists the most commonly referenced documents.
Appendix A: Sample Config XML fileThis appendix shows example contents of an rconfig XML input file. <!-- Comments like this --> have been added to the code, and notes have been inserted between sections of code.
RConfig
xsi:schemaLocation="http://www.oracle.com/rconfig">
- - <!-- Verify does a precheck to ensure all pre-requisites are met, before the conversion is attempted. Allowable values are: YES|NO|ONLY --> -
Note: The Convert verify option in the ConvertToRAC.xml file can take one of three values YES/NO/ONLY: 2. NO: rconfig does not perform prerequisites check priot to starting the conversion. 3. ONLY: rconfig only performs prerequisites check and does not start the conversion. In order to validate and test the settings specified for converting to Oracle RAC with rconfig, it is advisable to execute rconfig using Convert verify="ONLY" prior to carrying out the actual conversion. <!-- Specify current OracleHome of non-RAC database for SourceDBHome -->
<!-- Specify OracleHome where the Oracle RAC database should be configured. It can be same as SourceDBHome -->
<!-- Listener details are no longer needed starting with Oracle Database 11.2. The database is registered with a default listener and SCAN listener running from Oracle Grid Infrastructure home. -->
<!-- Specify the type of storage to
be used by the Oracle RAC database. Allowable values are CFS and ASM. The
non-RAC database should have the same storage type.
-->
-
Note: rconfig can also migrate the single instance database to ASM storage. If you want to use this option, specify the ASM parameters for your environment in the XML file above.
<!-- Specify Database Area Location
to be configured for Oracle RAC database.If this field is left empty, current
storage will be used for Oracle RAC database. For CFS, this field will have
directory path.
-->
Note: rconfig can also migrate the single instance database to ASM storage. If you want to use this option, specify the ASM parameters as per your environment in the above XML file.
Note: The following text is contained in the XML file below. Specify the Flash Recovery Area to be configured for the Oracle RAC database. If this field is left empty (as in the following example), the current recovery area of the non-RAC database will be configured for the Oracle RAC database. If current database does not have a Recovery Area, the resulting Oracle RAC database will not have one either.
<!--
Specify the Flash Recovery Area to be configured for the Oracle RAC database. If this field is left empty, the current recovery area of the non-RAC database will be configured for the Oracle RAC database. If current database is not using a Recovery Area, the resulting Oracle RAC database will not have a recovery area. --> Appendix B: Example Grid InstallationThe following instructions assume a fresh Grid install and is intended for those less experienced with Clusterware, or who may be doing a test install.
Appendix C: Database Conversion - Known IssuesDatabase Upgrade Assistant (DBUA)If DBUA is used to upgrade an existing AutoConfig-enabled Oracle RAC database, you may encounter an error about a pre-11gR2 listener existing in CRS. In such a case, copy the AutoConfig listener.ora to the <12c_ORACLE_HOME>/network/admin directory, and merge the contents in with the existing listener.ora file. Cluster IssuesAfter adding new node, verify that the oracle software user and group has permissions rwx using crs_getperm for vip,ons and gsd resources. (This needs to be performed if you are unable to add listener resource with permission errors) For example:
$CRS_HOME/bin/crs_getperm
ora.
If the user does not have rwx privileges then set them using crs_setperm:
$CRS_HOME/bin/crs_setperm
ora.
Appendix D: Enabling/Disabling SCAN Listener Support in AutoconfigManaging the scan listener is handled on the database server. All that is required for the Applications Tier is for AutoConfig to be run again to pick up the updated connection strings.
Appendix E: Instance and Listener InteractionUnderstanding how instances and listeners interact is best done with a worked example. Consider a 2-node Oracle RAC cluster, with nodes C1 and C2. In this example, two local listeners are used, the default listener and an EBS listener. There is nothing special about the EBS listener - it could equally have been called the ABC listener.Listener Configuration
Note the following:
SRVCTL configuration
Instance to Listener AssignmentThe relationship between instances and listeners is established by the local_listener and remote_listener init.ora parameters (or spfile):Local_Listener
Appendix F: Shared ORACLE_HOME and TNS_ADMINIn Oracle Database 12c Release 1, listeners are configured at the cluster level, and all nodes inherit the port and environment settings. This means that the TNS_ADMIN directory path will be the same on all nodes. In a shared ORACLE_HOME configuration, the TNS_ADMIN directory must be a local, non-shared directory, in order to be able to use AutoConfig generated network files. These network files will be included as ifiles.
The following is an example of setting up TNS_ADMIN for a shared
Appendix G: Known Issues
Change Log
Knowledge Document 1490850.1 Oracle E-Business Suite Development ReferencesNOTE:384248.1 - Sharing The Application Tier File System in Oracle E-Business Suite Release 12NOTE:745759.1 - Oracle E-Business Suite and Oracle Real Application Clusters Documentation Roadmap NOTE:881506.1 - Oracle Applications Release 12 with Oracle 11g Release 2 NOTE:265633.1 - ASM Technical Best Practices For 10g and 11gR1 Release BUG:10427234 - AUTOCONFIG TO OPTIONALLY GENERATE ADDITIONAL ALIASES FOR SCAN LISTENER NOTE:387859.1 - Using AutoConfig to Manage System Configurations in Oracle E-Business Suite Release 12 |
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/17252115/viewspace-1402906/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- ORACLE E-BUSINESS SUITE 12.2.3 RELEASE UPDATE PACK (補丁程式集)OracleUI
- Using Oracle Database 11g Release 2 Result Cache in an Oracle RAC EnvironmentOracleDatabase
- ORACLE E-BUSINESS SUITE 12.2.4 RELEASE UPDATE PACK (2014-08-08釋出)OracleUI
- Tuning the Oracle E-Business Suite R12OracleUI
- 安裝Oracle RAC 12cR1Oracle
- Oracle Database 12c Release 2 (12.2) RAC On Oracle Linux 7 Using VMwareOracleDatabaseLinux
- Migrating an Oracle E-Business Suite Database to Sun Oracle Database Machine(Exadata)OracleUIDatabaseMac
- 掌控 Oracle E-Business Suite 資料,驅動業務成果OracleUI
- Oracle Database 11g Release 2 RAC On Linux Using VMware Server 2OracleDatabaseLinuxServer
- DBA淺談Oracle E-Business Suite系統最佳化OracleUI
- Oracle E-Business Suite 可以在Exalogic Elastic Cloud 上跑了OracleUIASTCloud
- DBA 淺談Oracle E-Business Suite系統最佳化OracleUI
- Oracle E-Business Suite R12.0.4 下載檔案列表OracleUI
- Oracle E-Business Suite R12.1.3 (RUP3) is now ReleasedOracleUI
- Oracle E-Business Suite (EBS) 六個不同的產品家族 介紹OracleUI
- 關於Oracle E-Business Suite併發處理機制(Current Processing)OracleUI
- 轉:Oracle E-Business Suite R12.2的新技術特點OracleUI
- Oracle E-Business Suite R12.1.1 安裝配置問題總結OracleUI
- Using WebLogic Server With Oracle RAC(轉)WebServerOracle
- Oracle 12cR1 RAC叢集安裝(一)--環境準備Oracle
- Oracle Database 11g Release 2 RAC On LinuxOracleDatabaseLinux
- Oracle 12cR1 RAC 在VMware Workstation上安裝(上)—OS環境配置Oracle
- Oracle 12cR1 RAC 在VMware Workstation上安裝(下)—靜默安裝Oracle
- Oracle SOA Suite: AdapterOracleUIAPT
- Oracle GRC Application suiteOracleAPPUI
- Oracle 12cR1 RAC 在VMware Workstation上安裝(中)—圖形介面安裝Oracle
- Oracle E-Business Suite Financials R12: A Functionality Guide.pdf 英文原版 免費下載OracleNaNFunctionGUIIDE
- 本人的原創文件"DBA淺談Oracle E-Business Suite系統最佳化",敬請關注.OracleUI
- Oracle RAC 10g Installation on Oracle Enterprise Linux Using VMware ServerOracleLinuxServer
- 11gR2 11.2.0.2 Database Certified with E-Business SuiteDatabaseUI
- Oracle Application Management Pack and Application Change Management Pack for Oracle E-Business SuitOracleAPPUI
- Using Oracle SecureFiles LOBsOracle
- oracle RACOracle
- 在Centos 6.5上安裝Oracle Database 11g Release 2 (11.2.0.4.0) RACCentOSOracleDatabase
- Oracle RAC Cache Fusion 系列十七:Oracle RAC DRMOracle
- Oracle Database 19c(19.9) RAC On RedHat 8.3 Using VirtualBox and MacBookOracleDatabaseRedhatMac
- Oracle 11g Release 2 RAC叢集系統——安裝後置任務Oracle
- Oracle RAC CacheFusion 系列十五:Oracle RAC CRServer Part TwoOracleServer