1
文章前言
向监听注册实例信息;
往listener.log里记录service_update、 service_register、service_died事件;
LREG是一个重要的后台进程,如果该进程被杀,实例会crash。
2
实例注册
alter system set events = 10257 trace name context forever, level 5;
alter system set events=immediate trace name listener_registration level 3;
------------------------------
Start Registration Information
------------------------------
Last update: 179670 (518 seconds ago)
Flag: 0x4, 0x0
State: succ=1, wait=0, fail=0
Non-CDB: root pdb 0 last pdb 0 open max pdb 0
Dispatcher configuration index: cur 1 max 1
Network -oracledefault- pdb 0 :
Local listeners:
0 - (ADDRESS=(PROTOCOL=TCP)(HOST=rac1)(PORT=1521)) pdb 0 dci 0
state=1, err=0
nse[0]=0, nse[1]=0, nte[0]=0, nte[1]=0, nte[2]=0
ncre=0
endp=(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=***.***.20.1)(PORT=1521)))
flg=0x80000000 nse=0 pri=0x7f26a6f276f0
Instance: orcl (PDB 0 flag 0x1 state 0)
flg=0x0, upd=0xa
info=(INF=(HOST=rac1)(REGION=)(DB_NAME=orcl)(VINST_NAME=))
node load=2, max=5120
inst load=1, max=622
pri=0x7f26a6f27028
Active Services:
0 - orcl
flg=0x4, upd=0x2, pdb=0
goodnes=0, delta=1, pri=0x7f26a6f271a8
1 - orclXDB
flg=0x5, upd=0x2, pdb=0
goodnes=0, delta=1, pri=0x7f26a6f27148
Inactive Services:
Deleted Services:
Service ACLs:
Dump ACLs:
Handlers:
0 - Dedicated
flg=0x2002, upd=0x2, srvl=2
services=orcl
hdlr load=50, max=399
nam=DEDICATED
…………………………………………
----------------------------
End Registration Information
----------------------------
3
往监听日志里记录服务注册事件
<msg time=2022-02-21T14:34:27.527+08:00 org_id=oracle comp_id=tnslsnr
type=UNKNOWN level=16 host_id=rac1 host_addr=***.***.20.1 pid=4629>
<txt>21-FEB-2022 14:34:27 * (ADDRESS=(PROTOCOL=tcp)(HOST=***.***.20.1)(PORT=15161)) * service_register * orcl * 0
txt>
msg>
<msg time=2022-02-21T14:40:18.356+08:00 org_id=oracle comp_id=tnslsnr
type=UNKNOWN level=16 host_id=rac1 host_addr=***.***.20.1 pid=4629>
<txt>21-FEB-2022 14:40:18 * service_update * orcl * 0
txt>
msg>
<msg time=2022-02-21T14:34:01.016+08:00 org_id=oracle comp_id=tnslsnr
type=UNKNOWN level=16 host_id=rac1 host_addr=***.***.20.1 pid=4629>
<txt>21-FEB-2022 14:34:01 * service_died * orcl * 12537
txt>
msg>
文章版权归作者所有,未经允许请勿转载,若此文章存在违规行为,您可以联系管理员删除。
转载请注明本文地址:https://www.ucloud.cn/yun/129599.html
集成安装之Oracle12C补丁升级数据字典更新报错处理 img{ display:block; margin:0 auto !important; width:100%; } body{ width:75%; ...
摘要:服务发现服务发现被容器处理。主机首先,我们启动注册我们的地址是。首先,启动然后,启动一个简单的客户端容器并传给它。这时,构造一些请求给服务端口来看他们的负载。同样地,的事件和容器减轻了服务注册和使用注册服务发现比如的困难。 使用 Etcd 和 Haproxy 做 Docker 服务发现 标签(空格分隔): Etcd Haproxy Docker 服务发现 architecture ...
阅读 1346·2023-01-11 13:20
阅读 1684·2023-01-11 13:20
阅读 1132·2023-01-11 13:20
阅读 1858·2023-01-11 13:20
阅读 4100·2023-01-11 13:20
阅读 2704·2023-01-11 13:20
阅读 1385·2023-01-11 13:20
阅读 3597·2023-01-11 13:20