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

Ask Your Question
0

One primary PU per machine (2 GSC)

Hello.
I have a cluster of GS nodes and 2 GSC on each "data" nodes. My PU makes a high load for machines, thus I'm looking for a way to deploy only one the primary instance per machine. Each machine has 2 GSC. To avoid situation when primary instances are deployed on both GSC I tried to use "primary-backup-zone-controller". But in that case I have situations when 2 primary instances are deployed into 1 GSC with zone "primary". To avoid this I set SLA on deployment step:

gs.sh deploy -sla <sla>

The issue is the next: looks like when primary-backup-zone-controller moves instances to the correct zone it doesn't care about max-instances-per-vm="1" in SLA. And I can't have SLA into my artifacts because I have different target clusters (different sizes). How to deploy deploy only 1 primary instance per machine when they have 2 GSCs? Thanks.

asked 2014-11-05 09:31:50 -0500

Anton Balashov gravatar image
edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

Hi,

You can start 2 GSC with 2 different Zones on each machine - GSC of primary Zone and GSC of Backup Zone And set the property com.gigaspaces.grid.gsc.serviceLimit=1 so only one instance can be started on each GSC Let us know if that works for you

answered 2014-11-06 02:09:15 -0500

inbarc gravatar image
edit flag offensive delete link more
2

Hi,

This works:

./gs.sh pudeploy -max-instances-per-machine 1 -max-instances-per-vm 1 -cluster schema=partitioned-sync2backup total_members=2,1 pu-to-deploy

Thanks.

answered 2014-11-15 19:01:28 -0500

guedim gravatar image
edit flag offensive delete link more

Comments

Your Answer

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

Add Answer

Question Tools

2 followers

Stats

Asked: 2014-11-05 09:31:50 -0500

Seen: 637 times

Last updated: Nov 15 '14