Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
-----------------------------------------------------------------------------------
-------------------------
[oracle@dpscatora01 ~]$ /oracle/11.2.0/grid/bin/cluvfy comp scan -verbose
Verificando SCAN
ERROR:
PRVG-1101 : Fallo al resolver el nombre de SCAN "catora-scan"
Nombre de SCAN Dirección IP Estado
Comentario
------------ ------------------------ ------------------------
----------
catora-scan 10.240.241.90 fallo Entrada
de NIS
ERROR:
PRVF-4657 : Fallo de comprobación de configuración de resolución de nombres
de "catora-scan" (dirección IP: 10.240.241.90)
ERROR:
PRVF-4664 : Se han encontrado entradas de resolución de nombres
inconsistentes para el nombre de SCAN "catora-scan"
Fallo de la configuración del listener y de la VIP de SCAN
-----------------------------------------------------------------------------------
-------------------------
Verificando SCAN
ERROR:
PRVG-1101 : Fallo al resolver el nombre de SCAN "catora-scan"
Nombre de SCAN Dirección IP Estado
Comentario
------------ ------------------------ ------------------------
----------
catora-scan 10.240.214.53 fallo Entrada
de NIS
ERROR:
PRVF-4657 : Fallo de comprobación de configuración de resolución de nombres
de "catora-scan" (dirección IP: 10.240.214.53)
ERROR:
PRVF-4664 : Se han encontrado entradas de resolución de nombres
inconsistentes para el nombre de SCAN "catora-scan"
Verificando SCAN
ERROR:
PRVF-4657 : Fallo de comprobación de configuración de resolución de nombres
de "catora-scan" (dirección IP: 10.240.214.53)
ERROR:
PRVF-4664 : Se han encontrado entradas de resolución de nombres
inconsistentes para el nombre de SCAN "catora-scan"
-----------------------------------------------------------------------------------
-------------------------
[oracle@catora01 ~]$ cat /usr/bin/nslookup
#!/bin/bash
HOSTNAME=${1}
if [[ $HOSTNAME = "catora-scan" ]]; then
echo "Server: 10.253.2.160"
echo "Address: 10.253.2.160#53"
echo "Non-authoritative answer:"
echo "Name: catora-scan"
echo "Address: 10.240.216.217"
else
nslookup.original $HOSTNAME
fi
-----------------------------------------------------------------------------------
-------------------------
[oracle@catora02 ~]$ cat /usr/bin/nslookup
#!/bin/bash
HOSTNAME=${1}
if [[ $HOSTNAME = "catora-scan" ]]; then
echo "Server: 10.253.2.160"
echo "Address: 10.253.2.160#53"
echo "Non-authoritative answer:"
echo "Name: catora-scan"
echo "Address: 10.240.216.217"
else
nslookup.original $HOSTNAME
fi
-----------------------------------------------------------------------------------
-------------------------
[oracle@catora02 ~]$ ls -l /usr/bin/nsl*
-rw-r--r-- 1 root root 254 abr 27 2016 /usr/bin/nslookup
-rwxr-xr-x 1 root root 136608 jun 22 2012 /usr/bin/nslookup.orig
-rwxr-xr-x 1 root root 45 abr 27 2016 /usr/bin/nslookup.original
-----------------------------------------------------------------------------------
-------------------------
[oracle@catora01 ~]$ ls -l /usr/bin/nsl*
-rwxr-xr-x 1 root root 253 abr 27 2016 /usr/bin/nslookup
-rwxr-xr-x 1 root root 136608 jun 22 2012 /usr/bin/nslookup.orig
-rwxr-xr-x 1 root root 45 abr 27 2016 /usr/bin/nslookup.original
-----------------------------------------------------------------------------------
-------------------------
[root@dpscatora02 ~]# ls -l /usr/bin/nsl*
-rwxr-xr-x. 1 root root 136584 jun 22 2012 /usr/bin/nslookup
-----------------------------------------------------------------------------------
-------------------------
[oracle@dpscatora01 ~]$ ls -l /usr/bin/nsl*
-rwxr-xr-x. 1 root root 136560 jun 22 2012 /usr/bin/nslookup
-----------------------------------------------------------------------------------
-------------------------
[oracle@catora02 ~]$ cat /etc/resolv.conf
Verificando SCAN
-----------------------------------------------------------------------------------
-------------------------
Verificando SCAN
-----------------------------------------------------------------------------------
-------------------------
-----------------------------------------------------------------------------------
-------------------------
[oracle@catora02 ~]$ vim /oracle/11.2.0/grid/network/admin/listener.ora
LISTENER_SCAN1=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)
(KEY=LISTENER_SCAN1)))) # line added by Agent
LISTENER=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)
(KEY=LISTENER)))) # line added by Agent
ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER=ON # line added by
Agent
ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_SCAN1=ON # line
added by Agent
-----------------------------------------------------------------------------------
-------------------------
[oracle@dpscatora01 ~]$ vim /oracle/11.2.0/grid/network/admin/listener.ora
LISTENER=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)
(KEY=LISTENER)))) # line added by Agent
LISTENER_SCAN1=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)
(KEY=LISTENER_SCAN1)))) # line added by Agent
ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_SCAN1=ON # line
added by Agent
ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER=ON # line added by
Agent
-----------------------------------------------------------------------------------
---------------------------
LISTENER_ORA11WP15=(DESCRIPTION_LIST=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=
TCP)(HOST=10.240.236.95)(PORT=1522)))))
SID_LIST_LISTENER_ORA11WP15=(SID_LIST=(SID_DESC=(SID_NAME=DB11WP15)
(ORACLE_HOME=/oracle/app/oracle/product/11.2.0/dbora_1)(SERVICE_NAME=DB11WP15)))
LISTENER_COM10UTF = (DESCRIPTION_LIST = (DESCRIPTION = (ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.240.236.96)(PORT = 1521)))))
SID_LIST_LISTENER_COM10UTF=(SID_LIST=(SID_DESC=(SID_NAME=db10utf)
(ORACLE_HOME=/oracle/app/oracle/product/10.2.0/clora10)(SERVICE_NAME = db10utf)))
LISTENER_ORA11UTF = (DESCRIPTION_LIST = (DESCRIPTION = (ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.240.236.94)(PORT = 1521)))))
SID_LIST_LISTENER_ORA11UTF = (SID_LIST = (SID_DESC = (SID_NAME = DB11UTF)
(ORACLE_HOME =/oracle/app/oracle/product/11.2.0/dbora_1)(SERVICE_NAME = DB11UTF)))
LISTENER_ORA_PORT = (DESCRIPTION_LIST = (DESCRIPTION = (ADDRESS_LIST
=(ADDRESS = (PROTOCOL = TCP)(HOST = 10.240.236.143)(PORT = 1521)))))
SID_LIST_LISTENER_ORA_PORT = (SID_LIST = (SID_DESC = (SID_NAME = PORTAV3D)
(ORACLE_HOME = /oracle/app/oracle/product/10.2.0/clora10/dbs)(SERVICE_NAME =
PORTAV3D)))
LISTENER_CLORA101=(DESCRIPTION_LIST = (DESCRIPTION = (ADDRESS_LIST =(ADDRESS
= (PROTOCOL = TCP)(HOST=10.240.236.105)(PORT=1521)))))
SID_LIST_LISTENER_CLORA101=(SID_LIST=(SID_DESC=(SID_NAME=clora101)
(ORACLE_HOME=/oracle/app/oracle/product/10.2.0/clora10)(SERVICE_NAME = clora10)))
-----------------------------------------------------------------------------------
---------------------------
[oracle@catora02 ~]$ vim /oracle/11.2.0/grid/network/admin/endpoints_listener.ora
LISTENER_CATORA02=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)
(HOST=catora02-vip)(PORT=1521))(ADDRESS=(PROTOCOL=TCP)(HOST=10.240.214.116)
(PORT=1521)(IP=FIRST)))) # line added by Agent
-----------------------------------------------------------------------------------
---------------------------
[oracle@catora01 ~]$ vim /oracle/11.2.0/grid/network/admin/endpoints_listener.ora
LISTENER_CATORA01=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)
(HOST=10.240.214.54)(PORT=1521))(ADDRESS=(PROTOCOL=TCP)(HOST=10.240.214.115)
(PORT=1521)(IP=FIRST)))) # line added by Agent
---------------------------------------------
Despues de modificar 10.240.214.54 por catora01-vip
[oracle@catora01 ~]$ vim /oracle/11.2.0/grid/network/admin/endpoints_listener.ora
LISTENER_CATORA01=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)
(HOST=catora01-vip)(PORT=1521))(ADDRESS=(PROTOCOL=TCP)(HOST=10.240.214.115)
(PORT=1521)(IP=FIRST)))) # line added by Agent
-----------------------------------------------------------------------------------
---------------------------
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage
Management, OLAP,
Data Mining and Real Application Testing options
-----------------------------------------------------------------------------------
---------------------------
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage
Management, OLAP,
Data Mining and Real Application Testing options
-----------------------------------------------------------------------------------
---------------------------
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN1)))
STATUS of the LISTENER
------------------------
Alias LISTENER_SCAN1
Version TNSLSNR for Linux: Version 11.2.0.4.0 - Production
Start Date 20-MAR-2017 17:25:00
Uptime 4 days 19 hr. 51 min. 11 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /oracle/11.2.0/grid/network/admin/listener.ora
Listener Log File
/oracle/11.2.0/grid/log/diag/tnslsnr/catora02/listener_scan1/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER_SCAN1)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.240.214.53)(PORT=1521)))
Services Summary...
Service "catora" has 1 instance(s).
Instance "clcatora_2", status READY, has 1 handler(s) for this service...
Service "clcatora" has 1 instance(s).
Instance "clcatora_2", status READY, has 1 handler(s) for this service...
Service "clcatoraXDB" has 1 instance(s).
Instance "clcatora_2", status READY, has 1 handler(s) for this service...
The command completed successfully
[oracle@catora02 ~]$ set | grep oracle^C
[oracle@catora02 ~]$ srvctl config scan_listener
El listener de SCAN LISTENER_SCAN1 existe. Puerto: TCP:1521
[oracle@catora02 ~]$ srvctl status scan
La VIP de SCAN scan1 está activada
La VIP de SCAN scan1 se está ejecutando en el nodo catora02
[oracle@catora02 ~]$ lsnrctl service LISTENER_SCAN1
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN1)))
Services Summary...
Service "catora" has 1 instance(s).
Instance "clcatora_2", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:122 refused:0 state:ready
REMOTE SERVER
(ADDRESS=(PROTOCOL=TCP)(HOST=10.240.214.55)(PORT=1521))
Service "clcatora" has 1 instance(s).
Instance "clcatora_2", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:122 refused:0 state:ready
REMOTE SERVER
(ADDRESS=(PROTOCOL=TCP)(HOST=10.240.214.55)(PORT=1521))
Service "clcatoraXDB" has 1 instance(s).
Instance "clcatora_2", status READY, has 1 handler(s) for this service...
Handler(s):
"D000" established:0 refused:0 current:0 max:1022 state:ready
DISPATCHER <machine: catora02, pid: 3403>
(ADDRESS=(PROTOCOL=tcp)(HOST=catora02)(PORT=23765))
The command completed successfully
-----------------------------------------------------------------------------------
---------------------------
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN1)))
STATUS of the LISTENER
------------------------
Alias LISTENER_SCAN1
Version TNSLSNR for Linux: Version 11.2.0.4.0 - Production
Start Date 29-DEC-2016 13:10:08
Uptime 86 days 0 hr. 8 min. 14 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /oracle/11.2.0/grid/network/admin/listener.ora
Listener Log File
/oracle/11.2.0/grid/log/diag/tnslsnr/dpscatora01/listener_scan1/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER_SCAN1)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.240.241.90)(PORT=1521)))
Services Summary...
Service "catora" has 1 instance(s).
Instance "clcatora_2", status READY, has 1 handler(s) for this service...
Service "clcatora" has 1 instance(s).
Instance "clcatora_2", status READY, has 1 handler(s) for this service...
Service "clcatoraXDB" has 1 instance(s).
Instance "clcatora_2", status READY, has 1 handler(s) for this service...
The command completed successfully
[oracle@dpscatora01 ~]$ srvctl config scan_listener
El listener de SCAN LISTENER_SCAN1 existe. Puerto: TCP:1521
[oracle@dpscatora01 ~]$ srvctl status scan
La VIP de SCAN scan1 está activada
La VIP de SCAN scan1 se está ejecutando en el nodo dpscatora01
[oracle@dpscatora01 ~]$ lsnrctl service LISTENER_SCAN1
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN1)))
Services Summary...
Service "catora" has 1 instance(s).
Instance "clcatora_2", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:192 refused:0 state:ready
REMOTE SERVER
(ADDRESS=(PROTOCOL=TCP)(HOST=10.240.240.49)(PORT=1521))
Service "clcatora" has 1 instance(s).
Instance "clcatora_2", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:192 refused:0 state:ready
REMOTE SERVER
(ADDRESS=(PROTOCOL=TCP)(HOST=10.240.240.49)(PORT=1521))
Service "clcatoraXDB" has 1 instance(s).
Instance "clcatora_2", status READY, has 1 handler(s) for this service...
Handler(s):
"D000" established:0 refused:0 current:0 max:1022 state:ready
DISPATCHER <machine: dpscatora01, pid: 7814>
(ADDRESS=(PROTOCOL=tcp)(HOST=dpscatora01)(PORT=24434))
The command completed successfully
-----------------------------------------------------------------------------------
---------------------------