Saturday, October 26, 2019

How to change the Concurrent Manager log and output file location in R12

1- By default in R12.1 and R12.2, the Logs and Output are located in $APPLCSF/$APPLLOG and  $APPLCSF/$APPLOUT.

2- Change the value of APPLCSF, APPLLOG and APPLOUT  in the context file to your desired location in context file. Make sure the path you have mentioned is accessible from every application node.

[applmgr@pansoft01 scripts]$ cd $APPLCSF/
[applmgr@pansoft01 conc]$ ls
inbound  log  out  outbound
[applmgr@pansoft01 conc]$ pwd
/u01/oracle/uaterp/fs_ne/inst/UATERP_pansoft01/logs/appl/conc
[applmgr@pansoft01 conc]$ cd /u01/oracle/uaterp
[applmgr@pansoft01 uaterp]$

[applmgr@pansoft01 uaterp]$ grep -i s_applcsf $CONTEXT_FILE
         <APPLCSF oa_var="s_applcsf">/u01/oracle/uaterp/fs_ne/inst/UATERP_pansoft01/logs/appl/conc</APPLCSF>
[applmgr@pansoft01 uaterp]$ egrep -i 's_applcsf|s_appllog|s_applout' $CONTEXT_FILE
         <APPLCSF oa_var="s_applcsf">/u01/oracle/uaterp/fs_ne/inst/UATERP_pansoft01/logs/appl/conc</APPLCSF>
         <APPLLOG oa_var="s_appllog">log</APPLLOG>
         <APPLOUT oa_var="s_applout">out</APPLOUT>
[applmgr@pansoft01 uaterp]$



[applmgr@pansoft02 scripts]$ cd $APPLCSF/
[applmgr@pansoft02 conc]$ pwd
/u01/oracle/uaterp/fs_ne/inst/UATERP_pansoft02/logs/appl/conc
[applmgr@pansoft02 conc]$ ls
inbound  log  out  outbound
[applmgr@pansoft02 conc]$ s

[applmgr@pansoft02 conc]$ grep -i s_applcsf $CONTEXT_FILE
         <APPLCSF oa_var="s_applcsf">/u01/oracle/uaterp/fs_ne/inst/UATERP_pansoft02/logs/appl/conc</APPLCSF>
[applmgr@pansoft02 conc]$ egrep -i 's_applcsf|s_appllog|s_applout' $CONTEXT_FILE
         <APPLCSF oa_var="s_applcsf">/u01/oracle/uaterp/fs_ne/inst/UATERP_pansoft02/logs/appl/conc</APPLCSF>
         <APPLLOG oa_var="s_appllog">log</APPLLOG>
         <APPLOUT oa_var="s_applout">out</APPLOUT>
[applmgr@pansoft02 conc]$



Bakcup of context file on both nodes:


[applmgr@pansoft01 uaterp]$ mkdir conc_logs
[applmgr@pansoft01 uaterp]$ mv conc_logs conc_common
[applmgr@pansoft01 uaterp]$ ll
total 20
-rw-r--r--. 1 applmgr oinstall  878 May 13 09:57 AFPWD_UATERP_741432.log
-rw-r--r--. 1 applmgr oinstall  895 May 13 10:41 AFPWD_UATERP_744093.log
-rw-r--r--. 1 applmgr oinstall  895 May 13 10:48 AFPWD_UATERP_744504.log
drwxr-xr-x. 2 applmgr oinstall    6 May 14 10:57 conc_common
-rw-r--r--. 1 applmgr oinstall 6471 May  6 11:50 EBSapps.env
drwxr-xr-x. 5 applmgr oinstall   66 May  5 10:24 fs1
drwxr-xr-x. 9 applmgr oinstall  133 May  5 08:46 fs1_old2
drwxr-xr-x. 5 applmgr oinstall   49 May  5 10:46 fs2
drwxr-xr-x. 4 applmgr oinstall   33 May  5 10:29 fs_ne
[applmgr@pansoft01 uaterp]$ cd conc_common/
[applmgr@pansoft01 conc_common]$ pwd
/u01/oracle/uaterp/conc_common

