Skip to Main Content

Español

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Configurar servicios srvctl add service en Oracle RAC 21c en puerto 1525

Amin ChavarriaJun 4 2024 — edited Jun 4 2024

Hola,

Configure un Oracle RAC 21c con dos nodos sobre Linux 8, se creo un scan listener con el puerto 1525 pero al conectarse remotamente usando un servicio creado con el comando “srvctl add service -d orcl -s srvdu -r orcl1,orcl2” , me muestra el siguiente error :

SQL> conn dummy/@srvdummy
ERROR:
ORA-01017: nombre de usuario/contrase±a no vßlidos; conexi≤n denegada

– tnsnames.ora

srvdummy=
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = scan-d)(PORT = 1525))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = srvdu )
)
)

Un tnsping funciona correctamente.

C:\>tnsping srvdummy

TNS Ping Utility for 64-bit Windows: Version 19.0.0.0.0 - Production on 04-JUN-2024 14:25:47

Copyright (c) 1997, 2019, Oracle. All rights reserved.

Archivos de parßmetros utilizados:
C:\app\oracle\product\19.3.0\client_1\network\admin\sqlnet.ora
Adaptador TNSNAMES utilizado para resolver el alias
Intentando contactar con (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = scan-d)(PORT = 1525)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = srvdu )))
Realizado correctamente (50 mseg)

El servicio de BD esta running:

oracle:/> srvctl status service -d orcl
Service srvdu is running on instance(s) orcl1,orcl2

Pero si utilizo una conexión directa con el scan no me muestar error:

SQL> conn dummy@dummy
Conectado.

dummy=
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = scan-d)(PORT = 1525))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl )
)
)

¿Cómo puedo hacer para que me deje conectar con el servicio srvdu por el puerto 1525?

saludos

Amin

Comments
Post Details
Added on Jun 4 2024
0 comments
136 views