[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Linux-cluster] [solved] Re: ccsd not starting



I had disabled the ipv6 module in Debian which caused that ccsd could
not start. The default settings in Debian is no start argument, which
means both ipv4 and ipv6 enabled, and the current stable ccsd in Lenny
cannot start if ipv6 is disabled in OS and no start argument "-4"
specified. From what I have heard the official Lenny packages are old
(cman 2.20081102-1+lenny1). Unfortunately the ccsd did not log to
messages about the missing support on start-up, but /usr/sbin/ccsd -n
did print to stdout.


On 12 April 2010 13:09, Bachman Kharazmi <bahkha gmail com> wrote:
> Hi
> I'm running Debail Lenny where packages: gfs2-tools and
> redhat-cluster-suite are installed.
> When I do /etc/init.d/cman start   I get:
> Starting cluster manager:
>  Loading kernel modules: done
>  Mounting config filesystem: done
>  Starting cluster configuration system: done
>  Joining cluster:cman_tool: ccsd is not running
>
>  done
>  Starting daemons: groupd fenced dlm_controld gfs_controld
>  Joining fence domain:fence_tool: can't communicate with fenced -1
>  done
>  Starting Quorum Disk daemon: done
>
> ccsd doesn't run, and that is the reason why fence cannot communicate?
>
> My cluster.conf and /etc/default/cman looks like:
>
> web3:~# cat /etc/default/cman
> CLUSTERNAME="cluster"
> NODENAME="web3"
> USE_CCS="yes"
> CLUSTER_JOIN_TIMEOUT=300
> CLUSTER_JOIN_OPTIONS=""
> CLUSTER_SHUTDOWN_TIMEOUT=60
>
> web3:~# cat /etc/cluster/cluster.conf
> <?xml version="1.0"?>
> <cluster name="cluster" config_version="1">
>
> <cman two_node="0" expected_votes="1"> </cman>
>
> <clusternodes>
> <clusternode name="web1" nodeid="1">
>        <fence>
>                <method name="single">
>                        <device name="manual" ipaddr="192.168.99.30"/>
>                </method>
>        </fence>
> </clusternode>
>
> <clusternode name="web2" nodeid="2">
>        <fence>
>                <method name="single">
>                        <device name="manual" ipaddr="192.168.99.40"/>
>                </method>
>        </fence>
> </clusternode>
>
> <clusternode name="web3" nodeid="3">
>        <fence>
>                <method name="single">
>                        <device name="manual" ipaddr="192.168.99.50"/>
>                </method>
>        </fence>
> </clusternode>
> </clusternodes>
>
> <fencedevices>
>        <fencedevice name="manual" agent="fence_manual"/>
> </fencedevices>
> </cluster>
>
> web3:~# /usr/sbin/ccsd
> web3:~# ps ax | grep ccsd
> 11935 pts/0    S+     0:00 grep ccsd
>
> strace /usr/sbin/ccsd output: http://pastebin.ca/1859435
> the process seem to die after reading the cluster.conf
>
> I have a iscsi block device /dev/sda available at three initiators.
>
> gfs2 fs is created using:
> mkfs.gfs2 -t cluster:share1 -p lock_dlm -j 4 /dev/sda1
>
> kernel is default: 2.6.26-2-amd64
> Have I missed anything to make the cman startup work properly?
>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]