Oracle 10g Remote Connectivity ASM

Source: Internet
Author: User

ASM remote connections may experience the following error:

ORA-12505 TNS:listener could not resolve SID given in connect descriptorORA-12541: TNS:no listenerORA-15000: command disallowed by current instance typeORA-12528: TNS:listener: all appropriate instances are blocking new connectionsORA-1031:   insufficient privileges

The ASM remote Connection configuration is as follows:
Parameter configuration:

remote_login_passwordfile = exclusive ... for stand alone ASM setupsremote_login_passwordfile = shared ... for ASM setups that also use Real Application Cluster (RAC)

Node 1:

[[email protected] admin]$ cat listener.ora SID_LIST_LISTENER_prodb1 =  (SID_LIST =    (SID_DESC =      (SID_NAME = PLSExtProc)      (ORACLE_HOME = /u01/app/oracle/product/10.2.0/db_1)      (PROGRAM = extproc)     (SID_DESC =       (SID_NAME = +ASM1)         (GLOBAL_DBNAME  = +ASM)         (ORACLE_HOME = /u01/app/oracle/product/10.2.0/db_1)    )  )LISTENER_prodb1 =  (DESCRIPTION_LIST =    (DESCRIPTION =      (ADDRESS = (PROTOCOL = TCP)(HOST = prodb1-vip)(PORT = 1521)(IP = FIRST))      (ADDRESS = (PROTOCOL = TCP)(HOST = 172.16.10.101)(PORT = 1521)(IP = FIRST))    )  )

Node 2:

[[email protected] admin]$ cat listener.ora SID_LIST_LISTENER_prodb2 =  (SID_LIST =    (SID_DESC =      (SID_NAME = PLSExtProc)      (ORACLE_HOME = /u01/app/oracle/product/10.2.0/db_1)      (PROGRAM = extproc)     (SID_DESC =       (SID_NAME = +ASM2)         (GLOBAL_DBNAME  = +ASM)         (ORACLE_HOME = /u01/app/oracle/product/10.2.0/db_1)    )  )LISTENER_prodb2 =  (DESCRIPTION_LIST =    (DESCRIPTION =      (ADDRESS = (PROTOCOL = TCP)(HOST = prodb2-vip)(PORT = 1521)(IP = FIRST))      (ADDRESS = (PROTOCOL = TCP)(HOST = 172.16.10.102)(PORT = 1521)(IP = FIRST))    )  )

Client Tnsname.ora:

ASM1 =     (DESCRIPTION =       (ADDRESS_LIST =         (ADDRESS = (PROTOCOL = TCP)(HOST = 172.16.10.101)(PORT = 1521))       )       (CONNECT_DATA =         (SERVICE_NAME = +ASM)      (UR=A)     )     )  ASM2 =     (DESCRIPTION =       (ADDRESS_LIST =         (ADDRESS = (PROTOCOL = TCP)(HOST = 172.16.10.102)(PORT = 1521))       )       (CONNECT_DATA =         (SERVICE_NAME = +ASM)      (UR=A)     )     )ASM =     (DESCRIPTION =       (ADDRESS_LIST =         (ADDRESS = (PROTOCOL = TCP)(HOST = 172.16.10.102)(PORT = 1521))         (ADDRESS = (PROTOCOL = TCP)(HOST = 172.16.10.101)(PORT = 1521))     )       (CONNECT_DATA =         (SERVICE_NAME = +ASM)      (UR=A)     )     )

The key section is (UR=A) , if this option is not configured, the connection is reported:

$ sqlplus sys/[email protected] as sysdbaSQL*Plus: Release 10.2.0.5.0 - Production on чǚ? 7? 5 21:44:30 2018Copyright (c) 1982, 2010, Oracle.  All Rights Reserved.ERROR:ORA-12528: TNS:listener: all appropriate instances are blocking new connections

The UR=A option is typically used to connect to start a database using Nomount,mount or restricted mode.

Database boot to Nomount, monitoring status is blocked;
The database boots to mount and the listening status is ready;
Database boot to restrict, monitoring status is restrict;
Statically registered ASM is blocked

Reference from: What to connect to ASM instance from a remote client (Oracle Net) (document ID 340277.1)

Oracle 10g Remote Connectivity ASM

Related Article

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.