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

Ask Your Question
0

GS configuration, setup and administration

We use gigaspaces 6.5, in embedded mode inside Jboss with jdk 5. Our applications (different .ear archives) package the 6.5 jars and use gs urls to startup embedded gs instances as part of different clustering schemes (Primary Backup, Async-replicated).

Right now we use gigaspaces with settings out of the box, but we would like to get an understanding of, and document, what configuration, administration, and monitoring we are required to do, or can optionally do, on these gigaspaces instances running as part of different clusters in a production environment. I would appreciate detailed replies with examples whre applicable. Note that we would prefer CLI for all of these.

Our current packaging includes just the jars that are part of gs distribution, can you specify list of, or link to doc for:

1) possible configuration items ( such as algorithms to use, timeouts, schema configurations, locking algorithms, etc)

2) possible administration items

3) configuration files that should be included in the package

4) What configuration changes can be made without restarting space, and what require restart. For example, How about space name change?

i. # of retries per space (between space instances) in case of loss of connection ii. timeout per space (between space instances) iii. Configuration for specifying that replication of data among space instances should be batched (in case of primary-backup or replicated schemas). iv. List of Reconciliation algorithms to choose from among space instances in case of data conflicts v. if a cluster started with 3 members, can have a fourth member startup and become a part of the cluster.

5) Gigaspace support for SSL and firewall

6) I tried the example at:

http://www.gigaspaces.com/wiki/displa...

but got exception below: java.lang.reflect.UndeclaredThrowableException at $Proxy12.hashCode(Unknown Source) ... Caused by: javax.management.ReflectionException at sun.management.MXBeanSupport.invoke(MXBeanSupport.java:649) at sun.management.MXBeanSupport.invoke(MXBeanSupport.java:94) at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImp l.java:213) .....

Edited by: s m on Nov 14, 2008 8:12 AM

{quote}This thread was imported from the previous forum. For your reference, the original is [available here|http://forum.openspaces.org/thread.jspa?threadID=2707]{quote}

asked 2008-11-13 22:14:55 -0500

wasefmasood gravatar image

updated 2013-08-08 09:52:00 -0500

jaissefsfex gravatar image
edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted
0

I've fixed the example to support JDK 1.5.

You can find it here:
http://www.gigaspaces.com/wiki/display/SBP/JMXSpaceStatistics

Shay

answered 2008-11-19 13:59:48 -0500

shay hassidim gravatar image
edit flag offensive delete link more
0

The JMX example need JDK 1.6 to work. It can work with a space running with JDK 1.5.

Shay Sent from my BlackBerry® smartphone with SprintSpeed

answered 2008-11-14 06:44:57 -0500

shay hassidim gravatar image
edit flag offensive delete link more

Comments

Is there anything similar available for space using jdk 5?

Any thoughts on the other questions?

wasefmasood gravatar imagewasefmasood ( 2008-11-14 08:12:00 -0500 )edit

It sounds like you are about to move into production. This means you should have some sense about the amount of Data you will need to store with GigaSpaces and amount of users that will access GigaSpaces.

GigaSpaces relevant components should be tuned based on this information. There is very good chance the out of the box settings will not work for you in production. Careful planning and correct tuning is a key for successful and stable production environment.

See specific answers below: - SSL - http://www.gigaspaces.com/wiki/displa... . This is supported with 6.6. - Check List before moving into production - /[/question/5173/productionpocbenchmark-check-list/] - Possible administration items - All space stats , JVM stats , CPU stats , network stats , log files - Space name cannot be changed in runtime. - Adding a space to a running cluster is not supported. The cluster settings are static and cannot be changed in runtime. - Firewall support - http://www.gigaspaces.com/wiki/displa... - We have integration with CA wily ( http://www.ca.com/us/application-mana... ) , Hyperic HQ (see http://www.openspaces.org/display/HGM... ) and others. These are highly recommended for production environments.

See the new Administrator's Guide comes with XAP 6.6. It includes lots of valuable info: http://www.gigaspaces.com/wiki/displa...

Shay

shay hassidim gravatar imageshay hassidim ( 2008-11-14 09:14:02 -0500 )edit

1) In case of an embedded space, where should the files(eg: gs_logging.properites, replicated_cluster.xml) with customized configuration values reside, I remember something like a /config folder on classpath.

2) The schema definition such as replicated_cluster.xml files don't seem to be in 6.5.1 dist anymore?

3) Is it only one file (gs.properties) where all custom changes for spaces are defined?

wasefmasood gravatar imagewasefmasood ( 2008-11-14 14:50:34 -0500 )edit

All space and cluster config should be done via the pu.xml. There is where you place the override to the default schemas properties.

Other options would be: - properties file (used with the space URL properties paramter) - should be located under a folder called config where its parent folder should be part of the CLASSPATH - properties object - used with the space or space proxy creation (second parameter to the SpaceFinder.find() when using the API. - openspaces configurer - when using the openspaces API.

The \gigaspaces-xap-6.5.1-ga\config\schemas is empty by default and used in case you want to override the space and cluster schema using the old way.

The default schemas located within the JSpaces.jar under the config\schemas.

Shay

shay hassidim gravatar imageshay hassidim ( 2008-11-14 15:05:03 -0500 )edit

Hi,
Please review the Overriding Default Configuration section in the product docs. That should answer all your questions.

Regards,
Gershon

gershond gravatar imagegershond ( 2008-11-15 05:49:01 -0500 )edit

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: 2008-11-13 22:14:55 -0500

Seen: 65 times

Last updated: Nov 19 '08