0

我在一台运行 11GR2 的 Oracle 服务器上有很多实例。我必须解决一个实例上的问题。根据 Oracle 支持,我需要关闭数据库及其侦听器。

lsnrctl stop
lsnrctl start

我也可以svcctl用来启动和停止服务器上的监听器:

srvctl stop listener -n node_name

我注意到 lsnrctl 和 srvctl 都是基于服务器/主机/节点级别的。我可以停止一个实例的侦听器而不影响同一服务器上的其他实例吗?

4

2 回答 2

1

I would not stop the listener in order to bounce one of the instances and adjust a parameter. The instance will automatically register with the listener when it comes back up.

On the other hand, if we are talking about an inter-process issue you might have to. More details needed. Remember, already established sessions to your instances will not be affected by a listener outage.

于 2012-08-27T20:48:03.723 回答
1

如果你做一个

lsnrctl 状态

命令,您将看到通过关闭侦听器会影响的所有实例。通常,您将在服务器上仅运行一个侦听器,因此您将关闭对其服务的所有数据库的网络访问。

于 2012-08-27T20:10:31.000 回答