Hi, On Wed, Dec 19, 2007 at 06:39:44PM +0100, Giuseppe Castellucci wrote: > Hi guys, first of all sorry for my english if you'll find some errors. > I have a problem with heartbeat and ftp servers (both vsftpd, which i > prefer to use, and proftpd). > I have two servers (latest debian stable, with 1.2.5-3 heartbeat) that i > would like to set up in an active/active configuration with different > services and also a drbd replication. > Drbd works on a dedicated network interface(eth1), and i already tested > that it is running very well. I made all symbolic links too and i'm sure > they are correct. > Actually let's suppose i have two servers called pippo and pluto, and a > ha.cf configurations file with node pippo and node pluto and the > ethernet interface(eth0) where i put heartbeat listening. > In haresources configuration file i have two lines with: > 1)pippo 10.0.0.222/24/eth0 drbddisk::drbd0 \ > Filesystem::/dev/drbd0::/mnt/pippo::ext3 apache2 mysql samba dhcp > > 2) pluto 10.0.0.223/24/eth0 drbddisk::drbd1 \ > Filesystem::/dev/drbd1::/mnt/pluto::ext3 vsftpd exim4 bind9 > > If i change vsftpd with proftpd it's the same. All the scripts are in > the resource.d directory. > When i start heartbeat on both machines the first time, i obtain what i > want, so i have apache, mysql, samba and dhcp on pippo and the other > services on pluto. When I try to simulate a failover on pluto all the > services are up on pippo, (i have Primary/Secondary on both the drbd > disks on pippo), and when I restart pluto all it's normal. > Problems came when i simulate a failover of pippo. When i launch > a /etc/init.d/heartbeat stop on pippo there is something that has no > explanation (to me). In fact i have that all the services of pippo are > up on pluto (so i have that drbd0 device is set on Primary/Secondary on > pluto) but all the services of pluto stop (i have that drbd1 is set to > Secondary/Secondary). Naturally with this situation when i restart > heartbeat on pippo, pippo's services are up on pippo while on pluto all > remain down, and i have to restart heartbeat on pluto to return in a > correct configuration. > I think it is a problem of the ftp server because if i drop vsftpd (or > proftpd) from the haresources file i obtain the correct behaviour.
Are this resource agents LSB compliant? Please see http://www.linux-ha.org/ResourceAgent Thanks, Dejan > I also tried to swap services or to change where they are primary, but > all seem to make ftp server my devil!! > If someone know how to fix this problem please tell me how, because i > really don't know what to do. > > Thanks to all > > Bye bye > > _______________________________________________ > Linux-HA mailing list > [email protected] > http://lists.linux-ha.org/mailman/listinfo/linux-ha > See also: http://linux-ha.org/ReportingProblems _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
