[Pacemaker] Information about other nodes in Resource Agent.

Gregg Jaskiewicz gryzman at gmail.com
Tue Aug 27 09:18:01 UTC 2013


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 <andrew at 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 <gryzman at 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 at 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 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20130827/f28070a2/attachment.htm>


More information about the Pacemaker mailing list