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><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><br>my current drbd.conf looks like this:<br><br>esource bloon {<br> protocol C;<div class="im"><br> startup {<br> degr-wfc-timeout 120; # 2 minutes.<br>
degr-wfc-timeout 120; ## 2 minutes.<br> }<br>
disk {<br> on-io-error detach;<br> }<br> net {<br></div> after-sb-0pri disconnect;<br> after-sb-1pri disconnect;<br> after-sb-2pri disconnect;<br><br># allow-two-primaries;<br> after-sb-0pri discard-zero-changes;<br>
after-sb-1pri discard-secondary;<br> timeout 60;<br># connect-int 10;<br># ping-int 10;<br># max-buffers 2048;<br># max-epoch-size 2048;<br> }<br> syncer {<br># group 100;<br> al-extents 257;<br>
rate 20M;<br> }<br><br> on xen-a1 {<br> device /dev/drbd0;<br> disk /dev/VolGroup00/lv_bloon;<br> address <a href="http://172.17.8.201:7788/" target="_blank">172.17.8.201:7788</a>;<br> meta-disk internal;<br>
}<br><br> on xen-b1 {<br> device /dev/drbd0;<br> disk /dev/VolGroup00/lv_bloon;<br> address <a href="http://172.17.8.202:7788/" target="_blank">172.17.8.202:7788</a>;<br> meta-disk internal;<br> }<br>
}<br><br><br><br>and my looks <a href="http://ha.cf">ha.cf</a> like this:<br><br>#use_logd on<br>logfile /var/log/ha-log<br>debugfile /var/log/ha-debug<br>logfacility local0<br>keepalive 2<br>deadtime 10<br>warntime 3<br>
initdead 20<br>udpport 694<br>ucast eth0 172.17.8.201 #old<br>ucast eth0 172.17.8.202 #old<br>#ucast eth1 172.31.0.1 #new<br>
#ucast eth1 172.31.0.2 #new<br>
node xen-a1<br>node xen-b1<br>auto_failback on<br><br><br>sorry for double positing, but i think this is kind of a new matter.<br><br><br>cheers<br><br>.r<br><br>