1
文章前言
向監(jiān)聽注冊實例信息;
往listener.log里記錄service_update、 service_register、service_died事件;
LREG是一個重要的后臺進(jìn)程,如果該進(jìn)程被殺,實例會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
往監(jiān)聽日志里記錄服務(wù)注冊事件
<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>
文章版權(quán)歸作者所有,未經(jīng)允許請勿轉(zhuǎn)載,若此文章存在違規(guī)行為,您可以聯(lián)系管理員刪除。
轉(zhuǎn)載請注明本文地址:http://specialneedsforspecialkids.com/yun/129599.html
集成安裝之Oracle12C補丁升級數(shù)據(jù)字典更新報錯處理 img{ display:block; margin:0 auto !important; width:100%; } body{ width:75%; ...
摘要:服務(wù)發(fā)現(xiàn)服務(wù)發(fā)現(xiàn)被容器處理。主機首先,我們啟動注冊我們的地址是。首先,啟動然后,啟動一個簡單的客戶端容器并傳給它。這時,構(gòu)造一些請求給服務(wù)端口來看他們的負(fù)載。同樣地,的事件和容器減輕了服務(wù)注冊和使用注冊服務(wù)發(fā)現(xiàn)比如的困難。 使用 Etcd 和 Haproxy 做 Docker 服務(wù)發(fā)現(xiàn) 標(biāo)簽(空格分隔): Etcd Haproxy Docker 服務(wù)發(fā)現(xiàn) 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