R12 d49656 gc10-apps dba 26

1,341 views

Published on

Oracle Applications, Oracle Database, D49656, Oracle Applications DBA

Published in: Education, Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,341
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
148
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide
  • ILT Schedule: Timing Topic 40 minutes Lecture 90 minutes Practice 130 minutes Total
  • <Course name> <Lesson number> -
  • <Course name> <Lesson number> - Overview The following terms are used to identify the systems:  Source system - the system to be cloned Target system - the newly created (or cloned) system Instructor Note: Cloning has been removed from Oracle Applications Manager in Release 12. An alternative to the command-line cloning described in this and the next module is for customers to purchase the Enterprise Manager Applications Management Pack. See OracleMetaLink Note 394448.1, “ Getting Started with the Application Management Pack for Oracle E-Business Suite (Release 2.0)”.
  • <Course name> <Lesson number> - Cloning Oracle Applications With the flexible and sophisticated architecture of Oracle Applications Release 12, simply copying all of the components will not provide you with a working Oracle Applications system. For instance, there are numerous configuration files in your file system that must match the physical topology of a given system.
  • <Course name> <Lesson number> -
  • <Course name> <Lesson number> -
  • <Course name> <Lesson number> -
  • <Course name> <Lesson number> -
  • <Course name> <Lesson number> -
  • <Course name> <Lesson number> -
  • <Course name> <Lesson number> - Apply the Latest AutoConfig Template Patch Instructor Note: There wre no applicable patches when this course was published.
  • <Course name> <Lesson number> - Apply the Latest Rapid Clone Patches Instructor Note: At the time of course publication, the latest patches were 5484000 (Oracle E-Business Suite 12.0.2 Release Update Pack), and 5872965 (Rapid Clone fixes for Windows).
  • <Course name> <Lesson number> - Running AutoConfig on the Application Tier Instructor Note: All Release 12 systems use (and require) AutoConfig.
  • <Course name> <Lesson number> - Copy Utility Files to the RDBMS_ORACLE_HOME You need to perform this step every time a new Rapid Clone patch is applied.
  • <Course name> <Lesson number> - Running AutoConfig on the Database Tier Instructor Note: All Release 12 systems use (and require) AutoConfig.
  • <Course name> <Lesson number> -
  • <Course name> <Lesson number> -
  • <Course name> <Lesson number> -
  • <Course name> <Lesson number> -
  • <Course name> <Lesson number> -
  • <Course name> <Lesson number> - Copy the Source System to the Target System Instructor Note: UNIX users should ensure that symbolic links (soft links) are preserved when copying. On most UNIX platforms, the cp -Rh command will accomplish this. Those using the tar utility to archive the files for copying may need to specify the -h option to ensure symbolic links are followed.
  • <Course name> <Lesson number> -
  • <Course name> <Lesson number> -
  • <Course name> <Lesson number> -
  • <Course name> <Lesson number> -
  • <Course name> <Lesson number> -
  • <Course name> <Lesson number> -
  • <Course name> <Lesson number> -
  • <Course name> <Lesson number> -
  • <Course name> <Lesson number> -
  • <Course name> <Lesson number> -
  • <Course name> <Lesson number> -
  • <Course name> <Lesson number> -
  • <Course name> <Lesson number> -
  • <Course name> <Lesson number> -
  • <Course name> <Lesson number> - Other Finishing Tasks Verify the APPLCSF variable setting: Source the APPS environment and review that the variable APPLCSF (identifying the top-level directory for concurrent manager log and output files) points to a suitable directory. To modify it, change the value of the s_applcsf variable in the context file and run AutoConfig on the application tier. Update the SESSION_COOKIE_DOMAIN value in ICX_PARAMETERS: If the target system is in a different domain to the source system, and SESSION_COOKIE_DOMAIN was not null in the source system, update that value to reflect the new domain name.
  • <Course name> <Lesson number> -
  • <Course name> <Lesson number> -
  • <Course name> <Lesson number> - Refer to Practice – Cloning Oracle Applications: Preparatory Tasks [LAB421EY] Refer to Practice – Cloning Oracle Applications: Cloning Tasks [LAB421FY] Refer to Practice – Cloning Oracle Applications: Finishing Tasks [LAB4220Y]
  • R12 d49656 gc10-apps dba 26

    1. 1. Cloning Oracle Applications
    2. 2. Objectives <ul><li>At the end of this module, you should be able to do the following: </li></ul><ul><ul><li>Describe situations that may require cloning </li></ul></ul><ul><ul><li>Describe the Rapid Clone utility </li></ul></ul><ul><ul><li>Detail the phases of the cloning process </li></ul></ul><ul><ul><li>Perform the steps within each phase </li></ul></ul>
    3. 3. Module Overview <ul><li>This module consists of the following topics: </li></ul><ul><ul><li>Situations that may require cloning </li></ul></ul><ul><ul><li>Rapid Clone </li></ul></ul><ul><ul><li>Cloning phases </li></ul></ul><ul><ul><li>Prerequisite steps </li></ul></ul><ul><ul><li>Clone Oracle Applications </li></ul></ul><ul><ul><li>Finishing tasks </li></ul></ul>
    4. 4. Cloning Oracle Applications <ul><li>Cloning is the act of creating an identical copy of an existing Oracle Applications system. The new and existing systems must initially be identical in the following aspects: </li></ul><ul><ul><li>Component versions </li></ul></ul><ul><ul><li>Platform type </li></ul></ul>
    5. 5. Cloning Uses <ul><li>Situations that may require cloning of an Applications system include:  </li></ul><ul><ul><li>Creating a copy of a production system for testing (an example of standard cloning) </li></ul></ul><ul><ul><li>Adding new machines to a system to meet an increased workload (an example of system scale-up) </li></ul></ul><ul><ul><li>Migrating an existing system to a new platform (an example of system transformation) </li></ul></ul><ul><ul><li>Creating a rolling environment to reduce patching downtime (and example of cloning being used to support maintenance) </li></ul></ul>
    6. 6. Rapid Clone <ul><li>The Rapid Clone utility: </li></ul><ul><ul><li>Preserves Oracle Applications configuration information specific to the target system </li></ul></ul><ul><ul><li>Removes components of the file system </li></ul></ul><ul><ul><li>Re-implements the saved configuration on the target system </li></ul></ul><ul><ul><li>Is applied in pre-install mode to all APPL_TOPs on the source system </li></ul></ul>
    7. 7. Cloning Phases <ul><li>The main phases of cloning are: </li></ul><ul><ul><li>Prerequisite steps </li></ul></ul><ul><ul><li>Clone Oracle Applications </li></ul></ul><ul><ul><ul><li>Prepare the source system </li></ul></ul></ul><ul><ul><ul><li>Copy the source system to the target system </li></ul></ul></ul><ul><ul><ul><li>Configure target system </li></ul></ul></ul><ul><ul><li>Perform finishing tasks </li></ul></ul><ul><ul><li>Test the target system </li></ul></ul>
    8. 8. Overview of Prerequisite Steps <ul><li>Perform the following prerequisite steps: </li></ul><ul><ul><li>Verify source and target node software versions </li></ul></ul><ul><ul><li>Apply the latest AutoConfig template patch (if applicable) </li></ul></ul><ul><ul><li>Apply the latest Rapid Clone patches (if applicable) </li></ul></ul><ul><ul><li>Run AutoConfig on the application tier </li></ul></ul><ul><ul><li>Copy utility files to database tier nodes </li></ul></ul><ul><ul><li>Run AutoConfig on the database tier </li></ul></ul><ul><ul><li>Maintain snapshot information on application tier nodes </li></ul></ul>
    9. 9. Verify Source and Target Nodes Software Versions - Perl You can use the Perl shipped with OracleAS10.1.3 and RDBMS 10g, or download it from Perl.com. Perl must be in the PATH and PERL5LIB must be correctly set . Details All target system nodes Location 5.x Minimum version Perl
    10. 10. Verify Source and Target Nodes Software Versions - Zip You can download Zip from http://www.info-zip.org/. Zip must be in your PATH for cloning. Details All source system nodes Location 2.3 Minimum version Zip
    11. 11. Apply the Latest AutoConfig Template Patch <ul><li>Update the Oracle Applications file system with the latest AutoConfig template files by: </li></ul><ul><ul><li>Applying the latest TXK AutoConfig Template rollup patch to all application tier server nodes </li></ul></ul>
    12. 12. Apply the Latest Rapid Clone Patches <ul><li>Update the Oracle Applications file system with the latest Rapid Clone files by: </li></ul><ul><ul><li>Applying the latest Rapid Clone patches to all application tier server nodes </li></ul></ul>
    13. 13. Run AutoConfig on the Application Tier <ul><li>To run AutoConfig on the application tier: </li></ul><ul><ul><li>UNIX: </li></ul></ul><ul><ul><ul><li>AutoConfig prompts for the APPS password </li></ul></ul></ul>$ <INST_TOP>/admin/scripts/adautocfg.sh
    14. 14. Copy Utility Files to the RDBMS_ORACLE_HOME <ul><li>Update the <RDBMS_ORACLE_HOME> file system with the relevant files by performing the following steps: </li></ul><ul><ul><li>On the application tier (as the applmgr user): </li></ul></ul><ul><ul><ul><li>Log in to the APPL_TOP environment and source the environment file </li></ul></ul></ul><ul><ul><ul><li>Run Perl to create appsutil.zip file in <INST_TOP>/admin/out </li></ul></ul></ul><ul><ul><ul><ul><li>perl <AD_TOP>/bin/admkappsutil.pl </li></ul></ul></ul></ul><ul><ul><li>On the database tier (as the oracle user): </li></ul></ul><ul><ul><ul><li>Copy or ftp the appsutil.zip file to the <RDBMS_ORACLE_HOME> </li></ul></ul></ul><ul><ul><ul><ul><li>cd <RDBMS_ORACLE_HOME> </li></ul></ul></ul></ul><ul><ul><ul><ul><li>unzip -o appsutil.zip </li></ul></ul></ul></ul>
    15. 15. Run AutoConfig on the Database Tier <ul><li>To run AutoConfig on the database tier: </li></ul><ul><ul><li>UNIX: </li></ul></ul><ul><ul><ul><li>AutoConfig prompts for the APPS password </li></ul></ul></ul>$ <RDBMS_ORACLE_HOME>/appsutil/scripts/ <CONTEXT_NAME>adautocfg.sh
    16. 16. Maintain Snapshot Information <ul><li>Log on to each application tier node as the applmgr user, and run Maintain Snapshot information in AD Administration </li></ul><ul><ul><li>See Oracle Applications Maintenance Utilities for more information </li></ul></ul>
    17. 17. Overview of Cloning Steps <ul><li>There are three sections to the actual cloning process: </li></ul><ul><ul><li>Prepare the source system </li></ul></ul><ul><ul><li>Copy the source system to the target system </li></ul></ul><ul><ul><li>Configure the target system </li></ul></ul>
    18. 18. Clone Oracle Applications <ul><ul><li>Use Rapid Clone to create template files for cloning on the source system (the source system configuration is not changed) </li></ul></ul><ul><ul><li>After the source system is copied to the target system, Rapid Clone updates these templates to contain the new target system configuration settings </li></ul></ul>
    19. 19. Prepare the Source System Database Tier for Cloning <ul><li>Log on to the source system as the oracle user and run the following commands: </li></ul>cd <RDBMS_ORACLE_HOME>/appsutil/scripts/ <CONTEXT_NAME> perl adpreclone.pl dbTier
    20. 20. Prepare the Source System Application Tier for Cloning <ul><li>Log on to the source system as the applmgr user and run the following commands on each node that contains an APPL_TOP: </li></ul>cd <INST_TOP>/admin/scripts perl adpreclone.pl appsTier
    21. 21. Copy the Source System to the Target System <ul><ul><li>Copy the application tier file system from the source Applications system to the target node </li></ul></ul><ul><ul><li>Ensure the application tier files copied to the target system are owned by the target applmgr user, and that the database tier files are owned by the oracle user </li></ul></ul>Source Target
    22. 22. Copy the Application Tier File System <ul><ul><li>Log on to the source system application tier nodes as the applmgr user </li></ul></ul><ul><ul><li>Shut down the application tier server processes </li></ul></ul><ul><ul><li>Copy the following application tier directories from the source node to the target application tier node: </li></ul></ul><ul><ul><ul><li><APPL_TOP> </li></ul></ul></ul><ul><ul><ul><li><COMMON_TOP> </li></ul></ul></ul><ul><ul><ul><li>Technology Stack </li></ul></ul></ul><ul><ul><ul><li><OracleAS 10.1.2 ORACLE_HOME> </li></ul></ul></ul><ul><ul><ul><li><OracleAS 10.1.3 ORACLE_HOME> </li></ul></ul></ul>
    23. 23. Copy the Database Tier File System <ul><ul><li>Log on to the source system database node as the oracle user </li></ul></ul><ul><ul><li>Perform a normal shutdown of the source system database </li></ul></ul><ul><ul><li>Copy the database (.dbf) files from the source to the target system </li></ul></ul><ul><ul><li>Copy the source database ORACLE_HOME to the target system </li></ul></ul><ul><ul><li>Start up the source Applications system database and application tier processes </li></ul></ul>
    24. 24. Configure the Target System Database Node <ul><li>Log on to the target system as the oracle user and enter the following commands to configure and start the database: </li></ul>cd <RDBMS_ORACLE_HOME>/appsutil/clone/bin perl adcfgclone.pl dbTier
    25. 25. Configure the Target System Application Server Nodes <ul><li>Log on to the target system as the applmgr user and enter the following commands: </li></ul>cd <COMMON_TOP>/clone/bin perl adcfgclone.pl appsTier
    26. 26. Finishing Tasks <ul><ul><li>Update profile options </li></ul></ul><ul><ul><ul><li>Rapid Clone updates only site-level profile options </li></ul></ul></ul><ul><ul><ul><li>If any other profile options are set to instance-specific values, you must update them manually </li></ul></ul></ul><ul><ul><li>Update printer settings </li></ul></ul><ul><ul><ul><li>If the new cloned system utilizes different printers, update the target system with the new printer settings </li></ul></ul></ul><ul><ul><li>Update Workflow and other configuration settings </li></ul></ul><ul><ul><ul><li>Cloning an instance will not update the host- and instance-specific information used by Oracle Workflow and other components </li></ul></ul></ul><ul><ul><ul><li>Refer to the following slides to confirm there is no instance-specific data on the target system </li></ul></ul></ul>
    27. 27. Check for and Update Instance-Specific Settings Value starts with http://<old web host>. Update to new web host Column Value Details: TEXT_VALUE Column Name: WF_NOTIFICATION_ATTRIBUTES Table Name:
    28. 28. Check for and Update Instance-Specific Settings Value starts with http://<old web host>. Update to new web host Column Value Details: TEXT_VALUE Column Name: WF_ITEM_ATTRIBUTE_VALUES Table Name:
    29. 29. Check for and Update Instance-Specific Settings Using the Workflow Administrator Web Applications responsibility, create a new system defined as the new global database name Column Value Details: GUID Column Name: WF_SYSTEMS Table Name:
    30. 30. Check for and Update Instance-Specific Settings Replace value with the database global name Column Value Details: NAME Column Name: WF_SYSTEMS Table Name:
    31. 31. Check for and Update Instance-Specific Settings Update database link with new database global name Column Value Details: ADDRESS Column Name: WF_AGENTS Table Name:
    32. 32. Check for and Update Instance-Specific Settings Update with the new web host name Column Value Details: WEB_HOST_NAME Column Name: FND_FORM_FUNCTIONS Table Name:
    33. 33. Check for and Update Instance-Specific Settings Update to point at the new PL/SQL listener name Column Value Details: WEB_AGENT_NAME Column Name: FND_FORM_FUNCTIONS Table Name:
    34. 34. Check for and Update Instance-Specific Settings Update with the correct path to the log file directory Column Value Details: LOGFILE_NAME Column Name: FND_CONCURRENT_REQUESTS Table Name:
    35. 35. Check for and Update Instance-Specific Settings Update with the new directory path on the target system Column Value Details: OUTFILE_NAME Column Name: FND_CONCURRENT_REQUESTS Table Name:
    36. 36. Other Finishing Tasks <ul><ul><li>Verify the setting of the APPLCSF environment variable </li></ul></ul><ul><ul><ul><li>To modify it if needed, update the value of the s_applcsf variable in the context file and run AutoConfig </li></ul></ul></ul><ul><ul><li>Verify the value of the SESSION_COOKIE_DOMAIN in ICX_PARAMETERS </li></ul></ul><ul><ul><ul><li>Will need to be updated if the target system is in a different domain from the source system, and SESSION_COOKIE_DOMAIN was not null in the source system </li></ul></ul></ul>
    37. 37. Module Summary <ul><li>In this module, you should have learned how to do the following: </li></ul><ul><ul><li>Describe situations where cloning can be used </li></ul></ul><ul><ul><li>Describe the Rapid Clone utility </li></ul></ul><ul><ul><li>Detail the phases of the cloning process </li></ul></ul><ul><ul><li>Perform the steps within each of the phases </li></ul></ul><ul><ul><li>Perform the finishing tasks to complete cloning </li></ul></ul>
    38. 38. Module Discussion <ul><ul><li>Name some situations that may require cloning of Oracle Applications </li></ul></ul><ul><ul><li>What are the features of Rapid Clone? </li></ul></ul><ul><ul><li>Describe the main stages of the cloning process </li></ul></ul>
    39. 39. Module Practice <ul><ul><li>Performing clone prerequisite tasks </li></ul></ul><ul><ul><li>Cloning Oracle Applications </li></ul></ul><ul><ul><li>Performing finishing tasks </li></ul></ul>

    ×