Deleting the managed servers in EBS R12.2:
perl $AD_TOP/patch/115/bin/adProvisionEBS.pl \
ebs-delete-managedserver \
-contextfile=/oracle/product/ebs/fs1/inst/apps/TEST_muthu/appl/admin/TEST_muthu.xml \
-managedsrvname=oacore_server1 \
-servicetype=oacore \
-logfile=/tmp/oacore_server1_remove.log
perl $AD_TOP/patch/115/bin/adProvisionEBS.pl \
ebs-delete-managedserver \
-contextfile=/oracle/product/ebs/fs1/inst/apps/TEST_muthu/appl/admin/TEST_muthu.xml \
-managedsrvname=forms_server1 \
-servicetype=forms \
-logfile=/tmp/forms_server1_remove.log
perl $AD_TOP/patch/115/bin/adProvisionEBS.pl \
ebs-delete-managedserver \
-contextfile=/oracle/product/ebs/fs1/inst/apps/TEST_muthu/appl/admin/TEST_muthu.xml \
-managedsrvname=oafm_server1 \
-servicetype=oafm \
-logfile=/tmp/oafm_server1_remove.log
perl $AD_TOP/patch/115/bin/adProvisionEBS.pl \
ebs-delete-managedserver \
-contextfile=/oracle/product/ebs/fs1/inst/apps/TEST_muthu/appl/admin/TEST_muthu.xml \
-managedsrvname=forms-c4ws_server1 \
-servicetype=forms-c4ws \
-logfile=/tmp/forms-c4ws_server1_remove.log
Adding the managed servers in EBS R12.2:
perl $AD_TOP/patch/115/bin/adProvisionEBS.pl \
ebs-create-managedserver -contextfile=/oracle/product/ebs/fs1/inst/apps/TEST_muthu/appl/admin/TEST_muthu.xml \
-managedsrvname=oacore_server1 -servicetype=oacore \
-managedsrvport=7206 -logfile=/tmp/forms_server1_add.log
perl $AD_TOP/patch/115/bin/adProvisionEBS.pl \
ebs-create-managedserver -contextfile=/oracle/product/ebs/fs1/inst/apps/TEST_muthu/appl/admin/TEST_muthu.xml \
-managedsrvname=forms_server1 -servicetype=forms \
-managedsrvport=7406 -logfile=/tmp/forms_server1_add.log
perl $AD_TOP/patch/115/bin/adProvisionEBS.pl \
ebs-create-managedserver -contextfile=/oracle/product/ebs/fs1/inst/apps/TEST_muthu/appl/admin/TEST_muthu.xml \
-managedsrvname=oafm_server1 -servicetype=oafm \
-managedsrvport=7606 -logfile=/tmp/oafm_server1_add.log
perl $AD_TOP/patch/115/bin/adProvisionEBS.pl \
ebs-create-managedserver -contextfile=/oracle/product/ebs/fs1/inst/apps/TEST_muthu/appl/admin/TEST_muthu.xml \
-managedsrvname=forms-c4ws_server1 -servicetype=forms-c4ws \
-managedsrvport=7806 -logfile=/tmp/forms-c4ws_server1_add.log
Finally mod_wl_ohs.conf configuration file generate step
perl $FND_TOP/patch/115/bin/txkSetAppsConf.pl \
-ctxfile=$CONTEXT_FILE -outfile=/tmp/apachesync.log