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

Ask Your Question
0

Deploy only primaries

Hi Team,

What should be the SLA if i want to deploy only primaries on gscs, i dont want to have any backups instead i want to deploy only primaries in all gscs. we have 8gscs and 20 partition and 4 hosts. i have below config as of now but this deploys only 4 partitions 1 on each host.

<os-sla:sla cluster-schema="partitioned-sync2backup" number-of-instances="20" number-of-backups="0"> </os-sla:sla>

asked 2016-12-19 04:26:28 -0500

Harvey gravatar image
edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted
0

This sla seems fine, but you should check if you override it,in addition you might added property to limit number of instances per gsc (servicelimit) I suggest you have a loot at gsm log, and in http://docs.gigaspaces.com/xap120adm/...

answered 2016-12-19 07:10:31 -0500

Ester gravatar image
edit flag offensive delete link more

Comments

i tried reducing the number-of-instances="8" which is equal to the no. of gscs still 1 partition per host is getting deployed :(

Harvey gravatar imageHarvey ( 2016-12-19 07:13:47 -0500 )edit
0

Have number-of-instances=8 , max per VM = 1 and Max per machine = 2.

This how you will have 2 primaries per host, each within a dedicated GSC. Make sure you have 2 GSCs per host running.

Have also the following system property for GSC : com.gigaspaces.grid.gsc.serviceLimit=1

http://docs.gigaspaces.com/xap120adm/...

answered 2016-12-19 08:48:36 -0500

shay hassidim gravatar image
edit flag offensive delete link more

Comments

Hi Shay,

I tried with the above as well but nothing seems to be working it is deploying on 1 partition per host. Below is the GSC start params can you please check if something is overriding it ?

Harvey gravatar imageHarvey ( 2016-12-20 03:52:37 -0500 )edit

2016-12-20 09:14:01,020 GSA INFO [com.gigaspaces.grid.gsa] - [gsc][3/]: Starting with command [/sbcimp/run/tp/sun/jdk/v1.7.0_51-64bit/jre/bin/java, -XX:+AggressiveOpts, -XX:MaxPermSize=256m, -XX:+HeapDumpOnOutOfMemoryError, -Dcom.sun.jini.reggie.initialUnicastDiscoveryPort=14174, -Dcom.bus.ops.box.datadir=/sbcimp/dyn/data/box/data, -Dcom.bus.ops.box.logging.boxRollingFileHandler.filename-pattern.homedir=/sbcimp/dyn/logfiles/RISK/margin/XCOLL/DEV/box, -DGS_LOGDIR=/sbcimp/dyn/logfiles/RISK/margin/XCOLL/DEV/box, -Dcom.gs.deploy=/home/xcolldev/boxmayt/var/deploy, -Dcom.gs.work=/home/xcolldev/boxmayt/var/work, -Dcom.gs.security.enabled=true, -Dcom.gigaspaces.lib.opt.security=/sbcimp/run/pkgs/box-gigaspace/1.2.22/security, -Dbox.platform.security.authentication-helper=ssoMock, -Dcom.bus.directory.utils.Logger.class=com.bus.ops.box.security.busLoggerInterfaceToCommonLoggingAdaptor, -javaagent:/sbcimp/run/pkgs/box-gigaspace/1.2.22/monitoring/lib/box-monitoring.jar, -Dcom.gs.multicast.enabled=false, -Dcom.gs.pu-common=/sbcimp/run/pkgs/box-gigaspace/1.2.22/pu-common/lib, -Dcom.gigaspaces.lib.platform.ext=/sbcimp/run/pkgs/box-gigaspace/1.2.22/platform-ext/lib, -XX:PermSize=256m, -XX:MaxPermSize=512m, -XX:+UseG1GC, -Dcom.gs.transport_protocol.lrmi.max-threads=1024, -Dcom.gs.transport_protocol.lrmi.custom.threadpool.max-threads=1024, -Xms512m, -Xmx512m, -Xms512m, -Xmx4096m, -DagentId=, -DgsaServiceID=, -DenableDynamicLocators=, -Dsun.rmi.dgc.client.gcInterval=36000000, -Dsun.rmi.dgc.server.gcInterval=36000000, -Djava.rmi.server.hostname=xstm1211vdap.stm.swissbank.com, -Djava.rmi.server.RMIClassLoaderSpi=default, -Djava.rmi.server.logCalls=false, -Dcom.gs.jini_lus.groups=gigaspaces-10.2.1-XAPPremium-ga, -Dcom.gs.jini_lus.locators=xstm1236vdap.stm.swissbank.com:14174,xstm1211vdap.stm.swissbank.com:14174, -Dcom.gs.logging.debug=false, -Djava.util.logging.config.file=/sbcimp/run/pkgs/box-gigaspace/1.2.22/logging/config/gs_logging.properties, -Dcom.gs.zones=maytZone,maytZoneZur2, -Dcom.bus.ops.box.service.zone=maytZone, -Dcom.gigaspaces.grid.gsc.serviceLimit=1, -DagentId=3, -DgsaServiceID=d6764284-8117-422f-86a1-ea7bc8511d41, -DenableDynamicLocators=false, -cp, /home/xcolldev/boxmayt/license:/sbcimp/run/pkgs/box-gigaspace/1.2.22/logging/lib/box-platform-logging-2.14.jar:/sbcimp/run/pkgs/box-gigaspace/1.2.22/logging/lib/box-logging-1.2.22.jar:/sbcimp/run/pkgs/box-gigaspace/1.2.22/logging/config:/sbcimp/run/pkgs/box-gigaspace/1.2.22/gigaspaces/lib/platform/sigar/sigar.jar:/sbcimp/run/pkgs/box-gigaspace/1.2.22/gigaspaces:/sbcimp/run/pkgs/box-gigaspace/1.2.22/gigaspaces/lib/platform/boot/gs-boot.jar::/sbcimp/run/pkgs/box-gigaspace/1.2.22/monitoring/lib/box-monitoring.jar, com.gigaspaces.start.SystemBoot, services=GSC] [gsc][3/] 2016-12-20 09:14:01,685 CONFIG [com.gigaspaces.logger] - Log file: /sbcimp/dyn/logfiles/RISK/margin/XCOLL/DEV/box/gigaspaces/maytZone-xstm1211vdap-gsc_3-681241-2016-12-20.log [gsc][3/] 2016-12-20 09:14:01,549 INFO [com.gigaspaces.start] - Starting ServiceGrid [user=xcolldev, command="services=GSC"] 2016-12-20 09:14:01,691 GSA INFO [com.gigaspaces.grid.gsa] - [gsc][3/681241]: Assigned process id [gsc][3/681241] 2016-12-20 09:14:01,971 INFO [com.gigaspaces.start] - Exported JMX Platform MBeanServer with RMI Connector [duration=0.083s, url=service:jmx:rmi:///jndi/rmi://xstm1211vdap.stm.swissbank.com:10101/jmxrmi] [gsc][3/681241] 2016-12-20 09:14:02,723 GSC INFO [com.gigaspaces.grid.gsc] - Starting GSC... [gsc][3/681241] *********** System Environment ***********[gsc][3 ...(more)

Harvey gravatar imageHarvey ( 2016-12-20 03:52:53 -0500 )edit
0

Can you please send me your GSM log file? shay at gigaspaces.com

Tnx

answered 2016-12-26 10:48:02 -0500

shay hassidim 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: 2016-12-19 04:26:28 -0500

Seen: 540 times

Last updated: Dec 26 '16