asm侦听
[grid@db1-[+ASM1]-/home/grid]$ srvctl config asm
ASM home: <CRS home>
Password file: +OCR/orapwASM
Backup of Password file: +OCRDG/orapwASM_backup
ASM listener: LISTENER
ASM instance count: 3
Cluster ASM listener: ASMNET1LSNR_ASM
[root@db1:/root]# srvctl config listener -asmlistener -all
Name: ASMNET1LSNR_ASM
Type: ASM Listener
Owner: grid
Subnet: 192.168.1.0
Home: <CRS home>
/u01/app/19.3.0/grid on node(s) db2,db1
End points: TCP:1525
Listener is enabled.
Listener is individually enabled on nodes:
Listener is individually disabled on nodes:
[grid@db1-[+ASM1]-/home/grid]$ srvctl status listener -l ASMNET1LSNR_ASM
Listener ASMNET1LSNR_ASM is enabled
Listener ASMNET1LSNR_ASM is running on node(s): db2,db1
[root@db1:/root]# srvctl status asmnetwork
ASM network is running on db2,db1
[root@db1:/root]# ps -ef|grep tns
root 172 2 0 Jul18 ? 00:00:00 [netns]
grid 29352 1 0 Jul24 ? 00:22:35 /u01/app/19.3.0/grid/bin/tnslsnr LISTENER_SCAN1 -no_crs_notify -inherit
root 148412 143241 0 04:53 pts/0 00:00:00 grep --color=auto tns
grid 430833 1 0 Jul23 ? 00:00:24 /u01/app/19.3.0/grid/bin/tnslsnr LISTENER -no_crs_notify -inherit
grid 430889 1 0 Jul23 ? 00:05:19 /u01/app/19.3.0/grid/bin/tnslsnr ASMNET1LSNR_ASM -no_crs_notify -inherit
[root@db1:/root]# su - grid
Last login: Wed Jul 31 04:42:17 CST 2024
[grid@db1-[+ASM1]-/home/grid]$ lsnrctl stat ASMNET1LSNR_ASM
LSNRCTL for Linux: Version 19.0.0.0.0 - Production on 31-JUL-2024 04:53:18
Copyright (c) 1991, 2023, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=ASMNET1LSNR_ASM)))
STATUS of the LISTENER
------------------------
Alias ASMNET1LSNR_ASM
Version TNSLSNR for Linux: Version 19.0.0.0.0 - Production
Start Date 23-JUL-2024 23:05:39
Uptime 7 days 5 hr. 47 min. 39 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/19.3.0/grid/network/admin/listener.ora
Listener Log File /u01/app/grid/diag/tnslsnr/db1/asmnet1lsnr_asm/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=ASMNET1LSNR_ASM)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.1)(PORT=1522)))
Services Summary...
Service "+ASM" has 2 instance(s).
Instance "+ASM1", status READY, has 2 handler(s) for this service...
Instance "+ASM2", status READY, has 1 handler(s) for this service...
Service "+ASM_ARCHDG" has 2 instance(s).
Instance "+ASM1", status READY, has 2 handler(s) for this service...
Instance "+ASM2", status READY, has 1 handler(s) for this service...
Service "+ASM_DATADG" has 2 instance(s).
Instance "+ASM1", status READY, has 2 handler(s) for this service...
Instance "+ASM2", status READY, has 1 handler(s) for this service...
Service "+ASM_OCRDG" has 2 instance(s).
Instance "+ASM1", status READY, has 2 handler(s) for this service...
Instance "+ASM2", status READY, has 1 handler(s) for this service...
The command completed successfully
[grid@db1-[+ASM1]-/home/grid]$
[grid@db1-[+ASM1]-/home/grid]$ grep priv /etc/hosts
192.168.1.1 db1-priv
192.168.1.2 db2-priv
[root@db1:/root]# oifcfg getif
bond0 10.1.20.0 global public
bond1 192.168.1.0 global cluster_interconnect,asm