Hi Cristina,

 you may want to edit the python script "haresources2cib.py" - there are some 
"old" errors (belonging to "IPaddr"/"IPaddr2"):
ocf_ra_setting = {
...
        "IPaddr"    :{"params":
["ip","cidr_netmask","nic","broadcast","iflabel","lvs_support","local_stop_script","local_start_script","ARP_INTERVAL_MS","ARP_REPEAT","ARP_BACKGROUND","ARP_NETMASK"],"time":
["60s","60s"]}
-> and for IPaddr2 too ;-)


HTH


Nikita Michalko


Am Freitag, 10. April 2009 12:25 schrieb  Cristina  Bulfon:
> Dejan,
>
> I've followed your advice and I've moved to V2, first the software has
> been updated to version 2.1.4.
>   I just modified the following files
>
> - ha.cf, added the line
>        crm yes
>
> - cib.xml has been produced using the python script and my haresources
>
>       afsitfs3.roma1.infn.it IPaddr2::141.108.26.31/24/eth0:0
>          afsitfs3.roma1.infn.it drbddisk::afs_fs Filesystem::/dev/
> drbd1::/vicepa::xfs
>          afsitfs3.roma1.infn.it drbddisk::afs_sw Filesystem::/dev/
> drbd2::/usr/afs::ext3
>          afsitfs3.roma1.infn.it 141.108.26.31 afs
>
>
> With this kind of configuration I've got a lot of error and the AFS
> resource doesn't work
>
> - crm_verify -L  -x /var/lib/heartbeat/crm/cib.xml
>
> crm_verify[30489]: 2009/04/10_12:20:01 ERROR: unpack_rsc_op: Hard
> error: IPaddr2_1_monitor_0 failed with rc=2.
> crm_verify[30489]: 2009/04/10_12:20:01 ERROR: unpack_rsc_op:
> Preventing IPaddr2_1 from re-starting on afsitfs4.roma1.infn.it
> crm_verify[30489]: 2009/04/10_12:20:01 ERROR: unpack_rsc_op: Hard
> error: IPaddr2_1_monitor_0 failed with rc=2.
> crm_verify[30489]: 2009/04/10_12:20:01 ERROR: unpack_rsc_op:
> Preventing IPaddr2_1 from re-starting on afsitfs3.roma1.infn.it
>
> I've attached both cib.xml, ha-log and ha.cf
>
> Thanks for helping me
>
> cristina
_______________________________________________
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