AFAIK the current "Linux approach" (RedHat, Suse) it to use
pacemaker+corosync and OCF resource scripts.
Pacemaker is the cluster resource manager: control all resources and
monitors services by usage of the OCF scripts
Corosync provides the cluster communication: communication between the
various pacemaker instances
the OCF resource script provides means to start/stop and monitor the
service.
regards
Klaus
On 17.02.2011 14:05, Klaus Feichtinger wrote:
Hi,
I have built a similar solution with only one difference: I am using
HEARTBEAT instead of ucarp. In heartbeat it is possible moving
"haresources" from one active host to another. So, I activate MONIT (and
mysql + kamailio) only when the resources (e.g. virtual IP address) are
switched from one host to the other.
A sample config of heartbeat looks like:
[...]
Srv1 drbddisk::dbdata \
Filesystem::/dev/drbd0::/mnt/drbdfiles::ext3 \
10.0.0.1 mysql kamailio start-monit
[...]
Maybe you can use a pendant to these 'resources' in ucarp, too. I do not
know any details.
regard,
Klaus
Hello,
I am setting up a high-availablilty kamailio system using UCARP to
failover between active and standby instances. To detect failure, we
intend to use Monit.
Monit can monitor the kamailio PID and start the process when needed
(Example on the wiki
http://www.kamailio.org/dokuwiki/doku.php/install:configure-initd-script)
and it can also do OPTIONS pings to verify it is working. If the pings
fail we will initiate a ucarp swap.
However if the server is currently in standby, it does not have the V-IP
address, so I don't want to run the OPTIONS pings (I think).
Does anyone use a similar system and can provide an example of how
ucarp, monit and kamailio can work together?
Many thanks,
Hugh Waite
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users