Oracle EBS修改IP地址
2016-07-07 16:35
253 查看
前言
其实修改IP地址没那么麻烦,只要修改好Linux的IP地址,配置好 /etcc/hosts,接下来就直接修改表FND_NODES的SERVER_ADDRESS的值为新的IP地址。然后重新启动应用服务器就可以登陆了。(该方法亲测可用。其实运行autoconfig也会自动更新该表的ip地址)。下面是参考资料,使用到了autoconfig:
Symptoms
Users are not able to Log into the E-Business Suite Instance. Trying to access the E-Biz Instance, statis page redirection to /OA_HTML/ApssLogin is resulting in “page can’t find”
Cause
The IP address of the Instance is changed but DBA followed incorrect method.
Hence new IP address wasn’t propogated to FND_NODES resulting in error.
Solution
E-Business Suite Instance recognise host name of the node not IP address, but it does store the IP address in FND_NODES under SERVER_ADDRESS column. Follow the correct method of IP Address Change in E-Business Suite Instance.
Middle Tier
Change the IP address on the servers. Remember to check changes at all places depending on the Operating System e.g. /etcc/hosts in Linux.
Ensure to change the entry for the hostname in the DNS lookup table i.e. specify the new IP address at the DNS server. Check it with ‘nslookup’.
Stop the Middle Tier Services.
Run the following command to remove the old IP address from the Oracle Applications tables:
perl $AD_TOP/bin/adgentns.pl appspass=apps contextfile=$APPL_TOP/admin/_hostname.xml
removeserverNote: Replace _hostname.xml for the context file name under the $APPL_TOP/admin directory. Both must be entered in upper case.
In R12 context file location is $INST_TOP/appl/admin/_.xml.
Connect to SQL*Plus as apps user and run:
begin FND_NET_SERVICES.remove_server('', ''); end; / commit;
Note: Replace by the SID of the environment and by the hostname in the environment.
Both must be entered in upper case.
Run AutoConfig on the Middle Tier to populate the FND_NODES.
Use following script to check if the change is reflected in FND_NODES table:
spool fnd_nodes
set pagesize 50
col node_name format a15
col server_id format a8
col server_address format a15
col platform_code format a4
col webhost format a12
col domain format a20
col virtual_ip format a12
set linesize 132
select node_id, platform_code, support_db D, support_cp C, support_admin A, support_forms F,
support_web W, node_name, server_id, server_address, domain, webhost, virtual_ip
from fnd_nodes
order by node_id;
Now the FND_NODES should have correct IP Address value.
For R12, follow Note 555214.1 OACORE Processes Won’t Start After Increasing Their Number In Oracle Applications Release 12 In Context.xml to purge the lock files.
Start the Middle Tier Services.
Database Layer
Look for the hardcoded old IP Address in the following files:
a) listener.ora
b) tnsnames.ora (Local Naming) or check if any other naming method is used to resolve address.
Check if any of the parameter using the old IP Address.
2) Check if the parameter LOCAL_LISTENER and REMOTE_LISTENER parameter been set in Database Initialization file.
3) If its a Production Instance then its recommended to take the backup of the Database.
4) Please refer the Note 274476.1 and Note 363609.1 to have a detailed view to change the IP Address of the Database Server.
5) As the change is made at the OS (Operating System) level.Please ensure that the IP address gets reflected in the DNS server and also in the local host file.
相关文章推荐
- oracle 用户创建及权限设置
- python操作oracle完整教程
- oracle分析函数:二、秩运算(DENSE_RANK函数,RANK函数)
- Oracle中查询有哪些存储过程的sql语句
- oracle分析函数:一、窗口子句的使用
- oracle的sql优化-oracle的索引介绍原理浅析(B-Tree索引)
- oracle startup没有任何反应
- mysql和oracle数据库引擎介绍
- 基于vCenter/ESXi平台CentOS 6.8系统虚拟机Oracle 12c RAC双节点数据库集群搭建
- oracle select into 的时候提示未找到数据
- PL/SQL连接oracle时弹出空白框
- oracle创建索引后sqlldr导入错误
- oracle笔记
- Oracle中union函数
- Oracle 12C优化器的巨大变化,上生产必读(下)
- Oracle 查询类似 select top 的用法
- 自己编写了Oracle EBS程序自动移植脚本
- 12.Oracle存储过程
- MySql递归查询和Oracle递归查询
- MySql递归查询和Oracle递归查询