<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>惜分飞 &#187; HOTPLUG=no</title>
	<atom:link href="https://www.xifenfei.com/tag/hotplugno/feed" rel="self" type="application/rss+xml" />
	<link>https://www.xifenfei.com</link>
	<description>提供7*24专业数据库(Oracle,SQL Server,MySQL,PostgreSQL等)恢复和技术支持@Tel:17813235971</description>
	<lastBuildDate>Thu, 22 Oct 2026 15:45:06 +0000</lastBuildDate>
	<language>zh-CN</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>udev_start导致vip漂移(常见情况:rac在线加盘操作引起)</title>
		<link>https://www.xifenfei.com/2023/05/udev_start-vip-relocate.html</link>
		<comments>https://www.xifenfei.com/2023/05/udev_start-vip-relocate.html#comments</comments>
		<pubDate>Sat, 13 May 2023 13:38:51 +0000</pubDate>
		<dc:creator><![CDATA[惜分飞]]></dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Oracle RAC]]></category>
		<category><![CDATA[HOTPLUG]]></category>
		<category><![CDATA[HOTPLUG=no]]></category>
		<category><![CDATA[udev_start导致vip漂移]]></category>

		<guid isPermaLink="false">https://www.xifenfei.com/?p=10291</guid>
		<description><![CDATA[联系：手机/微信(+86 17813235971) QQ(107644445)  &#8230; <a href="https://www.xifenfei.com/2023/05/udev_start-vip-relocate.html">继续阅读 <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<div id="xifenfeicopyright">
<p>联系：<a href="https://www.xifenfei.com/about_xifenfei" target="_blank">手机/微信(+86 17813235971)   QQ(107644445)</a><a target="_blank" href="http://wpa.qq.com/msgrd?v=3&#038;uin=107644445&#038;site=qq&#038;menu=yes"><img src="https://www.xifenfei.com/wp-content/themes/img/site_qq.jpg" alt="QQ咨询惜分飞" title="QQ咨询惜分飞"/></a></p>
<p>标题：<a href="https://www.xifenfei.com/2023/05/udev_start-vip-relocate.html" target="_blank">udev_start导致vip漂移(常见情况:rac在线加盘操作引起)</a></p>
<p>作者：<a href="https://www.xifenfei.com" target="_blank">惜分飞</a>©版权所有[未经本人同意,不得以任何形式转载,否则有进一步追究法律责任的权利.]</p>
</div>
<p>客户对asm进行扩容,执行udev_start命令之后,所有的vip全部漂移,业务全部中断<br />
<a href="https://www.xifenfei.com/wp-content/uploads/2023/05/20230513203654.png"><img src="https://www.xifenfei.com/wp-content/uploads/2023/05/20230513203654.png" alt="20230513203654" width="671" height="195" class="alignnone size-full wp-image-10292" /></a><br />
<hr />
优先恢复业务,把所有vip漂移回来</p>
<pre class="brush: bash; title: ; notranslate">
[grid@rac3 ~]$  srvctl relocate vip -i rac1 -n rac1 -f -v
VIP was relocated successfully.
[grid@rac3 ~]$  srvctl relocate vip -i rac2 -n rac2 -f -v
VIP was relocated successfully.
[grid@rac3 ~]$  srvctl relocate vip -i rac3 -n rac3 -f -v
VIP was relocated successfully.
[grid@rac3 ~]$  srvctl relocate vip -i rac4 -n rac4 -f -v
VIP was relocated successfully.
</pre>
<p>vip恢复正常，业务也恢复正常<br />
<a href="https://www.xifenfei.com/wp-content/uploads/2023/05/20230513203712.png"><img src="https://www.xifenfei.com/wp-content/uploads/2023/05/20230513203712.png" alt="20230513203712" width="678" height="244" class="alignnone size-full wp-image-10293" /></a><br />
<hr />
出现该问题的原因是由于udev_start命令引起网卡瞬间中断,从而使得vip发生漂移<br />
<a href="https://www.xifenfei.com/wp-content/uploads/2023/05/20230513212316.png"><img src="https://www.xifenfei.com/wp-content/uploads/2023/05/20230513212316.png" alt="20230513212316" width="1856" height="562" class="alignnone size-full wp-image-10294" /></a><br />
<hr />
查看ifcfg配置文件<br />
<a href="https://www.xifenfei.com/wp-content/uploads/2023/05/20230513212440.png"><img src="https://www.xifenfei.com/wp-content/uploads/2023/05/20230513212440.png" alt="20230513212440" width="917" height="588" class="alignnone size-full wp-image-10295" /></a><br />
<hr />
引起该问题的原因是udev对网卡进行了操作,从而引起该问题,处理建议在对应的ifcfg文件中加上 HOTPLUG=&#8221;no&#8221; （pulbic,private和其他需要关注的网络）<br />
参考:Network interface going down when dynamically adding disks to storage using udev in RHEL 6 (Doc ID 1569028.1)<br />
<a href="https://www.xifenfei.com/wp-content/uploads/2023/05/20230513213713.png"><img src="https://www.xifenfei.com/wp-content/uploads/2023/05/20230513213713.png" alt="20230513213713" width="1459" height="641" class="alignnone size-full wp-image-10296" /></a><br />
<hr />
<div id="crp_related"><ul><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2023/12/kettle-lost-mysql-data-recovery.html" rel="bookmark" class="crp_title">kettle导致MySQL数据丢失恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2023/07/ora-01122-ora-01200.html" rel="bookmark" class="crp_title">ORA-01122 ORA-01200故障处理</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2023/12/mysql-accidental-loss-recovery.html" rel="bookmark" class="crp_title">MySQL数据库文件丢失恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2023/01/imp-00009.html" rel="bookmark" class="crp_title">IMP-00009: abnormal end of export file</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2023/06/oracle-recovery-tools-csc-higher-than-block-scn.html" rel="bookmark" class="crp_title">Oracle Recovery Tools恢复csc higher than block scn</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2023/01/truncate-sys-table-recovery.html" rel="bookmark" class="crp_title">truncate sys用户表导致数据库异常恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2023/07/faust-db-recovery.html" rel="bookmark" class="crp_title">.faust加密勒索数据库恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2023/03/eight-db-recovery.html" rel="bookmark" class="crp_title">.eight加密数据库恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2023/04/hung_task_timeout_secs.html" rel="bookmark" class="crp_title">echo 0 > /proc/sys/kernel/hung_task_timeout_secs disables this message</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2023/11/a____z____recover____data.html" rel="bookmark" class="crp_title">A____Z____RECOVER____DATA勒索恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2023/06/mdf-locked-recovery.html" rel="bookmark" class="crp_title">.mdf.locked加密sql server完美恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2023/02/asm-disk-add-vg-extend-lv.html" rel="bookmark" class="crp_title">再一例asm disk被误加入vg并且扩容lv恢复</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>https://www.xifenfei.com/2023/05/udev_start-vip-relocate.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
