Re: [Linux-cluster] ccs_test tool

From: James Parsons <jparsons redhat com>

To: linux clustering <linux-cluster redhat com>

Subject: Re: [Linux-cluster] ccs_test tool

Date: Wed, 15 Nov 2006 14:02:38 -0500

Marcos Gil Ferreira David wrote:

Is the result will be the stdin to another app, no problem running as
root.
Guess will have to learn a bit about python...
Thanks
Marcos David
-----Original Message-----
From: linux-cluster-bounces redhat com
[mailto:linux-cluster-bounces redhat com] On Behalf Of James Parsons
Sent: quarta-feira, 15 de Novembro de 2006 17:42
To: linux clustering
Subject: Re: [Linux-cluster] ccs_test tool
Marcos Gil Ferreira David wrote:

Hello,
I have a two-node cluster with several services running on it. Each of

these services needs an ip address that configured in the cluster (a
Cluster IP Address).

My problem is that in order for some of our applications to function
properly I need to know the ip address that is assigned to a given
service.

Is there any application (perhaps ccs_test) that can give me the ip
address assigned to the MySQL service (or any other service), without
dumping the entire cluster.conf on console?

No, but a python script could pull it out for you in prolly less than 20
lines. It would have to run as root, though, in order to read the conf
file. Do you need this to work in an automated fashion as stdin to
another app?
-J