Listener shutdown for individual instances? [message #584765] |
Fri, 17 May 2013 08:29 |
|
rcct
Messages: 36 Registered: May 2013 Location: Ottawa, ON
|
Member |
|
|
Hello all, I am upgrading a DB using catupgrd.sql, and one of the prerequisites is to shut down the listener. Now, I have multiple database instances registered with this listener, and I dont want the other ones to become unavailable while I do the upgrade. Is there any way to do this for a particular instance only? Thanks.
|
|
|
|
|
|
|
|
Re: Listener shutdown for individual instances? [message #585053 is a reply to message #584793] |
Tue, 21 May 2013 10:07 |
|
rcct
Messages: 36 Registered: May 2013 Location: Ottawa, ON
|
Member |
|
|
Hi Michel, I have followed your instructions and successfully upgraded the database to 11.2.0.3 using catupgrd.sql. After that, I set the local_listener to '', and re-registered the database with my existing listener. Now, however, my upgraded DB is still registered with the 11.1.0.7 listener. So, using netca, do I need to delete the old listener from 11.1.0.7 home, create a new one in 11.2.0.3 home, and run "alter system register" in all the databases which I have? The local_listener parameter is set to null for all my databases, so I assume that running the "alter system register" command in each of them would automatically register them with the new 11.2.0.3 listener.
Thanks, Roy.
|
|
|
|
Re: Listener shutdown for individual instances? [message #585067 is a reply to message #585056] |
Tue, 21 May 2013 12:12 |
|
rcct
Messages: 36 Registered: May 2013 Location: Ottawa, ON
|
Member |
|
|
Thanks Michel. So just to reconfirm, did I write the steps to migrate to a new listener correctly? Namely:
1) Start netca from OLD_HOME, delete the currently existing listener
2) Start netca from NEW_HOME, create a listener on the same default port (1521)
3) Log in to each DB which was registered to the old listener, and run "alter system register" at SQL> prompt for each database
4) Confirm with "lsnrctl status" that the listener is running with the updated version, and has all my database instances registered.
Do I need to set any additional parameters, such as ORACLE_HOME, TNS_ADMIN, etc, while doing the steps?
Thanks,
Roy.
|
|
|
|