Sounds like there isn't anything built in to the product.
Great space for improvement there. Even if this was just between resource
agents themselves - some form of information exchange would be nice.


On 27 August 2013 02:50, Andrew Beekhof <and...@beekhof.net> wrote:

> You could potentially use:
>    crm_resource --get-parameter --resource $ANOTHER_RESOURCE
> and cycle through the list of Postgres children (filtering out those
> running as Master or Stopped)
>
> On 26/08/2013, at 6:00 PM, Gregg Jaskiewicz <gryz...@gmail.com> wrote:
>
> > Hi Guys,
> >
> > I need to write an resource agent for our little service here.
> > The service will only run on the same node as PostgreSQL master.
> > However, the service needs to know eth0 IPs of every 'slave' postgresql
> node.
> >
> > Each node's host name represents its eth1 IP.
> >
> > What's the best way to accomplish that ?
> >
> > Thanks in advance.
> >
> > --
> > GJ
> > _______________________________________________
> > Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
> > http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> >
> > Project Home: http://www.clusterlabs.org
> > Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> > Bugs: http://bugs.clusterlabs.org
>
>
> _______________________________________________
> Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org
>
>


-- 
GJ
_______________________________________________
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org

Reply via email to