LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Services Monitoring

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Services Monitoring
From: Christophe Mailhebuau <christophe.mailhebuau@xxxxxxxxxx>
Date: Thu, 16 Mar 2006 11:01:06 +0100
Hi,

I configuring 2 box with heartbeat and ldirector to mysql + openldap +
drbd.

        VIP (192.168.10.10)
        /               \
       /                 \
  192.168.10.20    192.168.10.30

Mysql and openldap run with replication OK
drbd run ok.

Failover run ok.

The problem is, failover run successufully when heartbeat stop, but when
i have a service (example mysql) stop, i need to execute on
192.168.10.30 a script to pass myqsl slave on master and restart
mysqld service on it, and i need to routing mysql request to
192.168.10.30.

example :

mysql request on 192.168.10.10 -->to 192.168.10.20 (if failed go on
192.168.10.30)

I dont need to do load balancing.

Have you an idea ?

-- 
Cordialement,
Christophe Mailhebuau 
Administrateur systèmes GNU/Linux 
Steria Aquitaine
GPG/fingerprint: 71A0 8348 154A EB5F 8E09 4C56 6D1D 6A3B 8C49 8C50

<Prev in Thread] Current Thread [Next in Thread>
  • Services Monitoring, Christophe Mailhebuau <=