Sam Wouters
2013-Mar-22 15:10 UTC
[Gluster-users] GlusterFS with CTDB setup - need of a event script?
Hi, I'm setting up a GlusterFS replicated cluster with CTDB and build-in glusterfs nfs export on CentOS 6.4 hosts following the documentation. Everything works fine, but I have a question about the setup: As there is currently no event script in ctdb for monitoring the gluster status, a node will not become unhealthy if for some reason the glusterd nfs export is unavailable. As such, the public ip stays at a node even when it's not serving the gluster volume or when it's not in sync. Does anybody already had a go at an ctdb event script for monitoring the gluster vol status on the host? regards, Sam -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20130322/1b45dbb9/attachment.html>
Dan Cyr
2013-Mar-22 16:02 UTC
[Gluster-users] GlusterFS with CTDB setup - need of a event script?
I don't know about using ctdb, but using Corosync: the latest Filesystem resource-agent has support for GlusterFS. I've never used it, so it might not be what you're looking for. https://github.com/ClusterLabs/resource-agents/blob/master/heartbeat/Filesystem Dan From: gluster-users-bounces at gluster.org [mailto:gluster-users-bounces at gluster.org] On Behalf Of Sam Wouters Sent: Friday, March 22, 2013 8:11 AM To: gluster-users at gluster.org Subject: [Gluster-users] GlusterFS with CTDB setup - need of a event script? Hi, I'm setting up a GlusterFS replicated cluster with CTDB and build-in glusterfs nfs export on CentOS 6.4 hosts following the documentation. Everything works fine, but I have a question about the setup: As there is currently no event script in ctdb for monitoring the gluster status, a node will not become unhealthy if for some reason the glusterd nfs export is unavailable. As such, the public ip stays at a node even when it's not serving the gluster volume or when it's not in sync. Does anybody already had a go at an ctdb event script for monitoring the gluster vol status on the host? regards, Sam -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20130322/f483e87a/attachment.html>