<br>
<div class="gmail_quote">2009/7/7 Heiko <span dir="ltr">&lt;<a href="mailto:rupertt@gmail.com">rupertt@gmail.com</a>&gt;</span><br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">Hi,<br><br>i have a 2 node cluster that ran over a switch, I now have a dedicated line for heartbeat and drbd.<br>
This dedicated line has its own interface on the servers.<br>Is it possible to switch onthefly from one interface to the other?<br>I assume I have to change the IP in the resource section to the new one and than do an adjust resource?<br>
Wont this produce a splitbrain when In adjust the resources one after another?<br></blockquote>
<div> </div>
<div>If you are running DRBD in Active/Passive setup and nothing wrong happens (nothing will activate your standby resources), there is no reason for split-brain.</div>
<div>drbdadm disconnect all</div>
<div>&lt;modify config accordingly&gt;</div>
<div>drbdadm adjust all</div>
<div> </div>
<div>With heartbeat V1 it is a bit more complicated. I think it only picks up config changes during service start. So I would suggest to stop heartbeat on standby node before you proceed.</div>
<div> </div>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote"><span></span><br>Both hosts have entries in our nameserver which point to the IP on eth0 and not onto the dedicated IP.<br>
Is a simple entry in the /etc/hosts enough to point drbd/heartbeat into the right direction?<br><br>When i adjust heartbeat to the new settings, can I just change the ucast entries to the new IP-Addresses?<br>Since the howto says it would better to use 2 channels should I add the 2 new IP addresses and keep the old ones?<br>
This would mean 4 ucast entries and 2 node entries, right?<br></blockquote>
<div> </div>
<div>This will probably require restart of heartbeat - it means restart of resources. Can you live with that? If not, you can try</div>
<div>killall -9 heartbeat</div>
<div> </div>
<div>Tino</div></div>