>>> Lars Marowsky-Bree <[email protected]> schrieb am 23.05.2011 um 13:13 in 
>>> Nachricht
<[email protected]>:
> On 2011-05-12T11:28:49, Ulrich Windl <[email protected]> 
> wrote:
> 
> > So I guess it simply does not work (or more likely: it never was 
> implemented).
> 
> That is not correct, by the way. "iflabel" is implemented and passed to
> the "ip" command via the "label" commandline option (if set).
> 
> It gets overwritten if you've also specified an explicit "foo:0" name
> for the NIC (that should only be the basename, i.e., "eth0", not
> "eth0:1").
> 
> If you've got any problems with that, please report it to support. I
> appreciate that you're participating in the community, but the community
> is not the best place to get prompt responses or resolution of problems
> of products - neither for SUSE nor for RHT ;-)

Hi Lars,

if I had an urgent desire to have it fixed, I'd use the support contract 
(remining me of some problems that wait for a solution for some weeks -- I had 
written a work-around in the meantime...). Anyway, maybe this is a bit more 
convincing that "iflabel" is not used much in "ocf:heartbeat:IPaddr":

# grep iflabel /usr/lib/ocf/resource.d/heartbeat/IPaddr
<parameter name="iflabel">
# grep label /usr/lib/ocf/resource.d/heartbeat/IPaddr
<parameter name="iflabel">
You can specify an additional label for your IP address here.
<shortdesc lang="en">Interface label</shortdesc>
# rpm -qf /usr/lib/ocf/resource.d/heartbeat/IPaddr
resource-agents-1.0.3-0.10.1

crm(live)configure# show prm_ip_1
primitive prm_ip_1 ocf:heartbeat:IPaddr \
        op monitor interval="10s" timeout="20s" \
        params ip="172.20.16.208" iflabel="n01"

Regards,
Ulrich


_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to