[Linux-HA] problem with a custom OCF resource
dejanmm at fastmail.fm
Tue Nov 13 06:20:56 MST 2007
On Tue, Nov 13, 2007 at 10:49:06AM +0100, Frank wrote:
> Hi everybody,
> we have begun using CRM in our HA Servers recently. First of all we have
> migrated our R1 resources using the migration script
> and it have been successful.
> We have running OpenVZ in a couple of servers with HA, and we have tried
> to create a OCF script to control the virtual machines
> following the steps shown in HA documents.
> All the tests with starndard commands go well; also we have checked the
> script with ocf-tester and it passed.
> We have called it "VZMachine" and we have copied it on a new ocf
> provider directory "/usr/lib/ocf/resource.d/sict"
There already exists an OCF OpenVZ RA: ManageVE. Did you try it?
Or is it that you can't use it for some reason? If so, why?
> Now, after restarting heartbeat, when we try to add a resource from
> "hb_gui" we don't get any resource type on the dialog box
> (only a blank list) and we get the following message on the log:
> mgmtd: 2007/11/13_09:03:09 ERROR:
> lrm_get_rsc_class_supported(347): failed to send a rclasses message to
> lrmd via ch_cmd channel.
> May it be a problem with the script? Have we missed any step?
> By the way, we are using Red Hat 5 Linux with Heartbeat 2.1.2 (centOS rpm)
Looks like you ran into this bug:
You'll have to use cibadmin instead of GUI until that's fixed.
> THanks a lot in advance.
> UPC - Barcelona -Spain
> Aquest missatge ha estat analitzat per MailScanner
> a la cerca de virus i d'altres continguts perillosos,
> i es considera que està net.
> For all your IT requirements visit: http://www.transtec.co.uk
> Linux-HA mailing list
> Linux-HA at lists.linux-ha.org
> See also: http://linux-ha.org/ReportingProblems
More information about the Linux-HA