Multinode Conversion and LB Configuration on EBS 12.2.10 + 12c DB

  1. Backup the $CONTEXT_FILE & perform following, 

  

The value of the variable s_atName is defaulted to the hostname of the primary application tier node.  

In addition to setting the s_atName to the hostname of the primary application tier, the value of the applications context variable “ s_shared_file_system” also need to be set to true.  

  

      

S_atName= AT_am501amerap0001 

s_shared_file_system=true 

  1. Autoconfig 

Run autoconfig post $CONTEXT_FILE changes 

  1. Source Patch_fs 

./EBSapps.ev patch 

  1. Patch FS 

Update the Patch $CONTEXT_FILE  

  1. Update the DB 

[applmgr@AM501AMERAP0005 ~]$ $ADJVAPRG oracle.apps.ad.autoconfig.oam.CtxSynchronizer action=upload contextfile=/u01/install/APPS/fs2/inst/apps/TEST_am501amerap0005/appl/admin/TEST_am501amerap0005.xml logfile=/tmp/patchctxupload.log 

                ————————————————————————————————————————– 

                [applmgr@AM501AMERAP0005 ~]$ cat /tmp/patchctxupload.log 

                   ADX Database Utility 

getConnectionUsingAppsJDBCConnector() à 

    APPS_JDBC_URL=’jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(LOAD_BALANCE=YES)(FAILOVER=YES)(ADDRESS=(PROTOCOL=tcp)(HOST=am501amerdb0002.ad.global)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=TEST)))’ 

    Trying to connect using APPS_JDBC_URL 

    Connection obtained. 

——————-ADX Database Utility Finished————— 

                   ADX Database Utility 

getConnectionUsingAppsJDBCConnector() à 

    APPS_JDBC_URL=’jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(LOAD_BALANCE=YES)(FAILOVER=YES)(ADDRESS=(PROTOCOL=tcp)(HOST=am501amerdb0002.ad.global)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=TEST)))’ 

    Trying to connect using APPS_JDBC_URL 

    Connection obtained. 

——————-ADX Database Utility Finished————— 

[applmgr@AM501AMERAP0005 ~]$ 

  1. Run fs_clone on “run” file system 

adop phase=fs_clone 

adop -status 

  1. Start admin server on the run_fs 

$INST_TOP/admin/scripts/adadminsrvctl.sh start 

  1. Start the adminserver on the patch_fs 

$INST_TOP/admin/scripts/adadminsrvctl.sh start forcepatchfs 

  1. Preclone on RUN FS 

$INST_TOP/admin/scripts/adpreclone.pl appsTier 

  1. Preclone on PATCH FS 

$INST_TOP/admin/scripts/adpreclone.pl appsTier 

  1. Stop firewalld on AM501AMERAP0005 and AM501AMERAP0006 

sudo systemctl status firewalld 

sudo systemctl stop firewalld 

  1. Adding Connection Filter Rule for a new Application tier node – Run Filesystem 

java -cp $CLASSPATH:/u01/install/APPS/fs1/FMW_Home/wlserver_10.3/server/lib/weblogic.jar oracle.apps.ad.tools.configuration.RegisterNodePreReq add-filter-rule -contextfile /u01/install/APPS/fs1/inst/apps/TEST_am501amerap0005/appl/admin/TEST_am501amerap0005.xml -hostname AM501AMERAP0006.ad.global 

[applmgr@AM501AMERAP0005 ~]$ . EBSapps.env 

  E-Business Suite Environment Information 

  —————————————- 

  RUN File System           : /u01/install/APPS/fs1/EBSapps/appl 

  PATCH File System         : /u01/install/APPS/fs2/EBSapps/appl 

  Non-Editioned File System : /u01/install/APPS/fs_ne 

  DB Host: am501amerdb0002.ad.global  Service/SID: TEST 

  E-Business Suite Environment Setting 

  ———————————— 

  – Enter [R/r] for sourcing Run File System Environment file, or 

  – Enter [P/p] for sourcing Patch File System Environment file, or 

  – Enter anything else to exit 

  Please choose the environment file you wish to source [R/P]:R 

  Sourcing the RUN File System … 

[applmgr@AM501AMERAP0005 ~]$ pwd 

/home/applmgr 

[applmgr@AM501AMERAP0005 ~]$ java -cp $CLASSPATH:/u01/install/APPS/fs1/FMW_Home/wlserver_10.3/server/lib/weblogic.jar oracle.apps.ad.tools.configuration.RegisterNodePreReq add-filter-rule -contextfile /u01/install/APPS/fs1/inst/apps/TEST_am501amerap0005/appl/admin/TEST_am501amerap0005.xml -hostname AM501AMERAP0006.ad.global 

