设为首页收藏本站language 语言切换
查看: 2879|回复: 5
收起左侧

[注意] Oracle OCP试题解析(2)

[复制链接]
发表于 2012-1-19 11:07:47 | 显示全部楼层 |阅读模式
Your database is started with SPFILE. You want the database instance to be dynamically registered with a listener L2 with the following details:
Protocol:  TCP
Host:  indl151e
Port:  1525
Which is the correct order of the steps that you would follow to achieve this?
1. Set the LOCAL_LISTENER parameter to L2 dynamically.
2. Make an entry for L2 in tnsnames.ora on the database server.
3. Restart L2.
4. Modify the listener.ora file to add the instance name in SID_LIST of L2.
A) 1, 2, 4, 3
B) 1, 2, 3; 4 is not required.
C) 2, 1; 3 and 4 are not required.
D) 1, 2; 3 and 4 are not required.

Answer: C
实验:
Oracle 动态注册监听
1.修改tnsnames.ora
$ vi tnsnames.ora
LISTENER_1525 =
  (address = (protocol = tcp)(host = indl151e)(port = 1525))
2. SQL> alter system set local_listener='listener_1525';
System altered.
3.查看状态
$ lsnrctl status listener_1525

发表于 2012-2-13 11:45:27 | 显示全部楼层
感谢分享
沙发 2012-2-13 11:45:27 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2012-5-2 15:59:43 | 显示全部楼层
板凳 2012-5-2 15:59:43 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2012-6-13 14:38:06 | 显示全部楼层
地板 2012-6-13 14:38:06 回复 收起回复
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2025-2-3 07:02 , Processed in 0.068682 second(s), 12 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

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