[Linux-HA] Newbie's resources not flying
alanr at unix.sh
Thu Mar 17 08:14:00 MST 2005
J. B. Schatz wrote:
> Helmut Wollmersdorfer wrote:
>> Does your service-IP 184.108.40.206 exist, is created by HA?
> No, it is not created by HA. Also, it does not exist before I run HA:
> there is no IP on eth0, the IFACE I want to use for the service address.
> Only IFACEs eth1 and eth2 are active during my tests.
>> And it should look in the logs like this:
>> heartbeat: 2005/03/12_01:26:18 info: standby: acquire [foreign]
>> resources from via2
>> You should do the configuration step by step.
>> - set up DRBD manually, independant from heartbeat (you always did)
>> - set up samba on top of DRBD, keep it starting from init.d directly
>> - set up only the IP as haresource, test it
>> - then add drbd as haresource
>> - then test your /etc/ha.d/resource.d/samba script _manually_
>> - then add samba as resource
> Thanks very much. I have run the suggested test with only the IP as a
> resource for heartbeat. Here is the haresources file for both nodes:
> ns1 IPaddr::220.127.116.11/28/eth0
> No IP resource is created and indeed ifconfig does not show eth0 at all.
> Absent in the log file is any line resembling "Acquiring resource
> group..." as in the example above.
IPaddr will NOT bring up an interface from scratch. It will only add
aliases to an existing, configured interface.
Alan Robertson <alanr at unix.sh>
"Openness is the foundation and preservative of friendship... Let me claim
from you at all times your undisguised opinions." - William Wilberforce
More information about the Linux-HA