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>
文章版權歸作者所有,未經允許請勿轉載,若此文章存在違規行為,您可以聯系管理員刪除。
轉載請注明本文地址:http://m.specialneedsforspecialkids.com/yun/129599.html
集成安裝之Oracle12C補丁升級數據字典更新報錯處理 img{ display:block; margin:0 auto !important; width:100%; } body{ width:75%; ...
摘要:服務發現服務發現被容器處理。主機首先,我們啟動注冊我們的地址是。首先,啟動然后,啟動一個簡單的客戶端容器并傳給它。這時,構造一些請求給服務端口來看他們的負載。同樣地,的事件和容器減輕了服務注冊和使用注冊服務發現比如的困難。 使用 Etcd 和 Haproxy 做 Docker 服務發現 標簽(空格分隔): Etcd Haproxy Docker 服務發現 architecture ...
閱讀 1353·2023-01-11 13:20
閱讀 1699·2023-01-11 13:20
閱讀 1211·2023-01-11 13:20
閱讀 1904·2023-01-11 13:20
閱讀 4161·2023-01-11 13:20
閱讀 2751·2023-01-11 13:20
閱讀 1397·2023-01-11 13:20
閱讀 3664·2023-01-11 13:20