Welcome to the new Gigaspaces XAP forum. To recover your account, please follow these instructions.

Ask Your Question
0

GSM zookeeper warning/error message

Hi, I'm getting some looped responses on each node of my cluster, they keep repeating constantly. And I don't know what else to check. Kinda lost here.

[gsm][2/16083]  2019-05-23 18:28:58,276 GSM INFO [org.apache.zookeeper.ZooKeeper] - Initiating client connection, connectString=node1:2181,node2:2181,node3:2181 sessionTimeout=8000 watcher=org.apache.curator.ConnectionState@f2f2cc1
[gsm][2/16083]  2019-05-23 18:28:58,280 GSM INFO [org.apache.zookeeper.ClientCnxn] - Opening socket connection to server node3/node3:2181. Will not attempt to authenticate using SASL (unknown error)
[gsm][2/16083]  2019-05-23 18:28:58,281 GSM WARNING [org.apache.zookeeper.ClientCnxn] - Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect; Caused by: java.net.ConnectException: Connection refused
[gsm][2/16083]  2019-05-23 18:28:58,384 GSM INFO [org.apache.zookeeper.ClientCnxn] - Opening socket connection to server node1/node1:2181. Will not attempt to authenticate using SASL (unknown error)
[gsm][2/16083]  2019-05-23 18:28:58,385 GSM WARNING [org.apache.zookeeper.ClientCnxn] - Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect; Caused by: java.net.ConnectException: Connection refused
[gsm][2/16083]  2019-05-23 18:28:58,486 GSM INFO [org.apache.zookeeper.ClientCnxn] - Opening socket connection to server node2/node2:2181. Will not attempt to authenticate using SASL (unknown error)

I'm defining the XAP_ZOOKEEPER_SERVERS with the list of the nodes. Each node is starting with the following command: ./gs-agent.sh --global.lus=3 --global.gsm=3 --gsc=1 Fireall is disabled, no custom ports are configured, all default configuration. Thanks in advance.

asked 2019-05-23 16:39:36 -0500

LukeAva gravatar image
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

If you're using XAP Manager, in your setenv-overrides.sh file, you should list the hosts that are the XAP Managers in the XAP_MANAGER_SERVERS environment variable. Do not configure XAP_LOOKUP_LOCATORS.

Then on the hosts you want to start as Managers, you can run:

./gs-agent.sh --manager --gsc=1, this tells it to start 1 manager process and 1 gsc process.

There is no need to start GSM or LUS as this functionality is now embedded in the manager process.

See: https://docs.gigaspaces.com/latest/ad...

answered 2019-05-24 10:05:14 -0500

Dixson Huie gravatar image
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2019-05-23 16:39:36 -0500

Seen: 131 times

Last updated: May 24