Vous êtes sur la page 1sur 17

ERPPGJJ1 Shared APPL_TOP Clone Document

1) SOURCE Instance Details:


ERPPGJB2

2) TARGET Instance Details:


ERPPGJJ1 virtual name: ERPPGJJ1.energy.ge.com web node: --------virtual name: erpiix80.energy.ge.com

3) Target Instance backed up files Locations (for our reference)


We may restore these files incase of issues after running Autoconfig. Directory Structure for the BACKUP_ERPPGJJ1 files as appssid & orasid user On DB node as apps user ----------------------erpiix80@tsgsd1006 # cd erpiix80@tsgsd1006 # ls total 1218 -rw-r--r-1 erpiix80 -rw-r--r-1 erpiix80 drwxr-xr-x 2 erpiix80 drwxr-xr-x 2 erpiix80 drwxr-xr-x 7 erpiix80 drwxr-xr-x 2 erpiix80 drwxr-xr-x 2 erpiix80

BACKUP_erppgjj1_erppgjj1 -ltr dbapgja2 dbapgja2 dbapgja2 dbapgja2 dbapgja2 dbapgja2 dbapgja2 581002 27348 512 512 2048 1024 512 Jul Jul Jul Jul Jul Jul Jul 3 3 3 3 3 3 3 09:28 09:28 09:28 09:28 09:28 09:28 09:28 respon.dat L1524812.log 8.0.6 appl iAS IAS_CONFIG_HOME TOOLS_ORACLE_HOME

On dbnode as ora user ----------------------1) init.ora file 2) env's 3) dblinks 4) Xml file 5) Tnsnames.ora 6) Listener.ora 7) Sabrix_info ( sqlplus gepssabrix/gepssabrix123 (or) sqlplus sabrix/sabrix123 - select * from SABRIX_CONNECTIONS; )

Classification : INTERNAL Classification: Birlasoft Confidential

4) Bring Down Target Instance


