当前位置:网站首页>Simulate not all endpoints registered exceptions and Solutions
Simulate not all endpoints registered exceptions and Solutions
2022-07-23 07:54:00 【51CTO】
database :oracle 11.2.0.4
System :CentOS 7.9
Environmental Science :rac (2 node )
The goal of the experiment : simulation not all endpoints registered abnormal , And providing solutions .
1、 database information
1.1、IP Information
explain :192.168.133.162 The vip Later as a test IP, Particular attention .
1.2、 Login authentication
explain : Two nodes use hisdb1-vip Can log into the database .
1.3、 State of the cluster
explain : Note here scan ip stay hisdb2 On .
1.4、vip state
see vip 192.168.133.162 state
2、 Simulate anomalies
2.1、 close vip
Now shut down vip 192.168.133.162.
explain : close hisdb1 Of vip after ,ifconfig Will not show ens33:1 Information .
2.2、 State of the cluster
close hisdb1-vip Then view the cluster status .
explain : Now the node 1 Monitoring status and vip Turn into OFFLINE. And through nodes 1 Of public ownership IP、VIP Cannot log into the database . Through node 2 Of public ownership ip、vip、scan ip The connection is normal .
2.3、 Solution
2.3.1、 Trial and error scheme
It is found that the listening status is off,rac Environment with oracle The user starts listening . explain :scan ip At the node 2, The following will happen .
scan ip At the node 1 The author did not save the data after the test , But you can also test it yourself and leave a message in the comment area .
A few minutes later, no service was found , Even if alter system register Re register to listen , Still no service .
grid The user views the monitoring situation as follows , Abnormal listening .
Use at this time grid The user starts listening .
View the cluster status , Found Not All Endpoints Registered Report errors , As shown below , This error is successfully simulated .
This error report was also encountered by the author during a patrol inspection , Presumably, the customer used oracle The user found that the status was wrong after starting monitoring , And then use grid The user starts listening , Check the monitoring status as above and think it is normal , Here, the author reproduces the problem and tests the use node 1 Of public ownership IP and VIP You can still connect to the database , So this leads to customers thinking that database monitoring has returned to normal .
The solution of this trial and error solution :
explain : Find out hisdb1 There are two listeners , Database ORACLE_HOME There is also a , Cause the port 1521 Occupy ,kill process 10097, After that, the monitoring returned to normal .
2.3.2、 Correct scheme
As you can see , The monitor didn't get up , It should be in hisdb1 use grid The user starts listening , The above exception will not appear , and vip Also open with monitoring .
边栏推荐
- 局域网SDN技术硬核内幕 5 虚拟化网络的实现
- flink批量读取es
- Implementation of remove function
- 【第31天】给定一个整数 n ,求出它的每个质因数的底数与指数 | 算术基本定理
- How to use the order flow analysis tool (in)
- With 130 new services and functions a year, this storage "family bucket" has grown again
- 我是如何在一周内拿到4份offer的?
- 初出茅庐的小李第109篇博客之如何打开Keil中文件的真是路径
- Wechat campus second-hand book trading applet graduation design finished product (8) graduation design thesis template
- 【开发技术】SpingBoot数据库与持久化技术,JPA,MongoDB,Redis
猜你喜欢

Chapter 2 how to use sourcetree to update code locally

我为OpenHarmony 写代码,战“码”先锋第二期正式开启!

多传感器融合综述---FOV与BEV

沃尔沃xc90的安全性如何?一起来看看吧

开幕在即 | “万物互联,使能千行百业”2022开放原子全球开源峰会OpenAtom OpenHarmony分论坛

(五)数电——公式化简法

大厂底层必修:“应用程序与 AMS 的通讯实现”

FTXUI基础笔记(hello world)

Implementation of remove function

ETL tool (data synchronization)
随机推荐
Here comes the genuine Adobe software! Adobe's only genuine family bucket subscription in the world costs only 0 yuan / year
6-13漏洞利用-smtp暴力破解
93. (leaflet chapter) leaflet situation plotting - modification of attack direction
弥散张量分析开源软件 DSI Studio 简体中文汉化版可以下载了
類和對象(1)
LAN SDN technology hard core insider 4 from computing virtualization to network virtualization
scala idea提示函数参数
Delete the duplicate items in the array (keep the last duplicate elements and ensure the original order of the array)
Scala generic generic class details - t
FTXUI基础笔记(hello world)
【开发技术】SpingBoot数据库与持久化技术,JPA,MongoDB,Redis
局域网SDN技术硬核内幕 6 分布式任意播网关
如何配置CANoe Network-based access模式的以太网网络拓扑
Inside the hard core of LAN SDN technology - evpn implementation of 16 three from thing to person user roaming in the park
Understand the domestic open source Magnolia license series agreement in simple terms
如何保护 JDBC 应用程序免受 SQL 注入
JS determines the scrolling element and solves the tab to switch the scrolling position independently
Chapter 2 how to use sourcetree to update code locally
网络安全之ARP欺骗防护
如何优雅的改变this指向