Hello again,
i just wanted to try to convert my V1-haresource into the V2-cib.xml via the
python-tool, but an error occurred.
I'm not Linux-Specialist enough, to correct the error myself, so could anyone
tell me, what to do?
# /usr/lib/heartbeat/haresources2cib.py /etc/ha.d/haresources
Traceback (most recent call last):
File "/usr/lib/heartbeat/haresources2cib.py", line 451, in ?
config = open(config_file, "r").readlines()
IOError: [Errno 2] No such file or directory: '@HA_HBCONF_DIR@/ha.cf'
PS: I do have a ha.cf in /etc/ha.d/ -directory, but it seems like the tool
doesn't find it?!?
Thanks a lot
Regards
Florian Schmidt
altro consult Deutschland GmbH
GB IT-Services
Mittelbacher Strasse 3
09224 Chemnitz
Germany
Tel. +49 371 88 17016
Fax +49 371 88 17460
E-Mail [EMAIL PROTECTED]
web www.altroconsult.de
Special Expertise Partner SAP for HCM
-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Andrew Beekhof
Gesendet: Mittwoch, 13. Februar 2008 09:10
An: General Linux-HA mailing list
Betreff: Re: AW: [Linux-HA] Disadvantages when configuring Heartbeat V2 like V1
On Feb 12, 2008, at 5:45 PM, Schmidt, Florian wrote:
> Hi,
>
> I already read about this script, but cannot find it in the directory.
> Maybe the .rpms I installed didn't include this?
>
> rpm -qa | grep heart:
>
> heartbeat-resources-2.1.3-12.1
> heartbeat-2.1.3-12.1
> heartbeat-common-2.1.3-12.1
ok, they're the packages from the build-service... make sure you also
get the Pacemaker package too (the CRM has been spun-off and is now
maintained as Pacemaker)
> I wanted to try updating to a newer version, but noticed, that it IS
> the newest version, referring to http://linux-ha.org/download/index.html
> .
>
> I'll now try another source for the files and reinstall them.
>
> Some other ideas, where this script could be? O_o ;)
the script is bundled with the pacemaker package (since it's of no use
if you're running a v1 cluster without pacemaker)
>
>
> Regards,
>
> Florian Schmidt
>
> altro consult Deutschland GmbH
> GB IT-Services
> Mittelbacher Strasse 3
> 09224 Chemnitz
> Germany
> Tel. +49 371 88 17016
> Fax +49 371 88 17460
> E-Mail [EMAIL PROTECTED]
> web www.altroconsult.de
> Special Expertise Partner SAP for HCM
>
> -----Ursprüngliche Nachricht-----
> Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> ] Im Auftrag von Miroslav Strugarevic
> Gesendet: Dienstag, 12. Februar 2008 16:49
> An: General Linux-HA mailing list
> Betreff: Re: [Linux-HA] Disadvantages when configuring Heartbeat V2
> like V1
>
> On Feb 12, 2008 4:07 PM, Schmidt, Florian
> <[EMAIL PROTECTED]> wrote:
>>
>> Hi eyeryone,
>>
>> I do have Heartbeat V2 installed and wanted (because I have V2 so
>> configure it with V2-tools) ("crm yes")). But it's much harder to
>> understand the V2-configuration with its cib.xml and all the
>> concepts.
>>
>> So are there any disadvantages when using the V1-configuration with a
>> Heartbeat V2?
>
> Hi,
>
> you could use this script to convert V1 to V2 style.
>
> # /usr/lib/heartbeat/haresources2cib.py /etc/ha.d/haresources
>
> This script will create V2 config file /var/lib/heartbeat/crm/cib.xml
> (Then you could use hbclient or hb_gui to modified cluster settings).
>
> Good luck!
>
>> We only want to make some services high-available (FTP etc.) in a
>> cluster with two nodes and mirror some filesystems to the active node
>> via DRBD.
>>
>> Tanks for answers :)
>>
>> Flori
>>
>> _______________________________________________
>> Linux-HA mailing list
>> [email protected]
>> http://lists.linux-ha.org/mailman/listinfo/linux-ha
>> See also: http://linux-ha.org/ReportingProblems
>>
> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
> _______________________________________________
> Linux-HA mailin
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems