设为首页 收藏本站
查看: 1232|回复: 0

[经验分享] EBS Environment Files(.env file)

[复制链接]

尚未签到

发表于 2015-9-22 14:01:51 | 显示全部楼层 |阅读模式
  对于EBS数据库管理员用户,可以把db/tech_st/10.2.0下的<CONTEXT_NAME>.env设置到/home/user下的.bash_profile文件(隐藏文件)中,这样和DB相关的一些环境变量就会自动在登录时加载(比如ORACLE_HOME,ORACLE_SID,PATH,TNS_ADMIN,CONTEXT_NAME,LIBPATH等)
  eg.把/u01/oracle/mc3yd213/db/tech_st/11.1.0/mc3yd213_bej301441.env加到.bash_profile

  

  
  对于EBS Application管理员用户,可以把apps/apps_st/appl(APPL_TOP)下的<CONTEXT_NAME>.env设置到/home/user下的.bash_profile文件(隐藏文件)中,这样和Application相关的一些环境变量就会自动在登录时加载(比如APPL_TOP,INST_TOP,COMMON_TOP,AD_TOP,FND_TOP,PATH,NLS_LANG,NLS_DATE_FORMAT,FORMS_SESSION,FORMS_PATH,FORMS_TRACE_DIR,FORMS_TIMEOUT等)
  eg.把/u01/oracle/mc3yd213/apps/apps_st/appl/mc3yd213_bej301441.env加到.bash_profile
  

  下边是关于EBS .env文件的介绍,摘自:http://docs.oracle.com/cd/E18727_01/doc.121/e12841/T120505T120509.htm
  

  Rapid Install creates several environment files that set up the Oracle database, the Oracle technology stack, the Oracle HTTP server, and the Oracle E-Business Suite environments.
  The location of these environment files is shown in the following table:
Table 2-2 Locations of Applications Environment FilesFilenameLocationPathEnvironment<CONTEXT_NAME>.env or CONTEXT_NAME>.cmd10.2.0.2 ORACLE_HOMEdb/tech_st/10.2.0Oracle Server Enterprise Edition<CONTEXT_NAME>.env or <CONTEXT_NAME>.cmdOracleAS 10.1.2 ORACLE_HOMEinst/apps/<context>/ora/10.1.2Oracle tools technology stack<CONTEXT_NAME>.env or <CONTEXT_NAME>.cmdOracleAS 10.1.3 ORACLE_HOMEinst/apps/<context>/ora/10.1.3Java technology stack<CONTEXT_NAME>.env or <CONTEXT_NAME>.cmdAPPL_TOPapps/apps_st/applApplicationsAPPS<CONTEXT_NAME>.env or APPS<CONTEXT_NAME>.cmdAPPL_TOPapps/apps_st/applConsolidated setup file  On UNIX, Oracle E-Business Suite includes a consolidated environment file called APPS<CONTEXT_NAME>.env,which sets up both the Oracle E-Business Suite and Oracle technology stack environments. When you install Oracle E-Business Suite, Rapid Install creates this script in the APPL_TOP directory. Many of the parameters are specified during the install process.
  On Windows, the equivalent consolidated environment file is called %APPL_TOP%\envshell<CONTEXT_NAME>.cmd. Running it creates a command window with the required environment settings for Oracle E-Business Suite. All subsequent operations on the APPL_TOP (forexample, running adadmin or adpatch) must be carried out from this window.
  The following table lists the key environment settings in APPS<CONTEXT_NAME>.env.