[applmgr@pansoft02 admin]$ cd /u01/oracle/uaterp/
[applmgr@pansoft02 uaterp]$ mkdir conc_common
[applmgr@pansoft02 uaterp]$ ll
total 8
drwxr-xr-x. 2 applmgr oinstall    6 May 14 10:58 conc_common
-rw-r--r--. 1 applmgr oinstall 6471 May  6 16:13 EBSapps.env
drwxr-xr-x. 5 applmgr oinstall   49 May  6 15:54 fs1
drwxr-xr-x. 5 applmgr oinstall   49 May  6 16:06 fs2
drwxr-xr-x. 4 applmgr oinstall   33 May  6 15:58 fs_ne
[applmgr@pansoft02 uaterp]$


[applmgr@pansoft01 conc_common]$ egrep -i 's_applcsf|s_appllog|s_applout' $CONTEXT_FILE
         <APPLCSF oa_var="s_applcsf">/u01/oracle/uaterp/conc_common</APPLCSF>
         <APPLLOG oa_var="s_appllog">log</APPLLOG>
         <APPLOUT oa_var="s_applout">out</APPLOUT>
[applmgr@pansoft01 conc_common]$


[applmgr@pansoft02 conc_common]$ vi $CONTEXT_FILE
[applmgr@pansoft02 conc_common]$ egrep -i 's_applcsf|s_appllog|s_applout' $CONTEXT_FILE
         <APPLCSF oa_var="s_applcsf">/u01/oracle/uaterp/conc_common</APPLCSF>
         <APPLLOG oa_var="s_appllog">log</APPLLOG>
         <APPLOUT oa_var="s_applout">out</APPLOUT>
[applmgr@pansoft02 conc_common]$

[applmgr@pansoft01 scripts]$ ./adautocfg.sh
Enter the APPS user password:

The log file for this session is located at: /u01/oracle/uaterp/fs1/inst/apps/UATERP_pansoft01/admin/log/05141102/adconfig.log


wlsDomainName: EBS_domain
WLS Domain Name is VALID.
AutoConfig is configuring the Applications environment...

AutoConfig will consider the custom templates if present.
        Using CONFIG_HOME location     : /u01/oracle/uaterp/fs1/inst/apps/UATERP_pansoft01
        Classpath                   : /u01/oracle/uaterp/fs1/FMW_Home/Oracle_EBS-app1/shared-libs/ebs-appsborg/WEB-INF/lib/ebsAppsborgManifest.jar:/u01/oracle/uaterp/fs1/EBSapps/comn/java/classes

        Using Context file          : /u01/oracle/uaterp/fs1/inst/apps/UATERP_pansoft01/appl/admin/UATERP_pansoft01.xml

Context Value Management will now update the Context file

        Updating Context file...COMPLETED

        Attempting upload of Context file and templates to database...COMPLETED

Configuring templates from all of the product tops...
        Configuring AD_TOP........COMPLETED
        Configuring FND_TOP.......COMPLETED
        Configuring ICX_TOP.......COMPLETED
        Configuring MSC_TOP.......COMPLETED
        Configuring IEO_TOP.......COMPLETED
        Configuring BIS_TOP.......COMPLETED
        Configuring CZ_TOP........COMPLETED
        Configuring SHT_TOP.......COMPLETED
        Configuring AMS_TOP.......COMPLETED
        Configuring CCT_TOP.......COMPLETED
        Configuring WSH_TOP.......COMPLETED
        Configuring CLN_TOP.......COMPLETED
        Configuring OKE_TOP.......COMPLETED
        Configuring OKL_TOP.......COMPLETED
        Configuring OKS_TOP.......COMPLETED
        Configuring CSF_TOP.......COMPLETED
        Configuring IBY_TOP.......COMPLETED
        Configuring JTF_TOP.......COMPLETED
        Configuring MWA_TOP.......COMPLETED
        Configuring CN_TOP........COMPLETED
        Configuring CSI_TOP.......COMPLETED
        Configuring WIP_TOP.......COMPLETED
        Configuring CSE_TOP.......COMPLETED
        Configuring EAM_TOP.......COMPLETED
        Configuring GMF_TOP.......COMPLETED
        Configuring PON_TOP.......COMPLETED
        Configuring FTE_TOP.......COMPLETED
        Configuring ONT_TOP.......COMPLETED
        Configuring AR_TOP........COMPLETED
        Configuring AHL_TOP.......COMPLETED
        Configuring IES_TOP.......COMPLETED
        Configuring OZF_TOP.......COMPLETED
        Configuring CSD_TOP.......COMPLETED
        Configuring IGC_TOP.......COMPLETED

