Вы находитесь на странице: 1из 15

root pts/0 10.16.205.

105 Sat Mar 25 10:47 still logged in


-----------------------------------------------------------------------------------
-------------------------
-----------------------------------------------------------------------------------
-------------------------
-----------------------------------------------------------------------------------
-------------------------

-----------------------------------------------------------------------------------
-------------------------
[oracle@dpscatora01 ~]$ /oracle/11.2.0/grid/bin/cluvfy comp scan -verbose

Verificando SCAN

Comprobando Nombre de Acceso de Cliente Único (SCAN)...


Nombre de SCAN Nodo ¿En Ejecución? Nombre del Listener Puerto
¿En Ejecución?
---------------- ------------ ------------ ------------ ------------
------------
catora-scan dpscatora01 true LISTENER_SCAN1 1521
true

Comprobando conectividad de TCP a los listeners de SCAN...


Nodo Nombre del Listener ¿Conectividad de TCP?
------------ ------------------------ ------------------------
dpscatora01 LISTENER_SCAN1 sí
La conectividad de TCP a los listeners de SCAN existe en todos los nodos de
cluster

Comprobando configuración de resolución de nombres de "catora-scan"...

Checking integrity of name service switch configuration file


"/etc/nsswitch.conf" ...
Checking if "hosts" entry in file "/etc/nsswitch.conf" is consistent across
nodes...
Checking file "/etc/nsswitch.conf" to make sure that only one "hosts" entry
is defined
More than one "hosts" entry does not exist in any "/etc/nsswitch.conf" file
Check for integrity of name service switch configuration file
"/etc/nsswitch.conf" passed

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

La verificación de SCAN no ha sido correcta en todos los nodos especificados.

-----------------------------------------------------------------------------------
-------------------------

[oracle@catora02 ~]$ /oracle/11.2.0/grid/bin/cluvfy comp scan -verbose

Verificando SCAN

Comprobando Nombre de Acceso de Cliente Único (SCAN)...


Nombre de SCAN Nodo ¿En Ejecución? Nombre del Listener Puerto
¿En Ejecución?
---------------- ------------ ------------ ------------ ------------
------------
catora-scan catora02 true LISTENER_SCAN1 1521
true

Comprobando conectividad de TCP a los listeners de SCAN...


Nodo Nombre del Listener ¿Conectividad de TCP?
------------ ------------------------ ------------------------
catora02 LISTENER_SCAN1 sí
La conectividad de TCP a los listeners de SCAN existe en todos los nodos de
cluster

Comprobando configuración de resolución de nombres de "catora-scan"...

Checking integrity of name service switch configuration file


"/etc/nsswitch.conf" ...
Checking if "hosts" entry in file "/etc/nsswitch.conf" is consistent across
nodes...
Checking file "/etc/nsswitch.conf" to make sure that only one "hosts" entry
is defined
More than one "hosts" entry does not exist in any "/etc/nsswitch.conf" file
Check for integrity of name service switch configuration file
"/etc/nsswitch.conf" passed

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"

Fallo de la configuración del listener y de la VIP de SCAN

La verificación de SCAN no ha sido correcta en todos los nodos especificados.


-----------------------------------------------------------------------------------
-------------------------

[oracle@catora01 ~]$ $GRID_HOME/bin/cluvfy comp scan -verbose

Verificando SCAN

Comprobando Nombre de Acceso de Cliente Único (SCAN)...


Nombre de SCAN Nodo ¿En Ejecución? Nombre del Listener Puerto
¿En Ejecución?
---------------- ------------ ------------ ------------ ------------
------------
catora-scan catora02 true LISTENER_SCAN1 1521
true

Comprobando conectividad de TCP a los listeners de SCAN...


Nodo Nombre del Listener ¿Conectividad de TCP?
------------ ------------------------ ------------------------
catora01 LISTENER_SCAN1 no

PRVF-5067 : Fallo de la comprobación de conectividad de TCP para el listener


de SCAN "LISTENER_SCAN1" en el nodo "catora01"
TNS-12541: TNS:no listener

Comprobando configuración de resolución de nombres de "catora-scan"...

Checking integrity of name service switch configuration file


"/etc/nsswitch.conf" ...
Checking if "hosts" entry in file "/etc/nsswitch.conf" is consistent across
nodes...
Checking file "/etc/nsswitch.conf" to make sure that only one "hosts" entry
is defined
More than one "hosts" entry does not exist in any "/etc/nsswitch.conf" file
Check for integrity of name service switch configuration file
"/etc/nsswitch.conf" passed

