Rui Miguel Silva Seabra
2007-Jan-15 17:45 UTC
[CentOS] piranha lvsd "cluster" status: how?
Hi, I've got a couple of machines acting as directors with service=lvs Is there something similar to 'clustat' for pulse+lvsd? I need this in order to make our monitorization scripts "cluster-aware", or else one node will have critical status when there are less nannies than it expected because the services ran over to the other node. Thanks in advance, Rui -- + No matter how much you do, you never do enough -- unknown + Whatever you do will be insignificant, | but it is very important that you do it -- Gandhi + So let's do it...? -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Esta ? uma parte de mensagem assinada digitalmente URL: <http://lists.centos.org/pipermail/centos/attachments/20070115/f7386c7e/attachment.sig>
On 15/01/07, Rui Miguel Silva Seabra <rms at 1407.org> wrote:> I've got a couple of machines acting as directors with service=lvs > > Is there something similar to 'clustat' for pulse+lvsd? > > I need this in order to make our monitorization scripts "cluster-aware", > or else one node will have critical status when there are less nannies > than it expected because the services ran over to the other node.I'm not entirely sure which combination of packages you have installed from your description. If you're using the heartbeat, heartbeat-ldirectord and ipvsadm packages from the CentOS Extras repository (or the Ultramonkey packages for example) then perhaps... # ipvsadm -Ln or # service ldirectord status # service heartbeat status ... will give you what you need? Or you could write something that regularly polls /var/log/ha-log for information? Will.