Is there an API interface for gs-agent.sh operations
I am trying to see if there is any API interface for gs-agent script. I would like to create several zoned gsa's through the API.
Welcome to the new Gigaspaces XAP forum. To recover your account, please follow these instructions.
I am trying to see if there is any API interface for gs-agent script. I would like to create several zoned gsa's through the API.
Starting a gsa is not supported. The admin api and REST manager only have APIs to discover existing gridserviceagents.
Our product supports Kubernetes. You can deploy an application on Kubernetes using helm and helm charts. See https://docs.gigaspaces.com/latest/ad...
I am planning to write a terraform provider for xap and I guess I would need the API interface to start several GSAs. I haven't taken a look at helm yet but I feel the API interface to create GSA would be a stepping stone in the IAC (Infrastructure as Code ) area.
I dont think this option is supported using the Rest interface but I was trying to enhance the REST interface to see if I can create the zone based custom GSA using an API so I went ahead to explore the Java API to start a GSA but apparently it fails to start with this error.
before that it complained on not having /required directory inside my .m2\repository\org\gigaspaces which I created but seems like its looking for some spring-jcl jar.
Is starting a GSA not supported using API ?? and we have to rely only on gs-agent script which is getting renamed to xap.
2019-09-26 22:12:50,197 CONFIG [com.gigaspaces.logger] - Log file: ~.m2\repository\org\gigaspaces\logs\2019-09-26~22.12-gigaspaces-gsa-10.0.75.1-3144.log 2019-09-26 22:12:50,170 INFO [com.gigaspaces.start] - Starting ServiceGrid [user=xxxxx, command="com.gigaspaces.start.services="GSA" gsa.gsc 0 gsa.gsm 0 gsa.gsm_lus 0 gsa.lus 0 gsa.global.gsc 1 gsa.global.gsm 1 gsa.global.gsm_lus 0 gsa.global.lus 1"] 2019-09-26 22:12:50.272 WARN 3144 --- [-GSAgentStarter] com.gigaspaces.start : Missing JAR file
java.io.FileNotFoundException: Folder ~.m2\repository\org\gigaspaces\xap-common\required\ should contain exactly one jar that starts with spring-jcl- at com.gigaspaces.start.SystemConfig.findFilenameByPrefix(SystemConfig.java:408) ~[xap-common-14.5.0.jar:na] at com.gigaspaces.start.SystemConfig.getDefaultCommonClassLoaderClasspath(SystemConfig.java:307) ~[xap-common-14.5.0.jar:na] at com.gigaspaces.start.SystemConfig.getPlatformJars(SystemConfig.java:364) ~[xap-common-14.5.0.jar:na] at com.gigaspaces.start.SystemBoot.loadPlatform(SystemBoot.java:163) ~[xap-common-14.5.0.jar:na]
Please start posting anonymously - your entry will be published after you log in or create a new account.
Asked: 2019-09-26 20:14:52 -0500
Seen: 261 times
Last updated: Sep 27 '19
Space (cache) entries are removed when the GSA shutdown.
Change API: putInMap without transactions
java client does not terminate?
GSA Search Engine Ranker Tutorial - Updated 2020
Strange behaviour of the Lite edition and any questions
How to identify primary space instance with Admin API
How To Get Added To The Junk Mail List And Not The Link Pages