[Linux-HA] Error in IPaddr2 resource

Michael Schwartzkopff misch at multinet.de
Tue May 20 08:43:29 MDT 2008


Hi,

I found a little error in IPaddr2 RA. Diff below.

Nothing serious, but this makes CLUSTERIP target working.
Changes:
- I removed destport from the default because destport makes no sense for 
server with a fixed port.
- Give IP_CIP_HASH a default value. Otherwise the start of  the resource will 
fail.

176c176
< <content type="string" default="sourceip-sourceport-destport"/>
---
> <content type="string" default="sourceip-sourceport"/>
272c272
<       IP_CIP_HASH="${OCF_RESKEY_clusterip_hash}"
---
>       IP_CIP_HASH="${OCF_RESKEY_clusterip_hash:-sourceip-sourceport}"

-- 
Dr. Michael Schwartzkopff
MultiNET Services GmbH
Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany
Tel: +49 - 89 - 45 69 11 0
Fax: +49 - 89 - 45 69 11 21
mob: +49 - 174 - 343 28 75

mail: misch at multinet.de
web: www.multinet.de

Sitz der Gesellschaft: 85630 Grasbrunn
Registergericht: Amtsgericht München HRB 114375
Geschäftsführer: Günter Jurgeneit, Hubert Martens

---

PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B
Skype: misch42


More information about the Linux-HA mailing list