Oracle 11gR2 RAC cannot connect to the database through scanIP on the client

Source: Internet
Author: User

After installing Oracle 11g rac. the scanip is configured in ora, but it cannot be accessed. The error is that the target host does not exist. It has been tossing for a long time and I have not figured it out. Later I found that local_listener is included in the system initialization parameter, here, you can modify the host value, register the scanip, and use the vip in the listener!

--------------------------------------------------------------------------
On the racnode1 Server:

[Root @ racdb1 ~] # Su-oracle
[Oracle @ racdb1 ~] $ Sqlplus/nolog
 

SQL * Plus: Release 11.2.0.1.0 Production on Wed Apr 21 13:44:12 2010
Copyright (c) 1982,200 9, Oracle. All rights reserved.
SQL> conn/as sysdba
Connected.
SQL> show parameter local_listener;
NAME TYPE VALUE
--------------------------------------------------------------------------

Local_listener string (DESCRIPTION = (ADDRESS_LIST = (AD
DRESS = (PROTOCOL = TCP) (HOST = racw.vip) (PORT = 1521 ))))


SQL> alter system set local_listener = '(DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP) (HOST = racscan) (PORT = 1521 )))) 'scope = both sid = 'racdb1 ';
System altered.
SQL>
-------------------------------------------------------------------------

The same is true for node 2.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.