cd $COMMON_TOP/admin/scripts/$CONTEXT_NAME ./adstpall.sh apps/***** ps -ef | grep erpiix80 ------> as appsuser on DB Tier & Apps Tier

Make sure that there are no apps services processes running as apps user before bringing down DB. As ora user sqlplus "/ as sysdba" sql>SHUTDOWN IMMEDIATE $ lsnrctl stop $ORACLE_SID ps -ef | grep oraPGJA2 ------> on DB Tier.

5) Remove the files system of the target node 6) Copy Backup to Target Servers using scp commands
Eg: scp -rp ksriniva@tsgsd1005:/backup/GNEA1_BACKUP_TO_CLONE_GNEB1_DO_NOT_DELETE/*. dbf.Z .

7) Run adcfgclone.pl as ora user on DB Tier


Note: Before we run adcfgclone.pl Check the entries in Orainventory in /var/opt/oracle/oraInst.loc inventory_loc=/erppgjj1/oracle/oraInventory inst_group=dbapgja2 # comment all entries except the above one # Before this do check orainventory has the right permissions # Remove all source env files to backup directory cd /erppgjj1/oracle/10.2.0/appsutil/clone/bin # perl adcfgclone.pl dbTechStack Enter the APPS password [APPS] : <source instance pwd> First Creating a new context file for the cloned system. The program is going to ask you for information about the new system: Provide the values required for creation of the new Database Context file. Do you want to use a virtual hostname for the target node (y/n) [n]: y

Target hostname [<sourceSID>]:<erppgjj1> Target instance is a Real Application Cluster (RAC) instance (y/n) [n]:n Target System database name [<sourceSID>]:<erppgjj1> Target system RDBMS ORACLE_HOME directory [/<sourceSID>/oracle/10.2.0]:/erppgjj1/oracle/10.2.0 Target system utl_file accessible directories list [/<sourceSID>/erppgjj1/comn/temp]: / gpsird80/erpapp/comn/temp,/usr/tmp,/gpsird80/oracle/10.2.0/appsutil/out bound/gpsird80_gpsird80 Number of DATA_TOP's on the target system [4]:1 (check the number of mount points) Target system DATA_TOP 1:/erppgjj1/dbdata/data1 Do you want to preserve the Display set to <sourceSID>:0.0 (y/n) [y] ?:n Target system Display [ERPPGJJ1:0.0]: < Just Press Enter Here > Do you want to preserve the port values from the source system on the target system (y/n) [y] ?:n Clone Context uses the same port pool mechanism as the Rapid Install Once you choose a port pool, Clone Context will validate the port availability. Enter the port pool number [0-99]: 65 * Please check port pool file of target instance & enter that value here Checking the port pool 65 done: Port Pool 65 is free Database port is 1612 Backing up /ERPPGJJ1/oracle/10.2.0/appsutil/ERPPGJJ1_ERPPGJJ1.xml to / ERPPGJJ1/oracle/10.2.0/appsutil/ERPPGJJ1_ERPPGJJ1.xml.bak Creating the new Database Context file from : /ERPPGJJ1/oracle/10.2.0/appsutil/template/adxdbctx.tmp The new database context file has been created : /ERPPGJJ1/oracle/10.2.0/appsutil/ERPPGJJ1_ERPPGJJ1.xml Log file located at /ERPPGJJ1/oracle/10.2.0/appsutil/clone/bin/CloneContext_05230104.log Running Rapid Clone with command: perl /ERPPGJJ1/oracle/10.2.0/appsutil/clone/bin/adclone.pl java=/ERPPGJJ1/oracle/10.2.0/appsutil/clone/bin/../jre mode=apply Classification : INTERNAL Classification: Birlasoft Confidential

stage=/ERPPGJJ1/oracle/10.2.0/appsutil/clone/bin/.. component=dbTechStack method=CUSTOM dbctxtg=/ERPPGJJ1/oracle/10.2.0/appsutil/ERPPGJJ1_ERPPGJJ1.xml showProgress contextValidated=true Beginning rdbms Log file located at home Apply - Wed May 23 01:06:19 2007/ERPPGJJ1/oracle/10.2.0/appsutil/log/ERPPGJJ1_ERPPGJJ1/ApplyDBTechS tack_05230106.log adlnkoh.sh completed successfully .end std out. .end err out. Completed relink of ORACLE_HOME - RDBMS Completed relinking. ApplyDBTechStack Completed Successfully.. Continuously monitor alert.log till completing the cloning process Tail f <log file location> in another session NOTE: Restore the initERPPGJJ1.ora file from the backup cp $HOME/BACKUP_PGJA2/ORACLE/initerppgjj1.ora $ORACLE_HOME/dbs

9) Create control file manually and bring up the DB


ls -ltr /erppgjj1/dbdata/data1/*.dbf | awk {'print $9'} > a.sql
# Before Creating Control File make sure that there are no temp*.dbf, cnt*.dbf and log*.dbf file in data mount points Example: cd rm rm rm /ERPPGJJ1/dbdata/data1 temp* log* cnt*

# make sure that there are no *.err *.log in /ERPPGJJ1/dbdata/data1 # Cross check no of datafiles in this mountpoint with source datafiles To get all the Data files by using the following command. cd /customproj/EDD/postclone/JULIET/ERPPGJJ1 ls -ltr /erppgjj1/dbdata/data1/*.dbf* | awk {'print $9'} > cntcreate.sh

# Control files parameter must have following entry in $ORACLE_HOME/dbs/initerppgjj1.ora as follows: control_files=ERPPGJJ1/dbdata/data1/cntrl01.dbf,/ERPPGJJ1/redo1/cntrl02 .dbf,/ERPPGJJ1/redo2/cntrl03.dbf STARTUP NOMOUNT CREATE CONTROLFILE SET DATABASE "ERPPGJJ1" RESETLOGS NOARCHIVELOG MAXLOGFILES 5 MAXLOGMEMBERS 5 MAXDATAFILES 1000 MAXINSTANCES 1 MAXLOGHISTORY 1134 LOGFILE GROUP 1 ( '/ERPPGJJ1/redo1/log1a.dbf', '/ERPPGJJ1/redo1/log1b.dbf' ) SIZE 300M, GROUP 2 ( '/ERPPGJJ1/redo2/log2a.dbf', '/ERPPGJJ1/redo2/log2b.dbf' ) SIZE 300M GROUP 3 ( '/erppgjj1/dbdata/redo1/log3a.dbf', '/erppgjj1/dbdata/redo2/log3b.dbf' ) SIZE 300M -- STANDBY LOGFILE STANDBY LOGFILE DATAFILE ' /ERPPGJJ1/dbdata/data1/file1.dbf ', ........., .........., ..........., ..........., '/ERPPGJJ1/dbdata/data1/filen.dbf' CHARACTER SET UTF8 ; Control file Created. SQL> alter database open resetlogs; # Check alert log file.... if there are no errors continue with next step. After open the DB , Please add the following temp files. ALTER TABLESPACE TEMP ADD TEMPFILE '/ERPPGJJ1/dbdata/temp/temp01.dbf' size 2000M autoextend off;

Classification : INTERNAL Classification: Birlasoft Confidential

ALTER TABLESPACE TEMP ADD TEMPFILE '/ERPPGJJ1/dbdata/temp/temp02.dbf' size 2000M autoextend off; ALTER TABLESPACE TEMP ADD TEMPFILE '/ERPPGJJ1/dbdata/temp/temp03.dbf' size 2000M autoextend off; SQL> select FILE_NAME from dba_data_files where '%MISSING%'; no rows selected SQL> FILE_NAME like

10) Start Listener (if not started already)


lsnrctl start $ORACLE_SID

11) Run adcfgclone.pl as app user on DB Tier


ps -ef | grep erpiix80 # Remove the following soft links as they will be recreated by the adcfgclone Example: cd /erppgjj1/erpapp/iAS rm 6iserver -- If it is directory, do not remove. cd /erppgjj1/erpapp/iAS/Apache rm jdk Example: /var/opt/oracle/oraInst.loc should have valid entries and permissions, inventory_loc=/erppgjj1/erpapp/oraInventory inst_group=dbaerppgjj1 # Comment all the entries except the above one

Run adcfgclone on Admin node Reference:


Login as appes on the admin node. Do not source environment file. Comment the environment file in .profile if it is being called. Set minimum environment variables manually: TWO_TASK=ERPPGJJ1;export TWO_TASK IAS_ORACLE_HOME=/erppgjj1/erpapp/iAS PERLBIN=/erppgjj1/erpapp/iAS/Apache/perl/bin; export PERLBIN PATH=/erppgjj1/erpapp/iAS/Apache/perl/bin:/erppgjj1/erpapp/8.0.6 /bin:/erppgjj1/erpapp/appl/fnd/11.5.0/bin:/erppgjj1/erpapp/ appl/ad/11.5.0/bin:/erppgjj1/erpapp/comn/util/jdk1.6.0_05/b in/java export PATH=$PATH:/usr/bin:/usr/ccs/bin:/usr/sbin:/bin:usr/xpg4/bi n:/sbin:/usr/openwin/bin:/usr/ucb:/usr/local/bin:/usr/dt/bi n export PERL5LIB=/erppgjj1/erpapp/iAS/Apache/perl/lib/5.00503:/erpp gjj1/erpapp/iAS/Apache/perl/lib/site_perl/5.005:/erppgjj1/e rpapp/appl/au/11.5.0/perl export ADPERLPRG=/erppgjj1/erpapp/iAS/Apache/perl/bin/perl execute the following commands to configure the apps tier : $ cd /erppgjj1/erpapp/comn/java $ chmod -R u+w *

(Note: This step is required because some of the files under this directory are with just read permission, which causes problem during the merge process when the files are overwritten) Ensure that /var/opt/oracle/oraInst.loc file is pointing to the correct oraInventory file and this file has proper permissions.

$ cd /erppgjj1/erpapp/comn/clone/bin $ perl adcfgclone.pl appsTier

erpiix80@tsgsd1006 # perl adcfgclone.pl appsTier Enter the APPS password [APPS]: ******* First Creating a new context file for the cloned system. The program is going to ask you for information about the new system: Provide the values required for creation of the new APPL_TOP Context file. Do you want to use a virtual hostname for the target node (y/n) [n] ?:y
Classification : INTERNAL Classification: Birlasoft Confidential

Target hostname [apppgjb2]:erppgjj1 Target system database SID [erppgjb2]:erppgjj1 Target system database server node [erppgjb2]:erppgjj1 Target system database domain name [energy.ge.com]: Does the target system have more than one application tier server node (y/n) [y] ?: Does the target system application tier utilize multiple domain names (y/n) [n] ?: Target system concurrent processing node [erppgjb2]:erppgjj1 Target system administration node [erppgjb2]:erppgjj1 Target system forms server node [apppgjb2]:erpiix80 Target system web server node [apppgjb2]:erpiix80 Is the target system APPL_TOP divided into multiple mount points (y/n) [n] ?: Target system APPL_TOP mount point [/erppgjb2/erpapp/appl]:/erppgjj1/erpapp/appl Target system COMMON_TOP directory [/erppgjb2/erpapp/comn]:/erppgjj1/erpapp/comn Target system 8.0.6 ORACLE_HOME directory [/erppgjb2/erpapp/8.0.6]:/erppgjj1/erpapp/8.0.6 Target system iAS ORACLE_HOME directory [/erppgjb2/erpapp/iAS]:/erppgjj1/erpapp/iAS Do you want to preserve the Display set to apppgjb2:0.0 (y/n) [y] ?:n Target system Display [erppgjj1:0.0]: Do you want to preserve the port values from the source system on the target system (y/n) [y] ?:n Clone Context uses the same port pool mechanism as the Rapid Install Once you choose a port pool, Clone Context will validate the port availability.

Enter the port pool number [0-99]: 65 Checking the port pool 65 done: Port Pool 65 is free Complete port information available at /erppgjj1/erpapp/appl/admin/out/erppgjj1_erppgjj1/portpool. lst Verifying Database Connection... Database Connection on Port 1586: Successful UTL_FILE_DIR on database tier consists of the following directories. 1. /erppgjj1/erpcsf/temp 2. /usr/tmp 3. /erppgjj1/oracle/10.2.0/appsutil/outbound/erppgjj1_erppgjj1 4. /usr/tmp Choose a value which will be set as APPLPTMP value on the target node [1]:

12) Clone Context File on Admin Node Reference:


Login as applmgr on the admin node: Rename existing context file : mv /erppgjj1/erpapp/appl/admin/erppgjj1_erppgjj1.xml /erppgjj1/erpapp/appl/admin/erppgjj1_erppgjj1.xml.old $cd $AD_TOP/bin /erppgjl1/erpapp/appl/ad/11.5.0/bin $perl adclonectx.pl sharedappltop contextfile=/erppgjj1/erpapp/appl/admin/erppgjj1_erppgjj1.xml.ol d erpiix80@tsgsd1006 # perl adclonectx.pl sharedappltop contextfile=/erppgjj1/erpapp/appl/admin/erppgjj1_erppgjj1.xml.ol d sh: -version: not found /erppgjj1/erpapp/comn/util/jdk1.6.0_05/bin/java -classpath /erppgjj1/erpapp/iAS/jdbc/lib/classes12.zip:/erppgjj1/erpapp/com n/java/xmlparserv2.zip:/erppgjj1/erpapp/comn/util/jdk1.6.0_05/li b/rt.jar:/erppgjj1/erpapp/comn/java:/erppgjj1/erpapp/comn/util/j dk1.6.0_05/lib/dt.jar:/erppgjj1/erpapp/comn/util/jdk1.6.0_05/lib /tools.jar:/erppgjj1/erpapp/comn/util/jdk1.6.0_05/jre/lib/rt.jar
Classification : INTERNAL Classification: Birlasoft Confidential

:/erppgjj1/erpapp/comn/util/jdk1.6.0_05/jre/lib/charsets.jar:/er ppgjj1/erpapp/comn/java/appsborg2.zip:/erppgjj1/erpapp/comn/java /apps.zip:/erppgjj1/erpapp/8.0.6/forms60/java:/erppgjj1/erpapp/c omn/java:/erppgjb2/erpapp/appl/geps/gepsmsca/1.0.0 oracle.apps.ad.context.CloneContext -e /erppgjj1/erpapp/appl/admin/erppgjj1_erppgjj1.xml.old -sharedappltop -perl "/erppgjj1/erpapp/iAS/Apache/perl/bin/perl" -perl5lib "/erppgjj1/erpapp/iAS/Apache/perl/lib/5.00503:/erppgjj1/erpapp/i AS/Apache/perl/lib/site_perl/5.005:/erppgjj1/erpapp/appl/au/11.5 .0/perl" -tmpl ../admin/template/adxmlctx.tmp Provide the values required for creation of the new APPL_TOP Context file. Do you want to use a virtual hostname for the target node (y/n) [n] ?:y Target hostname [erppgjj1]: Do you want to add Admin Server node (y/n) [y] ?: Do you want to add Concurrent Processing Server node (y/n) [y] ?: Do you want to add Forms Server node (y/n) [y] ?:n Do you want to add Web Server node (y/n) [y] ?:n Target system 8.0.6 ORACLE_HOME directory [/erppgjj1/erpapp/8.0.6]: Target system iAS ORACLE_HOME directory [/erppgjj1/erpapp/iAS]: Do you want to preserve the Display set to erppgjj1:0.0 (y/n) [y] ?: Database port is 1586 Do you want the middle-tier services on the target system to have the same port values as the source system (y/n) [y] ?: Complete port information available at /erppgjj1/erpapp/appl/admin/out/erppgjj1_erppgjj1/portpool.lst APPS password is required to validate database connection using database port 1586 Enter APPS Password [APPS]:pnapnc01 UTL_FILE_DIR on database tier consists of the following directories.

1. /erppgjj1/erpcsf/temp 2. /usr/tmp 3. /erppgjj1/oracle/10.2.0/appsutil/outbound/erppgjj1_erppgjj1 4. /usr/tmp Choose a value which will be set as APPLPTMP value on the target node [1]: Creating the new APPL_TOP Context file from : /erppgjj1/erpapp/appl/ad/11.5.0/admin/template/adxmlctx.tmp The new APPL_TOP context file has been created : /erppgjj1/erpapp/appl/admin/erppgjj1_erppgjj1.xml Log file located at /erppgjj1/erpapp/appl/admin/erppgjj1/out/CloneContext_07040844.l og

13)Change values for APPLCSF, APPLTMP, APPLPTMP, Apache dirs Reference:


Modify the newly created context file for following: 1) Check the adconfig section and ensure that ALL 7 answers are set to "YES" 2) Ensure that APPLCSF variable is set correctly Edit the context file to point s_applcsf to /erppgjj1/erpcsf <APPLCSF oa_var="s_applcsf">/erppgjj1/erpcsf</APPLCSF> 3) Ensure that APPLTMP and APPLPTMP are set to /erppgjj1/erpcsf/temp <APPLTMP oa_var="s_appltmp">/erppgjj1/erpcsf/temp</APPLTMP> <APPLPTMP oa_var="s_applptmp">/erppgjj1/erpcsf/temp</APPLPTMP> 4) Ensure that Login page is correct in context file: <login_page oa_var="s_login_page">http://erpiix80.energy.ge.com/oa_servlets/ AppsLogin</login_page> 5) Ensure that the domain names are set correctly for application servers as energy.ge.com 6) Point Apache lockfile and pid file to local disk Modify the context file so that the variables s_lock_pid_dir and s_web_pid_file point to directory on a local disk $HOME/.apache. For example Change
Classification : INTERNAL Classification: Birlasoft Confidential

<lock_pid_dir oa_var="s_lock_pid_dir">/export/home/erpiix80/.apache</lock _pid_dir> And change To <web_pid_file oa_var="s_web_pid_file">/export/home/erpiix80/.apache/httpd .pid </web_pid_file>

14)Enable shared application file system on admin node Reference:


Login as appes on the admin node: $ $ $ $ mkdir $COMMON_TOP/conf mkdir $COMMON_TOP/conf/$CONTEXT_NAME cd $FND_TOP/patch/115/bin perl -I $AU_TOP/perl txkSOHM.pl

This script asks response for following prompts: erpiix80@tsgsd1006 # cd $FND_TOP/patch/115/bin erpiix80@tsgsd1006 # pwd /erppgjj1/erpapp/appl/fnd/11.5.0/patch/115/bin erpiix80@tsgsd1006 # perl -I $AU_TOP/perl txkSOHM.pl Absolute path of Application's Context XML file : /erppgjj1/erpapp/appl/admin/erppgjj1_erppgjj1.xml Type of Instance [primary/secondary] : primary Absolute path of 8.0.6 Shared Oracle Home : /erppgjj1/erpapp/8.0.6 Absolute path of iAS Shared Oracle Home : /erppgjj1/erpapp/iAS Absolute path of config top : /erppgjj1/erpapp/comn/conf/erppgjj1_erppgjj1 Oracle Application apps schema password : (Query for Adconfig section in the dbtier context file, Change the values of (s_isAdWeb, s_isAdForms, s_isAdFormsDev , s_isAdWebDev)to <Yes > for forms and web). Re-login once the above task completed to source the environment

15)Enable shared application file system on all web nodes Reference:


Login as appes on all the web nodes Login as appes on the admin node. Do not source environment file. Comment the environment file in .profile if it is being called. Set minimum environment variables manually: TWO_TASK=ERPPGJJ1;export TWO_TASK IAS_ORACLE_HOME=/erppgjj1/erpapp/iAS PERLBIN=/erppgjj1/erpapp/iAS/Apache/perl/bin; export PERLBIN PATH=/erppgjj1/erpapp/iAS/Apache/perl/bin:/erppgjj1/erpapp/8.0.6 /bin:/erppgjj1/erpapp/appl/fnd/11.5.0/bin:/erppgjj1/erpapp/ appl/ad/11.5.0/bin:/erppgjj1/erpapp/comn/util/jdk1.6.0_05/b in/java export PATH=$PATH:/usr/bin:/usr/ccs/bin:/usr/sbin:/bin:usr/xpg4/bi n:/sbin:/usr/openwin/bin:/usr/ucb:/usr/local/bin:/usr/dt/bi n export PERL5LIB=/erppgjj1/erpapp/iAS/Apache/perl/lib/5.00503:/erpp gjj1/erpapp/iAS/Apache/perl/lib/site_perl/5.005:/erppgjj1/e rpapp/appl/au/11.5.0/perl export ADPERLPRG=/erppgjj1/erpapp/iAS/Apache/perl/bin/perl Check the values of these variables s_isWeb, s_isForms, s_isFormsDev, s_isWebDev: <!-- Applications system information --> <oa_system> <oa_system_name oa_var="s_systemname">erppgjj1</oa_system_name> <global_db_name oa_var="s_dbSid">erppgjj1</global_db_name> <global_db_name oa_var="s_dbGlnam"> erppgjj1</global_db_name> <db_name_lower oa_var="s_dbSidLower"> erppgjj1</db_name_lower> <PRINTER oa_var="s_printer">noprint</PRINTER> <oa_system_config> <TIER_DB oa_var="s_isDB">NO</TIER_DB> <TIER_ADMIN oa_var="s_isAdmin">NO</TIER_ADMIN> <TIER_WEB oa_var="s_isWeb">YES</TIER_WEB> <TIER_FORMS oa_var="s_isForms">YES</TIER_FORMS> <TIER_NODE oa_var="s_isConc">NO</TIER_NODE> <TIER_FORMSDEV oa_var="s_isFormsDev">YES</TIER_FORMSDEV> <TIER_NODEDEV oa_var="s_isConcDev">NO</TIER_NODEDEV> <TIER_WEBDEV oa_var="s_isWebDev">YES</TIER_WEBDEV>
Classification : INTERNAL Classification: Birlasoft Confidential

The value of the highlighted variables should be YES. Make sure that $COMMON_TOP/conf/$CONTEXT_NAME directory exists for each web node
$ cd $AD_TOP/bin $ perl adclonectx.pl sharedappltop \ contextfile=$CONTEXT_FILE <Use the context file from admin tier>

erpiix80@tnsd2006 $ cd /erppgjj1/erpapp/appl/ad/11.5.0/bin erpiix80@tnsd2006 $ perl adclonectx.pl sharedappltop contextfile=/erppgjj1/erpapp/appl/admin/erppgjj1_erppgjj1.xml /erppgjj1/erpapp/comn/util/jdk1.6.0_05/bin/java -classpath /erppgjj1/erpapp/iAS/jdbc/lib/classes12.zip:/erppgjj1/erpapp/comn /java/xmlparserv2.zip:/erppgjj1/erpapp/comn/util/jdk1.6.0_05/lib/ rt.jar:/erppgjj1/erpapp/comn/java: oracle.apps.ad.context.CloneContext -e /erppgjj1/erpapp/appl/admin/erppgjj1_erppgjj1.xml -sharedappltop -perl "/usr/bin/perl" -perl5lib "/usr/perl5/5.8.4/lib/sun4solaris64int:/usr/perl5/5.8.4/lib:/usr/perl5/site_perl/5.8.4/sun4solaris64int:/usr/perl5/site_perl/5.8.4:/usr/perl5/site_perl:/usr/perl5/ vendor_perl/5.8.4/sun4-solaris64int:/usr/perl5/vendor_perl/5.8.4:/usr/perl5/vendor_perl:." -tmpl ../admin/template/adxmlctx.tmp Provide the values required for creation of the new APPL_TOP Context file. Do you want to use a virtual hostname for the target node (y/n) [n] ?:y Target hostname [erppgjj1]:erpiix80 Do you want to add Admin Server node (y/n) [y] ?:n Do you want to add Concurrent Processing Server node (y/n) [y] ?:n Do you want to add Forms Server node (y/n) [y] ?: Do you want to add Web Server node (y/n) [y] ?: Target system 8.0.6 ORACLE_HOME directory [/erppgjj1/erpapp/8.0.6]: Target system iAS ORACLE_HOME directory [/erppgjj1/erpapp/iAS]: Do you want to preserve the Display set to erppgjj1:0.0 (y/n) [y] ?: Database port is 1586 Do you want the middle-tier services on the target system to have the same port values as the source system (y/n) [y] ?:

Complete port information available at /erppgjj1/erpapp/appl/admin/out/erppgjj1_erpiix80/portpool.lst APPS password is required to validate database connection using database port 1586 Enter APPS Password [APPS]:********* UTL_FILE_DIR on database tier consists of the following directories. 1. /erppgjj1/erpcsf/temp 2. /usr/tmp 3. /erppgjj1/oracle/10.2.0/appsutil/outbound/erppgjj1_erppgjj1 4. /usr/tmp Choose a value which will be set as APPLPTMP value on the target node [1]:

16)Verify the newly created context file on WEB Node Reference:


Modify the newly created context file for following: 1) check the adconfig section and ensure that ALL 7 answers are set to "YES" 2) Ensure that APPLCSF variable is set correctly Edit the context file to point s_applcsf to /erppgjj1/erpcsf <APPLCSF oa_var="s_applcsf">/erppgjj1/erpcsf</APPLCSF> 3) Ensure that APPLTMP and APPLPTMP are set to /erppgjj1/erpcsf/temp <APPLTMP oa_var="s_appltmp">/erppgjj1/erpcsf/temp</APPLTMP> <APPLPTMP oa_var="s_applptmp">/erppgjj1/erpcsf/temp</APPLPTMP> 4) Ensure that Login page is correct in context file: <login_page oa_var="s_login_page">http://erpiix80.energy.ge.com/oa_servlets/ AppsLogin</login_page> 5) Ensure that the domain names are set correctly for application servers as energy.ge.com 6) Point Apache lockfile and pid file to local disk Modify the context file so that the variables s_lock_pid_dir and s_web_pid_file point to directory on a local disk $HOME/.apache. For example Change <lock_pid_dir oa_var="s_lock_pid_dir">/export/home/erpiix80/.apache</lock _pid_dir> And change
Classification : INTERNAL Classification: Birlasoft Confidential

To <web_pid_file oa_var="s_web_pid_file">/export/home/erpiix80/.apache/httpd .pid </web_pid_file>

17)Enable shared application file system on all web node(s) Reference:


Confirm that the new context file is created with appropriate inputs $ cd $FND_TOP/patch/115/bin $ perl -I $AU_TOP/perl txkSOHM.pl

The script will ask response for following prompts: erpiix80@tnsd2006 $ perl -I /erppgjj1/erpapp/appl/au/11.5.0/perl txkSOHM.pl Absolute path of Application's Context XML file : /erppgjj1/erpapp/appl/admin/erppgjj1_erpiix80.xml Type of Instance [primary/secondary] : secondary Absolute path of 8.0.6 Shared Oracle Home : /erppgjj1/erpapp/8.0.6 Absolute path of iAS Shared Oracle Home : /erppgjj1/erpapp/iAS Absolute path of config top : /erppgjj1/erpapp/comn/conf/erppgjj1_erpiix80 Oracle Application apps schema password : Re-login once the above task completed to source the environment

18) Post Clone Tasks Please perform the below post clone tasks
Modifing and Executing recovery.sql at clone top Changing of apps, sysadmin, standard, cutom schema passwords Dblinks droped and recreated CUSTOM_TOP configuration Softlinks verification Setting DISPLAY as per port pool Adding of physical node and brining up CM Profiles checking Active users submitted in PDF(Check log file for errors) JVM fix APPLCSF,APPLTMP,APPLPTMP verification Modification of pasta.cfg, ixlib.cfg XML Publisher path Aventx Workflow mailer Start mobile server
Upload Responsibilities

Classification : INTERNAL Classification: Birlasoft Confidential