[sheepdog-users] Help with zookeeper
Valerio Pachera
sirio81 at gmail.com
Sat Dec 14 09:23:21 CET 2013
Hi, I'm trying to run sheepdog with zookeeper on devian wheezy.
I think zookeeper configuration is fine, the process is running on 3 nodes
of 4 total.
When I run zookeeper, sheepdog crashes
sheep.log
Dec 14 09:09:25 INFO [main] md_add_disk(310) /mnt/sheep/dsk02, vdisk nr
233, total disk 1
Dec 14 09:09:25 DEBUG [main] init_signal(257) register signal_handler for
13
Dec 14 09:09:25 DEBUG [main] init_disk_space(326) disk free space is
249842946048
Dec 14 09:09:25 DEBUG [main] zk_init(1312) version 3.3.5, address
192.168.2.44:2181,:192.168.2.45:2181,:192.168.2.46:2181, timeout 30000
Dec 14 09:09:25 ERROR [main] zk_init(1315) failed to connect to zk server
192.168.2.44:2181,:192.168.2.45:2181,:192.168.2.46:2181
Dec 14 09:09:25 ERROR [main] main(817) failed to create sheepdog cluster
Dec 14 09:09:25 ERROR [main] crash_handler(528) sheep pid 1282 exited
unexpectedly.
These are the sheep's options:
sheep -n /var/sheep,/mnt/sheep/dsk02 \
-c zookeeper:192.168.2.44:2181,:192.168.2.45:2181,:192.168.2.46:2181 \
-i host=192.168.10.4,port=3333 \
-w size=200000G,dir=/mnt/sheep/dsk01 \
-l dir=/tmp,level=7,format=server
Sheepdog daemon version 0.7.0_197_g9f718d2
This is zookeeper process
ps aux | grep zookeeper
root 1336 0.0 0.0 7848 844 pts/0 S+ 09:13 0:00 grep
zookeeper
107 25912 0.1 2.1 1108808 42416 ? Sl dic13 1:16
/usr/bin/java -cp
/etc/zookeeper/conf:/usr/share/java/jline.jar:/usr/share/java/log4j-1.2.jar:/usr/share/java/xercesImpl.jar:/usr/share/java/xmlParserAPIs.jar:/usr/share/java/zookeeper.jar
-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.local.only=false
-Dzookeeper.log.dir=/var/log/zookeeper
-Dzookeeper.root.logger=INFO,ROLLINGFILE
org.apache.zookeeper.server.quorum.QuorumPeerMain
/etc/zookeeper/conf/zoo.cfg
This is zookeeper config file:
(note: on the other 2 nodes leaderServes is commented)
grep -v -e ^# -e ^$ /etc/zookeeper/conf/zoo.cfg
tickTime=2000
initLimit=10
syncLimit=5
dataDir=/var/lib/zookeeper
clientPort=2181
server.44=192.168.2.44:2888:3888
server.45=192.168.2.45:2888:3888
server.46=192.168.2.46:2888:3888
leaderServes=yes
maxClientCnxns=0
cat /etc/zookeeper/conf/myid
44
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/sheepdog-users/attachments/20131214/12880ba6/attachment-0004.html>
More information about the sheepdog-users
mailing list