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

Ask Your Question
0

How is the managing GSM determined?

Hello,

When a grid is started with 2 GSMs, how the grid decides which GSM is the managing one (the one which is responsible for deployment)? Is the decision random? Or is it the one which was started first? Is it possible to configure a deterministic deployment for GSMs, to prefer one over another?

asked 2017-05-18 01:44:41 -0500

Alexey Serdyuk gravatar image
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

Hi Alexey. When choosing a GSM to deploy your processing unit, only then will it become an active manager for this particular processing unit. The GSMs are active-active, and thus either can actively manage a processing unit.

When the grid starts, no GSM is the managing one. Only after you deploy a processing unit.

If you want a more deterministic approach, using the Admin API, your deployment code will have to choose the same GSM for both deployments. The best way to do that is choose the discovered GSM with the smallest UUID.

Hope this helps.

answered 2017-05-18 09:18:16 -0500

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: 2017-05-18 01:44:41 -0500

Seen: 497 times

Last updated: May 18