Table 2-3 Key Environment SettingsParameterDescriptionAPPLFENVThe name of the environment file, <CONTEXT_NAME>.env. If you rename the environment file, this parameter setting must be updated.PLATFORMThe operating system in use. The value (for example, LINUX) should match the value in the APPL_TOP/admin/adpltfrm.txt file.APPL_TOPThe top-level directory for this Oracle E-Business Suite installation.ADMIN_SCRIPTS_HOME Directory under $INST_TOP that Identifies the location of scripts such as adautocfg.sh, adpreclone.sh, adstrtal.sh, and adstpall.sh.FNDNAMThe name of the ORACLE schema to which the System Administration responsibility connects. The default is APPS.GWYUIDThe public ORACLE username and password that grants access to the Oracle E-Business Suite initial sign-on form. The default is APPLSYSPUB/PUB.FND_TOPThe path to the Application Object Library directory. For example, apps/apps_st/appl/fnd/12.0.0.AU_TOPThe path to the Applications Utilities directory. For example, apps/apps_st/appl/au/12.0.0.<PROD>_TOPThe path to a product's top directory. There is one entry for each Oracle E-Business Suite product.PATHSets the directory search path, for example for FND_TOP and AD_TOP.APPLDCPSpecifies whether distributed concurrent processing is being used. Distributed concurrent processing distributes processing load across multiple concurrent processing nodes.APPCPNAMIndicates whether the format of the concurrent manager log and output files follow 8.3 file name conventions (maximum of 8 characters to the left of the dot and 3 to the right; for example, alogfile.log). If this parameter is set to &quot;REQID&quot; (required),the concurrent manager uses file names that meet 8.3 naming requirements.APPLCSFIdentifies the top level directory for concurrent manager log and output files if they are consolidated into a single directory across all products. For example, /inst/apps/<context>/logs/appl/conc.APPLLOGThe subdirectory for concurrent manager log files. The default is log.APPLOUTThe subdirectory for concurrent manager output files. The default is out.APPLTMPIdentifies the directory for Oracle E-Business Suite temporary files. The default is $INST_TOP/tmp on UNIX.APPLPTMPIdentifies the directory for temporary PL/SQL output files. The possible directory options must be listed in the init.ora parameterutl_file_dir.INST_TOPIdentifies the top-level directory for this instance. For example, inst/apps/<context>. Introduced with Release 12.NLS_LANGThe language, territory, and character set installed in the database. The default for a fresh install is &quot;AMERICAN_AMERICA.US7ASCII&quot;.NLS_DATE_FORMATThe National Language Support date format. The default is &quot;DD-MON-RR&quot;, for example 14-JUL-08.NLS_NUMERIC_CHARACTERSThe National Language Support numeric separators. The default is &quot;.,&quot; (period and comma).  Most temporary files are written to the location specified by the APPLTMP environment setting, which is set by Rapid Install.
  Oracle E-Business Suite products also create temporary PL/SQL output files used in concurrent processing. These files are written to a location on the database server node specified by the APPLPTMP environmentsetting. The APPLPTMP directory must be the same directory as specified by the utl_file_dir parameter in your database initialization file.
  Rapid Install sets both APPLPTMP and the utl_file_dir parameter to the same default directory.
  Some Oracle E-Business Suite utilities use your operating system's default temporary directory even if you define the environment settings listed in the previous paragraph. You should therefore ensure there is adequate free disk space in this directory,as well as in those denoted by APPLTMP and APPLPTMP. On a multi-node system, the directory defined by APPLPTMP does not need to exist on the application tier servers.
  Note: The temporary files placed in the utl_file_dir directory can be secured against unauthorized access by ensuring that this directory has read and write access for the Oracle database account only.
Other Environment Files
  Several other key environment files are used in an Oracle E-Business Suite system.
  The adovars.env file
  The adovars.env file, located in $APPL_TOP/admin, specifies the location of various files such as Java files, HTML files, and JRE (Java Runtime Environment) files. It is called from the main applications environment file, <CONTEXT_NAME>.env. The adovars.envfile includes comments on the purpose and recommended setting of each variable. In a Release 12 environment, adovars.env is maintained by AutoConfig, and should not be edited manually.
  The adovars.env file includes the following parameters:
Table 2-4 Parameters Specified in the adovars.env FileParameterDescriptionAF_JLIBIndicates the directory to which all Java archive files are copied. For example, apps/apps_st/comn/java/lib. Introduced with Release 12.JAVA_BASEIndicates the top-level Java directory . For example, apps/apps_st/comn/java. Introduced with Release 12.JAVA_TOPIndicates the directory to which all Java class files are copied. For example, apps/apps_st/comn/java/classes. Definition has changed with Release 12.OA_JAVAIndicates the directory to which all Java archive files are copied. For example, apps/apps_st/comn/java/classes.OA_JRE_TOPIndicates the location where the JRE is installed. For example, /local/java/jdk1.5.0_08.OAH_TOPDefines the location to which HTML files are copied. For example, apps/apps_st/comn/webapps/oacore.OAD_TOPDefines the locations to which context-sensitive documentation files are copied. For example, apps/apps_st/comn.LD_LIBRARY_PATHPath used on many UNIX platforms to list the directories that are to be scanned for dynamic library files needed at runtime.CLASSPATHLists the directories and zip files scanned for Java class files needed at runtime.  The adconfig.txt file
  AD utility programs perform a variety of database and file management tasks. These utilities need to know certain configuration information to run successfully. This configuration information is specified when Oracle E-Business Suite is installed, and subsequentlystored in the adconfig.txt file in the <APPL_TOP>/admin directory. Once it has been created, this file is used by other Oracle E-Business Suite utilities.
  Note: adconfig.txt is created with the APPL_TOP file system, and it shows the tiers that have been configured on a particular node. It is distinct from theconfig.txt file employed by Rapid Install.
  The fndenv.env file
  This file sets additional environment variables used by the Application Object Library. For example, it sets APPLBIN as the name of the subdirectory where product executable programs and shell scripts are stored (bin). This file should not be modified: thedefault values are applicable for all customers. The file is located in the FND_TOP directory.
  The devenv.env file
  This file sets variables that let you link third-party software and your own custom-developed applications with Oracle E-Business Suite. In Release 12, this script is located in FND_TOP/usrxit, and is automatically called by fndenv.env. This allows you tocompile and link custom Oracle Forms user exits and concurrent programs with Oracle E-Business Suite.
  

  

运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-117318-1-1.html 上篇帖子: EBS部分表整理 下篇帖子: Oracle EBS APIs
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表