Nombre de SCAN Dirección IP Estado


Comentario
------------ ------------------------ ------------------------
----------
catora-scan 10.240.216.217 fallo Entrada
de DNS
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"

Fallo de la configuración del listener y de la VIP de SCAN

La verificación de SCAN no ha sido correcta en todos los nodos especificados.

-----------------------------------------------------------------------------------
-------------------------
[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

[oracle@catora02 ~]$ ls -l /etc/resolv.conf


-rw-r--r--. 1 root root 1 mar 22 12:44 /etc/resolv.conf
-----------------------------------------------------------------------------------
-------------------------
[oracle@catora01 ~]$ cat /etc/resolv.conf
[oracle@catora01 ~]$ ls -l /etc/resolv.conf
-rw-r--r--. 1 root root 1 mar 22 12:21 /etc/resolv.conf
-----------------------------------------------------------------------------------
-------------------------
[oracle@dpscatora01 ~]$ cat /etc/resolv.conf
nameserver 10.253.2.160
nameserver 10.253.2.161
[oracle@dpscatora01 ~]$ ls -l /etc/resolv.conf
-rw-r--r--. 1 root root 48 mar 22 2016 /etc/resolv.conf
-----------------------------------------------------------------------------------
-------------------------
[oracle@dpscatora02 ~]$ cat /etc/resolv.conf
nameserver 10.253.2.160
nameserver 10.253.2.161
[oracle@dpscatora02 ~]$ ls -l /etc/resolv.conf
-rw-r--r--. 1 root root 48 mar 22 2016 /etc/resolv.conf
-----------------------------------------------------------------------------------
-------------------------
[oracle@catora02 ~]$ ls -ltro /etc/
.....
drwxr-xr-x. 10 root 4096 ene 24 13:51 sysconfig
drwxr-xr-x 7 root 4096 ene 24 14:14 vmware-tools
-rw-r--r--. 1 root 44 ene 24 14:14 adjtime
----------. 1 root 1092 mar 2 11:15 shadow-
---------- 1 root 1092 mar 8 17:00 shadow
-rw-r--r-- 1 root 490 mar 20 17:20 mtab
-rw-rw-r-- 1 oracle 980 mar 20 17:22 oratab
-rw-r--r--. 1 root 1 mar 22 12:44 resolv.conf
-rw-r--r-- 1 root 730 mar 22 13:02 hosts
drwxr-xr-x 3 root 4096 mar 22 13:13 vx
-rw-r--r-- 1 root 165 mar 22 13:13 pdregistry.cfg
-rw-r--r-- 1 root 206 mar 22 13:13 Symantec.conf
-rw-rw-r-- 1 root 0 mar 22 13:13 jlumachine.id
-rw-r--r-- 1 root 193 mar 22 13:13 Product.Catalog.JavaLiveUpdate
-rw-rw-r-- 1 root 0 mar 22 13:13 liveupdate.conf
-rw-r--r-- 1 root 171583 mar 23 03:34 prelink.cache
-----------------------------------------------------------------------------------
-------------------------
[oracle@catora02 ~]$ ls -ltro /etc/
.....
drwxr-xr-x. 10 root 4096 ene 24 13:50 sysconfig
drwxr-xr-x 2 root 4096 ene 25 10:52 snmp
drwxr-xr-x. 2 root 4096 ene 26 17:30 ssh
----------. 1 root 1092 mar 2 11:15 shadow-
---------- 1 root 1091 mar 8 16:59 shadow
-rw-rw-r-- 1 oracle 980 mar 20 17:17 oratab
drwxr-xr-x 7 root 4096 mar 20 17:25 vmware-tools
-rw-r--r--. 1 root 44 mar 20 17:26 adjtime
-rw-r--r-- 1 root 490 mar 20 17:27 mtab
-rw-r--r--. 1 root 1 mar 22 12:21 resolv.conf
-rw-r--r-- 1 root 729 mar 22 13:02 hosts
drwxr-xr-x 3 root 4096 mar 22 13:09 vx
-rw-r--r-- 1 root 165 mar 22 13:09 pdregistry.cfg
-rw-r--r-- 1 root 206 mar 22 13:09 Symantec.conf
-rw-rw-r-- 1 root 0 mar 22 13:09 jlumachine.id
-rw-r--r-- 1 root 193 mar 22 13:10 Product.Catalog.JavaLiveUpdate
-rw-rw-r-- 1 root 0 mar 22 13:10 liveupdate.conf
-rw-r--r-- 1 root 171645 mar 23 03:34 prelink.cache
-----------------------------------------------------------------------------------
-------------------------
[oracle@dpscatora01 ~]$ ls -ltro /etc/
.....
-rw-r--r--. 1 root 1068 ene 16 09:56 mtab
drwxr-xr-x. 10 root 4096 mar 7 10:11 sysconfig
-rw-r--r--. 1 root 197095 mar 19 03:47 prelink.cache
-rw-r--r--. 1 root 2054 mar 25 10:53 profile
-----------------------------------------------------------------------------------
-------------------------
[oracle@dpscatora02 ~]$ ls -ltro /etc/
.....
-rw-r--r--. 1 root 992 dic 30 09:31 mtab
-rw-r--r--. 1 root 170823 mar 22 03:24 prelink.cache
-rw-r--r--. 1 root 2054 mar 25 10:48 profile
-----------------------------------------------------------------------------------
-------------------------
[oracle@dpscatora02 ~]$ cat /etc/oratab
#Backup file is
/oracle/app/oracle/product/11.2.0/dbora_1/srvm/admin/oratab.bak.dpscatora02 line
added by Agent
#

# This file is used by ORACLE utilities. It is created by root.sh


# and updated by either Database Configuration Assistant while creating
# a database or ASM Configuration Assistant while creating ASM instance.

# A colon, ':', is used as the field terminator. A new line terminates


# the entry. Lines beginning with a pound sign, '#', are comments.
#
# Entries are of the form:
# $ORACLE_SID:$ORACLE_HOME:<N|Y>:
#
# The first and second fields are the system identifier and home
# directory of the database respectively. The third filed indicates
# to the dbstart utility that the database should , "Y", or should not,
# "N", be brought up at system boot time.
#
# Multiple entries with the same $ORACLE_SID are not allowed.
#
#
+ASM2:/oracle/11.2.0/grid:N # line added by Agent
clora10:/oracle/app/oracle/product/10.2.0/clora10:N
clcatora:/oracle/app/oracle/product/11.2.0/dbora_1:N # line added
by Agent
-----------------------------------------------------------------------------------
-------------------------
[oracle@dpscatora01 ~]$ cat /etc/oratab
#Backup file is
/oracle/app/oracle/product/11.2.0/dbora_1/srvm/admin/oratab.bak.dpscatora01 line
added by Agent
#

# This file is used by ORACLE utilities. It is created by root.sh


# and updated by either Database Configuration Assistant while creating
# a database or ASM Configuration Assistant while creating ASM instance.
# A colon, ':', is used as the field terminator. A new line terminates
# the entry. Lines beginning with a pound sign, '#', are comments.
#
# Entries are of the form:
# $ORACLE_SID:$ORACLE_HOME:<N|Y>:
#
# The first and second fields are the system identifier and home
# directory of the database respectively. The third filed indicates
# to the dbstart utility that the database should , "Y", or should not,
# "N", be brought up at system boot time.
#
# Multiple entries with the same $ORACLE_SID are not allowed.
#
#
+ASM1:/oracle/11.2.0/grid:N # line added by Agent
clora10:/oracle/app/oracle/product/10.2.0/clora10:N
DB11WP15:/oracle/app/oracle/product/11.2.0/dbora_1:N # line added
by Agent
clcatora:/oracle/app/oracle/product/11.2.0/dbora_1:N # line added
by Agent
-----------------------------------------------------------------------------------
-------------------------
[oracle@catora02 ~]$ cat /etc/oratab
#Backup file is
/oracle/app/oracle/product/11.2.0/dbhome_1/srvm/admin/oratab.bak.catora02 line
added by Agent
#

# This file is used by ORACLE utilities. It is created by root.sh


# and updated by either Database Configuration Assistant while creating
# a database or ASM Configuration Assistant while creating ASM instance.

# A colon, ':', is used as the field terminator. A new line terminates


# the entry. Lines beginning with a pound sign, '#', are comments.
#
# Entries are of the form:
# $ORACLE_SID:$ORACLE_HOME:<N|Y>:
#
# The first and second fields are the system identifier and home
# directory of the database respectively. The third filed indicates
# to the dbstart utility that the database should , "Y", or should not,
# "N", be brought up at system boot time.
#
# Multiple entries with the same $ORACLE_SID are not allowed.
#
#
+ASM2:/oracle/11.2.0/grid:N # line added by Agent
clcatora:/oracle/app/oracle/product/11.2.0/dbhome_1:N # line added
by Agent
-----------------------------------------------------------------------------------
-------------------------
[oracle@catora01 ~]$ cat /etc/oratab
#Backup file is
/oracle/app/oracle/product/11.2.0/dbhome_1/srvm/admin/oratab.bak.catora01 line
added by Agent
#
# This file is used by ORACLE utilities. It is created by root.sh
# and updated by either Database Configuration Assistant while creating
# a database or ASM Configuration Assistant while creating ASM instance.

# A colon, ':', is used as the field terminator. A new line terminates


# the entry. Lines beginning with a pound sign, '#', are comments.
#
# Entries are of the form:
# $ORACLE_SID:$ORACLE_HOME:<N|Y>:
#
# The first and second fields are the system identifier and home
# directory of the database respectively. The third filed indicates
# to the dbstart utility that the database should , "Y", or should not,
# "N", be brought up at system boot time.
#
# Multiple entries with the same $ORACLE_SID are not allowed.
#
#
+ASM1:/oracle/11.2.0/grid:N # line added by Agent
clcatora:/oracle/app/oracle/product/11.2.0/dbhome_1:N # line added
by Agent
-----------------------------------------------------------------------------------
-------------------------
[oracle@catora02 ~]$ ps -ef | grep lsnr | grep -v 'grep' | grep -v 'ocfs' |
awk '{print $9}'
LISTENER
LISTENER_SCAN1
-----------------------------------------------------------------------------------
-------------------------
[oracle@catora01 ~]$ ps -ef | grep lsnr | grep -v 'grep' | grep -v 'ocfs' |
awk '{print $9}'
LISTENER
-----------------------------------------------------------------------------------
-------------------------
[oracle@dpscatora01 ~]$ ps -ef | grep lsnr | grep -v 'grep' | grep -v 'ocfs'
| awk '{print $9}'
LISTENER
listener_ORA11UTF
LISTENER_ORA11WP15
LISTENER_CLORA101
LISTENER_SCAN1
-----------------------------------------------------------------------------------
-------------------------
[oracle@dpscatora02 ~]$ ps -ef | grep lsnr | grep -v 'grep' | grep -v 'ocfs'
| awk '{print $9}'
LISTENER
LISTENER_COM10UTF
LISTENER_ORA_PORT
LISTENER_CLORA102
-----------------------------------------------------------------------------------
-------------------------

[root@catora02 ~]# vim /usr/bin/nslookup


[root@catora02 ~]# su - oracle
[oracle@catora02 ~]$ nslookup catora-scan
Server: 10.253.2.160
Address: 10.253.2.160#53
Non-authoritative answer:
Name: catora-scan
Address: 10.240.214.53
[oracle@catora02 ~]$ /oracle/11.2.0/grid/bin/cluvfy comp scan -verbose

Verificando SCAN

Comprobando Nombre de Acceso de Cliente Único (SCAN)...


Nombre de SCAN Nodo ¿En Ejecución? Nombre del Listener Puerto
¿En Ejecución?
---------------- ------------ ------------ ------------ ------------
------------
catora-scan catora02 true LISTENER_SCAN1 1521 true

Comprobando conectividad de TCP a los listeners de SCAN...


Nodo Nombre del Listener ¿Conectividad de TCP?
------------ ------------------------ ------------------------
catora02 LISTENER_SCAN1 sí
La conectividad de TCP a los listeners de SCAN existe en todos los nodos de cluster

Comprobando configuración de resolución de nombres de "catora-scan"...

Checking integrity of name service switch configuration file


"/etc/nsswitch.conf" ...
Checking if "hosts" entry in file "/etc/nsswitch.conf" is consistent across
nodes...
Checking file "/etc/nsswitch.conf" to make sure that only one "hosts" entry is
defined
More than one "hosts" entry does not exist in any "/etc/nsswitch.conf" file
Check for integrity of name service switch configuration file "/etc/nsswitch.conf"
passed

Nombre de SCAN Dirección IP Estado Comentario


------------ ------------------------ ------------------------ ----------
catora-scan 10.240.214.53 correcto

Verificación del listener y de la VIP de SCAN correcta

La verificación de SCAN ha sido correcta.

-----------------------------------------------------------------------------------
-------------------------

[root@catora01 ~]# vim /usr/bin/nslookup


[root@catora01 ~]# su - oracle
[oracle@catora01 ~]$ /oracle/11.2.0/grid/bin/cluvfy comp scan -verbose

Verificando SCAN

Comprobando Nombre de Acceso de Cliente Único (SCAN)...


Nombre de SCAN Nodo ¿En Ejecución? Nombre del Listener Puerto
¿En Ejecución?
---------------- ------------ ------------ ------------ ------------
------------
catora-scan catora02 true LISTENER_SCAN1 1521 true
Comprobando conectividad de TCP a los listeners de SCAN...
Nodo Nombre del Listener ¿Conectividad de TCP?
------------ ------------------------ ------------------------
catora01 LISTENER_SCAN1 no

PRVF-5067 : Fallo de la comprobación de conectividad de TCP para el listener de


SCAN "LISTENER_SCAN1" en el nodo "catora01"
TNS-12541: TNS:no listener

Comprobando configuración de resolución de nombres de "catora-scan"...

Checking integrity of name service switch configuration file


"/etc/nsswitch.conf" ...
Checking if "hosts" entry in file "/etc/nsswitch.conf" is consistent across
nodes...
Checking file "/etc/nsswitch.conf" to make sure that only one "hosts" entry is
defined
More than one "hosts" entry does not exist in any "/etc/nsswitch.conf" file
Check for integrity of name service switch configuration file "/etc/nsswitch.conf"
passed

Nombre de SCAN Dirección IP Estado Comentario


------------ ------------------------ ------------------------ ----------
catora-scan 10.240.214.53 correcto

Fallo de la configuración del listener y de la VIP de SCAN

La verificación de SCAN no ha sido correcta en todos los nodos especificados.

-----------------------------------------------------------------------------------
-------------------------

-----------------------------------------------------------------------------------
-------------------------
[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

-----------------------------------------------------------------------------------
---------------------------

[oracle@dpscatora01 ~]$ vim


/oracle/11.2.0/grid/network/admin/endpoints_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
LISTENER_DPSCATORA01=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)
(HOST=dpscatora01-pri)(PORT=1521))(ADDRESS=(PROTOCOL=TCP)(HOST=10.240.240.29)
(PORT=1521)(IP=FIRST)))) # line added by Agent
#LISTENER_DPSCATORA01=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)
(HOST=10.240.241.90)(PORT=1521)))) # line added by Agen
#SID_LIST_LISTENER_DPSCATORA01=(SID_LIST=(SID_DESC=(SID_NAME=clcatora_2)
(ORACLE_HOME=/oracle/app/oracle/product/11.2.0/dbora_1)(SERVICE_NAME=catora)))

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
-----------------------------------------------------------------------------------
---------------------------

