DBA_Oracle Erp R12安装镜像IP修正(案例)

2014-07-12 BaoXinjian

DBA_Oracle Erp R12安装镜像IP修正(案例)一、摘要


 学习oralce EBS,最好可以学下一下自己安装oracle ebs,之后就可以随心所欲作为自己的学习环境进行使用,不会有任何限制

网上很多人在卖oracle ebs r12的镜像,只需要解压后,通过VM启动镜像即可

不过在启动镜像时,唯一所需进行修正的就是镜像的IP地址

以下提供同步本机和服务镜像IP地址的具体步骤

 

DBA_Oracle Erp R12安装镜像IP修正(案例)二、案例


Step1. 通过addlnctl.sh start PROD启动数据库监听时,必须同步主机和服务镜像hosts的IP地址

Step1.1 修改虚拟镜像的Hosts

地址:/etc/hosts

DBA_Oracle Erp R12安装镜像IP修正(案例) 

 Step1.2 修改虚拟镜像的Network Configuration

DBA_Oracle Erp R12安装镜像IP修正(案例)

DBA_Oracle Erp R12安装镜像IP修正(案例)

 Step1.3 修改IP之后,既可以使用addlnctl.sh start PROD启动数据库监听

DBA_Oracle Erp R12安装镜像IP修正(案例)

Step1.4 在本机修改Host地址,并修改TNS地址

C:\Windows\System32\drivers\etc

DBA_Oracle Erp R12安装镜像IP修正(案例)

Step1.5 TNS地址

PROD=(DESCRIPTION=
                (ADDRESS=(PROTOCOL=tcp)(HOST=paleonode1.sh.paleotek.com)(PORT=1523))
            (CONNECT_DATA=
                (SID=PROD)
            )
          )

Step1.6 通过toad测试数据库是否连接成功

DBA_Oracle Erp R12安装镜像IP修正(案例)

Step2 通过adstrtal启动application时,必须通过api修改fnd_nodes地址

Step2.1 修改fnd_nodes中的地址

DBA_Oracle Erp R12安装镜像IP修正(案例)

Step2.1 通过api修改prod_paleonode1.xml

路径:cd $AD_TOP/bin

命令:perl $AD_TOP/bin/adgentns.pl appspass=apps contextfile=$INST_TOP/appl/admin/PROD_paleonode1.xml

DBA_Oracle Erp R12安装镜像IP修正(案例)

Step2.2 通过fnd_net_serveris去删除server

begin
  fnd_net_services.remove_server(‘PROD‘, ‘paleonode1‘);
end;

 Step2.3 将修改好之后的prod_palenode1.xml进行导入

命令:. ./adconfig.sh contextfile=$INST_TOP/appl/admin/PROD_paleonode1.xml

DBA_Oracle Erp R12安装镜像IP修正(案例)

Step2.4 修改后,确认fnd_nodes Server_Address修改完成,

DBA_Oracle Erp R12安装镜像IP修正(案例)

Step2.5 通过adstrtal.sh apps/apps启动application服务

 

********************作者:鲍新建********************

 DBA_Oracle Erp R12安装镜像IP修正(案例)

DBA_Oracle Erp R12安装镜像IP修正(案例),布布扣,bubuko.com

DBA_Oracle Erp R12安装镜像IP修正(案例)

上一篇:windows下使用MinGW的调试工具gdb.exe调试C程序


下一篇:CSharp 连接本地SQL Server 数据库