===========================
1、oracle/oracle 用户登录到 omu
2、执行 lsnrctl status
oracle@linux-nvk0:/home/omu> lsnrctl status
输出:
LSNRCTL for Linux: Version 11.1.0.7.0 - Production on 18-NOV-2010 21:59:47
Copyright (c) 1991, 2008, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=127.0.0.1)(PORT=1521)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 11.1.0.7.0 - Production
Start Date 18-NOV-2010 21:29:15
Uptime 0 days 0 hr. 30 min. 31 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /opt/oracle/oradb/11g/network/admin/listener.ora
Listener Log File /opt/HUAWEI/cgp/workshop/omu/share/run_log/db_log/diag/tnslsnr/linux-nvk0/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
Services Summary...
Service "omu" has 1 instance(s).
Instance "omu", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
3、找到输出部分的 Listener Parameter File 行,vi 后面的文件
oracle@linux-nvk0:/home/omu> vi /opt/oracle/oradb/11g/network/admin/listener.ora
TNSLSNR for Linux: Version 11.1.0.7.0 - Production
System parameter file is /opt/oracle/oradb/11g/network/admin/listener.ora
Log messages written to /opt/HUAWEI/cgp/workshop/omu/share/run_log/db_log/diag/tnslsnr/linux-nvk0/listener/alert/log.xml
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.71.176.20)(PORT=1521)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=127.0.0.1)(PORT=1521)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 11.1.0.7.0 - Production
Start Date 18-NOV-2010 22:03:27
Uptime 0 days 0 hr. 0 min. 0 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /opt/oracle/oradb/11g/network/admin/listener.ora
Listener Log File /opt/HUAWEI/cgp/workshop/omu/share/run_log/db_log/diag/tnslsnr/linux-nvk0/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.71.176.20)(PORT=1521)))
Services Summary...
Service "omu" has 1 instance(s).
Instance "omu", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
7、OMU 配置完成,配置 Oracle 的 Net Configuration Assistant。
选择“本地Net服务名配置”,点“下一步”。
8、选择“添加”,点“下一步”。
9、服务名输入omu,点“下一步”。
10、选中TCP,点“下一步”。
11、“主机名”输入OMU 的IP地址,点下一步。
12、选择“不,不进行测试”,点“下一步”。
13、“网络服务名”输入便于自己记录和识别的名称,点“下一步”。
14、选择“否”,点“下一步”。
15、客户端 Oracle Net Configuration Assistant 配置完成,点“下一步”后点“完成”即可。
17、提示:UAP8100 中,0号表的记录在 tbl_Table_Basic 中。
而在 UAP6600 中,0 号表的记录在 tbl_BamTableDef/tbl_FamTableDef 中。
我们可以在 PL/SQL Developer 中通过 select * from tbl_BamTableDef where I_TABLEID=*** 来查看对应ID的数据表名称作者: fengerapple 时间: 2013-1-25 17:23
Thank you very much for sharing!The good man!The good life of peace!