[oracle@catora02 ~]$ sqlplus "/as sysdba";

SQL*Plus: Release 11.2.0.4.0 Production on Sat Mar 25 12:50:59 2017

Copyright (c) 1982, 2013, Oracle. All rights reserved.

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

SQL> set linesize 255


SQL> show parameter remote_listener

NAME TYPE VALUE


------------------------------------ --------------------------------
------------------------------
remote_listener string catora-
scan:1521

-----------------------------------------------------------------------------------
---------------------------

[oracle@dpscatora01 ~]$ sqlplus "/as sysdba";

SQL*Plus: Release 11.2.0.4.0 Production on Sat Mar 25 12:53:04 2017

Copyright (c) 1982, 2013, Oracle. All rights reserved.

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

SQL> set linesize 255


SQL> show parameter remote_listener

NAME TYPE VALUE


------------------------------------ -----------
------------------------------
remote_listener string catora-scan:1521

-----------------------------------------------------------------------------------
---------------------------

[oracle@catora02 ~]$ lsnrctl status LISTENER_SCAN1

LSNRCTL for Linux: Version 11.2.0.4.0 - Production on 25-MAR-2017 13:16:11


Copyright (c) 1991, 2013, Oracle. All rights reserved.

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

LSNRCTL for Linux: Version 11.2.0.4.0 - Production on 25-MAR-2017 13:21:22

Copyright (c) 1991, 2013, Oracle. All rights reserved.

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

-----------------------------------------------------------------------------------
---------------------------

[oracle@dpscatora01 ~]$ lsnrctl status LISTENER_SCAN1

LSNRCTL for Linux: Version 11.2.0.4.0 - Production on 25-MAR-2017 13:18:23

Copyright (c) 1991, 2013, Oracle. All rights reserved.

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

LSNRCTL for Linux: Version 11.2.0.4.0 - Production on 25-MAR-2017 13:21:16

Copyright (c) 1991, 2013, Oracle. All rights reserved.

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

-----------------------------------------------------------------------------------
---------------------------

Вам также может понравиться