From: Michael Bunk Date: Fri, 30 Sep 2011 11:01:59 +0200 Subject: [Cluster-devel] [PATCH] resource-agents: Find any descendant IP resource of a service In-Reply-To: <4E838521.6060008@redhat.com> References: <20110928111951.GA5752@pc514.iat.uni-leipzig.de> <4E838521.6060008@redhat.com> Message-ID: <4E858587.2070700@iat.uni-leipzig.de> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Am 28.09.2011 22:35, schrieb Lon Hohberger: > On 09/28/2011 07:19 AM, Michael Bunk wrote: >> Not just immediate children. This fixes errors in sylog like this: >> >> rgmanager[xxxx]: Looking For IP Addresses [apache:apache]> Failed - >> No IP Addresses Found > > I -think- it was intentional; if it's not at the top level, you can do > things like: > > > > > > > > The // will then find that IP, but the configuration generated by apache > resource agent will be incorrect and cause the Apache instance to fail > to start: it will try to bind to the IP address. > > I suppose that's a degenerate case, however. Yes, that is pathological... but our case - which worked in RHEL 4 - looks like this: It doesn't feel right to make the ip resource a sibling of the tiebreaker script. If resources are required to be put directly under , then the docs (without having read them every word) should mention this and the XML schema for cluster.conf should enforce it. Michael