Hello,
on rh el 5.5 trying to configure ocfs2 1.4 with pacemaker 1.0.8.
It seems I have some problems with programs/kernel modules missing.

I downloaded rpm for pacemaker from clusterlabs repo and rpm for ocfs2 from
Oracle repo:
ocfs2-tools-1.4.4-1.el5
ocfs2-2.6.18-194.el5-1.4.7-1.el5
ocfs2console-1.4.4-1.el5


In pacemaker resource agent o2cb (part of pacemaker-1.0.8-5.el5 rpm) I have:
...
: ${OCF_RESKEY_stack:="pcmk"}
: ${OCF_RESKEY_sysfs:="/sys/fs"}
: ${OCF_RESKEY_configfs:="/sys/kernel/config"}
: ${OCF_RESKEY_daemon_timeout:="10"} # How long to wait for things to start
: ${OCF_RESKEY_CRM_meta_gloablly_unique:="false"}

DAEMON="/usr/sbin/ocfs2_controld.${OCF_RESKEY_stack}"
CLUSTER_STACK_FILE="${OCF_RESKEY_sysfs}/ocfs2/cluster_stack"
LOADED_PLUGINS_FILE="${OCF_RESKEY_sysfs}/ocfs2/loaded_cluster_plugins"
...

and
...
o2cb_start() {

    o2cb_monitor; rc=$?
    if [ $rc != $OCF_NOT_RUNNING ]; then
        return $rc
    fi

    ocf_log info "Starting $OCF_RESOURCE_INSTANCE"

    if [ ! -e "$CLUSTER_STACK_FILE" ]; then
        modprobe -s ocfs2_stackglue
        if [ $? != 0 ]; then
            ocf_log err "Could not load ocfs2_stackglue"
            return $OCF_ERR_INSTALLED
        fi
    fi
...

It seems I'm missing /usr/sbin/ocfs2_controld.pcmk binary on my system...

Who should provide it?
Also, if I manually mount an ocfs2 filesystem I don't see anything under

/sys/fs

I don't have any ocfs2 subdir here ...
At boot then I get
FATAL: Module ocfs2_stackglue not found

So I'm able to satisfy
neither: -e "$CLUSTER_STACK_FILE"
nor: modprobe -s ocfs2_stackglue

Is this related in any way with the fact that on rh el 5.5 kernel (based on
stock 2.6.18 + many rh backports) I don't have the module  ocfs2_stackglue
that was introduced in 2.6.27?
And meaning this that for now using rh el 5.5 kenel is a show stopper to try
ocfs2 1.4 + pacemaker + drbd?

Or am I only missing any further package?

Or must I use ocfs2 1.2 with rh el 5.x?

Thanks for any insight,
Gianluca
_______________________________________________
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