AutoConfig completed successfully.
[applmgr@pansoft01 scripts]$


[applmgr@pansoft02 conc_common]$ cd $ADMIN_SCRIPTS_HOME/
[applmgr@pansoft02 scripts]$ ./adautocfg.sh
Enter the APPS user password:

The log file for this session is located at: /u01/oracle/uaterp/fs1/inst/apps/UATERP_pansoft02/admin/log/05141103/adconfig.log


wlsDomainName: EBS_domain
WLS Domain Name is VALID.
AutoConfig is configuring the Applications environment...

AutoConfig will consider the custom templates if present.
        Using CONFIG_HOME location     : /u01/oracle/uaterp/fs1/inst/apps/UATERP_pansoft02
        Classpath                   : /u01/oracle/uaterp/fs1/FMW_Home/Oracle_EBS-app1/shared-libs/ebs-appsborg/WEB-INF/lib/ebsAppsborgManifest.jar:/u01/oracle/uaterp/fs1/EBSapps/comn/java/classes

        Using Context file          : /u01/oracle/uaterp/fs1/inst/apps/UATERP_pansoft02/appl/admin/UATERP_pansoft02.xml

Context Value Management will now update the Context file

        Updating Context file...COMPLETED

        Attempting upload of Context file and templates to database...COMPLETED

Configuring templates from all of the product tops...
        Configuring AD_TOP........COMPLETED
        Configuring FND_TOP.......COMPLETED
        Configuring ICX_TOP.......COMPLETED
        Configuring MSC_TOP.......COMPLETED
        Configuring IEO_TOP.......COMPLETED
        Configuring BIS_TOP.......COMPLETED
        Configuring CZ_TOP........COMPLETED
        Configuring SHT_TOP.......COMPLETED
        Configuring AMS_TOP.......COMPLETED
        Configuring CCT_TOP.......COMPLETED
        Configuring WSH_TOP.......COMPLETED
        Configuring CLN_TOP.......COMPLETED
        Configuring OKE_TOP.......COMPLETED
        Configuring OKL_TOP.......COMPLETED
        Configuring OKS_TOP.......COMPLETED
        Configuring CSF_TOP.......COMPLETED
        Configuring IBY_TOP.......COMPLETED
        Configuring JTF_TOP.......COMPLETED
        Configuring MWA_TOP.......COMPLETED
        Configuring CN_TOP........COMPLETED
        Configuring CSI_TOP.......COMPLETED
        Configuring WIP_TOP.......COMPLETED
        Configuring CSE_TOP.......COMPLETED
        Configuring EAM_TOP.......COMPLETED
        Configuring GMF_TOP.......COMPLETED
        Configuring PON_TOP.......COMPLETED
        Configuring FTE_TOP.......COMPLETED
        Configuring ONT_TOP.......COMPLETED
        Configuring AR_TOP........COMPLETED
        Configuring AHL_TOP.......COMPLETED
        Configuring IES_TOP.......COMPLETED
        Configuring OZF_TOP.......COMPLETED
        Configuring CSD_TOP.......COMPLETED
        Configuring IGC_TOP.......COMPLETED

AutoConfig completed successfully.
[applmgr@pansoft02 scripts]$








No comments:

Post a Comment

Featured post

Migrate OCR & vote from external to normal or High redundancy in ASM

How to Move OCR & Vote from external to Normal or high. 1)  Create New diskgroup(CRS) with suitable redundancy for OCR and Voting files....

Popular Posts