On 2010-06-08 16:03, Caspar Smit wrote:
> I also noticed that for the OCF scripts to work you have to start
> iscsi-target via the init script at boot using an EMPTY ietd.conf because
> for the scripts to work /usr/sbin/ietd has to be running otherwise the
> scripts give a "Connection refused" error and all hell breaks loose in
> pacemaker saying that the scripts/monitors are not installed etc. Maybe
> this can be incorperated in an updated version of the scripts that it
> start ietd if it is not running at all.

Nope, won't do, but the upstream version of these RAs do this checking
more appropriately.

> SOMETIMES the scripts even let ietd crash when stopping/migrating a
> resource(group) leaving the resource(group) in an unmanaged state.
> 
> Finally the scripts do need the /etc/initiators.allow /etc/initiators.deny
> files when using allowed initiators. Since IET version 1.4.18
> initiators.allow is deprecated and the base IET directory moved to
> /etc/iet.

Right. Which leads me to an question for Russ and Arne: would you guys
accept a patch which would include the OCF resource agents for
iSCSITarget and iSCSILogicalUnit (stripped down to only support IET, of
course) in upstream IET? These resource agents would then install into
their own OCF resource agent provider directory -- say "iet" -- and
could be invoked in Pacemaker as ocf:iet:iSCSITarget and
ocf:iet:iSCSILogicalUnit. Thus they would not conflict with any other
RAs, and they could be maintained as part of IET where they belong.

And then, the RA could also start ietd of course, like Caspar suggests.

> I had to manually create /etc/initiators.allow /etc/initiators.deny for
> the OCF scripts because without them they crashed.

Huh? I don't see that happening. Explain in more detail how they
"crashed" please.

> This was also posted to the DRBD mailinglist.

This has nothing to do with DRBD, this is about a Linux-HA resource
agent and should thus be discussed on linux-ha-dev.

Cheers,
Florian

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to