As you mentioned earlier, you are upgrading single instance to ensemble having size 3.
Could you tell me the all the three servers are fine. One has become LEADER and other two in FOLLOWER state. If server is running fine, could you check the zk server logs for the client session establishment, it will give more information like: 2013-11-19 12:35:14,780 [myid:1] - INFO [NIOServerCxn.Factory:/10.18.40.137:25000:ZooKeeperServer@868] - Client attempting to establish new session at /10.18.40.137:53318 -----Original Message----- From: michael.boom [mailto:[email protected]] Sent: 20 November 2013 19:48 To: [email protected] Subject: RE: From standalone ZK instance to 3 instances Thank you, Rakesh! Yes, zk seems to have started corectly. $ sudo ./zkServer.sh start zoo.cfg JMX enabled by default Using config: /opt/zookeeper/bin/../conf/zoo.cfg Starting zookeeper ... STARTED $ I tried ./zkCli.sh -server zk1:9983 and here's the output: 2013-11-20 15:15:19,220 [myid:] - INFO [main:Environment@100] - Client environment:java.library.path=/usr/java/packages/lib/amd64:/usr/lib/jni:/lib:/usr/lib 2013-11-20 15:15:19,220 [myid:] - INFO [main:Environment@100] - Client environment:java.io.tmpdir=/tmp 2013-11-20 15:15:19,221 [myid:] - INFO [main:Environment@100] - Client environment:java.compiler=<NA> 2013-11-20 15:15:19,222 [myid:] - INFO [main:Environment@100] - Client environment:os.name=Linux 2013-11-20 15:15:19,222 [myid:] - INFO [main:Environment@100] - Client environment:os.arch=amd64 2013-11-20 15:15:19,223 [myid:] - INFO [main:Environment@100] - Client environment:os.version=3.2.0-4-amd64 2013-11-20 15:15:19,224 [myid:] - INFO [main:Environment@100] - Client environment:user.name=solr 2013-11-20 15:15:19,224 [myid:] - INFO [main:Environment@100] - Client environment:user.home=/home/solr 2013-11-20 15:15:19,225 [myid:] - INFO [main:Environment@100] - Client environment:user.dir=/opt/zookeeper/bin 2013-11-20 15:15:19,227 [myid:] - INFO [main:ZooKeeper@438] - Initiating client connection, connectString=localhost:9983 sessionTimeout=30000 watcher=org.apache.zookeeper.ZooKeeperMain$MyWatcher@7b9dd3cd Welcome to ZooKeeper! 2013-11-20 15:15:19,272 [myid:] - INFO [main-SendThread(localhost.localdomain:9983):ClientCnxn$SendThread@966] - Opening socket connection to server localhost.localdomain/127.0.0.1:9983. Will not attempt to authenticate using SASL (unknown error) JLine support is enabled 2013-11-20 15:15:19,288 [myid:] - INFO [main-SendThread(localhost.localdomain:9983):ClientCnxn$SendThread@849] - Socket connection established to localhost.localdomain/127.0.0.1:9983, initiating session 2013-11-20 15:15:19,297 [myid:] - INFO [main-SendThread(localhost.localdomain:9983):ClientCnxn$SendThread@1085] - Unable to read additional data from server sessionid 0x0, likely server has closed socket, closing socket connection and attempting reconnect [zk: localhost:9983(CONNECTING) 0] 2013-11-20 15:15:20,611 [myid:] - INFO [main-SendThread(localhost.localdomain:9983):ClientCnxn$SendThread@966] - Opening socket connection to server localhost.localdomain/127.0.0.1:9983. Will not attempt to authenticate using SASL (unknown error) 2013-11-20 15:15:20,612 [myid:] - INFO [main-SendThread(localhost.localdomain:9983):ClientCnxn$SendThread@849] - Socket connection established to localhost.localdomain/127.0.0.1:9983, initiating session 2013-11-20 15:15:20,614 [myid:] - INFO [main-SendThread(localhost.localdomain:9983):ClientCnxn$SendThread@1085] - Unable to read additional data from server sessionid 0x0, likely server has closed socket, closing socket connection and attempting reconnect -- View this message in context: http://zookeeper-user.578899.n2.nabble.com/From-standalone-ZK-instance-to-3-instances-tp7579325p7579338.html Sent from the zookeeper-user mailing list archive at Nabble.com.