For details please refer log file /home/applmgr/RegisterNodePreReq.log 

Enter the WebLogic Server Admin Password: 

add-filter-rule option executed successfully. 

[applmgr@AM501AMERAP0005 ~]$ cat /home/applmgr/RegisterNodePreReq.log 

Validated the passed arguments for the option add-filter-rule 

Validating hostname :AM501AMERAP0006.ad.global 

Validating the AM501AMERAP0006.ad.global :true 

Existing Connection Filter rules: 

[am501amerap0005.ad.global * * allow, 0.0.0.0/0 * * deny] 

Updating Connection Filter rules: 

[am501amerap0005.ad.global * * allow, AM501AMERAP0006.ad.global * * allow   #MT, 0.0.0.0/0 * * deny] 

[applmgr@AM501AMERAP0005 ~]$ 

java -cp $CLASSPATH:/u01/install/APPS/fs1/FMW_Home/wlserver_10.3/server/lib/weblogic.jar oracle.apps.ad.tools.configuration.RegisterNodePreReq add-filter-rule -contextfile /u01/install/APPS/fs1/inst/apps/TEST_am501amerap0005/appl/admin/TEST_am501amerap0005.xml -hostname am501amerap0006.ad.global 

[applmgr@AM501AMERAP0005 Heema]$ java -cp $CLASSPATH:/u01/install/APPS/fs1/FMW_Home/wlserver_10.3/server/lib/weblogic.jar oracle.apps.ad.tools.configuration.RegisterNodePreReq add-filter-rule -contextfile /u01/install/APPS/fs1/inst/apps/TEST_am501amerap0005/appl/admin/TEST_am501amerap0005.xml -hostname am501amerap0006.ad.global^C 

[applmgr@AM501AMERAP0005 Heema]$ ls -ltr /u01/install/APPS/fs1/FMW_Home/wlserver_10.3/server/lib/weblogic.jar 

-rwxr-x— 1 applmgr oinstall 36339849 May 11 18:15 /u01/install/APPS/fs1/FMW_Home/wlserver_10.3/server/lib/weblogic.jar 

[applmgr@AM501AMERAP0005 Heema]$ ls -ltr /u01/install/APPS/fs1/inst/apps/TEST_am501amerap0005/appl/admin/TEST_am501amerap0005.xml 

-rw-r–r–1 applmgr oinstall 121325 May 12 17:48 /u01/install/APPS/fs1/inst/apps/TEST_am501amerap0005/appl/admin/TEST_am501amerap0005.xml 

[applmgr@AM501AMERAP0005 Heema]$ java -cp $CLASSPATH:/u01/install/APPS/fs1/FMW_Home/wlserver_10.3/server/lib/weblogic.jar oracle.apps.ad.tools.configuration.RegisterNodePreReq add-filter-rule -contextfile /u01/install/APPS/fs1/inst/apps/TEST_am501amerap0005/appl/admin/TEST_am501amerap0005.xml -hostname am501amerap0006.ad.global 

For details please refer log file /home/applmgr/Heema/RegisterNodePreReq.log 

Enter the WebLogic Server Admin Password: 

add-filter-rule option executed successfully. 

[applmgr@AM501AMERAP0005 Heema]$ cat /home/applmgr/Heema/RegisterNodePreReq.log 

Validated the passed arguments for the option add-filter-rule 

Validating hostname :am501amerap0006.ad.global 

Validating the am501amerap0006.ad.global :true 

Existing Connection Filter rules: 

[am501amerap0005.ad.global * * allow, AM501AMERAP0006.ad.global * * allow   #MT, 0.0.0.0/0 * * deny] 

Updating Connection Filter rules: 

[am501amerap0005.ad.global * * allow, AM501AMERAP0006.ad.global * * allow   #MT, am501amerap0006.ad.global * * allow   #MT, 0.0.0.0/0 * * deny] 

[applmgr@AM501AMERAP0005 Heema]$ 

  1. Adding Connection Filter Rule for a new Application tier node – Patch Filesystem 

. EBSenv Patch 

java -cp $CLASSPATH:/u01/install/APPS/fs2/FMW_Home/wlserver_10.3/server/lib/weblogic.jar oracle.apps.ad.tools.configuration.RegisterNodePreReq add-filter-rule -contextfile /u01/install/APPS/fs2/inst/apps/TEST_am501amerap0005/appl/admin/TEST_am501amerap0005.xml -hostname AM501AMERAP0006.ad.global 

java -cp $CLASSPATH:/u01/install/APPS/fs2/FMW_Home/wlserver_10.3/server/lib/weblogic.jar oracle.apps.ad.tools.configuration.RegisterNodePreReq add-filter-rule -contextfile /u01/install/APPS/fs2/inst/apps/TEST_am501amerap0005/appl/admin/TEST_am501amerap0005.xml -hostname am501amerap0006.ad.global 

  1. Enable SSH connectivity 

Enable SSH connectivity between the nodes 

                Login as applmgr 

                 cd $HOME 

cd .ssh 

ssh-keygen -t rsa on each node and take defaults 

Login to AM501AMERAP0005: cp id_rsa.pub id_rsa.pub_cm 

Login to AM501AMERAP0006: cp id_rsa.pub id_rsa.pub_app 

scp id_rsa.pub_cm from AM501AMERAP0005 to AM501AMERAP0006 

scp id_rsa.pub_app from AM501AMERAP006 to AM501AMERAP0005 

mv authorized_keys authorized_keys_bkp 

for the AM501AMERAP0005/ AM501AMERAP0006 

cat id_rsa.pub>authorized_keys 

 

scp id_rsa.pub_cm from AM501AMERAP0005 to AM501AMERAP0006 

scp id_rsa.pub_app from AM501AMERAP006 to AM501AMERAP0005 

On AM501AMERAP0005 

cat id_rsa.pub_app>>authorized_keys 

On AM501AMERAP0006 

cat id_rsa.pub_cm>> authorized_keys 

 

Validate the ssh connectivity 

On AM501AMERAP0005 

ssh AM501AMERAP0005 – Self ssh 

ssh AM501AMERAP0006  

On AM501AMERAP0006 

ssh AM501AMERAP0006  – Self ssh  

ssh AM501AMERAP0005 

  1. Prepare the pair file 

/BACKUPS/TEST/TEST_am501amerap0005_run.txt 

  1. Set the env on the new node 

On the app node, perform the following. 

  

[applmgr@AM501AMERAP0006 ~]$ export PATH=/u01/install/APPS/fs1/FMW_Home/webtier/perl/bin:$PATH 

[applmgr@AM501AMERAP0006 ~]$ cd /u01/install/APPS/fs1/EBSapps/comn/clone/bin 

[oracle@am501amerdb0002 ETCC]$ sh checkDBpatch.sh 

[applmgr@AM501AMERAP0005 ETCC]$ sh checkMTpatch.sh 

  1. Add node 

/u01/install/APPS/fs1/FMW_Home/webtier/perl/bin/perl ./adclonectx.pl addnode contextfile=/u01/install/APPS/fs1/inst/apps/TEST_am501amerap0005/appl/admin/TEST_am501amerap0005.xml pairsfile=/BACKUPS/TEST/TEST_am501amerap0005_run.txt dualfs=yes 

[applmgr@AM501AMERAP0006 ~]$ export PATH=/u01/install/APPS/fs1/FMW_Home/webtier/perl/bin:$PATH 

[applmgr@AM501AMERAP0006 ~]$ cd /u01/install/APPS/fs1/EBSapps/comn/clone/bin 

[applmgr@AM501AMERAP0006 bin]$ /u01/install/APPS/fs1/FMW_Home/webtier/perl/bin/perl ./adclonectx.pl addnode contextfile=/u01/install/APPS/fs1/inst/apps/TEST_am501amerap0005/appl/admin/TEST_am501amerap0005.xml pairsfile=/BACKUPS/TEST/TEST_am501amerap0005_run.txt dualfs=yes 

                     Copyright I 2011, 2015 Oracle Corporation 

                        Redwood Shores, California, USA 

                        Oracle E-Business Suite Rapid Clone 

                                 Version 12.2 

                      adclonectx Version 120.30.12020000.22 

Enter the APPS passwd : 

Enter the Weblogic AdminServer password : 

 Executing command: /u01/install/APPS/fs1/EBSapps/comn/clone/bin/../jre/bin/java -Xmx600M -Doracle.jdbc.autoCommitSpecCompliant=false -classpath /u01/install/APPS/fs1/EBSapps/comn/clone/bin/../jlib/ojdbc6.jar:/u01/install/APPS/fs1/EBSapps/comn/clone/bin/../jlib/xmlparserv2.jar:/u01/install/APPS/fs1/EBSapps/comn/clone/bin/../jlib/java::/u01/install/APPS/fs1/FMW_Home/wlserver_10.3/server/lib/weblogic.jar:/u01/install/APPS/fs1/EBSapps/comn/clone/bin/../jlib/wlfullclient.jar:/u01/install/APPS/fs1/EBSapps/comn/clone/bin/../jlib/wlclient.jar:/u01/install/APPS/fs1/EBSapps/comn/clone/bin/../jlib/wljmxclient.jar:/u01/install/APPS/fs1/EBSapps/comn/clone/bin/../jlib/ojmisc.jar:/u01/install/APPS/fs1/EBSapps/comn/clone/bin/../jlib/obfuscatepassword.jar:/u01/install/APPS/fs1/EBSapps/comn/clone/bin/../jlib/emCfg.jar oracle.apps.ad.clone.RCloneSFSAddNode -contextfile /u01/install/APPS/fs1/inst/apps/TEST_am501amerap0005/appl/admin/TEST_am501amerap0005.xml -configfile /BACKUPS/TEST/TEST_am501amerap0005_run.txt -machinelistenaddress am501amerap0006.ad.global -logdir /u01/install/APPS/fs1/EBSapps/comn/clone/bin/../FMW/logs/sfslog -promptmsg hide 

Verifying: Apps schema password 

Verifying: 

        pairsfile /BACKUPS/TEST/TEST_am501amerap0005_run.txt 

        Run file system AdminServer is running 

        Patch file system AdminServer is running 

        Run file system domain 

        Patch file system domain 

Executing: run clone context… 

Log file located at /u01/install/APPS/fs1/EBSapps/comn/clone/bin/../FMW/logs/sfslog/run/RCloneSFSAddNode_05131337.log 

Target System Base Directory set to /u01/install/APPS 

Target System Current File System Base set to /u01/install/APPS/fs1 

Target System Other File System Base set to /u01/install/APPS/fs2 

Target System Fusion Middleware Home set to /u01/install/APPS/fs1/FMW_Home 

Target System Other File System Fusion Middleware Home set to /u01/install/APPS/fs2/FMW_Home 

Target System Web Oracle Home set to /u01/install/APPS/fs1/FMW_Home/webtier 

Target System Other File System Web Oracle Home set to /u01/install/APPS/fs2/FMW_Home/webtier 

Target System Appl TOP set to /u01/install/APPS/fs1/EBSapps/appl 

Target System Other File System Appl TOP set to /u01/install/APPS/fs2/EBSapps/appl 

Target System COMMON TOP set to /u01/install/APPS/fs1/EBSapps/comn 

Target System Other File System COMMON TOP set to /u01/install/APPS/fs2/EBSapps/comn 

Target System Current File System Instance Top set to /u01/install/APPS/fs1/inst/apps/TEST_am501amerap0006 

Report file located at /u01/install/APPS/fs1/inst/apps/TEST_am501amerap0006/admin/out/portpool.lst 

The new APPL_TOP context file has been created : 

  /u01/install/APPS/fs1/inst/apps/TEST_am501amerap0006/appl/admin/TEST_am501amerap0006.xml 

contextfile=/u01/install/APPS/fs1/inst/apps/TEST_am501amerap0006/appl/admin/TEST_am501amerap0006.xml 

Configuring: run fs add node… 

Executing: patch clone context… 

Log file located at /u01/install/APPS/fs1/EBSapps/comn/clone/bin/../FMW/logs/sfslog/patch/RCloneSFSAddNode_05131344.log 

Target System Other File System Instance Top set to /u01/install/APPS/fs2/inst/apps/TEST_am501amerap0006 

Report file located at /u01/install/APPS/fs2/inst/apps/TEST_am501amerap0006/admin/out/portpool.lst 

The new APPL_TOP context file has been created : 

  /u01/install/APPS/fs2/inst/apps/TEST_am501amerap0006/appl/admin/TEST_am501amerap0006.xml 

contextfile=/u01/install/APPS/fs2/inst/apps/TEST_am501amerap0006/appl/admin/TEST_am501amerap0006.xml 

Configuring: patch fs add node… 

— Add node operation completed – 

Node am501amerap0006.ad.global has been added successfully 

[applmgr@AM501AMERAP0006 bin]$ 

  1. Run Autoconfig in the following order only  5-6-5 (CM-WEB-CM)  

19. Start EBS Clone Environment and Validate Multi-Node EBS (One Node has “CM” and One Node has “Web”) and DB node. Start the EBS services from “run” filesystem and validate the front-end forms.

http://am501amerap0006.ad.global:8000/OA_HTML/AppsLogin 

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s